Question: Which movie is shorter, The Bridges of Madison County or Chicken Little (the one that is collected in Museum of Modern Art)?
Choices:
Frankenstein
The Cure
Chicken Little
The Fugitive
Neighbours
David Copperfield
Eve
The Bridges of Madison County
Robin Hood
The Animatrix
Program:
function: Find
inputs: The Bridges of Madison County
function: Find
inputs: Museum of Modern Art
function: Relate
dependencies: 1
inputs: collection
backward
function: Find
inputs: Chicken Little
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Bridges of Madison County" .  } UNION { ?e <pred:name> "Chicken Little" . ?e <collection> ?e_1 . ?e_1 <pred:name> "Museum of Modern Art" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Chicken Little