Question: Did Sleepers or the Rocky Balboa originating from the USA perform better at the box office?
Choices:
Sleepers
Pleasantville
The Fifth Element
The Hunchback of Notre Dame
Talk to Her
Rebecca
Curse of the Golden Flower
Rocky Balboa
Training Day
A Prairie Home Companion
Program:
function: Find
inputs: Sleepers
function: Find
inputs: United States of America
function: Relate
dependencies: 1
inputs: country of origin
backward
function: Find
inputs: Rocky Balboa
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> "Rocky Balboa" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> "United States of America" .   } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Sleepers