Question: Does Labyrinth (whose release region is Denmark) or Hook have the longer runtime?
Choices:
The Flintstones in Viva Rock Vegas
Labyrinth
Hook
Old Dogs
Holes
The Muppets
John Carter
The Flintstones
National Treasure: Book of Secrets
G-Force
Program:
function: Find
inputs: Denmark
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: Labyrinth
function: And
dependencies: 1
2
function: Find
inputs: Hook
function: SelectBetween
dependencies: 3
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Labyrinth" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "Denmark" .   } UNION { ?e <pred:name> "Hook" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Hook