Question: Which is longer, Tropic Thunder or Poltergeist published on 2015-05-28?
Choices:
Training Day
A Prairie Home Companion
Curse of the Golden Flower
Rebecca
The Hunchback of Notre Dame
Talk to Her
Poltergeist
Tropic Thunder
The Fifth Element
Pleasantville
Program:
function: Find
inputs: Tropic Thunder
function: Find
inputs: Poltergeist
function: FilterDate
dependencies: 1
inputs: publication date
2015-05-28
=
function: SelectBetween
dependencies: 0
2
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Tropic Thunder" . } UNION { ?e <pred:name> "Poltergeist" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "2015-05-28"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Tropic Thunder