What is <subject item of this property> of <shinto shrine> ?
[]
What is the subject item of this property in the shinto shrine?
SELECT DISTINCT ?n WHERE { ?n property:Wikidata_item_of_this_property resource:Shinto_shrine }
select distinct ?answer where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject>  ?answer. ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1629> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q845945>. }
select distinct ?answer where { ?answer wdt:P1629 wd:Q845945}