Ah, this appears to be an omission in the library. While RDF/XML can encode
the Base URI our writers don't currently serialize it. Will add this for
the next release.
Regards,
Rob Vesse
> -----Original Message-----
> From: Felipe Guimarães Santos [mailto:fel...@in...]
> Sent: 11 April 2011 13:18
> To: Rob Vesse
> Subject: RES: [dotNetRDF-Support] Writing RDF
>
> I'am doing a serialization of a RDF/XML, and I'am losing the Base URI.
>
> Felipe Guimarães Santos | desenvolvedor
>
>
> fel...@in... | www.invit.com.br | @sigainvit
> Office: +55 34 3223.4000 - 11 2372.1072 | Mobile: +55 34 9993.5060
>
>
> -----Mensagem original-----
> De: Rob Vesse [mailto:rv...@do...]
> Enviada em: segunda-feira, 11 de abril de 2011 05:52
> Para: 'dotNetRDF User Help and Support'
> Cc: Felipe Guimarães Santos
> Assunto: RE: [dotNetRDF-Support] Writing RDF
>
> Hi Felipe
>
> Not all RDF serializations support the encoding of a Base URI into the
> serialization. If you use a format that does not support this then you
> will lose the Base URI information when you parse the generated
> serialization back into a Graph.
>
> For your reference a quick summary of available standard serializations
> and their Base URI support:
>
> Serializations that support Base URI encoding:
> -Turtle
> -N3
> -RDF/XML
>
> Serialization that don't support Base URI encoding:
> -NTriples
> -RDF/JSON
>
> As always let me know if you have further questions
>
> Rob Vesse
>
> > -----Original Message-----
> > From: Felipe Guimarães Santos [mailto:fel...@in...]
> > Sent: 10 April 2011 18:28
> > To: dot...@li...
> > Subject: [dotNetRDF-Support] Writing RDF
> >
> > When I write a RDF from Graph object to a string it losts the baseUri
> > of the Graph, why?
> > I mean, when I parse the string that was generated, the Graph object
> > doesn't has a baseUri.
> >
> >
> > Thanks
> >
> > ---------------------------------------------------------------------
> -
> > -
> > -------
> > Xperia(TM) PLAY
> > It's a major breakthrough. An authentic gaming smartphone on the
> > nation's most reliable network.
> > And it wants your games.
> > http://p.sf.net/sfu/verizon-sfdev
> > _______________________________________________
> > dotNetRDF-Support mailing list
> > dot...@li...
> > https://lists.sourceforge.net/lists/listinfo/dotnetrdf-support
>
>
>
|