GeoNames Ontology - Geo Semantic Web (original) (raw)
GeoNames Ontology
The Semantic Web
The Semantic Web is a project that intends to add computer-processable meaning (semantics) to the Word Wide Web.
In Feb 2004, The World Wide Web Consortium released the Resource Description Framework (RDF) and the OWL Web Ontology Language (OWL) as W3C Recommendations. RDF is used to represent information and to exchange knowledge in the Web. OWL is used to publish and share sets of terms called ontologies, supporting advanced Web search, software agents and knowledge management.
The GeoNames Ontology
The GeoNames Ontology makes it possible to add geospatial semantic information to the Word Wide Web. All over 11 million geonames toponyms now have a unique URL with a corresponding RDF web service. Other services describe the relation between toponyms.
The Ontology for GeoNames is available in OWL :https://www.geonames.org/ontology/ontology_v3.3.rdf, mappings
GeoNames is using 303 (See Other) redirection to distinguish the Concept (thing as is) from the Document about it.
For the town Embrun in France we have these two URIs :
[1] https://sws.geonames.org/3020251/
[2] https://sws.geonames.org/3020251/about.rdf
The first URI [1] stands for the town in France. You use this URI if you want to refer to the town. The second URI [2] is the document with the information geonames has about Embrun. The geonames web server is configured to redirect requests for [1] to [2]. The redirection tells Semantic Web Agents that Embrun is not residing on the geonames server but that geonames has information about it instead. See our blog posting about "Concept vs. Document" for more information.
An example of RDF description of a geonames "Feature" document, as obtained through the RDF Webservice at URI https://sws.geonames.org/3020251/about.rdf
<rdf:RDF xmlns:cc="http://creativecommons.org/ns#" xmlns:dcterms="http://purl.org/dc/terms/" xmlns:foaf="http://xmlns.com/foaf/0.1/" xmlns:gn="https://www.geonames.org/ontology#" xmlns:owl="http://www.w3.org/2002/07/owl#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xmlns:wgs84_pos="" title="undefined" rel="noopener noreferrer">http://www.w3.org/2003/01/geo/wgs84_pos#"> <gn:Feature rdf:about="" title="undefined" rel="noopener noreferrer">https://sws.geonames.org/3020251/"> <rdfs:isDefinedBy rdf:resource="" title="undefined" rel="noopener noreferrer">https://sws.geonames.org/3020251/about.rdf"/> gn:nameEmbrun <gn:alternateName xml:lang="oc">Ambrun <gn:featureClass rdf:resource="" title="undefined" rel="noopener noreferrer">https://www.geonames.org/ontology#P"/> <gn:featureCode rdf:resource="" title="undefined" rel="noopener noreferrer">https://www.geonames.org/ontology#P.PPL"/> gn:countryCodeFR gn:population7069 gn:postalCode05200 gn:postalCode05201 gn:postalCode05202 gn:postalCode05208 gn:postalCode05209 <wgs84_pos:lat>44.56387 <wgs84_pos:long>6.49526 <gn:parentFeature rdf:resource="" title="undefined" rel="noopener noreferrer">https://sws.geonames.org/6446638/"/> <gn:parentCountry rdf:resource="" title="undefined" rel="noopener noreferrer">https://sws.geonames.org/3017382/"/> <gn:parentADM1 rdf:resource="" title="undefined" rel="noopener noreferrer">https://sws.geonames.org/2985244/"/> <gn:parentADM2 rdf:resource="" title="undefined" rel="noopener noreferrer">https://sws.geonames.org/3013738/"/> <gn:parentADM3 rdf:resource="" title="undefined" rel="noopener noreferrer">https://sws.geonames.org/3016701/"/> <gn:parentADM4 rdf:resource="" title="undefined" rel="noopener noreferrer">https://sws.geonames.org/6446638/"/> <gn:nearbyFeatures rdf:resource="" title="undefined" rel="noopener noreferrer">https://sws.geonames.org/3020251/nearby.rdf"/> <gn:locationMap rdf:resource="" title="undefined" rel="noopener noreferrer">https://www.geonames.org/3020251/embrun.html"/> <gn:wikipediaArticle rdf:resource="" title="undefined" rel="noopener noreferrer">https://de.wikipedia.org/wiki/Embrun"/> <gn:wikipediaArticle rdf:resource="" title="undefined" rel="noopener noreferrer">https://en.wikipedia.org/wiki/Embrun%2C_Hautes-Alpes"/> <rdfs:seeAlso rdf:resource="" title="undefined" rel="noopener noreferrer">http://dbpedia.org/resource/Embrun%2C_Hautes-Alpes"/> <gn:wikipediaArticle rdf:resource="" title="undefined" rel="noopener noreferrer">https://fr.wikipedia.org/wiki/Embrun_%28Hautes-Alpes%29"/> <gn:wikipediaArticle rdf:resource="" title="undefined" rel="noopener noreferrer">https://it.wikipedia.org/wiki/Embrun"/> <gn:wikipediaArticle rdf:resource="" title="undefined" rel="noopener noreferrer">https://nl.wikipedia.org/wiki/Embrun"/> <gn:wikipediaArticle rdf:resource="" title="undefined" rel="noopener noreferrer">https://oc.wikipedia.org/wiki/Ambrun"/> <gn:wikipediaArticle rdf:resource="" title="undefined" rel="noopener noreferrer">https://pl.wikipedia.org/wiki/Embrun"/> <gn:wikipediaArticle rdf:resource="" title="undefined" rel="noopener noreferrer">https://vo.wikipedia.org/wiki/Embrun_%28Hautes-Alpes%29"/> <foaf:Document rdf:about="" title="undefined" rel="noopener noreferrer">https://sws.geonames.org/3020251/about.rdf"> <foaf:primaryTopic rdf:about="" title="undefined" rel="noopener noreferrer">https://sws.geonames.org/3020251/"/> <cc:license rdf:resource="" title="undefined" rel="noopener noreferrer">https://creativecommons.org/licenses/by/3.0/"/> <cc:attributionURL rdf:resource="" title="undefined" rel="noopener noreferrer">https://sws.geonames.org/3020251/"/> <cc:attributionName rdf:datatype="GeoNames" title="undefined" rel="noopener noreferrer">http://www.w3.org/2001/XMLSchema#string">GeoNames <dcterms:created rdf:datatype="2006-01-15" title="undefined" rel="noopener noreferrer">http://www.w3.org/2001/XMLSchema#date">2006-01-15 <dcterms:modified rdf:datatype="2010-04-19" title="undefined" rel="noopener noreferrer">http://www.w3.org/2001/XMLSchema#date">2010-04-19
Linked Data
The Features in the GeoNames Semantic Web are interlinked with each other. Depending on applicability the following documents are available for a Feature :
The children (countries for a continent, administrative subdivisions for a country, ...). As an example the children of France : https://sws.geonames.org/3017382/contains.rdf
The neighbours (neigbouring countries). As an example the neighbours of France :https://sws.geonames.org/3017382/neighbours.rdf
Entry Points into the GeoNames Semantic Web
There are several ways how you can enter the GeoNames Semantic Web :
- start from mother earth and follow the Linked Data links.
- use the geonames search webservice with the type=rdf parameter option.
- download the database dump and construct the url for the features using the pattern "http://sws.geonames.org/_geonameId_/"
- RDF dump with 11985741 features and about 182 mio rdf triples (2020 02 14). The dump has one rdf document per toponym on every line of the file. Note: The file is pretty large. Make sure the tool you use to uncompress is able to deal with the size and does not stop after 2GB, an issue that happens with some old (windows) tool versions.
Contact
Marc Wick (implementation)
More Information
- Harry Chen in the Geospatial Semantic Web Blog describes the key concepts of the GeoNames Ontology.
- Overwiev over GeoNames Feature Codes with number of features per code
- More information on Linked Data.
Version History
2021 July, Version 3.3 PPCLH and PPLH of class P (not A) Peter Kleiweg
2019 November, Version 3.2Elisa Kendall
2012 November, Version 3.1
- Added : gn:GeonamesFeature, subclass of gn:Feature.
- Added : explicit property gn:geonamesID, mandatory and unique for each gn:GeonamesFeature instance.
- Deleted : owl:FunctionalProperty declarations for properties attached to gn:Feature, replaced by local cardinality restrictions on gn:GeonamesFeature The gn:Feature class and attached properties can therefore be used in the open world for features not necessarily identified in the Geonames data base, or with partial descriptions.
- Modified : Equivalent classes and superclasses of geonames:Feature in other vocabularies.
- Added : new feature codes for historical features. Improved metadata.
2012 February, Version 3.0.1:
- Improved metadata!
- Change gn:featureClass and gn:featureCode superproperty from dc:subject to dc:type.
- Property chain ensuring consistency of feature code and feature class values (OWL 2.0).
- Indication of new and deprecated feature codes using skos:historyNote
- Multilingual labels for codes (russian, bulgarian, swedish and norwegian)
- Explicit code values using skos:notation
- New types of alternate names (historical, colloquial).
- Equivalent classes matching feature codes in various ontologies such as schema.org, linkedgeodata.org, dbpedia.org, INSEE ontology are provided in a separate file at http://www.geonames.org/ontology/mappings\_v3.0.1.rdf
2010 October, Version 2.2.1: restore name properties, subproperties of skos labels.
2010 September, Version 2.2: use skos labels, add URIs for parent admin divisions.
2010 June, Version 2.1: changed inCountry to countryCode. Added Metadata for license information.
2007 Apr 02, Version 2.0 : added isOfficialName, locatedIn, relationships with GEMET concepts
2006 Oct 30, Version 1.2.3 : added labels for name and alternate names
2006 Oct 25, Version 1.2.2 : cosmetics
2006 Oct 23, Version 1.2.1 : linked data document with backlink to main feature.
2006 Oct 21, Version 1.2 : New URIs with 303 redirect, linked data (contains, neighbours, nearby)
2006 Oct 14, Version 1.0