Question: What animated series has the lowest number of seasons of those not published in 2008?
Choices:
Adrian
Back to the Future
The Fairly OddParents
Ben 10
SpongeBob SquarePants
Avatar: The Last Airbender
Batman Beyond
The Boondocks
Aladdin
Disney's House of Mouse
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: publication date
2008
!=
function: FilterConcept
dependencies: 1
inputs: animated series
function: SelectAmong
dependencies: 2
inputs: number of seasons
smallest
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 != 2008 ) . ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Adrian