Question: Which has the most episodes among the television series produced by HBO?
Choices:
The Sopranos
Band of Brothers
Rome
Boardwalk Empire
True Blood
The Wire
Girls
Curb Your Enthusiasm
Angels in America
Six Feet Under
Answer: Curb Your Enthusiasm
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "television series" . ?e <production_company> ?e_1 . ?e_1 <pred:name> "HBO" .  ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: HBO
function: Relate
dependencies: 0
inputs: production company
backward
function: FilterConcept
dependencies: 1
inputs: television series
function: SelectAmong
dependencies: 2
inputs: number of episodes
largest