Re: [poe] Compatibility with common patterns for linking assets to policies

[3.4.3 Has Target Policy](https://w3c.github.io/poe/vocab/#term-hasPolicy):
> Note:  The Asset being identified MUST be inferred to be the target Asset of **all** of the Rules of the Policy.

\+ 

> Added: owl:inverseOf :target ;

\+ 

**Valid Policy**:
```turtle
<http://example.com/policy:01>
    a odrl:Policy;
    odrl:permission [
        a odrl:Permission ;
        odrl:target ex:PartA ;
        odrl:action odrl:present ;        
        odrl:assignee ex:Bob
    ] ;
    odrl:prohibition [
        a odrl:Prohibition ;
        odrl:target ex:PartB ;
        odrl:action odrl:present ;
        odrl:assignee ex:Alice 
    ] .
```

=

**Invalid Policy**:
```turtle

# inferred
ex:PartA odrl:hasPolicy <http://example.com/policy:01> .
ex:PartB odrl:hasPolicy <http://example.com/policy:01> .

# becomes invalid because not >all< rules of the policy have 
# both ex:PartA and ex:PartB as their target
<http://example.com/policy:01>
    a odrl:Policy;
    odrl:permission [
        a odrl:Permission ;
        odrl:target ex:PartA ;
        odrl:action odrl:present ;        
        odrl:assignee ex:Bob
    ] ;
    odrl:prohibition [
        a odrl:Prohibition ;
        odrl:target ex:PartB ;
        odrl:action odrl:present ;
        odrl:assignee ex:Alice 
    ] .
```

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

Received on Friday, 16 June 2017 07:18:40 UTC