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