Question: Of animated series that ended prior to 2014, which has the fewest seasons?
Choices: Hercules
Ben 10
X-Men
The Cleveland Show
Disney's House of Mouse
The Transformers
The Adventures of Tintin
Phineas and Ferb
Futurama
Tiny Toon Adventures
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 < 2014 ) . ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: end time
2014
<
function: FilterConcept
dependencies: 1
inputs: animated series
function: SelectAmong
dependencies: 2
inputs: number of seasons
smallest
Answer: Hercules