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