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