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