Search Mailing List Archives

Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort
Limit to: All This Week Last Week This Month Last Month
Select Date Range     through    

[protege-owl] ClassCastException when importing an ontology Protege 3.3

Timothy Redmond tredmond at
Tue Aug 21 15:52:24 PDT 2007

Protege OWL has some trouble with OWL Full constructs.  In particular  
it does not like missing declarations.  Usually - as in this case -  
these missing declarations are problems with the ontology and should  
be fixed.  They often result in ontologies that are OWL full when  
they should be OWL dl.  These kinds of problems can be detected with  
an OWL validator such as

In this case the first problem that Protege hits is the URI

(note the #).    This URI is not declared in the ontology or its  
imports.  It seems most likely that this URI is supposed to be a  
property and indeed that it is supposed to be the property given by  
the URI

And so Protege gets into trouble when it tries to find the super  
properties of

because  one of the claimed super properties ( 
0.1/#event) is not known to be a property.


On Aug 21, 2007, at 2:03 PM, malena wrote:

> Hi,
> When I try to import the ontology (and  
> this is
> not the only one I had this problem with) I get the following
> ClassCastExceptionError.
> Has anyone had this problem, and is it fixable ?
> Error message,
> java.lang.ClassCastException:
> edu.stanford.smi.protegex.owl.model.impl.DefaultRDFUntypedResource ca
> not be cast to edu.stanford.smi.protege.model.Slot
>         at
> edu.stanford.smi.protege.model.framestore.SimpleFrameStore.addInherite 
> dSuperslotValues(U
> known Source)
> thanks
> -malena
> -- 
> View this message in context: 
> ClassCastException-when-importing-an-ontology-Protege-3.3- 
> tf4307477.html#a12262182
> Sent from the Protege - OWL mailing list archive at
> _______________________________________________
> protege-owl mailing list
> protege-owl at
> Instructions for unsubscribing: 
> faq.html#01a.03

More information about the protege-owl mailing list