Question: Which movie is longer, Judgment at Nuremberg or Giant (the one whose publication date is 2009-10-01)?
Choices:
Training Day
Pleasantville
Giant
The Towering Inferno
The Fifth Element
Rebecca
Talk to Her
Judgment at Nuremberg
A Prairie Home Companion
The Hunchback of Notre Dame
Program:
function: Find
inputs: Judgment at Nuremberg
function: Find
inputs: Giant
function: FilterDate
dependencies: 1
inputs: publication date
2009-10-01
=
function: SelectBetween
dependencies: 0
2
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Judgment at Nuremberg" . } UNION { ?e <pred:name> "Giant" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "2009-10-01"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Judgment at Nuremberg