What is the {political party} for {chairperson} of {Justin Trudeau}
Who is the chairperson of Justin Trudeau's political party?
Who is the chairperson of Justin Trudeau's political party?
SELECT DISTINCT ?w WHERE { ?w property:chairperson resource:Justin_Trudeau . ?w rdf:type ontology:political_party }
select distinct ?subj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?subj . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P488> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q3099714> . ?subj <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q7278> } 
 select distinct ?sbj where { ?sbj wdt:P488 wd:Q3099714 . ?sbj wdt:P31 wd:Q7278 } 
Liberal Party of Canada