Question: What is the connection between Rocky (the one that is developed by Sega) to John G. Avildsen?
Choices:
next lower rank
candidate
director
place of death
designated as terrorist by
practiced by
producer
country of citizenship
material used
facet of
Answer: director
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Rocky" . ?e_1 <developer> ?e_3 . ?e_3 <pred:name> "Sega" . ?e_2 <pred:name> "John G. Avildsen" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Sega
function: Relate
dependencies: 0
inputs: developer
backward
function: Find
inputs: Rocky
function: And
dependencies: 1
2
function: Find
inputs: John G. Avildsen
function: QueryRelation
dependencies: 3
4