OWL-S Editor (Problem in Importing Ontologies)

Hi,
I tryed to import "AmazoneBookPrice, BookFinder,
BNPrice and FindCheaperBook" example services
available with OWL-S Editor (example/mindswap folder)
but OWL-S Editor failed to import any of the above
files. 

Then i downloaded the "FindCheaperBook" owl file from
mindswap site and imported it in OWL-S Editor and
OWL-S Editor successfully imported this file.

Import Error for "BookFinder" owls service is

////////////////////////////////////////////////////////

java.lang.ClassCastException:
edu.stanford.smi.protegex.owl.model.impl.DefaultRDFUntypedResource
	at
edu.stanford.smi.protege.model.framestore.SimpleFrameStore.addInheritedSuperslotValues(Unknown
Source)
	at
edu.stanford.smi.protege.model.framestore.SimpleFrameStore.addOwnSlotValues(Unknown
Source)
	at
edu.stanford.smi.protege.model.framestore.SimpleFrameStore.getOwnSlotValues(Unknown
Source)
	at
edu.stanford.smi.protege.model.framestore.ModificationFrameStore.getOwnSlotValues(Unknown
Source)
	at
edu.stanford.smi.protege.model.framestore.ArgumentCheckingFrameStore.getOwnSlotValues(Unknown
Source)
	at
edu.stanford.smi.protege.model.framestore.ModificationFrameStore.getOwnSlotValues(Unknown
Source)
	at
edu.stanford.smi.protege.model.framestore.FrameStoreAdapter.getOwnSlotValues(Unknown
Source)
	at
edu.stanford.smi.protege.model.framestore.FrameStoreAdapter.getOwnSlotValues(Unknown
Source)
	at
edu.stanford.smi.protege.model.framestore.FrameStoreAdapter.getOwnSlotValues(Unknown
Source)
	at
edu.stanford.smi.protege.model.DefaultKnowledgeBase.getOwnSlotValues(Unknown
Source)
	at
edu.stanford.smi.protege.model.DefaultKnowledgeBase.getStandardSlotValues(Unknown
Source)
	at
edu.stanford.smi.protege.model.DefaultKnowledgeBase.getValueType(Unknown
Source)
	at
edu.stanford.smi.protege.model.DefaultSlot.getValueType(Unknown
Source)
	at
edu.stanford.smi.protegex.owl.model.triplestore.impl.RDFPropertyPostProcessor.updateValueType(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.run(Unknown
Source)
	at
edu.stanford.smi.protegex.owl.jena.parser.ProtegeOWLParser.run(Unknown
Source)
	at
edu.stanford.smi.protegex.owl.jena.parser.ProtegeOWLParser.run(Unknown
Source)
	at
edu.stanford.smi.protegex.owl.jena.JenaOWLModel.load(Unknown
Source)
	at
edu.stanford.smi.protegex.owl.jena.JenaOWLModel.load(Unknown
Source)
	at
edu.stanford.smi.protegex.owl.jena.JenaKnowledgeBaseFactory.loadKnowledgeBase(Unknown
Source)
	at
edu.stanford.smi.protege.model.Project.loadDomainKB(Unknown
Source)
	at
edu.stanford.smi.protege.model.Project.createDomainKnowledgeBase(Unknown
Source)
	at
edu.stanford.smi.protegex.owl.jena.OWLFilesCreateProjectPlugin.buildNewProject2(Unknown
Source)
	at
edu.stanford.smi.protegex.owl.jena.OWLFilesCreateProjectPlugin.buildNewProject(Unknown
Source)
	at
edu.stanford.smi.protege.plugin.AbstractCreateProjectPlugin.createProject(Unknown
Source)
	at
edu.stanford.smi.protege.plugin.CreateProjectWizard.onFinish(Unknown
Source)
	at
edu.stanford.smi.protege.util.Wizard$1.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.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.pumpOneEventForHierarchy(Unknown
Source)
	at
java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
Source)
	at
java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
Source)
	at java.awt.Dialog$1.run(Unknown Source)
	at java.awt.Dialog.show(Unknown Source)
	at java.awt.Component.show(Unknown Source)
	at java.awt.Component.setVisible(Unknown Source)
	at
edu.stanford.smi.protege.util.Wizard.execute(Unknown
Source)
	at
edu.stanford.smi.protege.ui.ProjectManager.createNewProjectRequest(Unknown
Source)
	at
edu.stanford.smi.protege.action.CreateProject.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.AbstractButton.doClick(Unknown Source)
	at
javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown
Source)
	at
javax.swing.plaf.basic.BasicMenuItemUI$Handler.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.pumpOneEventForHierarchy(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)

Please consider running the file through an RDF or OWL
validation service such as
  - RDF Validator: http://www.w3.org/RDF/Validator
  - OWL Validator:
http://phoebus.cs.man.ac.uk:9999/OWL/Validator

////////////////////////////////////////////////////

and import error for "BNPrice" Service is 

////////////////////////////////////////////////////

java.lang.ClassCastException:
edu.stanford.smi.protegex.owl.model.impl.DefaultRDFUntypedResource
	at
edu.stanford.smi.protege.model.framestore.SimpleFrameStore.addInheritedSuperslotValues(Unknown
Source)
	at
edu.stanford.smi.protege.model.framestore.SimpleFrameStore.addOwnSlotValues(Unknown
Source)
	at
edu.stanford.smi.protege.model.framestore.SimpleFrameStore.getOwnSlotValues(Unknown
Source)
	at
edu.stanford.smi.protege.model.framestore.ModificationFrameStore.getOwnSlotValues(Unknown
Source)
	at
edu.stanford.smi.protege.model.framestore.ArgumentCheckingFrameStore.getOwnSlotValues(Unknown
Source)
	at
edu.stanford.smi.protege.model.framestore.ModificationFrameStore.getOwnSlotValues(Unknown
Source)
	at
edu.stanford.smi.protege.model.framestore.FrameStoreAdapter.getOwnSlotValues(Unknown
Source)
	at
edu.stanford.smi.protege.model.framestore.FrameStoreAdapter.getOwnSlotValues(Unknown
Source)
	at
edu.stanford.smi.protege.model.framestore.FrameStoreAdapter.getOwnSlotValues(Unknown
Source)
	at
edu.stanford.smi.protege.model.DefaultKnowledgeBase.getOwnSlotValues(Unknown
Source)
	at
edu.stanford.smi.protege.model.DefaultKnowledgeBase.getStandardSlotValues(Unknown
Source)
	at
edu.stanford.smi.protege.model.DefaultKnowledgeBase.getValueType(Unknown
Source)
	at
edu.stanford.smi.protege.model.DefaultSlot.getValueType(Unknown
Source)
	at
edu.stanford.smi.protegex.owl.model.triplestore.impl.RDFPropertyPostProcessor.updateValueType(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.run(Unknown
Source)
	at
edu.stanford.smi.protegex.owl.jena.parser.ProtegeOWLParser.run(Unknown
Source)
	at
edu.stanford.smi.protegex.owl.jena.parser.ProtegeOWLParser.run(Unknown
Source)
	at
edu.stanford.smi.protegex.owl.jena.JenaOWLModel.load(Unknown
Source)
	at
edu.stanford.smi.protegex.owl.jena.JenaOWLModel.load(Unknown
Source)
	at
edu.stanford.smi.protegex.owl.jena.JenaKnowledgeBaseFactory.loadKnowledgeBase(Unknown
Source)
	at
edu.stanford.smi.protege.model.Project.loadDomainKB(Unknown
Source)
	at
edu.stanford.smi.protege.model.Project.createDomainKnowledgeBase(Unknown
Source)
	at
edu.stanford.smi.protegex.owl.jena.OWLFilesCreateProjectPlugin.buildNewProject2(Unknown
Source)
	at
edu.stanford.smi.protegex.owl.jena.OWLFilesCreateProjectPlugin.buildNewProject(Unknown
Source)
	at
edu.stanford.smi.protege.plugin.AbstractCreateProjectPlugin.createProject(Unknown
Source)
	at
edu.stanford.smi.protege.plugin.CreateProjectWizard.onFinish(Unknown
Source)
	at
edu.stanford.smi.protege.util.Wizard$1.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.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.pumpOneEventForHierarchy(Unknown
Source)
	at
java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
Source)
	at
java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
Source)
	at java.awt.Dialog$1.run(Unknown Source)
	at java.awt.Dialog.show(Unknown Source)
	at java.awt.Component.show(Unknown Source)
	at java.awt.Component.setVisible(Unknown Source)
	at
edu.stanford.smi.protege.util.Wizard.execute(Unknown
Source)
	at
edu.stanford.smi.protege.ui.ProjectManager.createNewProjectRequest(Unknown
Source)
	at
edu.stanford.smi.protege.action.CreateProject.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.AbstractButton.doClick(Unknown Source)
	at
javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown
Source)
	at
javax.swing.plaf.basic.BasicMenuItemUI$Handler.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.pumpOneEventForHierarchy(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)

Please consider running the file through an RDF or OWL
validation service such as
  - RDF Validator: http://www.w3.org/RDF/Validator
  - OWL Validator:
http://phoebus.cs.man.ac.uk:9999/OWL/Validator


////////////////////////////////////////////////////

Has anybody else tryed this or can some one try this
and if possible then some kind of help in this regard
will be appreciated.
With thanks waiting for response,

Bye.

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Received on Thursday, 23 March 2006 14:01:40 UTC