Search Mailing List Archives
[protege-owl] Namespace issue
tredmond at stanford.edu
Wed Mar 4 12:18:15 PST 2009
Protege (not Jena) doesn't support the notion of having two namespaces
for the same long prefix. If it did then it would get into trouble
deciding which name to use for its resources. I am not sure why this
would be desired because of this ambiguity. But in OWL this is
perfectly ok. I think that what Protege does when reading such a file
is to lose one of the namespaces. This only changes the presentation
of the file and not the meaning.
On Mar 3, 2009, at 6:42 AM, Vitor Barbosa wrote:
> Hi everyone,
> this is a OWL related question, which has some impact on the use of
> Protégé 3.4.
> Is it possible to have the same URI as the default namespace (i.e.
> xml:base) and associate it with a prefix (e.g. xmlns:dl-safe in the
> following example)? The example is from: http://owldl.com/ontologies/dl-safe.owl
> <!DOCTYPE rdf:RDF [
> <!ENTITY dl-safe "http://owldl.com/ontologies/dl-safe.owl#">
> ... >
> bla bla
> I think this is possible indeed (well, I have seen it in diverse
> ontologies) but Protege 3.4 doesn't like this feature (or is it Jena
> parser?) and when I open the dl-safe.owl an warning is thrown. Also,
> when I try to see the RDF/XML source code an exception is thrown.
> These warnings can be respectively found in attachment.
> Thanks and best regards,
> Vitor Barbosa
> protege-owl mailing list
> protege-owl at lists.stanford.edu
> Instructions for unsubscribing: http://protege.stanford.edu/doc/faq.html#01a.03
More information about the protege-owl