Question: Which movie is longer, Spartacus (the one that is originally aired on USA Network) or Clash of the Titans (the one whose producer is Richard D. Zanuck)?
Choices: The Late Shift
The Challenge
The Three Musketeers
The Music Man
The Goodbye Girl
All Quiet on the Western Front
Clash of the Titans
A Streetcar Named Desire
Spartacus
A Christmas Carol
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Spartacus" . ?e <original_network> ?e_1 . ?e_1 <pred:name> "USA Network" .   } UNION { ?e <pred:name> "Clash of the Titans" . ?e <producer> ?e_2 . ?e_2 <pred:name> "Richard D. Zanuck" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: USA Network
function: Relate
dependencies: 0
inputs: original network
backward
function: Find
inputs: Spartacus
function: And
dependencies: 1
2
function: Find
inputs: Richard D. Zanuck
function: Relate
dependencies: 4
inputs: producer
backward
function: Find
inputs: Clash of the Titans
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
greater
Answer: Spartacus