Question: Which movie is shorter, Heat (the one whose production company is Regency Enterprises) or The Fast and the Furious (the one whose duration is 73 minute)?
Choices:
Heat
The Towering Inferno
The Fifth Element
Training Day
The Fast and the Furious
Talk to Her
Curse of the Golden Flower
A Prairie Home Companion
Pleasantville
The Hunchback of Notre Dame
Program:
function: Find
inputs: Regency Enterprises
function: Relate
dependencies: 0
inputs: production company
backward
function: Find
inputs: Heat
function: And
dependencies: 1
2
function: Find
inputs: The Fast and the Furious
function: FilterNum
dependencies: 4
inputs: duration
73 minute
=
function: SelectBetween
dependencies: 3
5
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Heat" . ?e <production_company> ?e_1 . ?e_1 <pred:name> "Regency Enterprises" . } UNION { ?e <pred:name> "The Fast and the Furious" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "73"^^xsd:double . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: The Fast and the Furious