From a2c3580eaaad05556863a1aa8a202c5b8b11aed3 Mon Sep 17 00:00:00 2001 From: Renato Iannella Date: Wed, 13 Sep 2017 11:41:30 +1000 Subject: [PATCH] Updated rightOperand to explicitly support set-based operators #255 --- model/index.html | 9 +++++++-- vocab/ODRL22.ttl | 12 ++++++------ vocab/index.html | 36 ++++++++++++++++++------------------ 3 files changed, 31 insertions(+), 26 deletions(-) diff --git a/model/index.html b/model/index.html index 436b4d0..15cfbc6 100644 --- a/model/index.html +++ b/model/index.html @@ -651,7 +651,12 @@

Constraint Class

  • A Constraint MUST have one operator property value of type Operator.
  • A Constraint MUST have either:
  • A Constraint MAY have none or one dataType property value for the data type of the rightOperand/Reference.
  • @@ -688,7 +693,7 @@

    Logical Constraint Class

    The Logical Constraint class has the following properties:

    An ODRL evaluator MUST support the following sub-properties of operand:

    diff --git a/vocab/ODRL22.ttl b/vocab/ODRL22.ttl index e828d5d..08688fd 100644 --- a/vocab/ODRL22.ttl +++ b/vocab/ODRL22.ttl @@ -916,42 +916,42 @@ odrl: :hasPart a :Operator, owl:NamedIndividual, skos:Concept ; rdfs:isDefinedBy odrl: ; - skos:definition "Indicating that a given value contains the right operand of the Constraint."@en ; + skos:definition "A set-based operator indicating that a given value contains the right operand of the Constraint."@en ; rdfs:label "Has part"@en ; skos:scopeNote "Non-Normative"@en . :isA a :Operator, owl:NamedIndividual, skos:Concept ; rdfs:isDefinedBy odrl: ; - skos:definition "Indicating that a given value is an instance of the right operand of the Constraint."@en ; + skos:definition "A set-based operator indicating that a given value is an instance of the right operand of the Constraint."@en ; rdfs:label "Is a"@en ; skos:scopeNote "Non-Normative"@en . :isAllOf a :Operator, owl:NamedIndividual, skos:Concept ; rdfs:isDefinedBy odrl: ; - skos:definition "Indicating that a given value is all of the right operand of the Constraint."@en ; + skos:definition "A set-based operator indicating that a given value is all of the right operand of the Constraint."@en ; rdfs:label "Is all of"@en ; skos:scopeNote "Non-Normative"@en . :isAnyOf a :Operator, owl:NamedIndividual, skos:Concept ; rdfs:isDefinedBy odrl: ; - skos:definition "Indicating that a given value is any of the right operand of the Constraint."@en ; + skos:definition "A set-based operator indicating that a given value is any of the right operand of the Constraint."@en ; rdfs:label "Is any of"@en ; skos:scopeNote "Non-Normative"@en . :isNoneOf a :Operator, owl:NamedIndividual, skos:Concept ; rdfs:isDefinedBy odrl: ; - skos:definition "Indicating that a given value is none of the right operand of the Constraint."@en ; + skos:definition "A set-based operator indicating that a given value is none of the right operand of the Constraint."@en ; rdfs:label "Is none of"@en ; skos:scopeNote "Non-Normative"@en . :isPartOf a :Operator, owl:NamedIndividual, skos:Concept ; rdfs:isDefinedBy odrl: ; - skos:definition "Indicating that a given value is contained by the right operand of the Constraint."@en ; + skos:definition "A set-based operator indicating that a given value is contained by the right operand of the Constraint."@en ; rdfs:label "Is part of"@en ; skos:scopeNote "Non-Normative"@en . diff --git a/vocab/index.html b/vocab/index.html index ebee1e1..edcaa63 100644 --- a/vocab/index.html +++ b/vocab/index.html @@ -148,7 +148,7 @@

    ODRL Core Vocabulary

    Definition: A Policy that proposes a Rule over an Asset from an assigner. Label: Offer Identifier: http://www.w3.org/ns/odrl/2/Offer -Note: An Offer Policy MUST contain at least one Permission or Prohibition rule and a Party with Assigner function (in the same Permission or Prohibition). The Offer Policy MAY contain a Party with Assignee function, but MUST not grant any privileges to that Party. +Note: An Offer Policy MUST contain at least one Permission or Prohibition rule and a Party with Assigner function (in the same Permission or Prohibition). The Offer Policy MAY contain a Party with Assignee function, but MUST not grant any privileges to that Party. Parent class: Policy Disjoint classes: Agreement, Assertion, Privacy, Request, Set, Ticket @@ -405,7 +405,7 @@

    ODRL Core Vocabulary

    Range: Duty

    Has Duty

    - + @@ -457,7 +457,7 @@

    ODRL Core Vocabulary

    - +
    Definition: Relates an individual Duty to a Permission..
    Definition: Relates an individual Duty to a Permission.
    Label: Has Duty
    Identifier: http://www.w3.org/ns/odrl/2/duty
    Note: A Duty is a pre-condition which must be fulfilled in order to receive the Permission.
    Definition: Operator for constraint expression.
    Label: Operator
    Identifier: http://www.w3.org/ns/odrl/2/Operator
    Note: Instances of the Operator class representing relational operators .
    Note: Instances of the Operator class representing relational operators.
    In Range Of: operator
    Instances: eq, gt, gteq, hasPart, isA, isAllOf, isAnyOf, isNoneOf, isPartOf, lt, lteq, neq
    @@ -578,37 +578,37 @@

    ODRL Core Vocabulary

    Class: Operator

    Is a

    - +
    Definition: Indicating that a given value is an instance of the right operand of the Constraint.
    Definition: A set-based operator indicating that a given value is an instance of the right operand of the Constraint.
    Label: Is a
    Identifier: http://www.w3.org/ns/odrl/2/isA
    Class: Operator

    Has part

    - +
    Definition: Indicating that a given value contains the right operand of the Constraint.
    Definition: A set-based operator indicating that a given value contains the right operand of the Constraint.
    Label: Has part
    Identifier: http://www.w3.org/ns/odrl/2/hasPart
    Class: Operator

    Is part of

    - +
    Definition: Indicating that a given value is contained by the right operand of the Constraint.
    Definition: A set-based operator indicating that a given value is contained by the right operand of the Constraint.
    Label: Is part of
    Identifier: http://www.w3.org/ns/odrl/2/isPartOf
    Class: Operator

    Is all of

    - +
    Definition: Indicating that a given value is all of the right operand of the Constraint.
    Definition: A set-based operator indicating that a given value is all of the right operand of the Constraint.
    Label: Is all of
    Identifier: http://www.w3.org/ns/odrl/2/isAllOf
    Class: Operator

    Is any of

    - +
    Definition: Indicating that a given value is any of the right operand of the Constraint.
    Definition: A set-based operator indicating that a given value is any of the right operand of the Constraint.
    Label: Is any of
    Identifier: http://www.w3.org/ns/odrl/2/isAnyOf
    Class: Operator

    Is none of

    - + @@ -705,7 +705,7 @@

    ODRL Common Vocabulary

    - +
    Definition: Indicating that a given value is none of the right operand of the Constraint.
    Definition: A set-based operator indicating that a given value is none of the right operand of the Constraint.
    Label: Is none of
    Identifier: http://www.w3.org/ns/odrl/2/isNoneOf
    Class: Operator
    Definition: A Policy that expresses a Rule over an Asset containing personal information.
    Label: Privacy Policy
    Identifier: http://www.w3.org/ns/odrl/2/Privacy
    Note: A Privacy Policy MUST contain a target Asset, a Party with Assigner is, a Party with Assignee function, and at least one of a Permission or Prohibition rule that MUST include a Duty. The target Asset SHOULD contain or relate to personal information about the Assignee. The Duty MUST describe obligations on the Assigner about managing the Asset. The Assignee is being granted the terms of the Privacy policy from the Assigner.
    Note: A Privacy Policy MUST contain a target Asset, a Party with Assigner is, a Party with Assignee function, and at least one of a Permission or Prohibition rule that MUST include a Duty. The target Asset SHOULD contain or relate to personal information about the Assignee. The Duty MUST describe obligations on the Assigner about managing the Asset. The Assignee is being granted the terms of the Privacy policy from the Assigner.
    Parent class: Policy
    Disjoint classes: Agreement, Assertion, Offer, Request, Set, Ticket
    @@ -819,7 +819,7 @@

    ODRL Common Vocabulary

    Definition: To accept that the use of the Asset may be tracked. Label: Accept Tracking Identifier: http://www.w3.org/ns/odrl/2/acceptTracking -Note: The collected information may be tracked by the Assigner, or may link to a Party with the role “trackingParty” function. +Note: The collected information may be tracked by the Assigner, or may link to a Party with the role 'trackingParty' function. Included In: use Class: Action @@ -841,7 +841,7 @@

    ODRL Common Vocabulary

    Definition: To anonymize all or parts of the Asset. Label: Anonymize Identifier: http://www.w3.org/ns/odrl/2/anonymize -Note: For example, to remove identifying particulars for statistical or for other comparable purposes, or to use the asset without stating the author/source. +Note: For example, to remove identifying particulars for statistical or for other comparable purposes, or to use the Asset without stating the author/source. Included In: use Class: Action @@ -1006,7 +1006,7 @@

    ODRL Common Vocabulary

    Definition: To inform that an action has been performed on or in relation to the Asset. Label: Inform Identifier: http://www.w3.org/ns/odrl/2/inform -Note: May link to a Party with the role “informedParty” function. +Note: May link to a Party with the role 'informedParty' function. Included In: use Class: Action @@ -1121,9 +1121,9 @@

    ODRL Common Vocabulary

    Included In: transfer Class: Action -

    Share ALike

    +

    Share Alike

    - + @@ -1164,7 +1164,7 @@

    ODRL Common Vocabulary

    - +
    Definition: Derivative works be licensed under the same terms or compatible terms as the original work.
    Label: Share ALike
    Label: Share Alike
    Identifier: http://creativecommons.org/ns#ShareAlike
    Note: This term is defined by Creative Commons.
    Included In: use
    Definition: To have a text Asset read out loud.
    Label: Text-to-speech
    Identifier: http://www.w3.org/ns/odrl/2/textToSpeech
    Note: If the action is to be performed to a wider audience than just the Assignees, then the Recipient constraint is recommended to be used.
    Note: If the action is to be performed to a wider audience than just the Assignees, then the recipient constraint is recommended to be used.
    Included In: use
    Class: Action
    @@ -1338,7 +1338,7 @@

    ODRL Common Vocabulary

    Definition: The party receiving the result/outcome. Label: Recipient Identifier: http://www.w3.org/ns/odrl/2/recipient -Note: Note: The Right Operand must identify one or more specific parties or category/ies of the party. +Note: Note: The Right Operand must identify one or more specific Parties or category/ies of the Party. Class: LeftOperand

    Relative Asset Position

    @@ -1800,7 +1800,7 @@

    Candidate Recommendation Exit Criteria