What is the {church building} for {patron saint} of {Ignatius of Loyola}
What is the church for St. Ignatius of Loyola?
What is the church for St. Ignatius of Loyola?
SELECT DISTINCT ?p WHERE { ?p property:patron_saint resource:Ignatius_of_Loyola . ?p rdf:type ontology:church_building }
select distinct ?subj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?subj . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P417> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q44281> . ?subj <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q16970> } 
 select distinct ?sbj where { ?sbj wdt:P417 wd:Q44281 . ?sbj wdt:P31 wd:Q16970 } 
Sant'Ignazio Church Église Saint-Ignace Iglesia de San Ignacio Saint Ignatius Church Church of Saint Francis Xavier and Saint Ignatius of Loyola Church of Saint Ignatius of Loyola in Jihlava Church of Saint Ignatius of Loyola in Prague St. Ignatius Church Church of Saint Ignatius Church of Saint Ignatius in Vojtovice Church of the Immaculate Conception and Saint Ignatius of Loyola Church of Saint Ignatius of Loyola