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

malena malena.mesarina at hp.com
Wed Aug 22 07:57:52 PDT 2007


Thanks Timothy , I understand now.
And thank you for the validator Link.

-malena




Timothy Redmond wrote:
> 
> 
> 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 http://www.mygrid.org.uk/OWL/Validator.
> 
> In this case the first problem that Protege hits is the URI
> 
> 	http://vocab.org/bio/0.1/#event
> 
> (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
> 
> 	http://purl.org/vocab/bio/0.1/event
> 
> And so Protege gets into trouble when it tries to find the super  
> properties of
> 
> 	http://purl.org/ontology/mo/engineered
> 
> because  one of the claimed super properties (http://vocab.org/bio/ 
> 0.1/#event) is not known to be a property.
> 
> -Timothy
> 
> 
> On Aug 21, 2007, at 2:03 PM, malena wrote:
> 
>>
>> Hi,
>>
>> When I try to import the ontology http://purl.org/ontology/mo/ (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: http://www.nabble.com/ 
>> ClassCastException-when-importing-an-ontology-Protege-3.3- 
>> tf4307477.html#a12262182
>> Sent from the Protege - OWL mailing list archive at Nabble.com.
>>
>> _______________________________________________
>> protege-owl mailing list
>> protege-owl at lists.stanford.edu
>> https://mailman.stanford.edu/mailman/listinfo/protege-owl
>>
>> Instructions for unsubscribing: http://protege.stanford.edu/doc/ 
>> faq.html#01a.03
> 
> _______________________________________________
> protege-owl mailing list
> protege-owl at lists.stanford.edu
> https://mailman.stanford.edu/mailman/listinfo/protege-owl
> 
> Instructions for unsubscribing:
> http://protege.stanford.edu/doc/faq.html#01a.03 
> 
> 

-- 
View this message in context: http://www.nabble.com/ClassCastException-when-importing-an-ontology-Protege-3.3-tf4307477.html#a12276437
Sent from the Protege - OWL mailing list archive at Nabble.com.




More information about the protege-owl mailing list