Question: Does Paramount Pictures' production of The Great Gatsby or does A Civil Action have the shorter run-time?
Choices:
The Great Gatsby
The Fifth Element
Talk to Her
A Civil Action
The Hunchback of Notre Dame
A Prairie Home Companion
Curse of the Golden Flower
Pleasantville
Training Day
Rebecca
Program:
function: Find
inputs: Paramount Pictures
function: Relate
dependencies: 0
inputs: production company
backward
function: Find
inputs: The Great Gatsby
function: And
dependencies: 1
2
function: Find
inputs: A Civil Action
function: SelectBetween
dependencies: 3
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Great Gatsby" . ?e <production_company> ?e_1 . ?e_1 <pred:name> "Paramount Pictures" .   } UNION { ?e <pred:name> "A Civil Action" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: A Civil Action