Question: Is the shorter work Antarctica, performed by Vangelis, or The House of Mirth?
Choices:
The Towering Inferno
Pleasantville
The Fifth Element
The House of Mirth
Curse of the Golden Flower
Rebecca
Talk to Her
A Prairie Home Companion
Training Day
Antarctica
Program:
function: Find
inputs: Vangelis
function: Relate
dependencies: 0
inputs: performer
backward
function: Find
inputs: Antarctica
function: And
dependencies: 1
2
function: Find
inputs: The House of Mirth
function: SelectBetween
dependencies: 3
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Antarctica" . ?e <performer> ?e_1 . ?e_1 <pred:name> "Vangelis" .   } UNION { ?e <pred:name> "The House of Mirth" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: The House of Mirth