Question: Which movie is longer, The Ice Storm or Get Carter (the one whose publication date is 1971-02-03)?
Choices:
The Ice Storm
Rebecca
Pleasantville
The Towering Inferno
Curse of the Golden Flower
The Hunchback of Notre Dame
Get Carter
The Fifth Element
A Prairie Home Companion
Talk to Her
Program:
function: Find
inputs: The Ice Storm
function: Find
inputs: Get Carter
function: FilterDate
dependencies: 1
inputs: publication date
1971-02-03
=
function: SelectBetween
dependencies: 0
2
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Ice Storm" . } UNION { ?e <pred:name> "Get Carter" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1971-02-03"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: The Ice Storm