Question: Which television series whose ending date is after 2012 has the most episodes?
Choices: Battle Creek
Roots
American Idol
Community
Late Show with David Letterman
Boardwalk Empire
Anger Management
Degrassi: The Next Generation
Breaking Bad
Dexter
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "television series" . ?e <end_time> ?pv_1 . ?pv_1 <pred:year> ?v_1 . FILTER ( ?v_1 > 2012 ) . ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: end time
2012
>
function: FilterConcept
dependencies: 1
inputs: television series
function: SelectAmong
dependencies: 2
inputs: number of episodes
largest
Answer: Late Show with David Letterman