Question: Which is longer in duration, the 95 minute long Aurora or Stop! Or My Mom Will Shoot?
Choices:
A Streetcar Named Desire
The Three Musketeers
The Challenge
Aurora
All Quiet on the Western Front
Stop! Or My Mom Will Shoot
Shackleton
A Christmas Carol
The Late Shift
The Music Man
Program:
function: Find
inputs: Aurora
function: FilterNum
dependencies: 0
inputs: duration
95 minute
=
function: Find
inputs: Stop! Or My Mom Will Shoot
function: SelectBetween
dependencies: 1
2
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Aurora" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "95"^^xsd:double . } UNION { ?e <pred:name> "Stop! Or My Mom Will Shoot" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Aurora