Question: Does terrorism-themed The Siege or Collateral, released on 2004-09-23, have the longer run-time?
Choices:
A Prairie Home Companion
The Hunchback of Notre Dame
Pleasantville
Curse of the Golden Flower
The Fifth Element
Training Day
Collateral
Talk to Her
Rebecca
The Towering Inferno
Answer: Collateral
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Siege" . ?e <main_subject> ?e_1 . ?e_1 <pred:name> "terrorism" . } UNION { ?e <pred:name> "Collateral" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "2004-09-23"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: terrorism
function: Relate
dependencies: 0
inputs: main subject
backward
function: Find
inputs: The Siege
function: And
dependencies: 1
2
function: Find
inputs: Collateral
function: FilterDate
dependencies: 4
inputs: publication date
2004-09-23
=
function: SelectBetween
dependencies: 3
5
inputs: duration
greater