Question: Which has a lesser number of episodes, Fresno (which has Dabney Coleman as a cast member) or Star Trek: Deep Space Nine?
Choices:
George Washington
Fresno
Edge of Darkness
Roots
The Diary of Anne Frank
Star Trek: Deep Space Nine
The Ten Commandments
The Civil War
Battlestar Galactica
The Stand
Answer: Fresno
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Fresno" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Dabney Coleman" .   } UNION { ?e <pred:name> "Star Trek: Deep Space Nine" .  } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Dabney Coleman
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Fresno
function: And
dependencies: 1
2
function: Find
inputs: Star Trek: Deep Space Nine
function: SelectBetween
dependencies: 3
4
inputs: number of episodes
less