Question: Which is longer: Bolero, at 85 minutes, or The Three Musketeers, at 73 minutes?
Choices:
A Prairie Home Companion
Rebecca
The Fifth Element
Curse of the Golden Flower
Bolero
The Three Musketeers
Talk to Her
The Towering Inferno
The Hunchback of Notre Dame
Pleasantville
Answer: Bolero
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Bolero" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "85"^^xsd:double . } UNION { ?e <pred:name> "The Three Musketeers" . ?e <duration> ?pv_2 . ?pv_2 <pred:unit> "minute" . ?pv_2 <pred:value> "73"^^xsd:double . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Bolero
function: FilterNum
dependencies: 0
inputs: duration
85 minute
=
function: Find
inputs: The Three Musketeers
function: FilterNum
dependencies: 2
inputs: duration
73 minute
=
function: SelectBetween
dependencies: 1
3
inputs: duration
greater