Question: What is the connection between Robin Hood (the one that is shot in Budapest) to United States of America?
Choices:
award disciplines or subjects
health specialty
airline alliance
separated from
director/manager
country of origin
participant
inspired by
symptoms
candidate
Answer: country of origin
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Robin Hood" . ?e_1 <filming_location> ?e_3 . ?e_3 <pred:name> "Budapest" . ?e_2 <pred:name> "United States of America" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Budapest
function: Relate
dependencies: 0
inputs: filming location
backward
function: Find
inputs: Robin Hood
function: And
dependencies: 1
2
function: Find
inputs: United States of America
function: QueryRelation
dependencies: 3
4