Question: Was the budget bigger on Sony Pictures Home Entertainment's production of The Da Vinci Code or on Blue Velvet?
Choices:
The Da Vinci Code
The Towering Inferno
The Fifth Element
The Hunchback of Notre Dame
A Prairie Home Companion
Rebecca
Blue Velvet
Talk to Her
Pleasantville
Training Day
Program:
function: Find
inputs: Sony Pictures Home Entertainment
function: Relate
dependencies: 0
inputs: production company
backward
function: Find
inputs: The Da Vinci Code
function: And
dependencies: 1
2
function: Find
inputs: Blue Velvet
function: SelectBetween
dependencies: 3
4
inputs: budget
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Da Vinci Code" . ?e <production_company> ?e_1 . ?e_1 <pred:name> "Sony Pictures Home Entertainment" .   } UNION { ?e <pred:name> "Blue Velvet" .  } ?e <budget> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: The Da Vinci Code