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