You may want to ask the Protege folks. I always have trouble with it
when importing other ontologies out in the wild.
If you find the answer please post it to the list.
Henry
Home page: http://bblfish.net/
Sun Blog: http://blogs.sun.com/bblfish/
Foaf name: http://bblfish.net/people/henry/card#me
On 30 Oct 2007, at 17:42, atd wrote:
> Hello,
> I'm trying to import AtomOwl in Protege without success. Can anybody
> help me? Or maybe this is a Protege issue...
> Here you have the trace:
> INFO: Loading triples
> INFO: Start processing ontology: http://bblfish.net/work/atom-owl/2006-06-06/AtomOwl.rdf
> Time: Tue Oct 30 17:31:58 GMT+01:00 2007
> INFO: [ProtegeOWLParser] Importing http://purl.org/dc/elements/1.1/
> (from Redirect to http://protege.stanford.edu/plugins/owl/dc/protege-dc.owl)
> INFO: [ProtegeOWLParser] Importing http://www.w3.org/2004/02/skos/core/owl-dl/skos-core-owl-dl.owl
> (from http://www.w3.org/2004/02/skos/core/owl-dl/skos-core-owl-dl.owl
> [actual ontology at this location: http://www.w3.org/2004/02/skos/
> core])
> INFO: [ProtegeOWLParser] Importing http://xmlns.com/foaf/0.1/index.rdf
> INFO: [ProtegeOWLParser] Completed triple loading after 3570 ms
> INFO: [TripleChangePostProcessor] Completed lists after 0 ms
> INFO: [TripleChangePostProcessor] Completed anonymous classes after 3
> ms
> INFO: [TripleChangePostProcessor] Completed deprecated classes after 2
> ms
> java.lang.ClassCastException:
> edu.stanford.smi.protegex.owl.model.impl.DefaultRDFUntypedResource
> cannot be cast to edu.stanford.smi.protege.model.Cls
> at
> edu
> .stanford
> .smi
> .protegex
> .owl
> .model
> .triplestore.impl.RDFPropertyPostProcessor.updateDirectDomain(Unknown
> Source)
> at
> edu
> .stanford
> .smi
> .protegex
> .owl.model.triplestore.impl.RDFPropertyPostProcessor.<init>(Unknown
> Source)
> at
> edu
> .stanford
> .smi
> .protegex
> .owl
> .model.triplestore.impl.TripleChangePostProcessor.postProcess(Unknown
> Source)
> at
> edu
> .stanford
> .smi
> .protegex
> .owl
> .model
> .triplestore
> .impl.AbstractTripleStoreModel.endTripleStoreChanges(Unknown
> Source)
> at
> edu
> .stanford
> .smi.protegex.owl.jena.parser.ProtegeOWLParser.loadTriples(Unknown
> Source)
> at
> edu
> .stanford
> .smi.protegex.owl.jena.parser.ProtegeOWLParser.addImport(Unknown
> Source)
> at
> edu
> .stanford
> .smi.protegex.owl.jena.parser.ProtegeOWLParser.addImport(Unknown
> Source)
> at
> edu
> .stanford
> .smi.protegex.owl.model.util.ImportHelper.importOntologies(Unknown
> Source)
> at
> edu
> .stanford
> .smi.protegex.owl.model.util.ImportHelper.importOntologies(Unknown
> Source)
> at
> edu
> .stanford
> .smi.protegex.owl.ui.importstree.ImportsTreePanel.addImport(Unknown
> Source)
> at
> edu.stanford.smi.protegex.owl.ui.importstree.ImportsTreePanel.access
> $100(Unknown Source)
> at
> edu.stanford.smi.protegex.owl.ui.importstree.ImportsTreePanel
> $2.actionPerformed(Unknown Source)
> at
> javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:
> 1995)
> at javax.swing.AbstractButton
> $Handler.actionPerformed(AbstractButton.java:2318)
> at
> javax
> .swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:
> 387)
> at
> javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
> at
> javax
> .swing
> .plaf
> .basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:
> 236)
> at
> java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:
> 272)
> at java.awt.Component.processMouseEvent(Component.java:6038)
> at javax.swing.JComponent.processMouseEvent(JComponent.java:
> 3260)
> at java.awt.Component.processEvent(Component.java:5803)
> at java.awt.Container.processEvent(Container.java:2058)
> at java.awt.Component.dispatchEventImpl(Component.java:4410)
> at java.awt.Container.dispatchEventImpl(Container.java:2116)
> at java.awt.Component.dispatchEvent(Component.java:4240)
> at
> java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
> at
> java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
> at java.awt.LightweightDispatcher.dispatchEvent(Container.java:
> 3916)
> at java.awt.Container.dispatchEventImpl(Container.java:2102)
> at java.awt.Window.dispatchEventImpl(Window.java:2429)
> at java.awt.Component.dispatchEvent(Component.java:4240)
> at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
> at
> java
> .awt
> .EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:
> 273)
> at
> java
> .awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:
> 183)
> at
> java
> .awt
> .EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:
> 173)
> at
> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
> at
> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
> at java.awt.EventDispatchThread.run(EventDispatchThread.java:
> 121)
> --~--~---------~--~----~------------~-------~--~----~
> You received this message because you are subscribed to the Google
> Groups "atom-owl" group.
> To post to this group, send email to atom-owl@googlegroups.com
> To unsubscribe from this group, send email to atom-owl-unsubscribe@googlegroups.com
> For more options, visit this group at http://groups.google.com/group/atom-owl?hl=en
> -~----------~----~----~----~------~----~------~--~---