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