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

6.4.6 hasPolicy #80

Open
riannella opened this issue Sep 23, 2024 · 5 comments
Open

6.4.6 hasPolicy #80

riannella opened this issue Sep 23, 2024 · 5 comments
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@riannella
Copy link

Should the Range in section 6.4.6 be "odrl:Policy" ?

@joshcornejo
Copy link
Contributor

Since dprod:DataProduct is a specialisation of dcat:Resource, I would suggest to reference instead:

https://www.w3.org/TR/vocab-dcat-3/#Property:resource_has_policy

@jgeluk

@riannella
Copy link
Author

6.1.10 has the correct range
https://www.w3.org/TR/odrl-vocab/#term-hasPolicy

@joshcornejo
Copy link
Contributor

Sorry, what I meant is that dcat:Resource already defines odrl:hasPolicy as a property, and dprod:dataProduct is a specialisation.

Screenshot 2024-09-25 at 07 39 41

@rivettp
Copy link
Contributor

rivettp commented Sep 27, 2024

We will update the shape which drives the generation of 6.4.6

@rivettp rivettp self-assigned this Sep 27, 2024
@rivettp
Copy link
Contributor

rivettp commented Oct 25, 2024

The SHACL is correct, the doc generation needs to be updated:
dprod-shapes:DataProduct-hasPolicy
a sh:PropertyShape;
rdfs:isDefinedBy dprod-shapes:;
sh:path odrl:hasPolicy;
sh:class odrl:Policy;

@rivettp rivettp assigned jgeluk and unassigned rivettp Oct 25, 2024
@rivettp rivettp added the documentation Improvements or additions to documentation label Oct 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

4 participants