From: Rob V. <rv...@do...> - 2014-11-18 13:57:02
|
Yep, RDF 1.1 NTriples and NQuads was added in 1.0.4 I've started such a wiki page but it is incomplete and not yet linked from elsewhere - https://bitbucket.org/dotnetrdf/dotnetrdf/wiki/UserGuide/RDF%20Serialisatio ns Rob On 18/11/2014 11:35, "tom...@gm..." <tom...@gm...> wrote: >Thanks. > >I've only later noticed that I had version 1.0.3 referenced, hence the >NTriplesSyntax enum wasn't there at all. > >Maybe it would be helpful if there was a table describing differences >between the various variants for each syntax? > >Tom > >November 18 2014 11:15 AM, "Rob Vesse" <rv...@do...> wrote: >> Good point >> >> I have added some description of this to both the Reading RDF and >>Writing >> RDF pages. >> >> This is couched in general terms and does not make specific reference to >> ASCII vs UTF-8 NTriples so please take a look and edit & expand on my >> changes as you deem necessary >> >> Rob >> >> On 17/11/2014 09:05, "tom...@gm..." >> <tom...@gm...> wrote: >> >>> Thanks >>> >>> I now recall that we've discussed some longer time ago already. >>> >>> Is this described on the wiki? I tried to google this problem but I >>> didn't find anything. >>> >>> Tom >>> >>> November 17 2014 9:03 AM, "Rob Vesse" <rv...@do...> wrote: >>>> Tom >>>> >>>> Yes this is by design >>>> >>>> The library defaults to allowing the newer native UTF-8 supporting >>>> syntax >>>> as input but outputting the older ASCII only syntax as output in order >>>> to >>>> maximise interoperability with other systems which may not necessarily >>>> support the most recent specifications >>>> >>>> You can change the output to use the new syntax by changing how you >>>> instantiate the NTriples writer: >>>> >>>> new NTriplesWriter(NTriplesSyntax.Rdf11); >>>> >>>> Rob >>>> >>>> On 16/11/2014 21:44, "tom...@gm..." >>>> <tom...@gm...> wrote: >>>> >>>>> Hi Rob >>>>> >>>>> I have a triple >>>>> >>>>> <brochure/12345> dcterms:title "Jelcz M11 - nowość" . >>>>> >>>>> And after calling >>>>> >>>>> StringWriter.Write(graph, new NTriplesWriter()) >>>>> >>>>> the resulting string contains escaped text >>>>> >>>>> <brochure/12345> <http://purl.org/dc/terms/title> "Jelcz M11 - >>>>> nowo\u015B\u0107" >>>>> >>>>> Is this by design? >>>>> >>>>> Thanks, >>>>> Tom >>>>> >>>>> _______________________________ >>>>> >>>>> ---- >>>>> Comprehensive Server Monitoring with Site24x7. >>>>> Monitor 10 servers for $9/Month. >>>>> Get alerted through email, SMS, voice calls or mobile push >>>>> notifications. >>>>> Take corrective actions from your mobile device. >>>>> >>>>> >>>>>http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg. >>>>>cl >>>>> kt >>>>> rk >>>>> _______________________________ >>>>> >>>>> dotNetRDF-bugs mailing list >>>>> dot...@li... >>>>> https://lists.sourceforge.net/lists/listinfo/dotnetrdf-bugs >>>> >>>> _______________________________ >>>> >>>> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server >>>> from Actuate! Instantly Supercharge Your Business Reports and >>>>Dashboards >>>> with Interactivity, Sharing, Native Excel Exports, App Integration & >>>> more >>>> Get technology previously reserved for billion-dollar corporations, >>>>FREE >>>> >>>> >>>>http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.c >>>>lk >>>> trk >>>> _______________________________ >>>> >>>> dotNetRDF-bugs mailing list >>>> dot...@li... >>>> https://lists.sourceforge.net/lists/listinfo/dotnetrdf-bugs >>> >>> _______________________________ >>> >>> ---- >>> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server >>> from Actuate! Instantly Supercharge Your Business Reports and >>>Dashboards >>> with Interactivity, Sharing, Native Excel Exports, App Integration & >>>more >>> Get technology previously reserved for billion-dollar corporations, >>>FREE >>> >>>http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.cl >>>kt >>> rk >>> _______________________________ >>> >>> dotNetRDF-bugs mailing list >>> dot...@li... >>> https://lists.sourceforge.net/lists/listinfo/dotnetrdf-bugs >> >> _______________________________ >> >> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server >> from Actuate! Instantly Supercharge Your Business Reports and Dashboards >> with Interactivity, Sharing, Native Excel Exports, App Integration & >>more >> Get technology previously reserved for billion-dollar corporations, FREE >> >>http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clk >>trk >> _______________________________ >> >> dotNetRDF-bugs mailing list >> dot...@li... >> https://lists.sourceforge.net/lists/listinfo/dotnetrdf-bugs > >-------------------------------------------------------------------------- >---- >Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server >from Actuate! Instantly Supercharge Your Business Reports and Dashboards >with Interactivity, Sharing, Native Excel Exports, App Integration & more >Get technology previously reserved for billion-dollar corporations, FREE >http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clkt >rk >_______________________________________________ >dotNetRDF-bugs mailing list >dot...@li... >https://lists.sourceforge.net/lists/listinfo/dotnetrdf-bugs |