What is the {hereditary position} for {office held by head of state} of {Empire of Japan}
[]
What is the hereditary position of the Head of State Office  of Japan Empire
SELECT DISTINCT ?p WHERE { resource:Empire_of_Japan property:office_held_by_head_of_state ?p . ?p rdf:type ontology:hereditary_position }
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/Q42045197> } 
 select distinct ?obj where { wd:Q188712 wdt:P1906 ?obj . ?obj wdt:P31 wd:Q42045197 } 
Emperor of Japan