q8(?x1,?x2) :-   isOwnerOf(?x1, ?x2), Account(?x2), hasSexValue(?x1,?z),  MaleSex(?z).