javasemantic-webontologyprotegejess

Is it possible to update an instance in an ontology (.pprj extension) with JESS in Java?


My ontology was done with Protégé and has been saved as a Protégé project (.pprj).

I am developing a Java application that should update an instance,which is a date.

Can you tell me how I proceed?

Thank you.


Solution

  • (In case someone needs an answer)

    It is totally possible to update the facts .pprj withJESS(using JessTab). The function is slot-set. It goes like:

    (slot-set X Y Z)

    WithXbeing the name of the instance (In a class Person, it can be Maria for example),Ythe slot you want to update (age for example) andZthe new value that you want to affect theYslot ("21" for example).