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