SELECT DISTINCT ?uri WHERE {?uri <http://dbpedia.org/ontology/spouse> <http://dbpedia.org/resource/Ptolemy_XIV_of_Egypt> . ?uri <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/ontology/Royalty>}
Which royalty's spouse is Ptolemy XIV of Egypt?
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Royalty . ?m property:spouse resource:Ptolemy_X_I_V_of_Egypt }
Cleopatra
[Cleopatra] is the royalty married to Ptolemy XIV of Egypt.
[Cleopatra] is a royal family married to Ptolemy XIV of Egypt.