Question: Is S12000030 the GSS code (2011) of the non-metropolitan county that is different from Cambridgeshire (the one that shares border with Northamptonshire)?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: no
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "non-metropolitan county" . ?e_1 <different_from> ?e . ?e_1 <pred:name> "Cambridgeshire" . ?e_2 <shares_border_with> ?e_1 . ?e_2 <pred:name> "Northamptonshire" .  ?e <GSS_code_(2011)> ?pv . ?pv <pred:value> "S12000030" .  }
Program:
function: Find
inputs: Northamptonshire
function: Relate
dependencies: 0
inputs: shares border with
forward
function: Find
inputs: Cambridgeshire
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: different from
forward
function: FilterConcept
dependencies: 4
inputs: non-metropolitan county
function: QueryAttr
dependencies: 5
inputs: GSS code (2011)
function: VerifyStr
dependencies: 6
inputs: S12000030