Question: Does Iron Man (whose length is 73 minutes) or The Runaways have the longer running time?
Choices:
Training Day
Iron Man
Talk to Her
The Hunchback of Notre Dame
A Prairie Home Companion
The Towering Inferno
Curse of the Golden Flower
The Runaways
Pleasantville
The Fifth Element
Program:
function: Find
inputs: Iron Man
function: FilterNum
dependencies: 0
inputs: duration
73 minute
=
function: Find
inputs: The Runaways
function: SelectBetween
dependencies: 1
2
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Iron Man" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "73"^^xsd:double . } UNION { ?e <pred:name> "The Runaways" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: The Runaways