[jdom-interest] RDF to JDOM?
Paul Libbrecht
paul at activemath.org
Tue May 12 13:52:16 PDT 2009
Sorry, I don't know on the jena side.
I suppose jena (and http://owlapi.sourceforge.net/ ) has a way to fire
sax events.
JDOM can have this as well, opening the hood of SAXBuilder.
paul
Le 12-mai-09 à 21:04, Tatu Saloranta a écrit :
>
>
>
> --- On Tue, 5/12/09, Oliver Ruebenacker <curoli at gmail.com> wrote:
>
>> From: Oliver Ruebenacker <curoli at gmail.com>
>> Subject: Re: [jdom-interest] RDF to JDOM?
>> To: "Paul Libbrecht" <paul at activemath.org>
>> Cc: jdom-interest at jdom.org
>> Date: Tuesday, May 12, 2009, 12:03 PM
>> Hello Paul,
>> All,
>>
>> I don't know OWLAPI. Some browsing did not reveal
>> any interfaces to
>> jena, DOM or JDOM. Can you give me a hint?
>>
>> Jena interfaces, for example, with input and output
>> streams to
>> serialize and deserialize models as RDF/XML text. It also
>> allows to
>> read a model from a DOM document. To read from a JDOM
>> document, I need
>> to convert to DOM first. And I do not know how to convert
>> from a Jena
>> model to a DOM or JDOM document.
>
> Unless performance is a concern, an easy way would be to just
> serialize to RDF xml serialization, then (re)parse (as JDOM or Jena
> model).
> Parsing/serializing xml is surprisingly fast these days.
>
> -+ Tatu +-
>
>
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2203 bytes
Desc: not available
Url : http://www.jdom.org/pipermail/jdom-interest/attachments/20090512/550c11f2/smime.bin
More information about the jdom-interest
mailing list