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