Question: What does guitar have to do with Richard Thompson (who is famous for guitar)?
Choices:
characters
ethnic group
father
famous people
captain
basin country
copyright representative
item operated
designed to carry
convicted of
Answer: famous people
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "guitar" . ?e_2 <pred:name> "Richard Thompson" . ?e_3 <famous_people> ?e_2 . ?e_3 <pred:name> "guitar" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: guitar
function: Find
inputs: guitar
function: Relate
dependencies: 1
inputs: famous people
forward
function: Find
inputs: Richard Thompson
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4