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