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