What is the {shinto shrine} for {dedicated to} of {Tokugawa Ieyasu}
What is the name of the Tokugawa Ieyasu shrine?
What is the name of the shrine dedicated to Tokugawa Ieyasu?
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Shinto_shrine . ?x property:dedicated_to resource:Tokugawa_Ieyasu }
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/P825> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q171977> . ?subj <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q845945> } 
 select distinct ?sbj where { ?sbj wdt:P825 wd:Q171977 . ?sbj wdt:P31 wd:Q845945 } 
Ozaki Shrine Mito Tōshō-gū Kishū Tōshō-gū Reikyū Jinja Tatsuki Shrine Sugō Shrine Hamamatsu Tōshō-gū