Question: What is the connection between Marmaduke to John Davis (the one that is educated at Amherst College)?
Choices: family
interested in
source of income
head of government
copyright representative
head of state
nominated for
military conflicts
vehicle normally used
producer
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Marmaduke" . ?e_2 <pred:name> "John Davis" . ?e_2 <educated_at> ?e_3 . ?e_3 <pred:name> "Amherst College" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Marmaduke
function: Find
inputs: Amherst College
function: Relate
dependencies: 1
inputs: educated at
backward
function: Find
inputs: John Davis
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4
Answer: producer