Code Monkey home page Code Monkey logo

rowl's Introduction

Protege 5.0+ Plugin for Rule to OWL Axiom Conversion

For details please visit https://daselab.cs.ksu.edu/content/modeling-owl-rules

Installation

  1. Click Check for plugins from File Menu

  2. You will a see list of plugin.



  3. Select ROWL: SWRL Rule to OWL Axiom Converter and Click Install

  4. 	<img src="https://github.com/md-k-sarker/ROWL/blob/master/plugin/doc/screenshot/InstallROWL.png"></img>
    

How to activate Plugin

  1. Start Protege

  2. Select ROWL Tab from Window -> Tabs -> ROWL

    Alt Click on ROWLTab to Select

  3. Start Using OWLAx Plugin

How to Use

Create New Rule

  1. Write SWRL Rule
  2. Click on Convert to OWL Axiom Button
  3. If the rule is convertible to OWL Axiom the it will show the generated axioms
  4. Select those(or single) axioms to Ontology and click Integrate Button
  5. The Axioms will be integrated with Ontology
  6. The Rule will also be saved in the Ontology as annotation.
  7. If the rule is not convertible to OWL Axiom then it gives the facility to switch to SWRLTab Plugin with this rule.

Edit Existing Rule

  1. Select a rule from the Table.
  2. Click on Edit
  3. Then the rule will appear in rule edit field and user can modify the rule.

Delete Existing Rule

  1. Select a rule from the Table.
  2. Click on Delete
  3. Then the rule will be deleted.

Create New OWLEntity

If an atom not found in the active Ontology then user can create new OWLEntity on the fly

  1. Right Click to see the possible suggestion to create OWL Entity

    Alt Right Click to see the possible suggestion

  2. Click on the popup menu to create new OWL Entity

Capabilities of ROWL

  1. Gives user way to enter OWL axioms by writing rules rather than creating axioms in protege.
  2. If a rule is successfully converted to OWL Axiom User will get the option to choose which axioms he want to integrate.
  3. If a rule is not successfully converted to OWL Axiom it gives the option to switch to SWRL tab(Existing to SWRLTab Plugin)
  4. It can save and reload the rules(Which rules is converted to OWL Axioms and at-least 1 axiom is integrated with ontology from that rule.
  5. It checks syntax of the rule. It supports SWRL Rule Syntax.
  6. It can create new OWL Entity on the fly. That means user can create new OWL Entity like Class, ObjectProperty etc from this plugin.

Current Limitations:

  • It checks the syntax of the rule, not semantics. It is possible to insert meaningless rule which is syntactically correct.
  • It doesn't support DataLog Syntax.

Acknowledgement

This work was supported by the National Science Foundation under award 1017225 III: Small: TROn – Tractable Reasoning with Ontologies.

rowl's People

Contributors

md-k-sarker avatar mdzamansarker avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

mosfet80

rowl's Issues

Unexpected character ''' when parsing SWRL Rule Text

When entering "Rule Text" into the "ROWL" sub-tab of the "ROWLTab" tab in Protégé, making reference to an Object Property having spaces in the label generates the "Status" string " Unexpected character ''' ." When this happens the "Convert to OWL Axiom" button is dimmed out. However, when writing the Rule Text, entering a single quote and a few characters followed by the Tab key triggers auto-completion of the term. This seems to indicate that the single quote notation is correct for making reference to entities having white space in their identifiers. Due to this issue, it is not possible to use entities having white space in their name within the SWRL rules.

Test System:
Plugin: ROWL Protege 5.0+ Plugin (1.6.0)
Protege Desktop Version 5.2.0, Build
Java: JVM 1.8.0_40-b26
Framework: Apache Software Foundation (1.7)
OS: linux (3.10.0-693.21.1.el7.x86_64)

[Enhancement] Produce OWL 2 RL

It seems that ROWL will convert from SWRL to OWL 2 but it is not clear if the resulting OWL will comply with one or another of the OWL 2 Profiles. It would be a nice feature to ensure that the resulting OWL statements are optionally compliant with OWL 2 RL when possible or at least to generate a warning that the OWL is not OWL 2 RL compliant.

Tab not changing

When rule is not convertible to axiom it shows options to switch SWRL but after clicking to switch it remains the same tab.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.