01.09.2014, 15:41, "Bernard Vatant" <bernard.vatant@mondeca.com>:
Operation is an one-argument function.
Precedences are objects which are known to be ordered in a certain order.
Having operations F1, ..., Fn I need to order them in the order of their precedences to apply to a variable X first the function Fi with the highest precedence, then Fj with the next highest precedence, etc.
The idea is simple.
2014-09-01 14:28 GMT+02:00 Victor Porton
<porton@narod.ru>:
01.09.2014, 10:07, "Hm Hrm" <unixprog@googlemail.com>:
> On 08/31/2014 06:43 PM, Victor Porton wrote:
>> Suppose P is a precedence of operation X. Should I write "X a P ." or
>> "X :precedence P ." (in Turtle format)?
>>
>> What are (dis)advantages of both variants?
>
> Assuming that the property should link instance P to instance X, both of
> class :Operation, then you should use "X :precedence P".
>
> "X a P", a shortcut for "X rdf:type P", would imply that P is an
> rdf:Class and X an instance of said class P. Extending the semantics of
> 'rdf:type' and using an instance as a class seems a bad idea.
P is a class (because I want rdf:subClassOf for properties.
But I yet doubt whether an operation should be an instance of precedence.
--
Victor Porton - http://portonvictor.org
--
Bernard Vatant
Vocabularies & Data Engineering
Tel :
+ 33 (0)9 71 48 84 59
Skype : bernard.vatant
--------------------------------------------------------
Mondeca
35 boulevard de Strasbourg 75010 Paris
Follow us on Twitter :
@mondecanews----------------------------------------------------------
--
Victor Porton - http://portonvictor.org