Re: [poe] ODRL Validation questions

And third comment from @simonstey:

```
046 true false
@prefix odrl: <http://www.w3.org/ns/odrl/2/> .
@prefix dct: <http://purl.org/dc/terms/> .

#valid. Nested inheritance is allowed, possibly from more than policy
<http://odrlapi.appspot.com/samples/policyA>
    a odrl:Policy ;
    dct:source "victor" ;
    odrl:assigner <http://example.com/org-01> ;
    odrl:target <http://example.com/asset:terms-and-conditions> ;
    odrl:obligation [
        odrl:action odrl:reviewPolicy
    ] .

<http://odrlapi.appspot.com/samples/policyB>
    a odrl:Policy ;
    odrl:inheritFrom <http://odrlapi.appspot.com/samples/policyA> ;
    odrl:permission [
        odrl:target <http://example.com/asset:8623> ;
        odrl:assignee <http://example.com/assigneeB> ;
        odrl:action odrl:display
    ] .

<http://odrlapi.appspot.com/samples/policyC>
    a odrl:Policy ;
    odrl:inheritFrom <http://odrlapi.appspot.com/samples/policyB> ;
    odrl:permission [
        odrl:target <http://example.com/asset:8623> ;
        odrl:action odrl:print
    ] .

<http://odrlapi.appspot.com/samples/policyD>
    a odrl:Policy ;
    odrl:inheritFrom <http://odrlapi.appspot.com/samples/policyE> ;
    odrl:inheritFrom <http://odrlapi.appspot.com/samples/policyB> ;
    odrl:permission [
        odrl:target <http://example.com/asset:8623> ;
        odrl:action odrl:reproduce
    ] .

<http://odrlapi.appspot.com/samples/policyE>
    a odrl:Policy ;
    odrl:permission [
        odrl:target <http://example.com/asset:8623> ;
        odrl:action odrl:anonymize
    ] .

<http://odrlapi.appspot.com/samples/policyF>
    a odrl:Policy ;
    odrl:permission [
        odrl:target <http://example.com/asset:8623> ;
        odrl:action odrl:execute
    ] .

```
not valid. Value does not have shape odrl:targetCardShape


-- 
GitHub Notification of comment by vroddon
Please view or discuss this issue at https://github.com/w3c/poe/issues/259#issuecomment-329826223 using your GitHub account

Received on Friday, 15 September 2017 16:05:07 UTC