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

what are the URIs for codelist values? #205

Open
smrgeoinfo opened this issue Jul 19, 2019 · 8 comments
Open

what are the URIs for codelist values? #205

smrgeoinfo opened this issue Jul 19, 2019 · 8 comments

Comments

@smrgeoinfo
Copy link
Contributor

smrgeoinfo commented Jul 19, 2019

RE: w3c/dxwg#975 (comment) "Could the stylesheet CodelistDictionary-v32.xsl be modified to show the gml:id values so that the URIs of the individual entries are visible?"

In the gml encoding of code lists:

<dictionaryEntry>
  <Definition gml:id="_12383_18905">
  <description>party that accepts accountability and responsibility for the resource and ensures appropriate care and maintenance of the resource</description>
  <identifier codeSpace="http://standards.iso.org/iso/19115/-3/cit/1.0">custodian</identifier>
  </Definition>
</dictionaryEntry>

IN the cat encoding:

<cat:codeEntry>
      <cat:CT_CodelistValue id="CI_RoleCode_custodian">
         <cat:identifier>
            <gco:ScopedName codeSpace="http://standards.iso.org/iso/19115/-3/cit/1.0">custodian</gco:ScopedName>
         </cat:identifier>
               .......
      </cat:CT_CodelistValue>
</cat:codeEntry>

It looks to me like the URI for the codelist concept should be codespace + '/' or '#' + the identifier for scopedName element value, e.g.

http://standards.iso.org/iso/19115/-3/cit/1.0/custodian or
http://standards.iso.org/iso/19115/-3/cit/1.0#custodian

Has there been a determination by any ISO management group on what these URIs should look like?

see also #115

@ejbleys
Copy link
Contributor

ejbleys commented Jul 20, 2019 via email

@smrgeoinfo
Copy link
Contributor Author

smrgeoinfo commented Jul 20, 2019

would the URI for an individual code value be

https://schemas.isotc211.org/19115/-3/cit/1.0/custodian
or
https://schemas.isotc211.org/19115/-3/cit/1.0#custodian

or something else?

@ejbleys
Copy link
Contributor

ejbleys commented Jul 20, 2019 via email

@smrgeoinfo
Copy link
Contributor Author

This still doesn't give a URI for the individual concept.

@ejbleys
Copy link
Contributor

ejbleys commented Jul 21, 2019 via email

@dr-shorthair
Copy link

dr-shorthair commented Jul 21, 2019

A single URI-per-concept is best practice for linked data applications.

We stood these copies up 3 yeas ago now:
http://registry.it.csiro.au/def/isotc211
Each individual codelist has a dereferenceable URI such as
http://registry.it.csiro.au/def/isotc211/MD_ScopeCode
and then each code has one which is a child of this such as
http://registry.it.csiro.au/def/isotc211/MD_ScopeCode/dataset
We only did this because ISO/TC 211 couldn't get its act together to provide it from a canonical URI.

Note that an XML file for the whole codelist, or a HTML rendering of that. does not satisfy the requirement to be able to refer to an individual code in a non-XML context.

@dr-shorthair
Copy link

Note that it is not the file that matters here, it is the concept.
Best practice is for it to be available in various serializations - try the [Download] tab in the above links.

@ejbleys
Copy link
Contributor

ejbleys commented Jul 21, 2019 via email

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

No branches or pull requests

3 participants