What is the {organ} for {position held} of {Justin Trudeau}
Which position does Justin Trudeau hold?
Which position does Justin Trudeau hold?
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:organ . resource:Justin_Trudeau property:position_held ?d }
select distinct ?obj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q3099714> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P39> . ?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/Q895526> } 
 select distinct ?obj where { wd:Q3099714 wdt:P39 ?obj . ?obj wdt:P31 wd:Q895526 } 
Prime Minister of Canada