1 Reply Latest reply: Aug 23, 2010 10:50 PM by 763681 RSS

    doubt with Oracle RDF Data Model Plugin for Protégé

    Alberto Carmona
      Hi, this question relates to this discussion thread.

      Now I have the plugin working, however when I create a OWL project exported to my Oracle model, I try to retrieve it again using Protégé and the result is a set of classes that have nothing to do with what I put into the model, eg :

      SYSTEM-CLASS
      : ANNOTATION
      : CONSTRAINT

      Could you explain what I'm doing wrong?

      Thanks

      Edited by: Alberto Carmona on 13-may-2010 12:02
        • 1. Re: doubt with Oracle RDF Data Model Plugin for Protégé
          763681
          hi could you help me install the plugin of protege for oracle, i install but not working to load the data I can not connect to the database from protected but the database is working correctly this is error:

          java.sql.SQLException: Excepción de E/S: The Network Adapter could not establish the connection
               at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:100)
               at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:130)
               at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:215)
               at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:378)
               at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:434)
               at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:165)
               at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:31)
               at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:772)
               at java.sql.DriverManager.getConnection(DriverManager.java:582)
               at java.sql.DriverManager.getConnection(DriverManager.java:185)
               at oracle.ORDFFrameCreator.finish(ORDFFrameCreator.java:349)
               at edu.stanford.smi.protegex.storage.walker.protege.ProtegeFrameWalker.walk(Unknown Source)
               at oracle.OKnowledgeBaseFactory.saveKnowledgeBase(OKnowledgeBaseFactory.java:177)
               at oracle.OImportExportPlugin.exportProject(OImportExportPlugin.java:124)
               at oracle.OImportExportPlugin.handleExportRequest(OImportExportPlugin.java:109)
               at edu.stanford.smi.protege.ui.ProjectManager.exportProjectRequest(Unknown Source)
               at edu.stanford.smi.protege.action.ExportPluginAction.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.AbstractButton.doClick(AbstractButton.java:357)
               at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1223)
               at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1264)
               at java.awt.Component.processMouseEvent(Component.java:6263)
               at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
               at java.awt.Component.processEvent(Component.java:6028)
               at java.awt.Container.processEvent(Container.java:2041)
               at java.awt.Component.dispatchEventImpl(Component.java:4630)
               at java.awt.Container.dispatchEventImpl(Container.java:2099)
               at java.awt.Component.dispatchEvent(Component.java:4460)
               at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4574)
               at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
               at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
               at java.awt.Container.dispatchEventImpl(Container.java:2085)
               at java.awt.Window.dispatchEventImpl(Window.java:2478)
               at java.awt.Component.dispatchEvent(Component.java:4460)
               at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
               at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
               at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
               at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
               at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
               at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
               at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
          null : http://protege.stanford.edu/mv#MiniVan : http://www.w3.org/1999/02/22-rdf-syntax-ns#type : http://www.w3.org/2000/01/rdf-schema#Class
          ============
          java.lang.NullPointerException
               at oracle.ORDFFrameCreator.finish(ORDFFrameCreator.java:376)
               at edu.stanford.smi.protegex.storage.walker.protege.ProtegeFrameWalker.walk(Unknown Source)
               at oracle.OKnowledgeBaseFactory.saveKnowledgeBase(OKnowledgeBaseFactory.java:177)
               at oracle.OImportExportPlugin.exportProject(OImportExportPlugin.java:124)
               at oracle.OImportExportPlugin.handleExportRequest(OImportExportPlugin.java:109)
               at edu.stanford.smi.protege.ui.ProjectManager.exportProjectRequest(Unknown Source)
               at edu.stanford.smi.protege.action.ExportPluginAction.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.AbstractButton.doClick(AbstractButton.java:357)
               at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1223)
               at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1264)
               at java.awt.Component.processMouseEvent(Component.java:6263)
               at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
               at java.awt.Component.processEvent(Component.java:6028)
               at java.awt.Container.processEvent(Container.java:2041)
               at java.awt.Component.dispatchEventImpl(Component.java:4630)
               at java.awt.Container.dispatchEventImpl(Container.java:2099)
               at java.awt.Component.dispatchEvent(Component.java:4460)
               at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4574)
               at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
               at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
               at java.awt.Container.dispatchEventImpl(Container.java:2085)
               at java.awt.Window.dispatchEventImpl(Window.java:2478)
               at java.awt.Component.dispatchEvent(Component.java:4460)
               at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
               at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
               at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
               at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
               at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
               at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
               at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
          WARNING: java.lang.NullPointerException -- OImportExportPlugin.handleErrors()
          In saveKnowledgeBase 1
          java.sql.SQLException: Locale not recognized
               at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:100)
               at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:130)
               at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:180)
               at oracle.jdbc.driver.T4CTTIoauthenticate.setSessionFields(T4CTTIoauthenticate.java:945)
               at oracle.jdbc.driver.T4CTTIoauthenticate.<init>(T4CTTIoauthenticate.java:180)
               at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:347)
               at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:434)
               at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:165)
               at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:31)
               at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:772)
               at java.sql.DriverManager.getConnection(DriverManager.java:582)
               at java.sql.DriverManager.getConnection(DriverManager.java:185)
               at oracle.ORDFFrameCreator.finish(ORDFFrameCreator.java:349)
               at edu.stanford.smi.protegex.storage.walker.protege.ProtegeFrameWalker.walk(Unknown Source)
               at oracle.OKnowledgeBaseFactory.saveKnowledgeBase(OKnowledgeBaseFactory.java:177)
               at oracle.OImportExportPlugin.exportProject(OImportExportPlugin.java:124)
               at oracle.OImportExportPlugin.handleExportRequest(OImportExportPlugin.java:109)
               at edu.stanford.smi.protege.ui.ProjectManager.exportProjectRequest(Unknown Source)
               at edu.stanford.smi.protege.action.ExportPluginAction.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.AbstractButton.doClick(AbstractButton.java:357)
               at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1223)
               at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1264)
               at java.awt.Component.processMouseEvent(Component.java:6263)
               at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
               at java.awt.Component.processEvent(Component.java:6028)
               at java.awt.Container.processEvent(Container.java:2041)
               at java.awt.Component.dispatchEventImpl(Component.java:4630)
               at java.awt.Container.dispatchEventImpl(Container.java:2099)
               at java.awt.Component.dispatchEvent(Component.java:4460)
               at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4574)
               at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
               at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
               at java.awt.Container.dispatchEventImpl(Container.java:2085)
               at java.awt.Window.dispatchEventImpl(Window.java:2478)
               at java.awt.Component.dispatchEvent(Component.java:4460)
               at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
               at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
               at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
               at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
               at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
               at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
               at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
          null : http://protege.stanford.edu/mv#MiniVan : http://www.w3.org/1999/02/22-rdf-syntax-ns#type : http://www.w3.org/2000/01/rdf-schema#Class
          ============
          java.lang.NullPointerException
               at oracle.ORDFFrameCreator.finish(ORDFFrameCreator.java:376)
               at edu.stanford.smi.protegex.storage.walker.protege.ProtegeFrameWalker.walk(Unknown Source)
               at oracle.OKnowledgeBaseFactory.saveKnowledgeBase(OKnowledgeBaseFactory.java:177)
               at oracle.OImportExportPlugin.exportProject(OImportExportPlugin.java:124)
               at oracle.OImportExportPlugin.handleExportRequest(OImportExportPlugin.java:109)
               at edu.stanford.smi.protege.ui.ProjectManager.exportProjectRequest(Unknown Source)
               at edu.stanford.smi.protege.action.ExportPluginAction.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.AbstractButton.doClick(AbstractButton.java:357)
               at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1223)
               at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1264)
               at java.awt.Component.processMouseEvent(Component.java:6263)
               at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
               at java.awt.Component.processEvent(Component.java:6028)
               at java.awt.Container.processEvent(Container.java:2041)
               at java.awt.Component.dispatchEventImpl(Component.java:4630)
               at java.awt.Container.dispatchEventImpl(Container.java:2099)
               at java.awt.Component.dispatchEvent(Component.java:4460)
               at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4574)
               at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
               at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
               at java.awt.Container.dispatchEventImpl(Container.java:2085)
               at java.awt.Window.dispatchEventImpl(Window.java:2478)
               at java.awt.Component.dispatchEvent(Component.java:4460)
               at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
               at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
               at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
               at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
               at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
               at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
               at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)