Question: Which movie made more at the box office, Peter Pan, published December 21, 1953, or Shrek 2 which ran for 93 minutes?
Choices: Shrek 2
Renaissance
Peter Pan
Beauty and the Beast
WALL·E
Cinderella
Lilo & Stitch
Aladdin
The Rescuers
Winnie the Pooh
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Peter Pan" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1953-12-21"^^xsd:date . } UNION { ?e <pred:name> "Shrek 2" . ?e <duration> ?pv_2 . ?pv_2 <pred:unit> "minute" . ?pv_2 <pred:value> "93"^^xsd:double . } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Peter Pan
function: FilterDate
dependencies: 0
inputs: publication date
1953-12-21
=
function: Find
inputs: Shrek 2
function: FilterNum
dependencies: 2
inputs: duration
93 minute
=
function: SelectBetween
dependencies: 1
3
inputs: box office
greater
Answer: Shrek 2