Question: Does the film Up (whose box office is 735099082 United States dollars) or Cinderella (whose production company is RKO Pictures) have the lower box office?
Choices: Winnie the Pooh
Lilo & Stitch
Beauty and the Beast
Shrek 2
WALL·E
Renaissance
Up
Cinderella
Aladdin
Peter Pan
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Up" . ?e <box_office> ?pv_1 . ?pv_1 <pred:unit> "United States dollar" . ?pv_1 <pred:value> "735099082"^^xsd:double . } UNION { ?e <pred:name> "Cinderella" . ?e <production_company> ?e_1 . ?e_1 <pred:name> "RKO Pictures" . } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Up
function: FilterNum
dependencies: 0
inputs: box office
735099082 United States dollar
=
function: Find
inputs: RKO Pictures
function: Relate
dependencies: 2
inputs: production company
backward
function: Find
inputs: Cinderella
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: box office
less
Answer: Cinderella