- From: Sridhar Krishnamurthy <ksridhar@amagi.com>
- Date: Mon, 13 May 2024 14:21:18 +0530
- To: public-odrl@w3.org
- Message-ID: <CAML7Ke_nhSWD_4M_Wsc_w_oCfWcYvcsVrzaYm9ZvrUXb5z_uDg@mail.gmail.com>
I beg to seek a clarification regarding
How do we decide in some cases to choose between
'a constraint to a rule' vs 'refinement of an action' ?
------------------------
Let us consider the example 13 in
https://www.w3.org/TR/odrl-model/#constraint-rule
(A)
{
"@context": "http://www.w3.org/ns/odrl.jsonld",
"@type": "Offer",
"uid": "http://example.com/policy:6163",
"profile": "http://example.com/odrl:profile:10",
"permission": [{
"target": "http://example.com/document:1234",
"assigner": "http://example.com/org:616",
"action": "distribute",
"constraint": [{
"leftOperand": "dateTime",
"operator": "lt",
"rightOperand": { "@value": "2018-01-01", "@type": "xsd:date" }
}]
}]
}
------------------------
what would be the reason that prevents us from expressing the same thing as
(B)
{
"@context": "http://www.w3.org/ns/odrl.jsonld",
"@type": "Offer",
"uid": "http://example.com/policy:6163",
"profile": "http://example.com/odrl:profile:10",
"permission": [{
"target": "http://example.com/document:1234",
"assigner": "http://example.com/org:616",
"action": [{
"rdf:value": { "@id": "odrl:distribute" },
"refinement": [{
"leftOperand": "dateTime",
"operator": "lt",
"rightOperand": { "@value": "2018-01-01", "@type":
"xsd:date" }
}]
}]
}]
}
thanks and regards
--
**DISCLAIMER: **The contents of this email, including any attachments
that it may contain, are privileged and confidential information, and may
also constitute as proprietary, and are intended solely for the use of the
addressee(s). If you are not the intended recipient, please notify the
sender by email and delete the original message. Unintended recipients are
strictly prohibited from copying, disclosing, and/or distributing such
contents in any manner or form. Opinions, conclusions, and other
information in this transmission that do not relate to the official
business of Amagi, including all its affiliates, shall be understood as
neither given nor endorsed by it. Any statements made herein that are
tantamount to contractual obligations, promises, claims or commitments
shall not be binding on the Company unless expressly and specifically
stated as otherwise, or followed by written confirmation, by an authorized
signatory of the Company.
Received on Monday, 13 May 2024 08:51:35 UTC