Question: What is the connection between Derbyshire (the one whose GSS code (2011) is E10000007) to England (the one that contains West Sussex)?
Choices:
found
mouth of the watercourse
located in the administrative territorial entity
connects with
location
place of origin (Switzerland)
country for sport
separated from
hair color
director
Program:
function: Find
inputs: Derbyshire
function: FilterStr
dependencies: 0
inputs: GSS code (2011)
E10000007
function: Find
inputs: West Sussex
function: Relate
dependencies: 2
inputs: located in the administrative territorial entity
forward
function: Find
inputs: England
function: And
dependencies: 3
4
function: QueryRelation
dependencies: 1
5
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Derbyshire" . ?e_1 <GSS_code_(2011)> ?pv . ?pv <pred:value> "E10000007" . ?e_2 <pred:name> "England" . ?e_3 <located_in_the_administrative_territorial_entity> ?e_2 . ?e_3 <pred:name> "West Sussex" . ?e_1 ?p ?e_2 .  }
Answer: located in the administrative territorial entity