Question: Which show has fewer episodes, Monster House (the one whose genre is reality television) or The Wire, season 4?
Choices: Lost, season 3
The Larry Sanders Show
The Wire, season 4
Peter Pan
The Wire, season 1
Cold War
The Wire, season 2
The Wire, season 3
Monster House
variety
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Monster House" . ?e <genre> ?e_1 . ?e_1 <pred:name> "reality television" .   } UNION { ?e <pred:name> "The Wire, season 4" .  } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: reality television
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Monster House
function: And
dependencies: 1
2
function: Find
inputs: The Wire, season 4
function: SelectBetween
dependencies: 3
4
inputs: number of episodes
less
Answer: Monster House