SELECT DISTINCT COUNT(?uri) WHERE {?uri <http://dbpedia.org/property/settlementType> <http://dbpedia.org/resource/Thesaban> . ?uri <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/ontology/Town>}
How many Thesaban towns are there?
SELECT DISTINCT COUNT ( ?d ) WHERE { ?d rdf:type ontology:Town . ?d property:settlement_type resource:Thesaban }
6
There are [6] towns whose settlement type is Thesaban.
There are [6] cities for which the type of settlement is Tesavan.