-
Notifications
You must be signed in to change notification settings - Fork 6
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
OGC Definition server base URI for O&M codeList #136
Comments
Continuing on the discussion held in the SWG meeting today. I completely agree with @sgrellet and @dr-shorthair on getting rid of the version and specification specific URI path parts for the model concepts, including in the code list case the concepts used as codelist values. However, I think we may want to consider a namespacing the ids of the named collections of concepts which are used as vocabularies for particular code list classes included in the v3.0 UML model with the specification that defines it: ObservationTypeByResultType tag The code list entries would then refer to non-versioned concepts (chosen set of observation classifications in this case):
|
Based on the SWG discussion again I interpreted that you do not see a reason to distinguish the model concepts realized using soft-typing and codelist entries and the ones realized as UML classes on the OGC Definitions Server. Example:
|
Related note: these concept definitions would not be the same things as the specification requirements defining the concepts in the context of the specification, such as |
Please review and comment the draft SKOS collections and member concepts to act as vocabularies for the following codelists:
@ghobona: If the SWG is ok with these IDs and definitions, would these files be in a format that the OGC-NA can process and, as the result, publish in the OGC Definitions Server at http://www.opengis.net/def/? I have used the SKOS concept JSON-LD alternative profiles as the base and made the edits manually. |
The use of The pattern must be |
Yes, I did mention this in the meeting yesterday. I think the OGC policy (which I was responsible for writing down) is overcomplicated, and inherits some assumptions about what information needs to be in a URI path that I now believe are misplaced*. But it is the policy. *Implying relationships through the URI structure is bad practice. Relationships should be explicit, not implicit. There may be a governance argument for protecting a 'URI-space' but the OGC policy makes that too granular. The policy should be updated IMHO. |
I think that the URI pattern design was mainly driven by the need to ensure uniqueness of the URIs, which is why authority was added to support cases like the multiple CRS registers. I agree that it would be a good idea to simplify the policy for items that will always have OGC as its authority and do not need a version. I still think that it would be a good idea to keep |
I concur with Simon's opinion and above proposals to simplify this when feasible This activity is a semantic definition one. For example, even if some definitions of core O&M concepts/classes have been polished, those concepts/classes remain the same (their intent is the same). There is thus no reason to change their identity. 2 examples outside OGC def
Simplifying this will also help others OGC SWGs working on defining semantics |
While I think it is good to challenge the OGC policy in constructing the URIs, I do not think we have the time to have this discussion finished by the 19156 DIS submission time. @cportele: are the existing definition types available somewhere as a list? As alternatives to propose to NA for the codelist collections I currently see:
For the concepts forming the codelist entries (replace |
In addition to the documents they should be at http://www.opengis.net/def/def-type, but that collection is empty. I guess, because the definition server is a work-in-progress. |
A short note on to version or not to version. While I'd prefer the simplicity of no versions, I would like to know where the statement "It's not a common good practice to version the URI of a concept." comes from. As long as are concepts are VERY stable, think we can get along without versioning. However, if there is ANY chance that the meanings will be "polished", e.g. the intent tightened or shifted, so the new definition only applies to a part of the original definition, we'd have to define a new concept if we cannot version. Otherwise, we run into madness as is common "good practice" in taxonomy, where they eternally split and lump species while retaining names, then get annoyed as you have data pertaining to different concepts (e.g. with and without the split) referencing the same taxon. Btw - does anybody understand why the SWEET ontology does not provide references to the older versions? |
All, the proposal with the versioned URIs looks good (e.g. http://www.opengis.net/def/codelist/OGC/1.0/observationTypeByResultType). @ilkkarinne When you are ready please create a GitHub Issue on the NamingAuthority repository, with links to the JSON-LD or TTL files. |
@ilkkarinne One thing to note is that we generally do not state that an entry is a concept in the URL. Also the positioning of the Once you create the GitHub Issue on the NamingAuthority, I will work with @rob-metalinkage to revise the proposal. So you might need to revise the URIs thereafter. |
IMAO it would be helpful to stop talking about 'versioned' URIs, and rather refer to 'different' URIs. |
@ghobona and @rob-metalinkage: would the following seem acceptable then by the OGC-NA policy?:
|
From clause 6 of the Definitions policy. The generic syntax for OGC http URIs is
The following ABNF adapted from [IETF RFC 3986] provides some basic definitions required in the rest of this document. segment = *pchar
segment-nc = *pchar-nc
segment-nz = 1*pchar
segment-nz-nc = 1*pchar-nc
pchar = unreserved / pct-encoded / sub-delims / ":" / "@"
pchar-nc = unreserved / pct-encoded / sub-delims / "@"
pct-encoded = "%" HEXDIG HEXDIG
unreserved = ALPHA / DIGIT / "-" / "." / "_" / "~"
reserved = gen-delims / sub-delims
gen-delims = ":" / "/" / "?" / "#" / "[" / "]" / "@"
sub-delims = "!" / "$" / "&" / "'" / "(" / ")"
/ "*" / "+" / "," / ";" / "=" The basic form for an OGC name that identifies a definition shall be produced using the following rule: OGCResource = "def"
ResourceSpecificPath = definition-type "/" authority "/" version "/" code
ResourceSpecificString = definition-type ":" authority ":" versionURN ":" codeURN
definition-type = segment-nz-nc ; a token from the register of OGC definition types1
authority = segment-nz-nc ; a token from the register of OGC authorities2
version = segment-nz-nc / "0" ; use 0 for un-versioned names
code = segment-nz-nc *( "/" segment-nz-nc )
versionURN = segment-nc ; this may be a zero-length string
codeURN = segment-nz-nc *( ":" segment-nz-nc ) The first proposed URI has the definition type on the right hand-side of the version, when it should be the first segment after the The second proposed URI is missing a version number. Once you have revised the URIs, please remember to create a GitHub issue on the Naming Authority repository so that the proposal can be formally taken through the OGC-NA process. |
Hi @ghobona: I seem to have misunderstood your earlier comment on 4th June stating "Also the positioning of the I had it as |
Regarding the versioning or "naming" the concepts (being used as code list items here), the O&M SWG has yet been unable to reach conclusion on whether we would like to have
|
Reading the Definition policy ABNF considering the
Note that I think we do not want to have the items registered as |
Hi @ilkkarinne , apologies, I should have highlighted on the June 4th comment that it meets the constraints in the policy. My response was indeed unclear.
|
Regarding the version number, please follow the policy. |
Updated code list and item definitions as SKOS Collections and Concepts now available at
All of these are now using the "un-versioned" version numbers ( |
That's great, please create an Issue on the NamingAuthority repo proposing the registrations. You may cross reference this discussion on the new Issue in the NamingAuthority repo. |
Issue created in the NA repo for this now. @ghobona: Do you think this could still fit on the OGC NA SC agenda on Thu 17th June? |
In the OGC def server there are already non versioned entries but the pattern for the rest is not clear for us.
Is our assumption correct to use approach A°/ as a starting point/rationale to OM V3 related codeLists ?
We have requirements for collectionType that need to point out to specific codeList entries (ex : testing on the entry 'homogenousObservationCollection')
The text was updated successfully, but these errors were encountered: