Question: Is the more expensive project National Treasure, set in New York City, or Harry Potter and the Prisoner of Azkaban, with Timothy Spall as a cast member?
Choices:
G-Force
National Treasure: Book of Secrets
National Treasure
Holes
The Muppets
Old Dogs
The Flintstones in Viva Rock Vegas
Harry Potter and the Prisoner of Azkaban
Alvin and the Chipmunks: Chipwrecked
John Carter
Answer: Harry Potter and the Prisoner of Azkaban
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "National Treasure" . ?e <narrative_location> ?e_1 . ?e_1 <pred:name> "New York City" .   } UNION { ?e <pred:name> "Harry Potter and the Prisoner of Azkaban" . ?e <cast_member> ?e_2 . ?e_2 <pred:name> "Timothy Spall" .  } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: New York City
function: Relate
dependencies: 0
inputs: narrative location
backward
function: Find
inputs: National Treasure
function: And
dependencies: 1
2
function: Find
inputs: Timothy Spall
function: Relate
dependencies: 4
inputs: cast member
backward
function: Find
inputs: Harry Potter and the Prisoner of Azkaban
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: cost
greater