[Kim-discussion] questions about trusted entities and extending ontologies
Philip Alexiev
philip.alexiev at ontotext.com
Mon Jun 7 05:03:15 EDT 2010
Hi Again
On 06/04/2010 11:05 PM, Yang Fangkai wrote:
> 3. I used Protege to open protons.owl, but it returned the
> following error message. I am wondering why... (maybe this is no
> longer the KIM question, but I will be very thankful if you could
> offer me a few hints)
>
> org.semanticweb.owlapi.rdf.syntax.RDFParserException:
> [line=92:column=48] IRI
> 'http://www.w3.org/2000/01/rdf-schema##Literal' cannot be resolved
> against curent base IRIhttp://proton.semanticweb.org/2006/05/protons#
>
>
The problem is in the two '#' symbols in the URI . This usually happens
when the namespace is defined with an '#' and the class definition
contains '#' as well. For example:
<!ENTITY rdfs 'http://www.w3.org/2000/01/rdf-schema#'>
<rdfs:range rdf:resource="&rdfs;#Literal"/> <----- the use of # here
is a flaw
The definitions are correct in protons. I guess you have modified
something or added something besides protons.
Hope this helps
Philip
--
Philip Alexiev<philip.alexiev at ontotext.com>
Software Engineer
Ontotext AD
More information about the Kim-discussion
mailing list