Question: Does Invincible (in the biographical film genre) or The Chronicles of Narnia: Prince Caspian (that is filmed in New Zealand) have the longer running time?
Choices: Old Dogs
John Carter
Holes
G-Force
Invincible
The Flintstones in Viva Rock Vegas
The Flintstones
The Muppets
The Chronicles of Narnia: Prince Caspian
National Treasure: Book of Secrets
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Invincible" . ?e <genre> ?e_1 . ?e_1 <pred:name> "biographical film" .   } UNION { ?e <pred:name> "The Chronicles of Narnia: Prince Caspian" . ?e <filming_location> ?e_2 . ?e_2 <pred:name> "New Zealand" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: biographical film
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Invincible
function: And
dependencies: 1
2
function: Find
inputs: New Zealand
function: Relate
dependencies: 4
inputs: filming location
backward
function: Find
inputs: The Chronicles of Narnia: Prince Caspian
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
greater
Answer: The Chronicles of Narnia: Prince Caspian