Question: What is the connection between Ithaca (the one whose director is Meg Ryan) to John Mellencamp?
Choices:
health specialty
model item
afflicts
legislative body
military branch
make-up artist
business division
professional or sports partner
composer
influenced by
Answer: composer
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Ithaca" . ?e_1 <director> ?e_3 . ?e_3 <pred:name> "Meg Ryan" . ?e_2 <pred:name> "John Mellencamp" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Meg Ryan
function: Relate
dependencies: 0
inputs: director
backward
function: Find
inputs: Ithaca
function: And
dependencies: 1
2
function: Find
inputs: John Mellencamp
function: QueryRelation
dependencies: 3
4