Re: [poe] Extended Relations

2. Extended relations used for constraints Currently, Constraints 
express mathematical terms with two operands and one operator. One of 
these operands is currently implicit (supposed to be a context 
property from the real life). I propose: (a) Creating a property 
called leftOperand which can be specified (or omitted) and (b) Adding 
the following individuals of Operation: AND, OR, NOT. If we want to 
declare before 2017 in Italy...:

`

        :c1 a odrl:Constraint ;

        odrl:operator odrl:lteq ;

        odrl:dateTime "2016-12-31"^^xsd:date.

        :c2 a odrl:Constraint ;

        odrl:operator odrl:eq ;

        odrl:spatial <http://www.geonames.org/countries/IT/>

`
We could now combine them:

`

         :c3 a odrl:Constraint ;

        odrl:operator odrl:AND ;

        odrl:rightOperand :c1;

        odrl:leftOperand :c2;

`

Or:

`

        :c3 a odrl:Constraint ;

        odrl:operator odrl:OR ;

        odrl:rightOperand :c1;

        odrl:leftOperand :c2;

`

Operators do not need to be binary, if we define a property called 
“operand” instead of “leftOperand” and “rightOperand”.


-- 
GitHub Notification of comment by vroddon
Please view or discuss this issue at 
https://github.com/w3c/poe/issues/63#issuecomment-261247997 using your
 GitHub account

Received on Thursday, 17 November 2016 13:37:26 UTC