Question: Which one has the shorter running time, , August (the one whose producer is Josh Hartnett) or All About My Mother ?
Choices:
The Fifth Element
Pleasantville
A Prairie Home Companion
All About My Mother
Curse of the Golden Flower
August
Rebecca
The Hunchback of Notre Dame
The Towering Inferno
Talk to Her
Program:
function: Find
inputs: Josh Hartnett
function: Relate
dependencies: 0
inputs: producer
backward
function: Find
inputs: August
function: And
dependencies: 1
2
function: Find
inputs: All About My Mother
function: SelectBetween
dependencies: 3
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "August" . ?e <producer> ?e_1 . ?e_1 <pred:name> "Josh Hartnett" .   } UNION { ?e <pred:name> "All About My Mother" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: August