Question: Which has a greater duration, Alice in Wonderland (whose duration is 58 minutes) or Live Free or Die Hard?
Choices:
Rebecca
Pleasantville
A Prairie Home Companion
The Towering Inferno
Alice in Wonderland
Curse of the Golden Flower
Training Day
Live Free or Die Hard
The Hunchback of Notre Dame
Talk to Her
Program:
function: Find
inputs: Alice in Wonderland
function: FilterNum
dependencies: 0
inputs: duration
58 minute
=
function: Find
inputs: Live Free or Die Hard
function: SelectBetween
dependencies: 1
2
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Alice in Wonderland" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "58"^^xsd:double . } UNION { ?e <pred:name> "Live Free or Die Hard" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Live Free or Die Hard