Question: Which movie cost more to make, A League of Their Own or Thunderball (the one that has Sean Connery as a cast member)?
Choices:
A League of Their Own
Rebecca
Curse of the Golden Flower
Talk to Her
Training Day
A Prairie Home Companion
The Towering Inferno
The Fifth Element
The Hunchback of Notre Dame
Pleasantville
Answer: A League of Their Own
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "A League of Their Own" .  } UNION { ?e <pred:name> "Thunderball" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Sean Connery" .   } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: A League of Their Own
function: Find
inputs: Sean Connery
function: Relate
dependencies: 1
inputs: cast member
backward
function: Find
inputs: Thunderball
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: cost
greater