Question: Which miniseries, with the BBC as their production company, has the largest number of episodes?
Choices:
Roots
Tinker Tailor Soldier Spy
Edge of Darkness
The Civil War
The Ten Commandments
The Stand
The Pacific
George Washington
Battlestar Galactica
Sherlock
Program:
function: Find
inputs: BBC
function: Relate
dependencies: 0
inputs: production company
backward
function: FilterConcept
dependencies: 1
inputs: miniseries
function: SelectAmong
dependencies: 2
inputs: number of episodes
largest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "miniseries" . ?e <production_company> ?e_1 . ?e_1 <pred:name> "BBC" .  ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Sherlock