Question: Does the Count of Monte Cristo (the one whose publication date is 1934-01-01) or The Faculty have greater duration?
Choices:
The Count of Monte Cristo
The Fifth Element
Talk to Her
Pleasantville
The Towering Inferno
Rebecca
Curse of the Golden Flower
A Prairie Home Companion
The Faculty
The Hunchback of Notre Dame
Program:
function: Find
inputs: The Count of Monte Cristo
function: FilterDate
dependencies: 0
inputs: publication date
1934-01-01
=
function: Find
inputs: The Faculty
function: SelectBetween
dependencies: 1
2
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Count of Monte Cristo" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1934-01-01"^^xsd:date . } UNION { ?e <pred:name> "The Faculty" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: The Count of Monte Cristo