Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Improve handling of geospatial terms in CTDL #460
A week or two ago, @stuartasutton mentioned wanting to review the geospatial classes and properties in CTDL to see if we could make improvements. Currently we have a variety of them, which were added at varying points in development, and they are somewhat difficult to explain and harmonize:
Concept Schemes / Concepts:
We will have to be very mindful of the ripple effects of any changes we make here.
One proposal that @cwd-mparsons and I discussed would be to create a new class (something like ceterms:Place) that would essentially combine the properties of both PostalAddress and GeoCoordinates (and possibly ContactPoint). This would grant the added utility of being able to directly associate a latitude and longitude with an address in addition to simplifying the location-related information tied to contact point, on top of solving the "campus" issue mentioned in the post above. The replaced classes would subsequently be deprecated and superseded by this new class.
While accepting the changes noted above in terms of the creation of a new
That would entail the properties having two domains, but that is not a problem in either RDF or schema.org.
Accepting the new
The proposal to do something about GeoCoordinates and PostalAddress is partly in hopes of making CTDL easier to understand for newer developers - having those in addition to a Location class may actually make things worse. However, I do see the potential usefulness of them (or at least, of address) at some point, so maybe deprecating is too harsh. Would it suffice to remove them from the range of any properties that currently point to them (Item 2 in my post above) so as to disconnect them from real interaction with other parts of CTDL?
Where do we stand on this issue around our locational classes. We are in agreement with your comment above, Nate, to consolidate properties from
Actions to be taken:
Remove ceterms:GeoCoordinates from the rdfs:domainIncludes of these properties:
Remove ceterms:GeoCoordinates from the rdfs:rangeIncludes of these properties:
Remove ceterms:PostalAddress from the rdfs:rangeIncludes of these properties:
Add ceterms:Place to the rdfs:rangeIncludes of these properties (all of the properties that no longer point to GeoCoordinates or PostalAddress, except for spatialCoverage):
Remove the following from the rdfs:domainIncludes of ceterms:targetContactPoint (its only domain will be ceterms:Place and ceterms:CredentialPerson):
Add the following to the rdfs:rangeIncludes of ceterms:spatialCoverage:
The end result of these changes should be: