Question: What's the relationship between the United Kingdom and John Oliver, the member of the British Columbia Liberal Party?
Choices:
country of citizenship
filmography
significant person
works in collection
dialect of
maintained by
father
film crew member
located on astronomical location
has edition
Program:
function: Find
inputs: British Columbia Liberal Party
function: Relate
dependencies: 0
inputs: member of political party
backward
function: Find
inputs: John Oliver
function: And
dependencies: 1
2
function: Find
inputs: United Kingdom
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "John Oliver" . ?e_1 <member_of_political_party> ?e_3 . ?e_3 <pred:name> "British Columbia Liberal Party" . ?e_2 <pred:name> "United Kingdom" . ?e_1 ?p ?e_2 .  }
Answer: country of citizenship