Question: Does The Mummy (whose exploitation visa number is 97247) or A Very Long Engagement have the lower box office?
Choices:
Curse of the Golden Flower
A Very Long Engagement
The Mummy
Training Day
Pleasantville
The Hunchback of Notre Dame
The Towering Inferno
Talk to Her
The Fifth Element
Rebecca
Program:
function: Find
inputs: The Mummy
function: FilterStr
dependencies: 0
inputs: exploitation visa number
97247
function: Find
inputs: A Very Long Engagement
function: SelectBetween
dependencies: 1
2
inputs: box office
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Mummy" . ?e <exploitation_visa_number> ?pv_1 . ?pv_1 <pred:value> "97247" . } UNION { ?e <pred:name> "A Very Long Engagement" . } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: A Very Long Engagement