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

Re: Iterating through a Spira repo?

From: Asaf Bartov <asaf.bartov@gmail.com>
Date: Wed, 2 Mar 2011 16:14:52 +0200
Message-ID: <AANLkTi=qJ0b3Xhfpyp8w7Zjj1wh8YfwEiifJmG8HKCjH@mail.gmail.com>
To: public-rdf-ruby@w3.org
Ah.  I have discovered RDF::Reader.

Sorry to have bothered you.

Cheers,

   Asaf

On Wed, Mar 2, 2011 at 4:11 PM, Asaf Bartov <asaf.bartov@gmail.com> wrote:

> Hi.
>
> I have a file with a few dozen N-Triples, describing three or four subjects
> (entities), with several predicate for each.  I use Spira and rdf.rb.  I'd
> like to *iterate* over all the different subjects in the repo, to present
> all of them, without knowing their URIs in advance.  In my sample, they are
> all of the form <http://..../ItemNNN>, so I could construct these URLs for
> my sample, but more generally, I wouldn't know what entities are there.
>
> So is there a way to enumerate the entities in a repo?
>
> Thanks in advance,
>
>    Asaf
> --
> Asaf Bartov <asaf.bartov@gmail.com>
>



-- 
Asaf Bartov <asaf.bartov@gmail.com>
Received on Wednesday, 2 March 2011 14:15:48 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 2 March 2011 14:15:48 GMT