Question: What is the relation between Ordinary People (the one that is in the Museum of Modern Art) and world cinema?
Choices: terminus
start point
genre
designed to carry
contains settlement
appears in the form of
field of this occupation
film editor
continent
famous people
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Ordinary People" . ?e_1 <collection> ?e_3 . ?e_3 <pred:name> "Museum of Modern Art" . ?e_2 <pred:name> "world cinema" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Museum of Modern Art
function: Relate
dependencies: 0
inputs: collection
backward
function: Find
inputs: Ordinary People
function: And
dependencies: 1
2
function: Find
inputs: world cinema
function: QueryRelation
dependencies: 3
4
Answer: genre