Skip to content

Add on ODRL Policy Example #1333

@riannella

Description

@riannella

To help the user understand how to use the odrl:hasPolicy (in a DCAT description) can we add a more detailed example to section 8?
For example....


The below example shows how to express a dataset policy where the use of <ds4242> has very specific usage rules. In this case, the dataset can be read and derivatives can be created but no commercial use of the dataset is allowed. In addition, it is a requirement to register before the permissions are allowed.

 <ds4242> a dcat:Dataset ;
 # other dataset properties here...
 odrl:hasPolicy [ a odrl:Policy ;
    odrl:permission [ a odrl:Permission ;
       odrl:action ( <http://www.w3.org/ns/odrl/2/read>
                     <http://www.w3.org/ns/odrl/2/derive> ) ];
    odrl:obligation   [ a odrl:Duty ;
       odrl:action <https://schema.org/RegisterAction> ];
    odrl:prohibition   [ a odrl:Prohibition ;
       odrl:action <http://creativecommons.org/ns#CommericalUse> ];
  ] ;
] .

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions