W3C home > Mailing lists > Public > public-rdf-ruby@w3.org > April 2010

Re: Loading into an RDF::Graph

From: Arto Bendiken <arto.bendiken@gmail.com>
Date: Fri, 16 Apr 2010 15:46:49 +0200
Message-ID: <x2l47fe11b71004160646hc533fb0ay3fe1f0da37bb3376@mail.gmail.com>
To: Nicholas Humfrey <nicholas.humfrey@bbc.co.uk>
Cc: public-rdf-ruby@w3.org
Nick,

On Thu, Apr 15, 2010 at 11:30 AM, Nicholas Humfrey
<nicholas.humfrey@bbc.co.uk> wrote:
> [...]
>
> Could the API be simplified to:
>
> graph = RDF::Graph.new('http://www.bbc.co.uk/programmes/b0081dq5.rdf')
> graph.load!
>
> Or perhaps:
>
> graph = RDF::Graph.load('http://www.bbc.co.uk/programmes/b0081dq5.rdf')

I have now implemented both your good suggestions in the just-released
RDF.rb 0.1.7. Just upgrade to this new version and your suggested code
examples will then work exactly as you wrote them.

Cheers,
Arto

-- 
Arto Bendiken | @bendiken
Received on Friday, 16 April 2010 13:47:25 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 16 April 2010 13:47:26 GMT