Question: Among the miniseries created by Stephen King (the one whose Munzinger IBA is 00000019582),which one has the largest number of episodes ?
Choices:
Roots
The Civil War
The Ten Commandments
Battlestar Galactica
Edge of Darkness
The Pacific
George Washington
The Shining
The Stand
Emma
Answer: The Shining
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "miniseries" . ?e <creator> ?e_1 . ?e_1 <pred:name> "Stephen King" . ?e_1 <Munzinger_IBA> ?pv_1 . ?pv_1 <pred:value> "00000019582" . ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Stephen King
function: FilterStr
dependencies: 0
inputs: Munzinger IBA
00000019582
function: Relate
dependencies: 1
inputs: creator
backward
function: FilterConcept
dependencies: 2
inputs: miniseries
function: SelectAmong
dependencies: 3
inputs: number of episodes
largest