Question: Does Sunshine, from Hungary, or The Philadelphia Story have the shorter run-time?
Choices:
Sunshine
The Hunchback of Notre Dame
Pleasantville
The Philadelphia Story
A Prairie Home Companion
Training Day
Rebecca
Curse of the Golden Flower
Talk to Her
The Towering Inferno
Program:
function: Find
inputs: Hungary
function: Relate
dependencies: 0
inputs: country of origin
backward
function: Find
inputs: Sunshine
function: And
dependencies: 1
2
function: Find
inputs: The Philadelphia Story
function: SelectBetween
dependencies: 3
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Sunshine" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> "Hungary" .   } UNION { ?e <pred:name> "The Philadelphia Story" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: The Philadelphia Story