Question: Which has less duration, Any Given Sunday or The Spiderwick Chronicles (whose publication date is 2008-03-20)?
Choices: A Prairie Home Companion
Pleasantville
The Towering Inferno
Curse of the Golden Flower
Any Given Sunday
The Hunchback of Notre Dame
Rebecca
The Spiderwick Chronicles
Training Day
The Fifth Element
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Any Given Sunday" . } UNION { ?e <pred:name> "The Spiderwick Chronicles" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "2008-03-20"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Any Given Sunday
function: Find
inputs: The Spiderwick Chronicles
function: FilterDate
dependencies: 1
inputs: publication date
2008-03-20
=
function: SelectBetween
dependencies: 0
2
inputs: duration
less
Answer: The Spiderwick Chronicles