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