prefix : select ?P ?N ?S from where {{?S a :Sex . ?P a :Person ; a ?S ; :name ?N}}