Skip to content

Commit

Permalink
Updated value of rightOp #208
Browse files Browse the repository at this point in the history
  • Loading branch information
riannella committed Jul 6, 2017
1 parent 5c84539 commit 8b13e42
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
6 changes: 3 additions & 3 deletions model/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -810,7 +810,7 @@ <h3>Atomic Constraint</h3>
<ul>
<li>An Atomic Constraint MUST have one <code>leftOperand</code> property for Left Operands.</li>
<li>An Atomic Constraint MUST have one <code>operator</code> property for (relational) Operators.</li>
<li>An Atomic Constraint MUST have either one <code>rightOperand</code> property for right operand literal values or one <code>rightOperandReference</code> property for an IRI [[!rfc3987]] reference to a right operand literal value.</li>
<li>An Atomic Constraint MUST have either one <code>rightOperand</code> property for right operand values (literal or IRI [[!rfc3987]]) or one <code>rightOperandReference</code> property for an IRI [[!rfc3987]] reference to a right operand value.</li>
<li>An Atomic Constraint MAY have none or one <code>dataType</code> property for the data type of the rightOperand/Reference.</li>
<li>An Atomic Constraint MAY have none or one <code>unit</code> property for the unit value of the rightOperand/Reference.</li>
<li>An Atomic Constraint MAY have none or one <code>status</code> property for the current value generated from the leftOperand action.</li>
Expand All @@ -821,10 +821,10 @@ <h3>Atomic Constraint</h3>

<p>The <code>operator</code> identifies the operation such as &#8220;greater than&#8221; or &#8220;equal to&#8221 between the left and right operands.</p>

<p>The <code>rightOperand</code> identifies the right operand of the logic expression. The <code>rightOperand</code> is the literal value of the Constraint that is to be compared to the <code>leftOperand</code>. The <code>rightOperandReference</code> represents an IRI that MUST be de-referenced first to obtain the actual literal value of the <code>rightOperand</code>. A <code>rightOperandReference</code> is used in cases where the value of the <code>rightOperand</code> MUST be obtained from dereferencing an IRI first. Only one of <code>rightOperand</code> or <code>rightOperandReference</code> MUST appear in the Atomic Constraint.</p>
<p>The <code>rightOperand</code> identifies the right operand of the logic expression. The <code>rightOperand</code> is the value (a literal or IRI) of the Constraint that is to be compared to the <code>leftOperand</code>. The <code>rightOperandReference</code> represents an IRI that MUST be de-referenced first to obtain the actual value of the <code>rightOperand</code>. A <code>rightOperandReference</code> is used in cases where the value of the <code>rightOperand</code> MUST be obtained from dereferencing an IRI first. Only one of <code>rightOperand</code> or <code>rightOperandReference</code> MUST appear in the Atomic Constraint.</p>

<p><blockquote>
The <code>rightOperand</code> represents a literal value and the <code>rightOperandReference</code> represents an IRI that must be de-referenced. If the <code>rightOperand</code> was <code>http://example.com/c100</code> then that is interpreted as the value to be compared in the expression. If the <code>rightOperandReference</code> was the same value of <code>http://example.com/c100</code>, then that IRI must be de-referenced first and the data returned must be interpreted as the value to be compared in the expression.
The <code>rightOperand</code> represents a value and the <code>rightOperandReference</code> represents an IRI that must be de-referenced to obtain the value. If the <code>rightOperand</code> was <code>http://example.com/c100</code> then that is interpreted as the value to be compared in the expression. If the <code>rightOperandReference</code> was the same value of <code>http://example.com/c100</code>, then that IRI must be de-referenced first and the data returned must be interpreted as the value to be compared in the expression.
</blockquote> </p>


Expand Down
7 changes: 4 additions & 3 deletions vocab/ODRL22.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -757,16 +757,17 @@ odrl:
a rdf:Property, owl:DataTypeProperty, skos:Concept ;
rdfs:isDefinedBy odrl: ;
rdfs:label "Has Right Operand"@en ;
skos:definition "The literal value of the right operand in a constraint expression."@en ;
skos:definition "The value of the right operand in a constraint expression."@en ;
skos:note "The value can be a literal or IRI."@en ;
# rdfs:range xsd:any ;
rdfs:domain :Constraint .

:rightOperandReference
a rdf:Property, skos:Concept ;
rdfs:isDefinedBy odrl: ;
rdfs:label "Has Right Operand Reference"@en ;
skos:definition "A reference to a web resource providing the literal value for the right operand of a Constraint."@en ;
skos:note "Is an IRI that MUST be dereferenced to obtain the actual right operand value"@en ;
skos:definition "A reference to a web resource providing the value for the right operand of a Constraint."@en ;
skos:note "An IRI that MUST be dereferenced to obtain the actual right operand value"@en ;
rdfs:domain :Constraint .

:leftOperand
Expand Down

0 comments on commit 8b13e42

Please sign in to comment.