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