Question: Which movie is longer, Robin Hood (the one whose duration is 133 minute) or High Anxiety?
Choices:
The Music Man
Robin Hood
All Quiet on the Western Front
The Late Shift
The Three Musketeers
The Challenge
A Christmas Carol
A Streetcar Named Desire
Shackleton
High Anxiety
Program:
function: Find
inputs: Robin Hood
function: FilterNum
dependencies: 0
inputs: duration
133 minute
=
function: Find
inputs: High Anxiety
function: SelectBetween
dependencies: 1
2
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Robin Hood" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "133"^^xsd:double . } UNION { ?e <pred:name> "High Anxiety" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Robin Hood