Question: Which cost less, No Country for Old Men starring Tommy Lee Jones or The Big Lebowski?
Choices:
No Country for Old Men
The Hunchback of Notre Dame
A Prairie Home Companion
Pleasantville
The Big Lebowski
Talk to Her
Rebecca
The Towering Inferno
Curse of the Golden Flower
Training Day
Program:
function: Find
inputs: Tommy Lee Jones
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: No Country for Old Men
function: And
dependencies: 1
2
function: Find
inputs: The Big Lebowski
function: SelectBetween
dependencies: 3
4
inputs: cost
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "No Country for Old Men" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Tommy Lee Jones" .   } UNION { ?e <pred:name> "The Big Lebowski" .  } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: The Big Lebowski