Question: Which movie is shorter, Beginners or The Sorcerer's Apprentice (the one whose publication date is 1955-01-01)?
Choices:
The Late Shift
The Sorcerer's Apprentice
All Quiet on the Western Front
A Christmas Carol
The Goodbye Girl
Beginners
The Three Musketeers
The Challenge
The Music Man
A Streetcar Named Desire
Answer: The Sorcerer's Apprentice
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Beginners" . } UNION { ?e <pred:name> "The Sorcerer's Apprentice" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1955-01-01"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Beginners
function: Find
inputs: The Sorcerer's Apprentice
function: FilterDate
dependencies: 1
inputs: publication date
1955-01-01
=
function: SelectBetween
dependencies: 0
2
inputs: duration
less