Question: Which one, Grey Gardens (the one that is originally aired on HBO) or The Exorcist, has less duration?
Choices:
A Streetcar Named Desire
All Quiet on the Western Front
Grey Gardens
The Three Musketeers
A Christmas Carol
The Challenge
The Late Shift
The Exorcist
Shackleton
The Goodbye Girl
Program:
function: Find
inputs: HBO
function: Relate
dependencies: 0
inputs: original network
backward
function: Find
inputs: Grey Gardens
function: And
dependencies: 1
2
function: Find
inputs: The Exorcist
function: SelectBetween
dependencies: 3
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Grey Gardens" . ?e <original_network> ?e_1 . ?e_1 <pred:name> "HBO" .   } UNION { ?e <pred:name> "The Exorcist" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Grey Gardens