Question: Which one, The Bad Lieutenant: Port of Call New Orleans or Edge of Darkness (the one whose publication date is 1943-01-01), has greater duration?
Choices: Training Day
Curse of the Golden Flower
The Hunchback of Notre Dame
Pleasantville
The Bad Lieutenant: Port of Call New Orleans
The Towering Inferno
Rebecca
The Fifth Element
A Prairie Home Companion
Talk to Her
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Bad Lieutenant: Port of Call New Orleans" . } UNION { ?e <pred:name> "Edge of Darkness" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1943-01-01"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: The Bad Lieutenant: Port of Call New Orleans
function: Find
inputs: Edge of Darkness
function: FilterDate
dependencies: 1
inputs: publication date
1943-01-01
=
function: SelectBetween
dependencies: 0
2
inputs: duration
greater
Answer: The Bad Lieutenant: Port of Call New Orleans