Question: How many non-metropolitan districts surround the enclave of the non-metropolitan district that contains Barrow-in-Furness (that is the headquarters location of Barrow A.F.C.)?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: Find
inputs: Barrow A.F.C.
function: Relate
dependencies: 0
inputs: headquarters location
forward
function: Find
inputs: Barrow-in-Furness
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: located in the administrative territorial entity
forward
function: FilterConcept
dependencies: 4
inputs: non-metropolitan district
function: Relate
dependencies: 5
inputs: enclave within
forward
function: FilterConcept
dependencies: 6
inputs: non-metropolitan district
function: Count
dependencies: 7
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "non-metropolitan district" . ?e_1 <enclave_within> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "non-metropolitan district" . ?e_2 <located_in_the_administrative_territorial_entity> ?e_1 . ?e_2 <pred:name> "Barrow-in-Furness" . ?e_3 <headquarters_location> ?e_2 . ?e_3 <pred:name> "Barrow A.F.C." .   }
Answer: 0