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