Question: Which is longer, Get Carter published on 1971-02-03 or Sunshine that was nominated for Golden Globe Award for Best Original Score?
Choices:
Rebecca
Pleasantville
The Hunchback of Notre Dame
The Fifth Element
The Towering Inferno
Get Carter
Training Day
Sunshine
A Prairie Home Companion
Curse of the Golden Flower
Answer: Sunshine
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Get Carter" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1971-02-03"^^xsd:date . } UNION { ?e <pred:name> "Sunshine" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "Golden Globe Award for Best Original Score" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Get Carter
function: FilterDate
dependencies: 0
inputs: publication date
1971-02-03
=
function: Find
inputs: Golden Globe Award for Best Original Score
function: Relate
dependencies: 2
inputs: nominated for
backward
function: Find
inputs: Sunshine
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: duration
greater