Hello,
i am working about inferences using Jena Generic Rule Engine. I would add an 
information to an individual property.
I have this:

<owl:NamedIndividual rdf:about="&data;applications-271066">
<rdf:type rdf:resource="&data;applications"/>
<data:app-nivhie rdf:datatype="&xsd;string">3</data:app-nivhie>
<data:appartient-a rdf:resource="&data;sous-systemes-258399"/>
<data:eap-cod rdf:datatype="&xsd;string">SAGEQI</data:eap-cod>
<data:eap-nom rdf:datatype="&xsd;string">Sage Quai de l'Image</data:eap-nom>
<data:eap-rspetu rdf:datatype="&xsd;string">ET NA</data:eap-rspetu>
<data:eap-rspprd rdf:datatype="&xsd;string">PF HEBERGEMENT</data:eap-rspprd>
<data:eap-typ rdf:datatype="&xsd;string">Progiciel</data:eap-typ>
<data:eap-typobj rdf:datatype="&xsd;string">Application</data:eap-typobj>
    </owl:NamedIndividual>

i would would say:if data:eap-nom = "SAGEQI" => add new 
attributedata:type="application" attr="NEW". I know how add the property 
data:type, but i don't know how add the information attr="NEW"

The rule is like this:
[règle101_CheckApplicationEstValide:
(?app rdf:type data:applications),
(?app data:eap-nom "SAGEQI"^^xsd:string)
->(?app data:type "application"^^xsd:string)
 add new information attr="NEW"]

Please, do you have idea?

Thank you.

Reply via email to