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