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