Question: Among the television programs with origins from United Kingdom, which has the largest number of episodes?
Choices:
The Larry Sanders Show
variety
The Wire, season 5
Monster House
The Wire, season 1
Cranford
Lost, season 3
Peter Pan
Cold War
The Wire, season 3
Program:
function: Find
inputs: United Kingdom
function: Relate
dependencies: 0
inputs: country of origin
backward
function: FilterConcept
dependencies: 1
inputs: television program
function: SelectAmong
dependencies: 2
inputs: number of episodes
largest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "television program" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> "United Kingdom" .  ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Cold War