Thursday, May 10, 2012

writing SWRL rules on protege 4.1 and running on pellet reasoner

1. install the

Pellet Reasoner Plug-in for Protégé 4

  1. Select “File | Preferences”.
  2. Select “Plugins” tab.
  3. Click the “Check for downloads now” button under the “Plugin registry” heading.
  4. Scroll down the “Downloads” list to find “Pellet Reasoner Plug-in” and select the checkbox next to it (See the screen shot below).
  5. If you agree with the licensing terms click “Install”.
  6. When you see the “Updates will take effect next time Protege starts” message, restart Protégé.
2. go to the "window"->views->ontology views->rules
then you can define you SWRL rules in the rule tab.


1 comment:

  1. when I try to write the following rule, it wont allow, Encountered swrlb:greaterThan.....


    Patient(?p), hasAge(?p,?age),swrlb:greaterThan(?age, 65) -> lateOldAge(?p)

    ReplyDelete