Question: Which film has the longer runtime, Sunday, Bloody Sunday or Drive (whose running time is 100 minutes)?
Choices:
Pleasantville
The Hunchback of Notre Dame
Talk to Her
The Fifth Element
A Prairie Home Companion
Drive
Curse of the Golden Flower
The Towering Inferno
Rebecca
Sunday, Bloody Sunday
Answer: Sunday, Bloody Sunday
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Sunday, Bloody Sunday" . } UNION { ?e <pred:name> "Drive" . ?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: Sunday, Bloody Sunday
function: Find
inputs: Drive
function: FilterNum
dependencies: 1
inputs: duration
100 minute
=
function: SelectBetween
dependencies: 0
2
inputs: duration
greater