Question: Which is longer, Alfie, which ran 114 minutes, or The Wolfman?
Choices:
A Prairie Home Companion
Talk to Her
Alfie
The Hunchback of Notre Dame
Curse of the Golden Flower
The Towering Inferno
Pleasantville
Rebecca
The Fifth Element
Training Day
Program:
function: Find
inputs: Alfie
function: FilterNum
dependencies: 0
inputs: duration
114 minute
=
function: Find
inputs: The Wolfman
function: SelectBetween
dependencies: 1
2
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Alfie" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "114"^^xsd:double . } UNION { ?e <pred:name> "The Wolfman" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Alfie