Question: Did The Invention of Lying or Oscar published on 1991-01-01 make more at the box office?
Choices:
The Towering Inferno
A Prairie Home Companion
Talk to Her
Training Day
Oscar
The Hunchback of Notre Dame
The Fifth Element
The Invention of Lying
Pleasantville
Curse of the Golden Flower
Answer: The Invention of Lying
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Invention of Lying" . } UNION { ?e <pred:name> "Oscar" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1991-01-01"^^xsd:date . } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: The Invention of Lying
function: Find
inputs: Oscar
function: FilterDate
dependencies: 1
inputs: publication date
1991-01-01
=
function: SelectBetween
dependencies: 0
2
inputs: box office
greater