SELECT DISTINCT ?uri WHERE {?uri <http://dbpedia.org/ontology/parent> <http://dbpedia.org/resource/Ptolemy_XII_Auletes> . ?uri <http://dbpedia.org/property/spouse> <http://dbpedia.org/resource/Ptolemy_XIII_Theos_Philopator> . ?uri <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/ontology/Royalty>}
Name a queen whose parent is Ptolemy XII Auletes and consort is Ptolemy XIII Theos Philopator?
SELECT DISTINCT ?a WHERE { ?a property:parent resource:Ptolemy_X_I_I_Auletes . ?a property:spouse resource:Ptolemy_X_I_I_I_Theos_Philopator . ?a rdf:type ontology:Royalty }
Cleopatra
[Cleopatra] is the royalty whose parent is Ptolemy XII Auletes and partner is Ptolemy XIII Theos Philopator.
[Cleopatra] is a royal family whose parents are Ptolas XII Aulet and Ptolas XIII's partner Theos Philopator.