What is {patron saint} of {work} of {Gavan Herlihy} ?
what is the patron saint work of Gavan Herlihy
What is the patron saint of work of Gavan Herlihy ?
SELECT ?h WHERE { resource:Gavan_Herlihy property:occupation ?g . ?g property:patron_saint ?h }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q5527992> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P106>. ?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:Q5527992 wdt:P106 ?X . ?X wdt:P417 ?answer}
Bartholomew the Apostle Benedict of Nursia Leonard of Port Maurice Blaise of Sebaste Isidore of Seville Isidore the Laborer Lambert de Saragossa