Question: How many non-metropolitan districts are an administrative division, of the ceremonial county of England, that contains Carlisle (the one whose area is 105435.83 hectare)?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "non-metropolitan district" . ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "ceremonial county of England" . ?e_2 <located_in_the_administrative_territorial_entity> ?e_1 . ?e_2 <pred:name> "Carlisle" . ?e_2 <area> ?pv . ?pv <pred:unit> "hectare" . ?pv <pred:value> "105435.83"^^xsd:double .   }
Program:
function: Find
inputs: Carlisle
function: FilterNum
dependencies: 0
inputs: area
105435.83 hectare
=
function: Relate
dependencies: 1
inputs: located in the administrative territorial entity
forward
function: FilterConcept
dependencies: 2
inputs: ceremonial county of England
function: Relate
dependencies: 3
inputs: contains administrative territorial entity
forward
function: FilterConcept
dependencies: 4
inputs: non-metropolitan district
function: Count
dependencies: 5