Version 3.4 of the GeoNames ontology is published. Every RDF document now carries the name of a feature as stored in the GeoNames database, features in countries with a fifth level of administrative divisions link to that parent, and the list of feature codes is up to date with the data. Nothing existing changes: the version is additive.
What is new
The toponym name. The XML and JSON output of the webservices has always had two names for a feature: toponymName, the name stored in the GeoNames database, and name, the name in the requested language. The RDF documents had only gn:name, the name in the language. The new property gn:toponymName closes that gap. It carries the name as recorded in the database, without a language tag. For counties the difference is easy to see:
| Feature | gn:toponymName | gn:name |
|---|---|---|
| Fairfax County | Fairfax County | Fairfax |
| City of Virginia Beach | City of Virginia Beach | Virginia Beach |
The property is in every document: the feature itself, the children, the neighbours and the nearby features.
A fifth level of parents. Features in countries with a fifth level of administrative divisions now link to that parent with gn:parentADM5, next to gn:parentADM1 to gn:parentADM4.
Feature codes up to date. The ontology now has the 19 feature codes of the current list that it lacked, among them the historical fifth-order division (A.ADM5H), apartment building (S.BLDA) and grove (V.GROVE). The 25 codes that are neither in the list nor in use are marked as deprecated, not removed, so that old data still resolves. The English texts of 8 codes follow the current list, and the Swedish, Norwegian and Russian labels were brought in line with the feature code files in the download.
One licence. The ontology is now licensed under CC BY 4.0, like the data. The Creative Commons prefix in the file also points to the official namespace, and the import of a vocabulary that is no longer online was removed, which makes the ontology load faster in tools that follow imports.
If you already use the RDF
Nothing breaks. The namespace of the properties is unchanged, no property or code was removed or renamed, and gn:name carries the same value as before. The earlier versions of the ontology stay online.
- Queries that read
gn:namekeep working. If you want the stored name, readgn:toponymName. - Deprecated codes are still in the file, with
owl:deprecatedand, for two of them, a pointer to the code that replaces them. A tool that lists all codes sees 25 more entries marked as deprecated. - The licence statement of the ontology changed from CC BY 3.0 to CC BY 4.0 from this version on; the older versions keep the licence they were published with.
- An alignment with GeoSPARQL is a possible next step. It would be a version of its own, since it changes the RDF of every feature.
Links
- ontology_v3.4.rdf
- Documentation and version history
- An example document: Fairfax County







