Question: Is the duration less for Brothers (the one whose publication date is 2005-03-31) or Eastern Promises?
Choices:
Pleasantville
Curse of the Golden Flower
The Fifth Element
The Towering Inferno
Brothers
The Hunchback of Notre Dame
Talk to Her
Eastern Promises
A Prairie Home Companion
Training Day
Answer: Eastern Promises
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Brothers" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "2005-03-31"^^xsd:date . } UNION { ?e <pred:name> "Eastern Promises" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Brothers
function: FilterDate
dependencies: 0
inputs: publication date
2005-03-31
=
function: Find
inputs: Eastern Promises
function: SelectBetween
dependencies: 1
2
inputs: duration
less