Question: Was the cost of production higher on Alexander, originating in Germany, or on the Woody Allen-directed Scoop?
Choices:
Curse of the Golden Flower
Alexander
Rebecca
The Towering Inferno
The Fifth Element
Scoop
Talk to Her
A Prairie Home Companion
The Hunchback of Notre Dame
Training Day
Program:
function: Find
inputs: Germany
function: Relate
dependencies: 0
inputs: country of origin
backward
function: Find
inputs: Alexander
function: And
dependencies: 1
2
function: Find
inputs: Woody Allen
function: Relate
dependencies: 4
inputs: director
backward
function: Find
inputs: Scoop
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: cost
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Alexander" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> "Germany" .   } UNION { ?e <pred:name> "Scoop" . ?e <director> ?e_2 . ?e_2 <pred:name> "Woody Allen" .  } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Alexander