Question: Which has the fewest episodes among the animated series that contain Superman that has Dean Cain as a performer?
Choices:
Superman
Tiny Toon Adventures
Fantastic Four
Aladdin
The Venture Bros.
American Dad!
Phineas and Ferb
Robot Chicken
The Cleveland Show
Batman Beyond
Program:
function: Find
inputs: Dean Cain
function: Relate
dependencies: 0
inputs: performer
backward
function: Find
inputs: Superman
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: present in work
forward
function: FilterConcept
dependencies: 4
inputs: animated series
function: SelectAmong
dependencies: 5
inputs: number of episodes
smallest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "animated series" . ?e_1 <present_in_work> ?e . ?e_1 <pred:name> "Superman" . ?e_1 <performer> ?e_2 . ?e_2 <pred:name> "Dean Cain" .  ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Superman