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