Question: Which one earned less in the box offices, Godzilla, published on 20th May 1998, or The Terminator?
Choices:
The Hunchback of Notre Dame
The Fifth Element
Curse of the Golden Flower
A Prairie Home Companion
The Terminator
Rebecca
Talk to Her
The Towering Inferno
Godzilla
Training Day
Answer: The Terminator
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Godzilla" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1998-05-20"^^xsd:date . } UNION { ?e <pred:name> "The Terminator" . } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Godzilla
function: FilterDate
dependencies: 0
inputs: publication date
1998-05-20
=
function: Find
inputs: The Terminator
function: SelectBetween
dependencies: 1
2
inputs: box office
less