Re: Iterating through a Spira repo?

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 UTC