Question: What animated action series has the smallest number of episodes?
Choices:
Batman Beyond
Adrian
The Cleveland Show
Phineas and Ferb
South Park
American Dad!
Tiny Toon Adventures
The Boondocks
Robot Chicken
The Venture Bros.
Program:
function: Find
inputs: action film
function: Relate
dependencies: 0
inputs: genre
backward
function: FilterConcept
dependencies: 1
inputs: animated series
function: SelectAmong
dependencies: 2
inputs: number of episodes
smallest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "animated series" . ?e <genre> ?e_1 . ?e_1 <pred:name> "action film" .  ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Adrian