Question: Which movie is shorter, The Jackal or Arizona (the one whose duration is 70 minute)?
Choices:
Arizona
The Jackal
The Fifth Element
The Hunchback of Notre Dame
A Prairie Home Companion
Pleasantville
Talk to Her
Curse of the Golden Flower
The Towering Inferno
Rebecca
Program:
function: Find
inputs: The Jackal
function: Find
inputs: Arizona
function: FilterNum
dependencies: 1
inputs: duration
70 minute
=
function: SelectBetween
dependencies: 0
2
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Jackal" . } UNION { ?e <pred:name> "Arizona" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "70"^^xsd:double . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Arizona