Search Mailing List Archives

Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort
Limit to: All This Week Last Week This Month Last Month
Select Date Range     through    

[protege-owl] Loading the OWL version in protege 3.4 RC1

Thomas Russ tar at ISI.EDU
Fri Mar 6 13:54:08 PST 2009

On Mar 6, 2009, at 10:09 AM, Allyson Lister wrote:

> Hi all,
> I downloaded today's sbo OWL file (attached) and opened it in  
> protege 3.4 RC1 on a machine running ubuntu intrepid 64 bit.
> As you can see from the attached screenshot, for some reason the  
> default namespace is set to MathML - and this is with having the  
> default namespace *actually* set to SBO, as the excerpt of the OWL  
> file below prooves:
> <rdf:RDF
>     xmlns=""
>     xmlns:rdf=""
>     xmlns:owl=""
>     xmlns:daml=""
>     xmlns:rdfs=""
>   xml:base="">
> So, why is Protege doing this? Do you have any idea? I've sent to  
> both protege owl and SBO. Perhaps somehow I've managed to set  
> something incorrectly?

I suspect that somehow the parsing is getting confused by encountering  
the MathML markup tags, which look like

  <math xmlns="">

and introduce their own default namespace.  Now, according to the XML  
parsing rules, that should be a local effect, valid only inside the  
scope of the tag, but perhaps there is a bug in the parser or  
namespace handler used by Protege that ends up keeping the last such  
namespace encountered, instead of properly respecting the namespace  
scoping rules.

As a work-around, perhaps what you need to do is to introduce a math:  
prefix and use that for the MathML parts.  Since they have structured  
parts with their own sub-tags, this could get a bit tedious, although  
it may be possible to do this using some sort of editor script.

I'm not quite sure how Protege will handle the RDF literal parses of  
the MathML objects, though.

More information about the protege-owl mailing list