Question: Which movie is shorter, Kiki's Delivery Service or The Sound of Music (the one whose publication date is 1965-03-02)?
Choices:
Anastasia
Kiki's Delivery Service
The Polar Express
Magic Knight Rayearth
Ponyo on the Cliff by the Sea
Superman
Code Geass
The Sound of Music
A Christmas Carol
My-HiME
Answer: Kiki's Delivery Service
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Kiki's Delivery Service" . } UNION { ?e <pred:name> "The Sound of Music" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1965-03-02"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Kiki's Delivery Service
function: Find
inputs: The Sound of Music
function: FilterDate
dependencies: 1
inputs: publication date
1965-03-02
=
function: SelectBetween
dependencies: 0
2
inputs: duration
less