Question: Which movie is longer, The X-Files (the one whose release region is United States of America) or The Go-Between (the one whose genre is film based on literature)?
Choices: The Fifth Element
The Hunchback of Notre Dame
The X-Files
Talk to Her
Rebecca
Training Day
Curse of the Golden Flower
Pleasantville
The Towering Inferno
A Prairie Home Companion
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The X-Files" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "United States of America" .   } UNION { ?e <pred:name> "The Go-Between" . ?e <genre> ?e_2 . ?e_2 <pred:name> "film based on literature" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: United States of America
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: The X-Files
function: And
dependencies: 1
2
function: Find
inputs: film based on literature
function: Relate
dependencies: 4
inputs: genre
backward
function: Find
inputs: The Go-Between
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
greater
Answer: The X-Files