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