Question: Which animated series containing Superman (that derives Superman III) has the most seasons?
Choices:
Aladdin
Robot Chicken
The Cleveland Show
Phineas and Ferb
The Venture Bros.
Batman Beyond
Superman
Tiny Toon Adventures
American Dad!
Fantastic Four
Program:
function: Find
inputs: Superman III
function: Relate
dependencies: 0
inputs: based on
forward
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 seasons
largest
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_2 <based_on> ?e_1 . ?e_2 <pred:name> "Superman III" .  ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Batman Beyond