Question: Which one of the TV series, the notable work of Ronald D. Moore, has the largest number of episodes ?
Choices:
Saturday Night's Main Event
Seinfeld
Robot Chicken
Star Trek: The Next Generation
Game of Thrones
Six Feet Under
Battlestar Galactica
Bleak House
American Horror Story
Star Trek: Deep Space Nine
Program:
function: Find
inputs: Ronald D. Moore
function: Relate
dependencies: 0
inputs: notable work
forward
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_1 <notable_work> ?e . ?e_1 <pred:name> "Ronald D. Moore" .  ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Star Trek: The Next Generation