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.

SourceWhat it shows
model#duty-policyExample Use Case: The below Agreement includes an obligation from assigner http://example.com/org:43 to assignee http://example.com/person:44 to compensate the assigner for a payment amount of EU500.00.

Policy #

{
  "@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.
  1. 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.