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