Question: Which is longer Earth (the one that origins from Canada) or Horrible Bosses?
Choices:
Horrible Bosses
Curse of the Golden Flower
Talk to Her
Earth
A Prairie Home Companion
Training Day
Rebecca
Pleasantville
The Towering Inferno
The Fifth Element
Answer: Earth
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Earth" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> "Canada" .   } UNION { ?e <pred:name> "Horrible Bosses" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Canada
function: Relate
dependencies: 0
inputs: country of origin
backward
function: Find
inputs: Earth
function: And
dependencies: 1
2
function: Find
inputs: Horrible Bosses
function: SelectBetween
dependencies: 3
4
inputs: duration
greater