Question: Of miniseries filmed in London, where Freddie Young was born, which has the fewest episodes?
Choices:
The Pacific
The Civil War
Battlestar Galactica
The Ten Commandments
The Diary of Anne Frank
Roots
Tinker Tailor Soldier Spy
The Stand
George Washington
Edge of Darkness
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 <place_of_birth> ?e_1 . ?e_2 <pred:name> "Freddie Young" .  ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Freddie Young
function: Relate
dependencies: 0
inputs: place of birth
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