Question: What is the connection between Candice Bergen (the one that uses the language English) to Conservative Party of Canada (the one whose chairperson is Stephen Harper)?
Choices:
sex or gender
candidacy in election
author
member of political party
depicts
movement
narrator
airline hub
director
producer
Program:
function: Find
inputs: English
function: Relate
dependencies: 0
inputs: languages spoken, written or signed
backward
function: Find
inputs: Candice Bergen
function: And
dependencies: 1
2
function: Find
inputs: Stephen Harper
function: Relate
dependencies: 4
inputs: chairperson
backward
function: Find
inputs: Conservative Party of Canada
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Candice Bergen" . ?e_1 <languages_spoken,_written_or_signed> ?e_3 . ?e_3 <pred:name> "English" . ?e_2 <pred:name> "Conservative Party of Canada" . ?e_2 <chairperson> ?e_4 . ?e_4 <pred:name> "Stephen Harper" . ?e_1 ?p ?e_2 .  }
Answer: member of political party