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