Question: Which has a lesser box office, Terminator 3: Rise of the Machines (which origins from Germany) or Seven Psychopaths?
Choices:
Terminator 3: Rise of the Machines
Curse of the Golden Flower
Seven Psychopaths
The Towering Inferno
The Hunchback of Notre Dame
A Prairie Home Companion
The Fifth Element
Pleasantville
Rebecca
Training Day
Program:
function: Find
inputs: Germany
function: Relate
dependencies: 0
inputs: country of origin
backward
function: Find
inputs: Terminator 3: Rise of the Machines
function: And
dependencies: 1
2
function: Find
inputs: Seven Psychopaths
function: SelectBetween
dependencies: 3
4
inputs: box office
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Terminator 3: Rise of the Machines" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> "Germany" .   } UNION { ?e <pred:name> "Seven Psychopaths" .  } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Seven Psychopaths