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