Question: Does Heat (whose length is 95 minutes) or The Polar Express (whose production company is Warner Bros.) have the shorter running time?
Choices:
The Hunchback of Notre Dame
Talk to Her
Training Day
The Fifth Element
Curse of the Golden Flower
A Prairie Home Companion
Rebecca
Pleasantville
The Polar Express
Heat
Program:
function: Find
inputs: Heat
function: FilterNum
dependencies: 0
inputs: duration
95 minute
=
function: Find
inputs: Warner Bros.
function: Relate
dependencies: 2
inputs: production company
backward
function: Find
inputs: The Polar Express
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Heat" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "95"^^xsd:double . } UNION { ?e <pred:name> "The Polar Express" . ?e <production_company> ?e_1 . ?e_1 <pred:name> "Warner Bros." . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Heat