Question: Which movie is shorter, Luther (the one whose production company is Australian Broadcasting Corporation) or Citizen Kane?
Choices:
Luther
Shackleton
The Music Man
Citizen Kane
The Late Shift
The Challenge
All Quiet on the Western Front
A Christmas Carol
The Goodbye Girl
The Three Musketeers
Program:
function: Find
inputs: Australian Broadcasting Corporation
function: Relate
dependencies: 0
inputs: production company
backward
function: Find
inputs: Luther
function: And
dependencies: 1
2
function: Find
inputs: Citizen Kane
function: SelectBetween
dependencies: 3
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Luther" . ?e <production_company> ?e_1 . ?e_1 <pred:name> "Australian Broadcasting Corporation" .   } UNION { ?e <pred:name> "Citizen Kane" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Luther