Question: Which is shorter, The Expendables 2 or David Copperfield published on 1913-01-01?
Choices:
Talk to Her
The Fifth Element
Curse of the Golden Flower
The Towering Inferno
Pleasantville
David Copperfield
Training Day
A Prairie Home Companion
The Expendables 2
The Hunchback of Notre Dame
Answer: David Copperfield
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Expendables 2" . } UNION { ?e <pred:name> "David Copperfield" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1913-01-01"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: The Expendables 2
function: Find
inputs: David Copperfield
function: FilterDate
dependencies: 1
inputs: publication date
1913-01-01
=
function: SelectBetween
dependencies: 0
2
inputs: duration
less