Question: Which movie is longer, Enemy of the State or The Name of the Rose (the one that is collected in Museum of Modern Art)?
Choices: The Fifth Element
Curse of the Golden Flower
The Hunchback of Notre Dame
Pleasantville
Training Day
The Towering Inferno
Enemy of the State
The Name of the Rose
Rebecca
Talk to Her
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Enemy of the State" .  } UNION { ?e <pred:name> "The Name of the Rose" . ?e <collection> ?e_1 . ?e_1 <pred:name> "Museum of Modern Art" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Enemy of the State
function: Find
inputs: Museum of Modern Art
function: Relate
dependencies: 1
inputs: collection
backward
function: Find
inputs: The Name of the Rose
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater
Answer: Enemy of the State