Question: What animated series that ended before 2017 has the largest number of seasons?
Choices:
The Cleveland Show
Avatar: The Last Airbender
Tiny Toon Adventures
The Flintstones
Disney's House of Mouse
The Boondocks
King of the Hill
X-Men
Futurama
Star Wars: The Clone Wars
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: end time
2017
<
function: FilterConcept
dependencies: 1
inputs: animated series
function: SelectAmong
dependencies: 2
inputs: number of seasons
largest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "animated series" . ?e <end_time> ?pv_1 . ?pv_1 <pred:year> ?v_1 . FILTER ( ?v_1 < 2017 ) . ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: King of the Hill