Question: I need to know the ceremonial county of England that is separate from the non metropolitan county that has a GSS Code (2011) is E10000023
Choices:
Essex
Kent
Northumberland
Cambridgeshire
Warwickshire
North Yorkshire
Somerset
Derbyshire
Devon
Lancashire
Answer: North Yorkshire
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "ceremonial county of England" . ?e_1 <different_from> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "non-metropolitan county" . ?e_1 <GSS_code_(2011)> ?pv_1 . ?pv_1 <pred:value> "E10000023" .   }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: GSS code (2011)
E10000023
function: FilterConcept
dependencies: 1
inputs: non-metropolitan county
function: Relate
dependencies: 2
inputs: different from
forward
function: FilterConcept
dependencies: 3
inputs: ceremonial county of England
function: What
dependencies: 4