Hello,
i am working about inferences on Jena. I would test that a property is a 
particular string. I have an ontology about servers, an individuals like this:

<owl:NamedIndividualrdf:about="&data;serveur-106216"><heberge 
rdf:resource="&data;applications-105049"/><rdf:type 
rdf:resource="&data;serveur"/><identifiant-reseau 
rdf:datatype="&xsd;string">SRVLINMAGZ06</identifiant-reseau><status 
rdf:datatype="&xsd;string">Enservice</status><svr-numero-serie 
rdf:datatype="&xsd;string">-</svr-numero-serie></owl:NamedIndividual>
i would add a new information (new property) to the servers that have a property

identifiant-reseau="POLO"
so, for this i have written a Jena rule like this:

[rule:(?S rdf:type data:serveur),(?S data:identifiant-reseau "POLO")->(?S 
data:newproperty "TEST")]
But obviously, the test (?S data:identifiant-reseau "POLO")  don't work. 
Please, Have you an idea?
Thank you.

Reply via email to