Question: Of animated series set in California, where Lana Turner is buried, which has the most episodes?
Choices:
Aladdin
Phineas and Ferb
The Fairly OddParents
Batman Beyond
American Dad!
Back to the Future
The Cleveland Show
The Venture Bros.
South Park
Robot Chicken
Program:
function: Find
inputs: Lana Turner
function: Relate
dependencies: 0
inputs: place of burial
forward
function: Find
inputs: California
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: narrative location
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 <narrative_location> ?e_1 . ?e_1 <pred:name> "California" . ?e_2 <place_of_burial> ?e_1 . ?e_2 <pred:name> "Lana Turner" .  ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: The Fairly OddParents