Question: How many non-metropolitan districts contain the settlement Carlisle whose area is 18.9 square kilometers?
Choices: 0
1
2
3
4
5
6
7
8
9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "non-metropolitan district" . ?e <contains_settlement> ?e_1 . ?e_1 <pred:name> "Carlisle" . ?e_1 <area> ?pv . ?pv <pred:unit> "square kilometre" . ?pv <pred:value> "18.9"^^xsd:double .   }
Program:
function: Find
inputs: Carlisle
function: FilterNum
dependencies: 0
inputs: area
18.9 square kilometre
=
function: Relate
dependencies: 1
inputs: contains settlement
backward
function: FilterConcept
dependencies: 2
inputs: non-metropolitan district
function: Count
dependencies: 3
Answer: 1