Question: Which movie is longer, The Secret in Their Eyes (the one that was nominated for Goya Award for Best Director) or Downfall (the one whose publication date is 2004-09-16)?
Choices:
Pleasantville
Talk to Her
The Secret in Their Eyes
The Hunchback of Notre Dame
The Fifth Element
Training Day
A Prairie Home Companion
Curse of the Golden Flower
Downfall
Rebecca
Program:
function: Find
inputs: Goya Award for Best Director
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: The Secret in Their Eyes
function: And
dependencies: 1
2
function: Find
inputs: Downfall
function: FilterDate
dependencies: 4
inputs: publication date
2004-09-16
=
function: SelectBetween
dependencies: 3
5
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Secret in Their Eyes" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "Goya Award for Best Director" . } UNION { ?e <pred:name> "Downfall" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "2004-09-16"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Downfall