Re: [poe] Note on Policy Inference

> (Btw: the policy with the single prohibition above should have http://example.com/policy:02 as id, I guess.)

no and that's exactly my point (and also kinda @aisaac's in #164). 

In RDF, a policy like:
```turtle
<http://example.com/policy:01>
    a odrl:Policy;
    odrl:permission [
        a odrl:Permission ;
        odrl:target :PartA ;
        odrl:action odrl:play ;        
        odrl:assignee :Alice
    ] ;
 odrl:prohibition [
        a odrl:Prohibition ;
        odrl:target :Dataset1 ;
        odrl:action odrl:present;        
        odrl:assignee :Alice
    ] .
```
is actually just a more readable version of:
```turtle
<http://example.com/policy:01> a odrl:Policy .
<http://example.com/policy:01> odrl:permission _:b1 . 
_:b1 a odrl:Permission .
_:b1 odrl:target :PartA .
_:b1 odrl:action odrl:play .     
_:b1 odrl:assignee :Alice .
<http://example.com/policy:01> odrl:prohibition _:b2 .
_:b2 a odrl:Prohibition .
_:b2 odrl:target :Dataset1 .
_:b2 odrl:action odrl:present .        
_:b2 odrl:assignee :Alice .
```
which can also be represented as:
```turtle
<http://example.com/policy:01>
    a odrl:Policy;
    odrl:permission [
        a odrl:Permission ;
        odrl:target :PartA ;
        odrl:action odrl:play ;        
        odrl:assignee :Alice
    ] .

<http://example.com/policy:01>
    a odrl:Policy;
    odrl:prohibition [
        a odrl:Prohibition ;
        odrl:target :Dataset1 ;
        odrl:action odrl:present;        
        odrl:assignee :Alice
    ] .
```

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

Received on Monday, 26 June 2017 11:13:28 UTC