Question: Which movie is longer, The Name of the Rose (the one whose release region is West Germany) or Precious (the one that has Lenny Kravitz as a cast member)?
Choices: The Fifth Element
Rebecca
The Towering Inferno
The Hunchback of Notre Dame
Precious
Training Day
The Name of the Rose
A Prairie Home Companion
Talk to Her
Pleasantville
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Name of the Rose" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "West Germany" .   } UNION { ?e <pred:name> "Precious" . ?e <cast_member> ?e_2 . ?e_2 <pred:name> "Lenny Kravitz" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: West Germany
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: The Name of the Rose
function: And
dependencies: 1
2
function: Find
inputs: Lenny Kravitz
function: Relate
dependencies: 4
inputs: cast member
backward
function: Find
inputs: Precious
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
greater
Answer: The Name of the Rose