Question: Which movie is shorter, Hairspray (the one whose producer is Toby Emmerich) or The Informant!?
Choices:
The Fifth Element
Talk to Her
Training Day
Rebecca
Curse of the Golden Flower
The Hunchback of Notre Dame
A Prairie Home Companion
Pleasantville
Hairspray
The Informant!
Program:
function: Find
inputs: Toby Emmerich
function: Relate
dependencies: 0
inputs: producer
backward
function: Find
inputs: Hairspray
function: And
dependencies: 1
2
function: Find
inputs: The Informant!
function: SelectBetween
dependencies: 3
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Hairspray" . ?e <producer> ?e_1 . ?e_1 <pred:name> "Toby Emmerich" .   } UNION { ?e <pred:name> "The Informant!" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: The Informant!