- From: Ian Dickinson <i.j.dickinson@gmail.com>
- Date: Tue, 21 Nov 2017 00:30:14 +0000
- To: Anthony Durity <a.durity@umail.ucc.ie>
- Cc: W3C Ruby RDF mailing list <public-rdf-ruby@w3.org>
On Mon, Nov 20, 2017 at 4:47 PM, Anthony Durity <a.durity@umail.ucc.ie> wrote:
> What about the SPARQL-y route?
Off the top of my head, untested:
select distinct ?term {
{ ?term ?p ?o } union
{ ?s ?term ?o } union
{ ?s ?p ?term }
FILTER (!isBlank(?term))
}
Probably quite an expensive query on a store of any size, so be careful!
Hth,
Ian
Received on Tuesday, 21 November 2017 00:30:40 UTC