Question: Which television program that is a part of The Wire has the fewest episodes?
Choices:
Peter Pan
The Larry Sanders Show
The Wire, season 2
The Wire, season 4
Cold War
The Wire, season 1
variety
The Wire, season 5
Lost, season 3
Monster House
Program:
function: Find
inputs: The Wire
function: Relate
dependencies: 0
inputs: part of the series
backward
function: FilterConcept
dependencies: 1
inputs: television program
function: SelectAmong
dependencies: 2
inputs: number of episodes
smallest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "television program" . ?e <part_of_the_series> ?e_1 . ?e_1 <pred:name> "The Wire" .  ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: The Wire, season 5