Question: Which movie made less at the box office, Spartacus (the one whose box office is 22800000 Hong Kong dollar) or American Psycho?
Choices:
A Prairie Home Companion
The Hunchback of Notre Dame
Curse of the Golden Flower
Talk to Her
Rebecca
Spartacus
Training Day
American Psycho
The Fifth Element
Pleasantville
Program:
function: Find
inputs: Spartacus
function: FilterNum
dependencies: 0
inputs: box office
22800000 Hong Kong dollar
=
function: Find
inputs: American Psycho
function: SelectBetween
dependencies: 1
2
inputs: box office
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Spartacus" . ?e <box_office> ?pv_1 . ?pv_1 <pred:unit> "Hong Kong dollar" . ?pv_1 <pred:value> "22800000"^^xsd:double . } UNION { ?e <pred:name> "American Psycho" . } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Spartacus