-
Notifications
You must be signed in to change notification settings - Fork 1
Update outputs of the Licenses and Rights #106
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
Conversation
Shouldn't the URI here be http://dcat-ap.ch/vocabulary/licenses/terms_open ? |
I have a couple more questions just to check I understood everything. In our license vocabulary, each license has a URI, a description, a code, and a link to the license text - that link to the license text is what we're calling
(Sorry for the late addition of this comment - I was typing it up when I had to restart my laptop yesterday.) |
I have another question - maybe this is a misunderstanding on my part. For the Creative Commons licenses, with the updates here and here, I noticed that the homepage urls for each license are on the Open Definition site, e.g. http://opendefinition.org/licenses/cc-by-sa/. Why are we using those urls and not the respective Creative Commons urls where the licenses are actually defined, e.g. http://creativecommons.org/licenses/by-sa/4.0/? |
9c49800
to
3aa4ddf
Compare
1 - parsing of the dataset:
License output of opendata.swiss should only be our 4 terms of use with the corresponding URIs https://www.dcat-ap.ch/vocabulary/licenses/20210623.html
Via ckan dataset API we see licence URIs, example:
instead of
"license": "NonCommercialAllowed-CommercialAllowed-ReferenceNotRequired",
we show
"license": "https://opendata.swiss/terms-of-use#terms_open"
instead of
"rights": "Creative Commons Namensnennung - Weitergabe unter gleichen Bedingungen (CC-BY-SA)",
we show
"rights": "http://www.opendefinition.org/licenses/cc-by-sa
In case we do not have License we check if rights is there and if it one of 4 terms we take it from rights.
2- dataset to graph:
we export licences and rights in a way:
<dct:license rdf:resource="http://dcat-ap.ch/vocabulary/licenses/terms_open"/>
<dct:rights rdf:resource="https://creativecommons.org/licenses/by-sa/4.0"/>
3- if rights are not in our vocabulary https://www.dcat-ap.ch/vocabulary/licenses/20210623.html
we do not show it