- From: Víctor Rodríguez-Doncel via GitHub <sysbot+gh@w3.org>
- Date: Fri, 16 Jun 2017 08:50:16 +0000
- To: public-poe-archives@w3.org
However,
this is a valid policy, am I wrong?
# 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:assignee ex:Bob ;
odrl:assignee ex:Alice ;
odrl:permission [
a odrl:Permission ;
odrl:target ex:PartA ;
odrl:action odrl:present
] ;
odrl:prohibition [
a odrl:Prohibition ;
odrl:target ex:PartB ;
odrl:action odrl:present
] .
Regards,
Víctor
El 16/06/2017 a las 9:18, simon escribió:
>
> 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*:
>
> <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*:
>
> # 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
> ] .
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <https://github.com/w3c/poe/issues/184#issuecomment-308952898>, or
> mute the thread
> <https://github.com/notifications/unsubscribe-auth/AFLs5S04Zav5N3A-4K9db1DHyAyWIDEkks5sEixKgaJpZM4Nfl3j>.
>
--
Víctor Rodríguez-Doncel
D3205 - Ontology Engineering Group (OEG)
Departamento de Inteligencia Artificial
ETS de Ingenieros Informáticos
Universidad Politécnica de Madrid
Campus de Montegancedo s/n
Boadilla del Monte-28660 Madrid, Spain
Tel. (+34) 91336 3753
Skype: vroddon3
--
GitHub Notification of comment by vroddon
Please view or discuss this issue at https://github.com/w3c/poe/issues/184#issuecomment-308970910 using your GitHub account
Received on Friday, 16 June 2017 08:50:22 UTC