Question: Which royalty's spouse is Ptolemy XIV of Egypt?
SPARQL query: 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>}
Answer: [Cleopatra] is the royalty married to Ptolemy XIV of Egypt.