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