Question: Which has a greater duration, Johnny English Reborn or Phoenix (which has origins in Poland)?
Choices:
Johnny English Reborn
Training Day
Curse of the Golden Flower
A Prairie Home Companion
The Hunchback of Notre Dame
Phoenix
Pleasantville
Talk to Her
Rebecca
The Fifth Element
Answer: Johnny English Reborn
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Johnny English Reborn" .  } UNION { ?e <pred:name> "Phoenix" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> "Poland" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Johnny English Reborn
function: Find
inputs: Poland
function: Relate
dependencies: 1
inputs: country of origin
backward
function: Find
inputs: Phoenix
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater