Question: Which show has fewer episodes, Band of Brothers or Six Feet Under (the one that has Frances Conroy as a cast member)?
Choices:
Battlestar Galactica
George Washington
Edge of Darkness
The Diary of Anne Frank
The Civil War
Band of Brothers
The Stand
The Pacific
Roots
Six Feet Under
Program:
function: Find
inputs: Band of Brothers
function: Find
inputs: Frances Conroy
function: Relate
dependencies: 1
inputs: cast member
backward
function: Find
inputs: Six Feet Under
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: number of episodes
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Band of Brothers" .  } UNION { ?e <pred:name> "Six Feet Under" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Frances Conroy" .   } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Band of Brothers