Question: Which television series written by Charles Dickens has the most episodes?
Choices:
Oliver Twist
American Horror Story
Babylon 5
Six Feet Under
Dancing with the Stars
Saturday Night's Main Event
Game of Thrones
Bleak House
Seinfeld
Phineas and Ferb
Program:
function: Find
inputs: Charles Dickens
function: Relate
dependencies: 0
inputs: after a work by
backward
function: FilterConcept
dependencies: 1
inputs: television series
function: SelectAmong
dependencies: 2
inputs: number of episodes
largest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "television series" . ?e <after_a_work_by> ?e_1 . ?e_1 <pred:name> "Charles Dickens" .  ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Bleak House