Question: Which movie is longer, Rush Hour (the one whose genre is action film) or An Inconvenient Truth?
Choices: Rebecca
The Hunchback of Notre Dame
Curse of the Golden Flower
A Prairie Home Companion
Rush Hour
The Towering Inferno
Talk to Her
An Inconvenient Truth
Pleasantville
Training Day
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Rush Hour" . ?e <genre> ?e_1 . ?e_1 <pred:name> "action film" .   } UNION { ?e <pred:name> "An Inconvenient Truth" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: action film
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Rush Hour
function: And
dependencies: 1
2
function: Find
inputs: An Inconvenient Truth
function: SelectBetween
dependencies: 3
4
inputs: duration
greater
Answer: An Inconvenient Truth