Question: Which is longer: David Copperfield, clocking in at 67 minutes, or The X-Files, with a 121-minute run-time?
Choices:
The X-Files
Training Day
Curse of the Golden Flower
David Copperfield
The Hunchback of Notre Dame
The Towering Inferno
Pleasantville
Talk to Her
The Fifth Element
A Prairie Home Companion
Program:
function: Find
inputs: David Copperfield
function: FilterNum
dependencies: 0
inputs: duration
67 minute
=
function: Find
inputs: The X-Files
function: FilterNum
dependencies: 2
inputs: duration
121 minute
=
function: SelectBetween
dependencies: 1
3
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "David Copperfield" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "67"^^xsd:double . } UNION { ?e <pred:name> "The X-Files" . ?e <duration> ?pv_2 . ?pv_2 <pred:unit> "minute" . ?pv_2 <pred:value> "121"^^xsd:double . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: The X-Files