Search Mailing List Archives
[protege-discussion] Unable to convert Frames Project into "OWL/RDF Files"
Tania Tudorache
tudorache at stanford.edu
Mon Jun 9 12:56:23 PDT 2008
Hi Tomas,
Thank you very much for the bug report. This is a regression from the
previous builds and we will fix this in the next beta build. The build
500 contains some major reimplementation of the naming mechanism, and we
were expecting some problems in this release.
If you don't want to wait until the next beta release for the fix, you
can use the Protege 3.4 beta 130, in which the conversion works fine.
The 130 build can be downloaded from here:
http://protege.stanford.edu/download/old-releases/3.4-betas/build-130/full/
Cheers,
Tania
Tomas Potok wrote:
> Hello all,
>
> steps I tried (Protege 3.4 beta):
> - create new Project (.pont and .pins)
> - create a new subclass under :THING named "testClass"
> - save the project
> - select "File / Convert Project to Format / OWL/RDF Files"
> - the following exception resulted:
>
>
> SEVERE: Failed to save file file:/E:/Documents%20and%20Settings/Administrator/My
> %20Documents/test2.owl using Protege2Jena. -- com.hp.hpl.jena.shared.BadURIExcep
> tion: Only well-formed absolute URIrefs can be included in RDF/XML output: <test
> Class> Code: 58/REQUIRED_COMPONENT_MISSING in SCHEME: A component that is requir
> ed by the scheme is missing.
> at com.hp.hpl.jena.xmloutput.impl.BaseXMLWriter.checkURI(BaseXMLWriter.j
> ava:768)
> at com.hp.hpl.jena.xmloutput.impl.BaseXMLWriter.relativize(BaseXMLWriter
> .java:745)
> at com.hp.hpl.jena.xmloutput.impl.Unparser.wURIreference(Unparser.java:8
> 72)
> at com.hp.hpl.jena.xmloutput.impl.Unparser.wURIreference(Unparser.java:8
> 76)
> at com.hp.hpl.jena.xmloutput.impl.Unparser.wAboutAttr(Unparser.java:867)
>
> at com.hp.hpl.jena.xmloutput.impl.Unparser.wIdAboutAttrOpt(Unparser.java
> :823)
> at com.hp.hpl.jena.xmloutput.impl.Unparser.wTypedNodeOrDescriptionCompac
> t(Unparser.java:736)
> at com.hp.hpl.jena.xmloutput.impl.Unparser.wTypedNodeOrDescription(Unpar
> ser.java:718)
> at com.hp.hpl.jena.xmloutput.impl.Unparser.wTypedNode(Unparser.java:691)
>
> at com.hp.hpl.jena.xmloutput.impl.Unparser.wObj(Unparser.java:635)
> at com.hp.hpl.jena.xmloutput.impl.Unparser.wObjStar(Unparser.java:312)
> at com.hp.hpl.jena.xmloutput.impl.Unparser.wRDF(Unparser.java:293)
> at com.hp.hpl.jena.xmloutput.impl.Unparser.write(Unparser.java:195)
> at com.hp.hpl.jena.xmloutput.impl.Abbreviated.writeBody(Abbreviated.java
> :138)
> at com.hp.hpl.jena.xmloutput.impl.BaseXMLWriter.writeXMLBody(BaseXMLWrit
> er.java:452)
> at com.hp.hpl.jena.xmloutput.impl.BaseXMLWriter.write(BaseXMLWriter.java
> :424)
> at com.hp.hpl.jena.xmloutput.impl.Abbreviated.write(Abbreviated.java:124
> )
> at edu.stanford.smi.protegex.owl.jena.JenaOWLModel.saveModel(Unknown Sou
> rce)
> at edu.stanford.smi.protegex.owl.jena.JenaOWLModel.save(Unknown Source)
> at edu.stanford.smi.protegex.owl.jena.JenaOWLModel.save(Unknown Source)
> at edu.stanford.smi.protegex.owl.jena.protege2jena.Protege2Jena.saveAll(
> Unknown Source)
> at edu.stanford.smi.protegex.owl.jena.JenaOWLModel.save(Unknown Source)
> at edu.stanford.smi.protegex.owl.jena.JenaKnowledgeBaseFactory.saveKnowl
> edgeBase(Unknown Source)
> at edu.stanford.smi.protege.model.Project.saveDomainKB(Unknown Source)
> at edu.stanford.smi.protege.model.Project.save(Unknown Source)
> at edu.stanford.smi.protege.ui.ProjectManager.save(Unknown Source)
> at edu.stanford.smi.protege.ui.ProjectManager.changeProjectStorageFormat
> Request(Unknown Source)
> at edu.stanford.smi.protege.action.ChangeProjectStorageFormat.actionPerf
> ormed(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)
>
>
> Am I doing something conceptually wrong?
>
> My intention was to convert my existing small Frames ontology to explore OWL
> capabilities. I found nothing usable on this problem on the internet...
>
> Thanks
>
> Tomas
> _______________________________________________
> protege-discussion mailing list
> protege-discussion at lists.stanford.edu
> https://mailman.stanford.edu/mailman/listinfo/protege-discussion
>
> Instructions for unsubscribing: http://protege.stanford.edu/doc/faq.html#01a.03
>
>
More information about the protege-discussion
mailing list