What is the {hereditary title} for {office held by head of state} of {Empire of Japan}
What is the title for the office held by the Domain of Japan?
What is the title for the office held by the Empire of Japan?
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:hereditary_title . resource:Empire_of_Japan property:office_held_by_head_of_state ?e }
select distinct ?obj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q188712> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1906> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj . ?obj <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q5737899> } 
 select distinct ?obj where { wd:Q188712 wdt:P1906 ?obj . ?obj wdt:P31 wd:Q5737899 } 
Emperor of Japan