Obligation property with a Policy (eg16bc)
A policy from the W3C ODRL examples. The table gives the source and what the policy shows, in the source's words.
Policy #
Copy {
"@context": "http://www.w3.org/ns/odrl.jsonld",
"@type": "Agreement",
"uid": "http://example.com/policy:42",
"profile": "http://example.com/odrl:profile:09",
"obligation": [
{
"assigner": "http://example.com/org:43",
"assignee": "http://example.com/person:44",
"action": [
{
"rdf:value": {
"@id": "odrl:compensate"
},
"refinement": [
{
"leftOperand": "payAmount",
"operator": "eq",
"rightOperand": {
"@value": "500.00",
"@type": "xsd:decimal"
},
"unit": "http://dbpedia.org/resource/Euro"
}
]
}
]
}
]
}
Reading #
The sentences OdrlProse writes for this policy, without a profile.
Agreement http://example.com/policy:42 An agreement.
Written to the profile http://example.com/odrl:profile:09. person:44 must compensate, as required by the assigner org:43 .
Limits on the action:
The action "compensate" is limited to cases where:the payment amount is equal to 500.00 euro
The renderer raised no warning for this policy.
Back to the W3C ODRL examples or the catalog .