Question: Which is shorter, Wuthering Heights, in the Museum of Modern Art collection, or Maid in Manhattan?
Choices:
The Fifth Element
A Prairie Home Companion
Maid in Manhattan
Talk to Her
The Towering Inferno
Pleasantville
Wuthering Heights
Curse of the Golden Flower
The Hunchback of Notre Dame
Rebecca
Program:
function: Find
inputs: Museum of Modern Art
function: Relate
dependencies: 0
inputs: collection
backward
function: Find
inputs: Wuthering Heights
function: And
dependencies: 1
2
function: Find
inputs: Maid in Manhattan
function: SelectBetween
dependencies: 3
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Wuthering Heights" . ?e <collection> ?e_1 . ?e_1 <pred:name> "Museum of Modern Art" .   } UNION { ?e <pred:name> "Maid in Manhattan" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Wuthering Heights