What is {patron saint} of {place of residence} of {Julius Caesar} ?
Julius Caesar's patron saint place of residence is where?
WHERE IS PATRON SAINT OF PLACE OF RESIDENCE OF JULIUS CAESAR?
SELECT ?m WHERE { ?s property:patron_saint ?m . resource:Julius_Caesar property:residence ?s }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q1048> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P551>. ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?X . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?X. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P417> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer . }
SELECT ?answer WHERE { wd:Q1048 wdt:P551 ?X . ?X wdt:P417 ?answer}
Paul Peter