Search Mailing List Archives
[protege-owl] Protege xml project
tredmond at stanford.edu
Sun Aug 10 22:46:57 PDT 2008
On Aug 10, 2008, at 7:44 PM, Thusitha Mabotuwana wrote:
> Hi All
> I want to parse an xml file so that I can use the data from a C#
> application. Ideally I could use an owl file created by Protégé, but
> since I can’t find any owl-C# parsers, I thought relying on Protégé-
> generated xml could be a solution cos there are xml-C# parsers (plus
> there is some support within .net itself for xml).
Awkward! Try not to do it this way. My first recommendation would
be to try harder to find an owl-C# parser. Alternatively consider
interacting with a language that has an owl parser (java? but there
are other choices).
Ok maybe you really will fail at that... I am not totally sure how
you are generating the xml file. I tried "Convert Project To Format" -
> "Experimental XML File" but this did not work at all with pizza.
Well the owl file really is an xml file but I already know that trying
to parse this as raw xml will be a disaster. There are too many
different (from the xml point of view) ways that one owl file can be
written out. I don't know if this will help but you could try the OWL/
XML format. Protege 4 will write this and perhaps it will be a
regular enough format for your needs.
> - The xml file Protégé generates (I’ve tried build 127 & 128)
> doesn’t store any individuals? It stores all the class-subclass
> information, but all the individuals you create simply disappear
> from the xml file, hence from the Protégé project the next time you
> load the xml. Shouldn’t the xml file store the individuals as well?
> Is this how it’s suppose to be?
> - I can’t edit the name of the individuals when working
> with an xml project as I can with an owl project. I’d really think
> there should be a way to edit the names of the individuals you create?
> 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