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

How to specify ad-hoc properties #90

Merged
merged 4 commits into from
Sep 15, 2020
Merged

How to specify ad-hoc properties #90

merged 4 commits into from
Sep 15, 2020

Conversation

stain
Copy link
Contributor

@stain stain commented Sep 15, 2020

Fixes #71

@dgarijo
Copy link
Contributor

dgarijo commented Sep 23, 2020

Thanks Stian. I have to update a few guidelines and examples in the ro-terms repo, but this looks very good to me.


For projects that have their own web-presence, URLs MAY defined and SHOULD resolve to useful content. For example for a project with web page <https://criminalcharacters.com/> the property `education` could have a URL: https://criminalcharacters.com/vocab/#education which resolves to an HTML page that explains the term.

For ad hoc terms where the crate author does not have the resources to put up an HTML page, an ad-hoc URL MAY be used in the form `https://w3id.org/ro/terms/criminalcharacters/education` where `criminalcharacters` is acting as a _namespace_ for one or more related terms like `education`. Ad-hoc namespaces under `https://w3id.org/ro/terms/` are available on first-come-first-serve basis; to avoid clashes, namespaces SHOULD be registered by [submitting terms and definitions](https://github.com/ResearchObject/ro-terms) to the RO-Crate project.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The reason is that doing content negotiation based on full files may be easier to handle than doing CN to individual terms.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I want to leave the example as it is a real one - there won't be any content negotiation but it is a reasonable strategy for someone to document their terms (and a machine readable version could be included in-page).

Could you supplu an example that points to https://w3id.org/ro/terms/ ?

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