Question: How is Winnie Pooh, released in Canada, related to Spain ?
Choices:
software engine
dedicated to
diplomatic relation
commissioned by
manner of death
mountain range
ethnic group
film release region
operating system
medical treatment
Answer: film release region
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Winnie the Pooh" . ?e_1 <film_release_region> ?e_3 . ?e_3 <pred:name> "Canada" . ?e_2 <pred:name> "Spain" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Canada
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: Winnie the Pooh
function: And
dependencies: 1
2
function: Find
inputs: Spain
function: QueryRelation
dependencies: 3
4