Question: Is The Grudge, or DreamWorks' production of Lincoln, the shorter work?
Choices:
The Hunchback of Notre Dame
The Grudge
Curse of the Golden Flower
Pleasantville
Rebecca
The Fifth Element
Lincoln
The Towering Inferno
Talk to Her
Training Day
Answer: The Grudge
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Grudge" .  } UNION { ?e <pred:name> "Lincoln" . ?e <production_company> ?e_1 . ?e_1 <pred:name> "DreamWorks" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: The Grudge
function: Find
inputs: DreamWorks
function: Relate
dependencies: 1
inputs: production company
backward
function: Find
inputs: Lincoln
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less