Question: What ceremonial county of England has the FIPS 10-4 (countries and regions) UKE2 and shares a border with Kent (that is the filming location of Sherlock Holmes: A Game of Shadows)?
Choices: Somerset
Essex
Cumbria
Northumberland
Greater London
Staffordshire
Warwickshire
West Midlands
East Sussex
Derbyshire
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "ceremonial county of England" . ?e <FIPS_10-4_(countries_and_regions)> ?pv . ?pv <pred:value> "UKE2" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> "Kent" . ?e_2 <filming_location> ?e_1 . ?e_2 <pred:name> "Sherlock Holmes: A Game of Shadows" .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: FIPS 10-4 (countries and regions)
UKE2
function: FilterConcept
dependencies: 1
inputs: ceremonial county of England
function: Find
inputs: Sherlock Holmes: A Game of Shadows
function: Relate
dependencies: 3
inputs: filming location
forward
function: Find
inputs: Kent
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: shares border with
backward
function: FilterConcept
dependencies: 7
inputs: ceremonial county of England
function: And
dependencies: 2
8
function: What
dependencies: 9
Answer: East Sussex