Question: Is The Expendables or A Single Man (released 2010-04-08) shorter in duration?
Choices:
Curse of the Golden Flower
Rebecca
The Expendables
A Single Man
Training Day
Talk to Her
The Fifth Element
A Prairie Home Companion
The Towering Inferno
The Hunchback of Notre Dame
Answer: A Single Man
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Expendables" . } UNION { ?e <pred:name> "A Single Man" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "2010-04-08"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: The Expendables
function: Find
inputs: A Single Man
function: FilterDate
dependencies: 1
inputs: publication date
2010-04-08
=
function: SelectBetween
dependencies: 0
2
inputs: duration
less