Question: Which is shorter, the Dark Shadows released on 2012-05-10 or Ryan's Daughter?
Choices:
Dark Shadows
The Hunchback of Notre Dame
The Fifth Element
Pleasantville
Talk to Her
Ryan's Daughter
A Prairie Home Companion
Training Day
Rebecca
The Towering Inferno
Program:
function: Find
inputs: Dark Shadows
function: FilterDate
dependencies: 0
inputs: publication date
2012-05-10
=
function: Find
inputs: Ryan's Daughter
function: SelectBetween
dependencies: 1
2
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Dark Shadows" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "2012-05-10"^^xsd:date . } UNION { ?e <pred:name> "Ryan's Daughter" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Dark Shadows