Re: [poe] Note on Policy Inference

> In practice a Policy will include only W3C as assignee and processing the odr:Request needs to check if ex:Alice has a odrl:partOf relationship with ex:W3C. **This requires information beyond the data in an odrl:Agreement with only` odrl:assignee ex:W3C` and `odrl:target ex:Dataset1`.**

as long as those triples reside in the same RDF graph as the policies it's fine. 

btw., you also don't know whether a policy expression actually includes all of its rules.. In RDF, those two serializations are equivalent:

```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
    ] .
```
is equivalent to ->
```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
    ] .
```
so when an ODRL processor processes/evaluates/validates policies, it does that considering all information that's available to it. whether that's the rules of a policy or relationships between assets/parties/actions.

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

Received on Monday, 26 June 2017 08:52:08 UTC