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