Question: Was "Anaconda" or "The Doors," feautring Val Kilmer, more expensive?
Choices:
The Towering Inferno
The Fifth Element
Rebecca
Talk to Her
Anaconda
The Hunchback of Notre Dame
A Prairie Home Companion
The Doors
Curse of the Golden Flower
Training Day
Answer: Anaconda
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Anaconda" .  } UNION { ?e <pred:name> "The Doors" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Val Kilmer" .   } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Anaconda
function: Find
inputs: Val Kilmer
function: Relate
dependencies: 1
inputs: cast member
backward
function: Find
inputs: The Doors
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: cost
greater