Question: Which has the longer run-time: Montana, at 76 minutes, or the single-season Labyrinth ?
Choices:
The Goodbye Girl
A Streetcar Named Desire
Labyrinth
All Quiet on the Western Front
The Late Shift
A Christmas Carol
Shackleton
Montana
The Three Musketeers
The Music Man
Answer: Labyrinth
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Montana" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "76"^^xsd:double . } UNION { ?e <pred:name> "Labyrinth" . ?e <number_of_seasons> ?pv_2 . ?pv_2 <pred:unit> "1" . ?pv_2 <pred:value> "1"^^xsd:double . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Montana
function: FilterNum
dependencies: 0
inputs: duration
76 minute
=
function: Find
inputs: Labyrinth
function: FilterNum
dependencies: 2
inputs: number of seasons
1
=
function: SelectBetween
dependencies: 1
3
inputs: duration
greater