Writing URIs for the Common Impact Data Standard #148
mrgarth
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
URI Pattern for the Common Impact Data Standard
The recommended pattern for URIs is:
https:// [domain root] / [nodetype] / [unique identifier for that node]
For example, for an organization whose domain root is
www.example.org, the URI (the@idvalue) for acids:Addressnode could behttps://www.example.org/Address/ExampleHQaddressAnd for a
cids:Indicator:https://www.example.org/Indicator/BA3458It is a design choice for the organization and/or software creating the URIs to use identifiers that are either human-readable, or unique alphanumeric values.
Either way, it's important to also follow general best practices for linked data URIs.
Best Practices for Linked Data URIs
For Linked Data URIs, the set of allowed characters adheres to the general URI syntax defined in RFC 3986.
This includes:
Unreserved characters: (i.e., “allowed” characters)
Reserved characters: (i.e. “not allowed except for their intended special purpose”)
These characters have a specific meaning within the URI syntax and are used as delimiters. They include:
Percent-encoded characters:
Accented letters, diacritical marks, and spaces are generally discouraged in Linked Data URIs and should be percent-encoded if necessary. This involves representing the character as a percent sign (%) followed by its two-digit hexadecimal representation. For example, a space character would be encoded as %20.
Beta Was this translation helpful? Give feedback.
All reactions