What is the {prefecture of Japan} for {contains administrative territorial entity} of {Ōsaka}
What is the prefecture of Japan that contains authoritative regional substance of Osaka
What is the prefecture of Japan that contains administrative territorial entity of Osaka
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:prefecture_of_Japan . ?z property:contains_administrative_territorial_entity resource:Osaka }
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/P150> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q35765> . ?subj <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q50337> } 
 select distinct ?sbj where { ?sbj wdt:P150 wd:Q35765 . ?sbj wdt:P31 wd:Q50337 } 
Ōsaka Prefecture