Question: Which is shorter, Jaws released in the USA or Apollo 13?
Choices:
Jaws
A Prairie Home Companion
Pleasantville
Training Day
Apollo 13
The Towering Inferno
Talk to Her
Curse of the Golden Flower
Rebecca
The Fifth Element
Program:
function: Find
inputs: United States of America
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: Jaws
function: And
dependencies: 1
2
function: Find
inputs: Apollo 13
function: SelectBetween
dependencies: 3
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Jaws" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "United States of America" .   } UNION { ?e <pred:name> "Apollo 13" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Jaws