Question: Does Lawless or Hulk (whose release date is 2003-07-03) have the higher box office?
Choices:
Training Day
Pleasantville
A Prairie Home Companion
Hulk
Curse of the Golden Flower
The Hunchback of Notre Dame
The Fifth Element
The Towering Inferno
Rebecca
Talk to Her
Program:
function: Find
inputs: Lawless
function: Find
inputs: Hulk
function: FilterDate
dependencies: 1
inputs: publication date
2003-07-03
=
function: SelectBetween
dependencies: 0
2
inputs: box office
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Lawless" . } UNION { ?e <pred:name> "Hulk" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "2003-07-03"^^xsd:date . } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Hulk