01.09.2014, 15:41, "Bernard Vatant" <bernard.vatant@mondeca.com>:
Victor

It will be easier to answer your question if you provid some explanation of what "operation" and "precedence" mean in your context.
Otherwise, they can mean many things ...
http://lov.okfn.org/dataset/lov/search/#s=operation
http://lov.okfn.org/dataset/lov/search/#s=precedence
š
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
š