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
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
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
Answer: Wedding Crashers