Question: Was the budget greater for The Bodyguard, whose genre is drama film, or Star Trek: Nemesis?
Choices: Pleasantville
Curse of the Golden Flower
A Prairie Home Companion
The Hunchback of Notre Dame
Talk to Her
The Fifth Element
Star Trek: Nemesis
Rebecca
Training Day
The Bodyguard
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Bodyguard" . ?e <genre> ?e_1 . ?e_1 <pred:name> "drama film" .   } UNION { ?e <pred:name> "Star Trek: Nemesis" .  } ?e <budget> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: drama film
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: The Bodyguard
function: And
dependencies: 1
2
function: Find
inputs: Star Trek: Nemesis
function: SelectBetween
dependencies: 3
4
inputs: budget
greater
Answer: Star Trek: Nemesis