Question: Which has a larger budget, Resident Evil: Apocalypse or Dune (the one whose publication date is 1984-12-14)?
Choices:
The Fifth Element
Dune
The Towering Inferno
Training Day
Resident Evil: Apocalypse
Rebecca
Pleasantville
Curse of the Golden Flower
Talk to Her
A Prairie Home Companion
Answer: Resident Evil: Apocalypse
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Resident Evil: Apocalypse" . } UNION { ?e <pred:name> "Dune" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1984-12-14"^^xsd:date . } ?e <budget> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Resident Evil: Apocalypse
function: Find
inputs: Dune
function: FilterDate
dependencies: 1
inputs: publication date
1984-12-14
=
function: SelectBetween
dependencies: 0
2
inputs: budget
greater