Question: Which has a greater box office, Up (the one that was nominated for Broadcast Film Critics Association Award for Best Film) or Treasure Planet?
Choices:
Peter Pan
Lilo & Stitch
Aladdin
Treasure Planet
Winnie the Pooh
Shrek 2
The Rescuers
WALL·E
Up
Renaissance
Program:
function: Find
inputs: Broadcast Film Critics Association Award for Best Film
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Up
function: And
dependencies: 1
2
function: Find
inputs: Treasure Planet
function: SelectBetween
dependencies: 3
4
inputs: box office
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Up" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "Broadcast Film Critics Association Award for Best Film" .   } UNION { ?e <pred:name> "Treasure Planet" .  } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Up