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

Access rights and index dataset without file #2925

Open
wants to merge 12 commits into
base: master
Choose a base branch
from

Conversation

quaxsze
Copy link
Contributor

@quaxsze quaxsze commented Nov 15, 2023

@quaxsze quaxsze changed the title Access rights and index dataset without file POC Access rights and index dataset without file Nov 16, 2023
Copy link
Contributor

@maudetes maudetes left a comment

Choose a reason for hiding this comment

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

Nice already!

udata/core/dataset/models.py Outdated Show resolved Hide resolved
@@ -488,6 +489,7 @@ def dataset_from_rdf(graph, dataset=None, node=None):
default_license = dataset.license or License.default()
dataset_license = rdf_value(d, DCT.license)
dataset.license = License.guess(dataset_license, *licenses, default=default_license)
dataset.access_rights = rdf_value(d, DCT.accessRights)
Copy link
Contributor

Choose a reason for hiding this comment

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

We should map from and towards the European vocabulary: http://publications.europa.eu/resource/authority/access-right.

@quaxsze quaxsze requested a review from maudetes April 3, 2024 17:51
@quaxsze quaxsze changed the title POC Access rights and index dataset without file Access rights and index dataset without file Apr 3, 2024
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

Successfully merging this pull request may close these issues.

POC d'indexation des JDDs sans fichier (catalogage)
2 participants