solutions for semantic web (OWL ontologies, SPARQL, reasoning) and model driven development (metamodel, model design, model transformation, code generation)

Showing posts with label SWRL. Show all posts
Showing posts with label SWRL. Show all posts

Creating SWRL Rules with OWL Editor

| Monday, March 15, 2010
SWRL Rules could also be created with the OWL Editor. This Editor allows a graphical creation of Ontologies and their SWRL Rules.

Example:


The image shows an Example of a SWRL Rule in the OWL Editor. The Example is the Uncle Rule.

The Uncle Rule in the Syntax Protege is using looks like this:
Person(?x1), Person(?x2), Person(?x3), hasBrother(?x2, ?x3), hasParent(?x1, ?x2) -> Person(?x1), Person(?x3), hasUncle(?x1, ?x3)

For further information using the OWL Editor visit: http://twouse.googlecode.com/

Creating SWRL Rules with UML Class Diagram Profile for SWRL

| Thursday, March 11, 2010
Since it's already possible to create ontologies using the UML Profile for OWL , a new UML Profile for SWRL was developed to enhance ontologies with SWRL Rules. SWRL combines OWL (DL and Lite) and RuleML, so therefore the set of OWL Axioms will be extended to include Horn-like rules. It thus enables Horn-like rules to be combined with an OWL knowledge base, so that reasoning against those rules will be possible.

Example


This image depicts a sample UML diagram using the UML Profile for OWL .


This image depicts a sample UML diagram using both the UML Profile for OWL and UML Profile for SWRL .

This sample file is part of the offered examples when using the TwoUse Toolkit. More information on http://twouse.googlecode.com/