Question: Which movie is longer, The Man Who Knew Too Much (the one that origins from United Kingdom) or Ghost World?
Choices:
Training Day
Curse of the Golden Flower
Rebecca
The Hunchback of Notre Dame
The Towering Inferno
Ghost World
The Man Who Knew Too Much
Pleasantville
The Fifth Element
A Prairie Home Companion
Answer: Ghost World
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Man Who Knew Too Much" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> "United Kingdom" .   } UNION { ?e <pred:name> "Ghost World" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: United Kingdom
function: Relate
dependencies: 0
inputs: country of origin
backward
function: Find
inputs: The Man Who Knew Too Much
function: And
dependencies: 1
2
function: Find
inputs: Ghost World
function: SelectBetween
dependencies: 3
4
inputs: duration
greater