W3C home > Mailing lists > Public > public-rdf-ruby@w3.org > August 2011

Re: [ANN] RDF 1.1 Turtle implementation in Ruby

From: Nicholas Humfrey <nicholas.humfrey@bbc.co.uk>
Date: Tue, 30 Aug 2011 11:09:25 +0100
To: Gregg Kellogg <gregg@kellogg-assoc.com>, "public-rdf-ruby@w3.org" <public-rdf-ruby@w3.org>
Message-ID: <CA827565.4FA25%nicholas.humfrey@bbc.co.uk>
On 29/08/2011 19:38, "Gregg Kellogg" <gregg@kellogg-assoc.com> wrote:

> I've just released rdf-turtle [1] [2], an implementation of the current RDF
> 1.1 Turtle specification [3] in Ruby for the RDF.rb library suite. Note that
> the rdf-n3 gem also asserts that it will parse Turtle, but there are some
> important differences from Notation3 and earlier Turtle specs:
> * additional string-literal support 'lit', "lit", '''lit''', and """lit""",
> * @prefix support uses SPARQL-like PNAMES instead of the more restrictive
> * The empty prefix ":" is no longer a synonym for <#>. Out of spec, it is
> implemented as <>,
> * Uses IRIs instead of URI References.
> * For the time being, plain literals are generated without an xsd:string
> datatype, but literals with an xsd:string datatype are saved as non-datatyped
> triples in the graph. This will be updated in the future when the rest of the
> library suite is brought up to date.
> The gem supports both parsing from Turtle to a graph and serializing from a
> graph to Turtle.
> Basic usage is fairly simple:
>     require 'rdf/turtle'
>     graph = 
> RDF::Graph.load("https://raw.github.com/gkellogg/rdf-turtle/master/etc/doap.tt
> l", :format => :ttl)
>     graph.dump(:ttl)
> Issues with the spec will be posted to public-rdf-comments@w3.org. Issues with
> the gem should go to public-rdf-ruby@w3.org
> Gregg
> [1] http://github.org/gkellogg/rdf-turtle
> [2] http://rubygems.org/gems/rdf-turtle
> [3] http://www.w3.org/TR/2011/WD-turtle-20110809/

Hi Greg,

This is great! Thank you very much for creating this.
I have just updated dbpedialite.org to add Turtle support :)



This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated.
If you have received it in error, please delete it from your system.
Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately.
Please note that the BBC monitors e-mails sent or received.
Further communication will signify your consent to this.
Received on Tuesday, 30 August 2011 10:10:05 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 19:53:41 UTC