Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Define alias behaviour/requirements for the Definitions Server. #121

Closed
rob-metalinkage opened this issue Jun 28, 2021 · 6 comments
Closed

Comments

@rob-metalinkage
Copy link
Contributor

There are many existing cases and new ones such as #120 where it is desired to host "aliases".

These may be declared to be owl:sameAs

The simple solution is to entail ?p ?o where ?p ?o (and vice versa) - copy properties so both URI1 and 2 look the same content wise for all forms (HTML UI as well as RDF etc)

Other options:

  1. make the vocab UI do more work - follow sameAs links at query time
  2. make the redirect layer do more work (redirect to the canonical form)

Regardless, if we are going to prefer one form over another (what canonical URI should people cite) we'll need to add information about the canonical version (the definition server can't really inspect URIs to see if the have both the /0/ and the information to find the canonical form.

If the necessary extra content is not, or only partially, populated, how should behaviour gracefully degrade?

The UI should also probably be tuned to flag this situation explicitly.

How would you expect user's to interact with aliases? Use Case might be worth while and options and prototypes can be explored.

@ghobona
Copy link
Contributor

ghobona commented Dec 3, 2021

The behaviour is being specified in the Policy Issue #116

@pebau
Copy link
Collaborator

pebau commented Dec 3, 2021

@rob-metalinkage @ghobona

As I incidentally see this alias above, let me mention that /0/ by definition is an alias for the latest version available, which incidentally for WMS is 1.3, so the additional alias is consistent. The caveat of hardwiring this reference is that any future new version would lead to a deviation = inconsistency.

@cportele
Copy link
Member

cportele commented Dec 3, 2021

/0/ by definition is an alias for the latest version available

That statement is not correct. A version "0" identifies un-versioned definitions, which is something different. See the policy: https://docs.opengeospatial.org/pol/09-048r5.html#_production_rule_for_specification_element_names

For the CRS84 alias, this basically makes the CRS84 definition "un-versioned", which is a good step.

A similar change was previously introduced for the EPSG definitions, which were also used with a version in the past (in the time when OGC-NA still used URNs).

@pebau
Copy link
Collaborator

pebau commented Dec 4, 2021 via email

@cportele
Copy link
Member

cportele commented Dec 4, 2021

OK thanks for the link. That clarifies it, although section 7.4 of the OGC-NA policy "Names for EPSG definitions" really should have been updated with this information, if there was an OGC-NA decision how to treat version "0". (As an aside, I do not understand why CRS84, which is not an EPSG definition, is discussed in section 7.4.)

The wording

version "0" shall always point to the latest version of the corresponding EPSG definition

states two things:

  • This rule only applies to definitions from the EPSG authority, not to any other definitions with an OGC URI.
  • This clarifies how "un-versioned" is interpreted for EPSG definitions. While EPSG has versions of its definitions, the definitions are only versioned with clarifications, so "un-versioned" means that always the latest version applies, hence this rule. If an EPSG definition needs a substantive change, there will be a new definition with a new code.

@ghobona
Copy link
Contributor

ghobona commented Sep 11, 2023

Solution implemented as described at #108

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

4 participants