Question: Which is shorter, Love Story published on 1942-01-01 or Extremely Loud and Incredibly Close?
Choices:
Pleasantville
Curse of the Golden Flower
Rebecca
Talk to Her
Extremely Loud and Incredibly Close
Love Story
The Towering Inferno
The Fifth Element
The Hunchback of Notre Dame
A Prairie Home Companion
Answer: Love Story
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Love Story" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1942-01-01"^^xsd:date . } UNION { ?e <pred:name> "Extremely Loud and Incredibly Close" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Love Story
function: FilterDate
dependencies: 0
inputs: publication date
1942-01-01
=
function: Find
inputs: Extremely Loud and Incredibly Close
function: SelectBetween
dependencies: 1
2
inputs: duration
less