Question: Which has more box office, Cinderella whose box office is 85000000 USD or Tangled whose cost is 260000000 USD?
Choices: The Rescuers
Lilo & Stitch
Renaissance
Peter Pan
WALL·E
Shrek 2
Aladdin
Winnie the Pooh
Tangled
Cinderella
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Cinderella" . ?e <box_office> ?pv_1 . ?pv_1 <pred:unit> "United States dollar" . ?pv_1 <pred:value> "85000000"^^xsd:double . } UNION { ?e <pred:name> "Tangled" . ?e <cost> ?pv_2 . ?pv_2 <pred:unit> "United States dollar" . ?pv_2 <pred:value> "260000000"^^xsd:double . } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Cinderella
function: FilterNum
dependencies: 0
inputs: box office
85000000 United States dollar
=
function: Find
inputs: Tangled
function: FilterNum
dependencies: 2
inputs: cost
260000000 United States dollar
=
function: SelectBetween
dependencies: 1
3
inputs: box office
greater
Answer: Tangled