Question: Which has more box office, It's Complicated or The Edge originally in German?
Choices:
Curse of the Golden Flower
Rebecca
The Edge
The Hunchback of Notre Dame
A Prairie Home Companion
The Towering Inferno
Training Day
It's Complicated
Pleasantville
Talk to Her
Answer: It's Complicated
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "It's Complicated" .  } UNION { ?e <pred:name> "The Edge" . ?e <original_language_of_film_or_TV_show> ?e_1 . ?e_1 <pred:name> "German" .   } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: It's Complicated
function: Find
inputs: German
function: Relate
dependencies: 1
inputs: original language of film or TV show
backward
function: Find
inputs: The Edge
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: box office
greater