Question: Which movie is longer, The Twilight Saga: New Moon or King of the Hill (the one that has Steven Soderbergh as a film editor)?
Choices:
A Prairie Home Companion
The Fifth Element
The Towering Inferno
The Hunchback of Notre Dame
King of the Hill
Training Day
Talk to Her
The Twilight Saga: New Moon
Curse of the Golden Flower
Pleasantville
Program:
function: Find
inputs: The Twilight Saga: New Moon
function: Find
inputs: Steven Soderbergh
function: Relate
dependencies: 1
inputs: film editor
backward
function: Find
inputs: King of the Hill
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Twilight Saga: New Moon" .  } UNION { ?e <pred:name> "King of the Hill" . ?e <film_editor> ?e_1 . ?e_1 <pred:name> "Steven Soderbergh" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: The Twilight Saga: New Moon