W3C home > Mailing lists > Public > public-esw-thes@w3.org > May 2006

Re: How to mix SKOS and OWL? And Protege bug

From: Alistair Miles <a.j.miles@rl.ac.uk>
Date: Mon, 15 May 2006 16:43:55 +0100
Message-ID: <4468A1BB.2010809@rl.ac.uk>
To: public-esw-thes@w3.org

Hi John,

The best guidance currently available on how to mix SKOS and OWL is the
section "Hybrid SKOS/OWL Ontologies" in a draft on how to extend SKOS, see:

http://isegserv.itd.rl.ac.uk/public/skos/drafts/appextensions.html#hHybrid

Note that this draft has no formal status, it's something I prepared for
discussion.

If you want to import SKOS Core into an OWL ontology using Protege or
SWOOP, you have to use the *highly experimental* pure OWL-DL version of
SKOS Core, which you can get from:

http://www.w3.org/2004/02/skos/core/owl-dl/skos-core-owl-dl.owl

... note that this pure OWL-DL version has *absolutely no status
whatsoever* and may change or disappear completely at any point in time,
and I cannot guarantee that it will work with the latest OWL plugin for
protege, or with SWOOP.

If you have any thoughts on how best to model SKOS Core in OWL, feel
free to make suggestions.

The current RDF(S) description of SKOS Core (which is what you get if
you dereference the SKOS Core namespace URI) doesn't import into protege
properly because several properties are declared to be sub-properties of
rdfs:label, and protege doesn't show these (although it doesn't remove
them from the model). It doesn't import into SWOOP because SWOOP is OWL
only (at least it was last time I looked).

Best I can do for now.

Cheers,

Al.

John M. Linebarger wrote:
> We're just getting our feet wet in the Semantic Web and we want to 
> develop an ontology that has both OWL and SKOS facets.  But are there 
> any examples out there on how to mix the two in the same ontology?
>  
> And I'm having a devil of a time getting the latest version of 
> skos-core.rdf to even import into Protege.  Here's what I encounter; is 
> this Protege's problem or yours?  What ontology editors do you use?  If 
> I can't bring SKOS into my ontology editor I can't use it ...
>  
> Thanks!  Enjoy!
>  
> John M. Linebarger, PhD
> Sandia National Laboratories
> Albuquerque, New Mexico, USA
>  
> -------------------------------------------------------------
>  
> [ProtegeOWLParser] Warning: No default namespace found in file.  Will 
> use http:
> /www.w3.org/2004/02/skos/core
> [ProtegeOWLParser] Completed triple loading after 391 ms
> [ProtegeOWLParser] Warning: Trying to add import for external resource: 
> http://
> mlns.com/foaf/0.1/
> [ProtegeOWLParser] Importing http://xmlns.com/foaf/0.1/ (from 
> http://xmlns.com/
> oaf/0.1/ [actual ontology at this location: null])
> [ProtegeOWLParser] Warning: Trying to add import for external resource: 
> http://
> url.org/dc/elements/1.1/
> [ProtegeOWLParser] Importing http://purl.org/dc/elements/1.1/ (from 
> Redirect to
> http://protege.stanford.edu/plugins/owl/dc/protege-dc.owl)
> [ProtegeOWLParser] Warning: Ignoring namespace prefix "dcterms" for 
> existing pr
> fix "dct"
> [TripleChangePost! Process or] Completed lists after 0 ms
> [TripleChangePostProcessor] Completed anonymous classes after 0 ms
> [TripleChangePostProcessor] Completed deprecated classes after 0 ms
> [TripleChangePostProcessor] Completed properties after 63 ms
> [TripleChangePostProcessor] Completed named classes after 0 ms
> ... Loading completed after 2516 ms
> WARNING: java.lang.ClassCastException: 
> edu.stanford.smi.protegex.owl.model.impl
> DefaultRDFProperty
>         at 
> edu.stanford.smi.protegex.owl.ui.properties.OWLObjectPropertySubprop
> rtyRoot.getTopLevelObjectProperties(Unknown Source)
>         at 
> edu.stanford.smi.protegex.owl.ui.properties.OWLObjectPropertySubprop
> rtyRoot.<init>(Unknown Source)
>         at 
> edu.stanford.smi.protegex.owl.ui.properties.OWLObjectPropertySubprop
> rtyPane.createRoot(Unknown Source)
>         at edu.sta! nford.s 
> mi.protegex.owl.ui.properties.OWLSubpropertyPane.<init
> (Unknown Source)

-- 
Alistair Miles
Research Associate
CCLRC - Rutherford Appleton Laboratory
Building R1 Room 1.60
Fermi Avenue
Chilton
Didcot
Oxfordshire OX11 0QX
United Kingdom
Web: http://purl.org/net/aliman
Email: a.j.miles@rl.ac.uk
Tel: +44 (0)1235 445440


-- 
Alistair Miles
Research Associate
CCLRC - Rutherford Appleton Laboratory
Building R1 Room 1.60
Fermi Avenue
Chilton
Didcot
Oxfordshire OX11 0QX
United Kingdom
Web: http://purl.org/net/aliman
Email: a.j.miles@rl.ac.uk
Tel: +44 (0)1235 445440
Received on Monday, 15 May 2006 15:44:16 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:38:54 GMT