What is the {governor} for {office held by head of state} of {Tasmania}
Who is the senator for the head of state of Tasmania?
Who is the governor for the head of state of Tasmania?
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:governor . resource:Tasmania property:office_held_by_head_of_state ?j }
select distinct ?obj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q34366> . ?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/Q132050> } 
 select distinct ?obj where { wd:Q34366 wdt:P1906 ?obj . ?obj wdt:P31 wd:Q132050 } 