Question: Which is shorter, Angels & Demons published on 2009-01-01 or Wedding Crashers?
Choices: The Fifth Element
The Towering Inferno
Pleasantville
Angels & Demons
A Prairie Home Companion
Rebecca
The Hunchback of Notre Dame
Talk to Her
Wedding Crashers
Curse of the Golden Flower
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Angels & Demons" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "2009-01-01"^^xsd:date . } UNION { ?e <pred:name> "Wedding Crashers" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Angels & Demons
function: FilterDate
dependencies: 0
inputs: publication date
2009-01-01
=
function: Find
inputs: Wedding Crashers
function: SelectBetween
dependencies: 1
2
inputs: duration
less
Answer: Wedding Crashers