[dxwg] Add on ODRL Policy Example (#1333)

riannella has just created a new issue for https://github.com/w3c/dxwg:

== Add on ODRL Policy Example ==
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> ];
  ] ;
] .
```



Please view or discuss this issue at https://github.com/w3c/dxwg/issues/1333 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Monday, 22 March 2021 04:36:46 UTC