Question: Was it more expensive to make Scary Movie or The Edge, originating in Russia?
Choices:
The Fifth Element
Pleasantville
Curse of the Golden Flower
The Edge
Scary Movie
A Prairie Home Companion
Talk to Her
Rebecca
The Towering Inferno
The Hunchback of Notre Dame
Answer: Scary Movie
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Scary Movie" .  } UNION { ?e <pred:name> "The Edge" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> "Russia" .   } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Scary Movie
function: Find
inputs: Russia
function: Relate
dependencies: 1
inputs: country of origin
backward
function: Find
inputs: The Edge
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: cost
greater