Importing AtomOwl in Protege

24 views
Skip to first unread message

atd

unread,
Oct 30, 2007, 12:42:55 PM10/30/07
to atom-owl
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)

Story Henry

unread,
Oct 30, 2007, 2:52:56 PM10/30/07
to atom...@googlegroups.com
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

> --~--~---------~--~----~------------~-------~--~----~
> You received this message because you are subscribed to the Google
> Groups "atom-owl" group.
> To post to this group, send email to atom...@googlegroups.com
> To unsubscribe from this group, send email to atom-owl-u...@googlegroups.com
> For more options, visit this group at http://groups.google.com/group/atom-owl?hl=en
> -~----------~----~----~----~------~----~------~--~---

Antonio Tapiador del Dujo

unread,
Jan 17, 2008, 10:35:42 AM1/17/08
to atom...@googlegroups.com
FYI: This was the answer to problems importing AtomOwl in Protege:

From: Tania Tudorache <tudo...@stanford.edu>
Date: 08-11-07 22:45

Antonio,

Protege cannot handle all OWL-Full ontologies. Certain things, such as
an entity being a class and a property at the same time, are not supported.

If you validate the two ontologies with the OWL Validator [1], you will
see that they are OWL Full and you will get many warnings, such as
untyped resources or properties being datatype and object properties at
the same time, etc. which are things not supported by Protege currently.

We are working on making Protege more flexible at dealing with these
issues, but certain things probably won't be ever supported by Protege 3.x.

Cheers,
Tania

Reply all
Reply to author
Forward
0 new messages