GeoNames Ontology (GeoNames)¶
The GeoNames Ontology provides a structured vocabulary and semantic framework for describing geographical features, places, and administrative regions, particularly those represented in the GeoNames geographical dataset [1] [2]. It enables the representation of place names, geographic coordinates, feature types such as cities, rivers, and mountains, and semantic relationships between geographical entities [1]. The ontology supports semantic interoperability in geospatial applications by providing a structured way to describe geographical concepts, attributes, and relations [2]. GeoNames is widely used in geographic information systems, linked data applications, and knowledge graphs to enable geospatial search, mapping, and data enrichment [1] [2]. By providing standardized identifiers, geographic coordinates, feature classifications, and semantic relationships, GeoNames enhances the discoverability and linking of geographic data across datasets and platforms [1]. The semantic schema proposed for GeoNames also helps improve data quality by defining constraints on the domain and range of attributes and relations, such as population, altitude, area, and capital relations [2].
Example Usage: Annotate a dataset of cultural heritage sites with GeoNames terms to specify their geographic coordinates, administrative regions, and feature types, enabling geospatial search and integration with mapping services [1] [2].
Metrics & Statistics¶
Total Nodes |
4879 |
Total Edges |
6631 |
Root Nodes |
2 |
Leaf Nodes |
4123 |
Classes |
7 |
Individuals |
699 |
Properties |
30 |
Maximum Depth |
3 |
Minimum Depth |
0 |
Average Depth |
1.18 |
Depth Variance |
0.43 |
Maximum Breadth |
21 |
Minimum Breadth |
2 |
Average Breadth |
7.00 |
Breadth Variance |
65.50 |
Term Types |
699 |
Taxonomic Relations |
18 |
Non-taxonomic Relations |
0 |
Average Terms per Type |
349.50 |
Usage Example¶
Use the following code to import this ontology programmatically:
from ontolearner.ontology import GeoNames
ontology = GeoNames()
ontology.load("path/to/GeoNames-ontology.rdf")
# Extract datasets
data = ontology.extract()
# Access specific relations
term_types = data.term_typings
taxonomic_relations = data.type_taxonomies
non_taxonomic_relations = data.type_non_taxonomic_relations