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