Question: What ceremonial county of England has the FIPS 10-4 (countries and regions) of UKC3 and shares a border with Norfolk (the one whose official website is http://www.norfolk.gov.uk/)?
Choices:
Derbyshire
Staffordshire
Suffolk
Northumberland
Lincolnshire
Somerset
Essex
Cumbria
Cambridgeshire
West Midlands
Answer: Cambridgeshire
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> "UKC3" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> "Norfolk" . ?e_1 <official_website> ?pv_1 . ?pv_1 <pred:value> "http://www.norfolk.gov.uk/" .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: FIPS 10-4 (countries and regions)
UKC3
function: FilterConcept
dependencies: 1
inputs: ceremonial county of England
function: Find
inputs: Norfolk
function: FilterStr
dependencies: 3
inputs: official website
http://www.norfolk.gov.uk/
function: Relate
dependencies: 4
inputs: shares border with
backward
function: FilterConcept
dependencies: 5
inputs: ceremonial county of England
function: And
dependencies: 2
6
function: What
dependencies: 7