Question: Which has a greater runtime, Tulsa (published 1950-01-01) or Cairo (runtime of 100 minutes)?
Choices: Pleasantville
Tulsa
The Towering Inferno
The Fifth Element
Cairo
Curse of the Golden Flower
A Prairie Home Companion
Training Day
Rebecca
The Hunchback of Notre Dame
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Tulsa" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1950-01-01"^^xsd:date . } UNION { ?e <pred:name> "Cairo" . ?e <duration> ?pv_2 . ?pv_2 <pred:unit> "minute" . ?pv_2 <pred:value> "100"^^xsd:double . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Tulsa
function: FilterDate
dependencies: 0
inputs: publication date
1950-01-01
=
function: Find
inputs: Cairo
function: FilterNum
dependencies: 2
inputs: duration
100 minute
=
function: SelectBetween
dependencies: 1
3
inputs: duration
greater
Answer: Cairo