Question: Which one was more expensive, The Mask of Zorro or Murder on the Orient Express (the one whose production company is 20th Century Fox)?
Choices:
Talk to Her
The Fifth Element
The Mask of Zorro
Curse of the Golden Flower
Murder on the Orient Express
Pleasantville
The Towering Inferno
Rebecca
Training Day
The Hunchback of Notre Dame
Answer: The Mask of Zorro
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Mask of Zorro" .  } UNION { ?e <pred:name> "Murder on the Orient Express" . ?e <production_company> ?e_1 . ?e_1 <pred:name> "20th Century Fox" .   } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: The Mask of Zorro
function: Find
inputs: 20th Century Fox
function: Relate
dependencies: 1
inputs: production company
backward
function: Find
inputs: Murder on the Orient Express
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: cost
greater