Question: Which was longer, The Man in the Iron Mask (published 1977-01-17) or The History Boys?
Choices:
The Towering Inferno
Training Day
Talk to Her
The Fifth Element
Rebecca
The Hunchback of Notre Dame
The History Boys
A Prairie Home Companion
Pleasantville
The Man in the Iron Mask
Program:
function: Find
inputs: The History Boys
function: Find
inputs: The Man in the Iron Mask
function: FilterDate
dependencies: 1
inputs: publication date
1977-01-17
=
function: SelectBetween
dependencies: 0
2
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The History Boys" . } UNION { ?e <pred:name> "The Man in the Iron Mask" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1977-01-17"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: The History Boys