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