Question: Which cost more to make, Moon (the one that has Sam Rockwell as a cast member) or No Country for Old Men (the one whose production company is Paramount Vantage)?
Choices:
A Prairie Home Companion
No Country for Old Men
Training Day
The Fifth Element
Talk to Her
Pleasantville
The Hunchback of Notre Dame
Curse of the Golden Flower
The Towering Inferno
Moon
Program:
function: Find
inputs: Sam Rockwell
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Moon
function: And
dependencies: 1
2
function: Find
inputs: Paramount Vantage
function: Relate
dependencies: 4
inputs: production company
backward
function: Find
inputs: No Country for Old Men
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: cost
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Moon" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Sam Rockwell" .   } UNION { ?e <pred:name> "No Country for Old Men" . ?e <production_company> ?e_2 . ?e_2 <pred:name> "Paramount Vantage" .  } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: No Country for Old Men