Question: Which movie is shorter, Dragon Ball Z: Dead Zone or Chicago (the one whose publication date is 2002-12-10)?
Choices:
Curse of the Golden Flower
Dragon Ball Z: Dead Zone
Training Day
Talk to Her
Pleasantville
Chicago
The Fifth Element
The Hunchback of Notre Dame
The Towering Inferno
A Prairie Home Companion
Program:
function: Find
inputs: Dragon Ball Z: Dead Zone
function: Find
inputs: Chicago
function: FilterDate
dependencies: 1
inputs: publication date
2002-12-10
=
function: SelectBetween
dependencies: 0
2
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Dragon Ball Z: Dead Zone" . } UNION { ?e <pred:name> "Chicago" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "2002-12-10"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Dragon Ball Z: Dead Zone