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