Question: Between Oh! What a Lovely War and the 1962-10-05 publishing of Dr. No, which one is longer?
Choices:
Oh! What a Lovely War
The Fifth Element
Talk to Her
A Prairie Home Companion
Curse of the Golden Flower
The Hunchback of Notre Dame
Pleasantville
The Towering Inferno
Rebecca
Dr. No
Program:
function: Find
inputs: Dr. No
function: FilterDate
dependencies: 0
inputs: publication date
1962-10-05
=
function: Find
inputs: Oh! What a Lovely War
function: SelectBetween
dependencies: 1
2
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Dr. No" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1962-10-05"^^xsd:date . } UNION { ?e <pred:name> "Oh! What a Lovely War" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Oh! What a Lovely War