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