Question: Which has a lesser duration, New Mexico (whose publication date is 1951-01-01) or Epic Movie?
Choices:
Pleasantville
Talk to Her
The Fifth Element
New Mexico
Curse of the Golden Flower
Epic Movie
The Hunchback of Notre Dame
Training Day
A Prairie Home Companion
Rebecca
Answer: New Mexico
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "New Mexico" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1951-01-01"^^xsd:date . } UNION { ?e <pred:name> "Epic Movie" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: New Mexico
function: FilterDate
dependencies: 0
inputs: publication date
1951-01-01
=
function: Find
inputs: Epic Movie
function: SelectBetween
dependencies: 1
2
inputs: duration
less