Question: Is Antarctica, published on 1983-01-01, or The Last Station the shorter of the two?
Choices:
Training Day
The Fifth Element
Rebecca
Antarctica
A Prairie Home Companion
Curse of the Golden Flower
The Towering Inferno
The Hunchback of Notre Dame
The Last Station
Talk to Her
Answer: The Last Station
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Antarctica" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1983-01-01"^^xsd:date . } UNION { ?e <pred:name> "The Last Station" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Antarctica
function: FilterDate
dependencies: 0
inputs: publication date
1983-01-01
=
function: Find
inputs: The Last Station
function: SelectBetween
dependencies: 1
2
inputs: duration
less