Question: Was it more expensive to make Ghostbusters, scripted by Harold Ramis, or The Hunchback of Notre Dame, with Anthony Quinn as a cast member?
Choices: The Flintstones in Viva Rock Vegas
G-Force
The Flintstones
Alvin and the Chipmunks: Chipwrecked
The Muppets
National Treasure: Book of Secrets
John Carter
Old Dogs
Ghostbusters
The Hunchback of Notre Dame
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Ghostbusters" . ?e <screenwriter> ?e_1 . ?e_1 <pred:name> "Harold Ramis" .   } UNION { ?e <pred:name> "The Hunchback of Notre Dame" . ?e <cast_member> ?e_2 . ?e_2 <pred:name> "Anthony Quinn" .  } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Harold Ramis
function: Relate
dependencies: 0
inputs: screenwriter
backward
function: Find
inputs: Ghostbusters
function: And
dependencies: 1
2
function: Find
inputs: Anthony Quinn
function: Relate
dependencies: 4
inputs: cast member
backward
function: Find
inputs: The Hunchback of Notre Dame
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: cost
greater
Answer: Ghostbusters