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

RE: Loading into an RDF::Graph

From: Nicholas Humfrey <Nicholas.Humfrey@bbc.co.uk>
Date: Fri, 16 Apr 2010 16:14:50 +0100
Message-ID: <AFA9DBCCABD8CF48A02ACEB4AD876EA00AEA2E83@bbcxue218.national.core.bbc.co.uk>
To: "Arto Bendiken" <arto.bendiken@gmail.com>
Cc: <public-rdf-ruby@w3.org>
> From: Arto Bendiken [mailto:arto.bendiken@gmail.com]
> Sent: Fri 4/16/2010 2:46 PM
> To: Nicholas Humfrey
> Cc: public-rdf-ruby@w3.org
> Subject: Re: Loading into an RDF::Graph
>  
> 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.

Got it! Thanks :)

nick.

http://www.bbc.co.uk/
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 Friday, 16 April 2010 15:18:13 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 16 April 2010 15:18:14 GMT