Question: Which is longer, Mindscape that is 98 minutes long or Final Fantasy: The Spirits Within?
Choices:
Talk to Her
Training Day
The Hunchback of Notre Dame
Pleasantville
The Towering Inferno
Final Fantasy: The Spirits Within
The Fifth Element
Mindscape
A Prairie Home Companion
Curse of the Golden Flower
Program:
function: Find
inputs: Mindscape
function: FilterNum
dependencies: 0
inputs: duration
98 minute
=
function: Find
inputs: Final Fantasy: The Spirits Within
function: SelectBetween
dependencies: 1
2
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Mindscape" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "98"^^xsd:double . } UNION { ?e <pred:name> "Final Fantasy: The Spirits Within" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Final Fantasy: The Spirits Within