What is {has administrative divisions} of {Kōchi Prefecture}, that has {complete title} is {室戸市} ?
What are the regulatory divisions of Kōchi Prefecture? The total title is 室戸市.
What are the administrative divisions of Kōchi Prefecture? The complete title is 室戸市.
SELECT ?g WHERE { ?g property:official_name ?f . resource:Kōchi_Prefecture property:contains_administrative_territorial_entity ?g . FILTER ( CONTAINS ( ?f , '室戸市' ) ) }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q134093> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P150>. ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?answer. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1448> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <室戸市> . }
SELECT ?answer WHERE { wd:Q134093 wdt:P150 ?answer . ?answer wdt:P1448 ?x FILTER(contains(?x , '室戸市'))}