Tuesday, September 09, 2008

SWRL (Semantic Web Rule Language) and Protege

SWRL is a Semantic Web Rule Language Combining OWL and RuleML - http://www.w3.org/Submission/2004/SUBM-SWRL-20040521/.

So far in creating ontologies for modelling for my thesis, if-then-else structures were edited using simplified english language. Elenius et al. explain that Protege now supports SWRL. This makes it possible to use SWRL expressions within Protege. So if-then-else and other control structures could be specified using SWRL. Protege provides an expression builder for this purpose. This also opens up the possibility of translating between an english representation of such structures and an SWRL structure or vice versa, so would be useful future research.

Protege support for SWRL is through the SWRLTab, and has been available since 2004 - http://protege.cim3.net/cgi-bin/wiki.pl?SWRLTab.

This paper by Elenius et al. is available online - The OWL-S Editor - A Development Tool for Semantic Web Services - http://owlseditor.semwebcentral.org/documents/paper.pdf - Daniel Elenius, Grit Denker, David Martin, Fred Gilham, John Khouri, Shahin Sadaati, and Rukman Senanayake - SRI International, Menlo Park, California, USA.

This is the relevant paragraph - Refering to their own research - "One aspect of OWL-S services not covered in this paper is the editing of preconditions and effects of processes, and conditions associated with control constructs such as If-Then-Else. In OWL-S, these are normally described in the SWRL language. Currently, we simply provide a text box where users can enter these SWRL expressions. However, we plan to provide more user-friendly editing capabilities. Protege has recently" ... (2004)... "been enhanced with native support for SWRL, including a SWRL expression-builder, which will serve as the basis of this work."

One possible application of this would be using OWL-S, and UML type diagrams to produce interoperable process models diagrammatically.

More information on OWL is at http://www.cems.uwe.ac.uk/amrc/seeds/PeterHale/RDF/RDF.htm#OWL.

More information on SWRL is at http://www.cems.uwe.ac.uk/amrc/seeds/PeterHale/RDF/RDF.htm#SWRLRuleML

The Protege homepage is - http://protege.stanford.edu/.

8 comments:

Marcus L Endicott said...

Peter,

Good day from Sydney! Like many people these days, I'm struggling to understand semantic web technologies. I've been struck by the conspicuous absence of really basic ABC type *interactive* demos on the web in particular for school children.... Are there any even abbreviated semantic web services available online? Protege, Pellet, etc seem only available for the desktop.... It would be nice to have even a "toy" Web 2.0 like system for illustrating the basic concepts interactively; what are the barriers to doing something like this? I have yet to see many examples of transparent, practical applications.... I would personally like to learn how to do something super practical like process web feeds using a basic ontology. Any thoughts along these lines would be much appreciated!

Cheers from Oz,

- Marcus Endicott
http://www.mendicott.com

Unknown said...

Marcus

I think you are right that there is a lack of basic interactive Semantic Web Demos. It would be important to provide an environment for producing such demos from a desktop based application for the web. There are plenty of Web 2.0 style tutorials and explanations. So it would be good to be able to produce similar demos from a semantic web server based system. I try to do this but the demos aren't as easy to produce or interactive as could be possible.

Some of the applications being produced for providing a web interface to ontologies, and creation of web based applications and services are being deployed within companies/organisations. This makes them less visible to the general public.

I like Yahoo Pipes http://pipes.yahoo.com/pipes/ for a demonstration of diagrammatic programming for a practical application of sorting and combining RSS Feeds, and there are tutorials available on this. Linking of such tools to an ontology that could provide the RSS Feeds based on user requirements would be very useful. There would be many practical applications for such a system.

Perhaps this could be combined with the kind of translation between AIML, RSS, OWL that you mention in your blog http://www.mendicott.com/2007/12/im-dreaming-of-rss-in-aiml-out.html, http://www.mendicott.com/2007/12/aiml-owl.html, and if this was combined with explantions on how to achieve small tasks with this system it would make for a good tutorial.

Cheers,

Peter

Anonymous said...

The statement 'Protege has recently been enhanced with native support for SWRL' is somewhat innaccurate. This functionality has been available since 2004. cf. http://protege.cim3.net/cgi-bin/wiki.pl?SWRLTab

Martin O'Connor

Unknown said...

Martin

I've edited the post to make this SWRL availability in 2004 more obvious and clear. I hope it better represents this now.

Peter

Freelance Logo Designer India said...

Its highly informative. I would be visiting your blog hereafter regularly to gather valuable information.

Feelance Web Design Portfolio India

web development company said...

Great post and very well written, that will really help you to learn Web Design, web development and SEO Strategies to help businesses web design company . You can find out many useful information about web design, seo and his work by visiting his blog and I Just wanna say thanks you for the information you have shared. Web Design Company India

Web Developers Chennai said...

We are one of the Leading Web Design Company in chennai,our services are web design,web hosting,email marketing,seo chennai etc.your blogger looking so good ..please add my details to your blogger,it is very use ful for us thanks...

professional logo designchennai said...

Newbrandmedia is unique because we organize online campaigns that transcend the web and enter the offline world so as to generate leads and sales for our clients. We value each client and ensure the best for each of them.