Question: Among the miniseries with a narrative location in England (the one that has a citizen Timothy Spall), which one has the smallest number of episodes?
Choices: George Washington
The Ten Commandments
The Diary of Anne Frank
Roots
Edge of Darkness
The Civil War
Battlestar Galactica
The Stand
The Pacific
Merlin
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "miniseries" . ?e <narrative_location> ?e_1 . ?e_1 <pred:name> "England" . ?e_2 <country_of_citizenship> ?e_1 . ?e_2 <pred:name> "Timothy Spall" .  ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Timothy Spall
function: Relate
dependencies: 0
inputs: country of citizenship
forward
function: Find
inputs: England
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: narrative location
backward
function: FilterConcept
dependencies: 4
inputs: miniseries
function: SelectAmong
dependencies: 5
inputs: number of episodes
smallest
Answer: Merlin