Question: What does citizen of Canada John Oliver have to do with the British Columbia Liberal Party?
Choices: film distribute region
license
source of material
military rank
professional or sports partner
sexual orientation
producer
author
affiliation
member of political party
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "John Oliver" . ?e_1 <country_of_citizenship> ?e_3 . ?e_3 <pred:name> "Canada" . ?e_2 <pred:name> "British Columbia Liberal Party" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Canada
function: Relate
dependencies: 0
inputs: country of citizenship
backward
function: Find
inputs: John Oliver
function: And
dependencies: 1
2
function: Find
inputs: British Columbia Liberal Party
function: QueryRelation
dependencies: 3
4
Answer: member of political party