ASK WHERE { <http://dbpedia.org/resource/Paris> <http://dbpedia.org/ontology/mayor> <http://dbpedia.org/resource/Anne_Hidalgo> }
Is Anne Hidalgo the mayor of Paris?
ASK WHERE { resource:Paris property:mayor resource:Anne_Hidalgo }
Yes
[Yes], Anne Hidalgo is the mayor of Paris.
[Yes] Anne Hidalgo is Paris's mayor.
[Yes], Anne Hidalgo is the mayor of the country.
[Yes] Anne Hidalgo is the mayor.