Question: Which movie is longer, The Crucible (the one whose publication date is 1957-04-26) or Batman & Robin (the one that was nominated for Golden Raspberry Award for Worst Original Song)?
Choices:
Training Day
Batman & Robin
Curse of the Golden Flower
The Hunchback of Notre Dame
A Prairie Home Companion
Pleasantville
The Towering Inferno
Rebecca
The Crucible
The Fifth Element
Program:
function: Find
inputs: The Crucible
function: FilterDate
dependencies: 0
inputs: publication date
1957-04-26
=
function: Find
inputs: Golden Raspberry Award for Worst Original Song
function: Relate
dependencies: 2
inputs: nominated for
backward
function: Find
inputs: Batman & Robin
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Crucible" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1957-04-26"^^xsd:date . } UNION { ?e <pred:name> "Batman & Robin" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "Golden Raspberry Award for Worst Original Song" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: The Crucible