Question: What animated series which was published after 2005 has the most seasons?
Choices:
The Cleveland Show
Batman Beyond
American Dad!
Robot Chicken
The Penguins of Madagascar
Aladdin
South Park
Phineas and Ferb
Tiny Toon Adventures
The Venture Bros.
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: publication date
2005
>
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 <publication_date> ?pv_1 . ?pv_1 <pred:year> ?v_1 . FILTER ( ?v_1 > 2005 ) . ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Phineas and Ferb