Question: Does Jack Reacher (whose release region is Italy) or The Mummy (whose publication date is 2017-06-08) have the lower box office?
Choices:
Rebecca
A Prairie Home Companion
The Towering Inferno
Jack Reacher
The Fifth Element
Pleasantville
The Mummy
Talk to Her
The Hunchback of Notre Dame
Training Day
Program:
function: Find
inputs: Italy
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: Jack Reacher
function: And
dependencies: 1
2
function: Find
inputs: The Mummy
function: FilterDate
dependencies: 4
inputs: publication date
2017-06-08
=
function: SelectBetween
dependencies: 3
5
inputs: box office
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Jack Reacher" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "Italy" . } UNION { ?e <pred:name> "The Mummy" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "2017-06-08"^^xsd:date . } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Jack Reacher