- From: simon via GitHub <sysbot+gh@w3.org>
- Date: Fri, 25 Aug 2017 05:56:44 +0000
- To: public-poe-archives@w3.org
> So, when it says a **"Duty is Not-Active",** hence not functioning, not currently in use or effect, **you get the sense that you don't have to do anything**...
which reflects the intended semantics.
**Example:**
```turtle
<http://example.com/policy:42>
a odrl:Policy ;
odrl:permission [
a odrl:Permission ;
odrl:target ex:asset_9898 ;
odrl:action odrl:reproduce ;
odrl:assigner ex:Alice ;
odrl:assignee ex:Bob ;
odrl:duty [
a odrl:Duty ;
odrl:action odrl:obtainConsent ;
odrl:consentingParty ex:Alice ;
odrl:constraint [
odrl:leftOperand time:dayOfWeek;
odrl:operator odrl:isAnyOf ;
odrl:rightOperand time:Saturday, time:Sunday ;
]
]
] .
```
`ex:Bob` can exercise his permission to `odrl:reproduce` asset `ex:asset_9898` on any day other than `time:Saturday` or `time:Sunday` without any obligations.
On weekends, however, he has to `odrl:obtainConsent` from `ex:Alice` first before he's granted permission to `odrl:reproduce` asset `ex:asset_9898`.
--
GitHub Notification of comment by simonstey
Please view or discuss this issue at https://github.com/w3c/poe/issues/223#issuecomment-324830582 using your GitHub account
Received on Friday, 25 August 2017 05:56:41 UTC