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] Import ontology in Protégé 3.4 - Bug

Brice Sommacal brice.sommacal at gmail.com
Mon Mar 16 04:04:04 PDT 2009


Hello,

For those who have got the similar problem, it was a conflict with the
rdf:nodeID (in the YourOntology_rdf-owl.rdf-xml.owl) generated by protégé.

Just be aware to verify the rdf:nodeID from the ontology you are working on
before importing one wich could have the same nodeID!

Regards,

Brice


2009/3/13 Brice Sommacal <brice.sommacal at gmail.com>

> Hi everyone,
>
> I've got a weird thing when I import an ontology  in another ontology in
> Protégé 3.4.
>
> Some random properties from my imported ontology  are set in  some random
> classes as "object property" with random restriction.
> So, when i want to create new instances, because of the randoms
> restrictions, I can't select what I would like to.
>
> Even worth, some imported properties take automatically a domain value of
> another property existing!
>
> Plus, I lost one property (this slot was a ComboBoxWidget on my form)  for
> a specific class. But I think it's linked to an other problem. Please, have
> a look at the following error from my console:
>
> Postprocess: Domain and range of properties...  --
> TriplePostProcessor.processDomainAndRange()
> 2009.03.13 16:38:00.622 CET WARNING: Could not get operands for
> DefaultOWLUnionClass(@UA21_26f9729f_2e66_4add_8581_4fd46b3dca59) --
> java.lang.ClassCastException:
> edu.stanford.smi.protegex.owl.model.impl.DefaultOWLCardinality cannot be
> cast to edu.stanford.smi.protegex.owl.model.RDFList
>     at
> edu.stanford.smi.protegex.owl.model.impl.AbstractOWLNAryLogicalClass$GetOperandsJob.run(Unknown
> Source)
>     at edu.stanford.smi.protege.util.ProtegeJob.execute(Unknown Source)
>     at
> edu.stanford.smi.protegex.owl.model.impl.AbstractOWLNAryLogicalClass.getOperands(Unknown
> Source)
>     at
> edu.stanford.smi.protegex.owl.model.framestore.DomainUpdateFrameStore.updateSlotDomain(Unknown
> Source)
>     at
> edu.stanford.smi.protegex.owl.model.framestore.DomainUpdateFrameStore.synchronizeRDFSDomainWithProtegeDomain(Unknown
> Source)
>     at
> edu.stanford.smi.protegex.owl.jena.parser.TriplePostProcessor.processDomainAndRange(Unknown
> Source)
>     at
> edu.stanford.smi.protegex.owl.jena.parser.TriplePostProcessor.processDomainAndRange(Unknown
> Source)
>     at
> edu.stanford.smi.protegex.owl.jena.parser.TriplePostProcessor.doPostProcessing(Unknown
> Source)
>     at
> edu.stanford.smi.protegex.owl.jena.parser.TripleProcessor.doPostProcessing(Unknown
> Source)
>     at
> edu.stanford.smi.protegex.owl.jena.parser.ProtegeOWLParser.doFinalPostProcessing(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(Unknown Source)
>     at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
>     at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
>     at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
>     at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown
> Source)
>     at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
>     at java.awt.Component.processMouseEvent(Unknown Source)
>     at javax.swing.JComponent.processMouseEvent(Unknown Source)
>     at java.awt.Component.processEvent(Unknown Source)
>     at java.awt.Container.processEvent(Unknown Source)
>     at java.awt.Component.dispatchEventImpl(Unknown Source)
>     at java.awt.Container.dispatchEventImpl(Unknown Source)
>     at java.awt.Component.dispatchEvent(Unknown Source)
>     at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
>     at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
>     at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
>     at java.awt.Container.dispatchEventImpl(Unknown Source)
>     at java.awt.Window.dispatchEventImpl(Unknown Source)
>     at java.awt.Component.dispatchEvent(Unknown Source)
>     at java.awt.EventQueue.dispatchEvent(Unknown Source)
>     at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
>     at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
>     at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
>     at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
>     at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
>     at java.awt.EventDispatchThread.run(Unknown Source)
>
> 2009.03.13 16:38:01.216 CET WARNING: Could not get operands for
> DefaultOWLUnionClass(@UA21_26f9729f_2e66_4add_8581_4fd46b3dca59) --
> java.lang.ClassCastException:
> edu.stanford.smi.protegex.owl.model.impl.DefaultOWLCardinality cannot be
> cast to edu.stanford.smi.protegex.owl.model.RDFList
>     at
> edu.stanford.smi.protegex.owl.model.impl.AbstractOWLNAryLogicalClass$GetOperandsJob.run(Unknown
> Source)
>     at edu.stanford.smi.protege.util.ProtegeJob.execute(Unknown Source)
>     at
> edu.stanford.smi.protegex.owl.model.impl.AbstractOWLNAryLogicalClass.getOperands(Unknown
> Source)
>     at
> edu.stanford.smi.protegex.owl.model.classdisplay.AbstractOWLClassDisplay.getDisplayTextOfOWLNAryLogicalClass(Unknown
> Source)
>     at
> edu.stanford.smi.protegex.owl.model.classdisplay.AbstractOWLClassDisplay.getDisplayText(Unknown
> Source)
>     at
> edu.stanford.smi.protegex.owl.model.impl.AbstractOWLAnonymousClass.getBrowserText(Unknown
> Source)
>     at
> edu.stanford.smi.protege.model.framestore.undo.AbstractCommand.getText(Unknown
> Source)
>     at
> edu.stanford.smi.protege.model.framestore.undo.RemoveDirectTemplateSlotCommand.<init>(Unknown
> Source)
>     at
> edu.stanford.smi.protege.model.framestore.undo.UndoFrameStore.removeDirectTemplateSlot(Unknown
> Source)
>     at
> edu.stanford.smi.protege.model.framestore.ArgumentCheckingFrameStore.removeDirectTemplateSlot(Unknown
> Source)
>     at
> edu.stanford.smi.protege.model.framestore.ChangeMonitorFrameStore.removeDirectTemplateSlot(Unknown
> Source)
>     at
> edu.stanford.smi.protege.model.framestore.cleandispatch.DirectDomainDispatch.removeValue(Unknown
> Source)
>     at
> edu.stanford.smi.protege.model.framestore.cleandispatch.AbstractRedirectingDispatch.removeValues(Unknown
> Source)
>     at
> edu.stanford.smi.protege.model.framestore.cleandispatch.AbstractRedirectingDispatch.setDirectOwnSlotValues(Unknown
> Source)
>     at
> edu.stanford.smi.protege.model.framestore.cleandispatch.CleanDispatchFrameStore.setDirectOwnSlotValues(Unknown
> Source)
>     at
> edu.stanford.smi.protege.model.framestore.FrameStoreAdapter.setDirectOwnSlotValues(Unknown
> Source)
>     at
> edu.stanford.smi.protege.model.framestore.FrameStoreAdapter.setDirectOwnSlotValues(Unknown
> Source)
>     at
> edu.stanford.smi.protege.model.framestore.FrameStoreAdapter.setDirectOwnSlotValues(Unknown
> Source)
>     at
> edu.stanford.smi.protegex.owl.model.framestore.TypeUpdateFrameStore.setDirectOwnSlotValues(Unknown
> Source)
>     at
> edu.stanford.smi.protege.model.framestore.FrameStoreAdapter.setDirectOwnSlotValues(Unknown
> Source)
>     at
> edu.stanford.smi.protege.model.framestore.FrameStoreAdapter.setDirectOwnSlotValues(Unknown
> Source)
>     at
> edu.stanford.smi.protegex.owl.model.framestore.RangeUpdateFrameStore.setDirectOwnSlotValues(Unknown
> Source)
>     at
> edu.stanford.smi.protege.model.framestore.FrameStoreAdapter.setDirectOwnSlotValues(Unknown
> Source)
>     at
> edu.stanford.smi.protege.model.framestore.FrameStoreAdapter.setDirectOwnSlotValues(Unknown
> Source)
>     at
> edu.stanford.smi.protegex.owl.model.framestore.DomainUpdateFrameStore.updateSlotDomain(Unknown
> Source)
>     at
> edu.stanford.smi.protegex.owl.model.framestore.DomainUpdateFrameStore.synchronizeRDFSDomainWithProtegeDomain(Unknown
> Source)
>     at
> edu.stanford.smi.protegex.owl.jena.parser.TriplePostProcessor.processDomainAndRange(Unknown
> Source)
>     at
> edu.stanford.smi.protegex.owl.jena.parser.TriplePostProcessor.processDomainAndRange(Unknown
> Source)
>     at
> edu.stanford.smi.protegex.owl.jena.parser.TriplePostProcessor.doPostProcessing(Unknown
> Source)
>     at
> edu.stanford.smi.protegex.owl.jena.parser.TripleProcessor.doPostProcessing(Unknown
> Source)
>     at
> edu.stanford.smi.protegex.owl.jena.parser.ProtegeOWLParser.doFinalPostProcessing(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(Unknown Source)
>     at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
>     at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
>     at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
>     at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown
> Source)
>     at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
>     at java.awt.Component.processMouseEvent(Unknown Source)
>     at javax.swing.JComponent.processMouseEvent(Unknown Source)
>     at java.awt.Component.processEvent(Unknown Source)
>     at java.awt.Container.processEvent(Unknown Source)
>     at java.awt.Component.dispatchEventImpl(Unknown Source)
>     at java.awt.Container.dispatchEventImpl(Unknown Source)
>     at java.awt.Component.dispatchEvent(Unknown Source)
>     at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
>     at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
>     at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
>     at java.awt.Container.dispatchEventImpl(Unknown Source)
>     at java.awt.Window.dispatchEventImpl(Unknown Source)
>     at java.awt.Component.dispatchEvent(Unknown Source)
>     at java.awt.EventQueue.dispatchEvent(Unknown Source)
>     at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
>     at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
>     at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
>     at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
>     at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
>     at java.awt.EventDispatchThread.run(Unknown Source)
>
>
> Well, I hope I was enough understanble. Don't hesitate to ask me more
> details!
> And have a good weekend,
>
>
> Brice
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.stanford.edu/pipermail/protege-owl/attachments/20090316/209b0502/attachment.html>


More information about the protege-owl mailing list