Question: Of animated series composed by composer Walter Murphy, which has the most episodes?
Choices:
Batman Beyond
Tiny Toon Adventures
Disney's House of Mouse
South Park
The Cleveland Show
Phineas and Ferb
The Venture Bros.
Robot Chicken
American Dad!
Aladdin
Program:
function: Find
inputs: composer
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Walter Murphy
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: composer
backward
function: FilterConcept
dependencies: 4
inputs: animated series
function: SelectAmong
dependencies: 5
inputs: number of episodes
largest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "animated series" . ?e <composer> ?e_1 . ?e_1 <pred:name> "Walter Murphy" . ?e_1 <occupation> ?e_2 . ?e_2 <pred:name> "composer" .  ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: American Dad!