Question: Which is shorter, Utah produced by Republic Pictures or The Constant Gardener whose duration is 129 minutes?
Choices:
Curse of the Golden Flower
The Hunchback of Notre Dame
Rebecca
The Towering Inferno
The Fifth Element
Training Day
A Prairie Home Companion
Talk to Her
Pleasantville
Utah
Program:
function: Find
inputs: Republic Pictures
function: Relate
dependencies: 0
inputs: production company
backward
function: Find
inputs: Utah
function: And
dependencies: 1
2
function: Find
inputs: The Constant Gardener
function: FilterNum
dependencies: 4
inputs: duration
129 minute
=
function: SelectBetween
dependencies: 3
5
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Utah" . ?e <production_company> ?e_1 . ?e_1 <pred:name> "Republic Pictures" . } UNION { ?e <pred:name> "The Constant Gardener" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "129"^^xsd:double . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Utah