Question: What does Peter Frampton (who is famous for piano) have to do with guitarist?
Choices:
lowest point
series spin-off
narrative role
founded by
occupation
producer
next lower rank
director
enclave within
famous people
Answer: occupation
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Peter Frampton" . ?e_3 <famous_people> ?e_1 . ?e_3 <pred:name> "piano" . ?e_2 <pred:name> "guitarist" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: piano
function: Relate
dependencies: 0
inputs: famous people
forward
function: Find
inputs: Peter Frampton
function: And
dependencies: 1
2
function: Find
inputs: guitarist
function: QueryRelation
dependencies: 3
4