On 21/03/12 10:23, 锐光刘 wrote:
My Problems are that I want to  create ontology model  OntModel with the
given namespace and then check it whit pellet reasoner , it show the error
message below:



  WARN [main] (BaseXMLWriter.java:96) - Namespace prefix 'j.2' is reserved

[snip]

and another creatation with other information under the same process
routine show the error message below :




Exception in thread "main" com.hp.hpl.jena.shared.BadURIException: Only
well-formed absolute URIrefs can be included in RDF/XML output:<biological
process unknown@en>  Code: 57/REQUIRED_COMPONENT_MISSING in SCHEME: A
component that is required by the scheme is missing.


It looks like Pellet is trying to write out your data as RDF/XML (don't know why) and the data is broken. You have what are presumably supposed to be literals as the URIs for resources.

If you can't sort it out then show a complete, minimal example of how you are creating the data and we'll see if we can spot your error.

Dave

Reply via email to