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