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

Improve serialization of statements #313

Merged
merged 2 commits into from
Oct 16, 2024

Conversation

amercader
Copy link
Member

Rather than just include a Literal, add it as a node (with a class if provided) with a RDFS.label property, eg:

dct:accessRights [ a dct:RightsStatement ;
rdfs:label "Statement about access rights" ] ;

An URI can also be used:

dct:accessRights <https://example.org/vocab/access-right/TODO/PUBLIC> ;

[...]

<https://example.org/vocab/access-right/TODO/PUBLIC> a dct:RightsStatement .

This is in line with the recommendation in the DCAT 3 spec:

https://www.w3.org/TR/vocab-dcat-3/#ex-license-and-access-rights

Rather than just include a Literal, add it as a node
(with a class if provided) with a RDFS.label property, eg:

    dct:accessRights [ a dct:RightsStatement ;
	rdfs:label "Statement about access rights" ] ;

An URI can also be used:

    dct:accessRights <https://example.org/vocab/access-right/TODO/PUBLIC> ;

    [...]

    <https://example.org/vocab/access-right/TODO/PUBLIC> a dct:RightsStatement .

This is in line with the recommendation in the DCAT 3 spec:

https://www.w3.org/TR/vocab-dcat-3/#ex-license-and-access-rights
@amercader amercader mentioned this pull request Oct 9, 2024
2 tasks
@amercader amercader merged commit ab77bca into master Oct 16, 2024
8 checks passed
@amercader amercader deleted the improve-statement-serialization branch October 16, 2024 12:24
amercader added a commit that referenced this pull request Oct 17, 2024
amercader added a commit that referenced this pull request Oct 17, 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.

1 participant