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