Question: How is Canadian citizen John Williams related to the Toronto Argonauts?
Choices:
member of sports team
mouth of the watercourse
grants
start point
has immediate cause
patron saint
member of political party
signatory
significant person
sex or gender
Answer: member of sports team
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "John Williams" . ?e_1 <country_of_citizenship> ?e_3 . ?e_3 <pred:name> "Canada" . ?e_2 <pred:name> "Toronto Argonauts" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Canada
function: Relate
dependencies: 0
inputs: country of citizenship
backward
function: Find
inputs: John Williams
function: And
dependencies: 1
2
function: Find
inputs: Toronto Argonauts
function: QueryRelation
dependencies: 3
4