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