dao-forum
[Top] [All Lists]

Re: [dao-forum] Method - Maybe

To: DigitalArtOntology <dao-forum@xxxxxxxxxxxx>
From: Kenneth Fields <ken@xxxxxxxxxxx>
Date: Sun, 22 Feb 2004 12:25:30 +0800
Message-id: <264A54B6-64EF-11D8-8666-0003936D930C@ccom.edu.cn>
 Yep. Should be able to sort that. I'm currently working on a very similar task (getting instance data out of lists in XHTML). 

Ok, I got the xml file open in protege. It is as you say, I have many instances of <data> that are my target terms. Would there be a way to manipulate the instances into classes within protege? Something like making those data instances have parallel conceptual classes. In the following example - generating a conceptual entity called 'noiseConcept' from the instance called 'noiseDocumentation'. I'm probably asking the impossible again. Oh, there's always manual entry. I almost forgot! :).

<data>
<key>noiseDocumentation</key>
<isURL>No</isURL>
<shouldHighlightLinks>Yes</shouldHighlightLinks>
<alias>noise</alias>
<content>Write about noise here, bla, bla, bla.</content>
</data>

I can't get to relaxer.org at the moment. I'm looking for an os x solution.

Ken.


 
fyi, the approach I've got so far looks like this:
 
O btain a sample of the source XML that contains all the constructs you want to use;  (easy)
W ith the Trang tool, generate a  Relax NG schema; (automatic)
T ake that schema and with the Relaxer tool generate an XSLT identity transformation stylesheet; (automatic)
* Take that XSLT as a template, and manually adjust it to transform into OWL RDF/XML. (straightforward)
Import into Protege.  (easy)
 
* is rather hard work, but it only needs doing once.
 
If the generation of the original XML for the ontology is straightforward, we could be onto a winner here.
 
Cheers,
Danny.
 
 
 _________________________________________________________________
Message Archives: http://dao.cim3.net/forum/dao-forum/
Subscribe/Unsubscribe/Config: http://dao.cim3.net/mailman/listinfo/dao-forum/
Shared Files: http://dao.cim3.net/file/
Community Wiki: http://dao.cim3.net/wiki/
Community Portal: http://dao.cim3.net/
To Post: mailto:dao-forum@dao.cim3.net    (01)
<Prev in Thread] Current Thread [Next in Thread>