Question: What is the relationship between John Waters, who plays guitar, and the United Kingdom?
Choices:
officeholder
donated by
drug used for treatment
film editor
coextensive with
country of citizenship
symptoms
appointed by
member of sports team
architectural style
Answer: country of citizenship
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "John Waters" . ?e_1 <instrument> ?e_3 . ?e_3 <pred:name> "guitar" . ?e_2 <pred:name> "United Kingdom" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: guitar
function: Relate
dependencies: 0
inputs: instrument
backward
function: Find
inputs: John Waters
function: And
dependencies: 1
2
function: Find
inputs: United Kingdom
function: QueryRelation
dependencies: 3
4