Question: Which film has the shorter runtime, The Avengers (in the spy film genre) or Quadrophenia (released in Denmark)?
Choices: Rebecca
A Prairie Home Companion
The Towering Inferno
Pleasantville
Talk to Her
Training Day
The Avengers
The Hunchback of Notre Dame
Quadrophenia
The Fifth Element
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Avengers" . ?e <genre> ?e_1 . ?e_1 <pred:name> "spy film" .   } UNION { ?e <pred:name> "Quadrophenia" . ?e <film_release_region> ?e_2 . ?e_2 <pred:name> "Denmark" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: spy film
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: The Avengers
function: And
dependencies: 1
2
function: Find
inputs: Denmark
function: Relate
dependencies: 4
inputs: film release region
backward
function: Find
inputs: Quadrophenia
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
less
Answer: The Avengers