Question: Which cost more to make, Chocolat (the one whose cost is 18500000 United States dollar) or W.?
Choices:
The Towering Inferno
Curse of the Golden Flower
The Fifth Element
Pleasantville
Chocolat
Training Day
Rebecca
W.
A Prairie Home Companion
Talk to Her
Answer: W.
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Chocolat" . ?e <cost> ?pv_1 . ?pv_1 <pred:unit> "United States dollar" . ?pv_1 <pred:value> "18500000"^^xsd:double . } UNION { ?e <pred:name> "W." . } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Chocolat
function: FilterNum
dependencies: 0
inputs: cost
18500000 United States dollar
=
function: Find
inputs: W.
function: SelectBetween
dependencies: 1
2
inputs: cost
greater