Question: Which movie is shorter, Murder on the Orient Express (the one that is originally aired on CBS) or Wyatt Earp (the one that has Dennis Quaid as a cast member)?
Choices:
The Three Musketeers
All Quiet on the Western Front
The Late Shift
The Goodbye Girl
Murder on the Orient Express
Wyatt Earp
The Challenge
A Christmas Carol
Shackleton
The Music Man
Answer: Murder on the Orient Express
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Murder on the Orient Express" . ?e <original_network> ?e_1 . ?e_1 <pred:name> "CBS" .   } UNION { ?e <pred:name> "Wyatt Earp" . ?e <cast_member> ?e_2 . ?e_2 <pred:name> "Dennis Quaid" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: CBS
function: Relate
dependencies: 0
inputs: original network
backward
function: Find
inputs: Murder on the Orient Express
function: And
dependencies: 1
2
function: Find
inputs: Dennis Quaid
function: Relate
dependencies: 4
inputs: cast member
backward
function: Find
inputs: Wyatt Earp
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
less