Question: Did Sleepers or Anastasia, with the voice of Bernadette Peters, perform better at the box office?
Choices:
A Prairie Home Companion
Rebecca
The Towering Inferno
Training Day
Curse of the Golden Flower
Anastasia
Talk to Her
The Hunchback of Notre Dame
Pleasantville
Sleepers
Program:
function: Find
inputs: Sleepers
function: Find
inputs: Bernadette Peters
function: Relate
dependencies: 1
inputs: voice actor
backward
function: Find
inputs: Anastasia
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: box office
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Sleepers" .  } UNION { ?e <pred:name> "Anastasia" . ?e <voice_actor> ?e_1 . ?e_1 <pred:name> "Bernadette Peters" .   } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Sleepers