Question: What is the connection between guitar to Ryan Adams (the one that is famous for harmonica)?
Choices:
composer
home world
narrative location
home venue
location of discovery
head of government
famous people
officially opened by
has contributing factor
godparent
Answer: famous people
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "guitar" . ?e_2 <pred:name> "Ryan Adams" . ?e_3 <famous_people> ?e_2 . ?e_3 <pred:name> "harmonica" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: guitar
function: Find
inputs: harmonica
function: Relate
dependencies: 1
inputs: famous people
forward
function: Find
inputs: Ryan Adams
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4