- From: Anthony Durity <a.durity@umail.ucc.ie>
- Date: Mon, 20 Nov 2017 16:47:58 +0000
- To: W3C Ruby RDF mailing list <public-rdf-ruby@w3.org>
Received on Monday, 20 November 2017 16:48:29 UTC
Replying to self:
If using
repo = RDF::DataObjects::Repository.new uri:
'sqlite3:./db/development.sqlite3'
Is it as simple as
repo.terms
?
What about the SPARQL-y route?
On 20 November 2017 at 16:42, Anthony Durity <a.durity@umail.ucc.ie> wrote:
> Hi all,
>
> Trying to get a one dimensional array of all unique/distinct resources in
> local store regardless be the resource a subject, predicate or object.
>
> To emphasize. I don't want distinct triples, I want distinct resources
> (excluding literals and blank nodes).
>
> Both SPARQL-y and non SPARQL-y (Ruby RDF) answers welcome.
>
> Thanks!
>
>
>
Received on Monday, 20 November 2017 16:48:29 UTC