Question: Out of the miniseries that were filmed in London where Zero Dark Thirty was shot, which one has the least number of episodes?
Choices:
Tinker Tailor Soldier Spy
The Ten Commandments
Battlestar Galactica
Edge of Darkness
The Civil War
The Diary of Anne Frank
Roots
George Washington
Sherlock
The Pacific
Answer: Tinker Tailor Soldier Spy
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "miniseries" . ?e <filming_location> ?e_1 . ?e_1 <pred:name> "London" . ?e_2 <filming_location> ?e_1 . ?e_2 <pred:name> "Zero Dark Thirty" .  ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Zero Dark Thirty
function: Relate
dependencies: 0
inputs: filming location
forward
function: Find
inputs: London
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: filming location
backward
function: FilterConcept
dependencies: 4
inputs: miniseries
function: SelectAmong
dependencies: 5
inputs: number of episodes
smallest