- From: Anthony Durity <a.durity@umail.ucc.ie>
- Date: Thu, 23 Nov 2017 21:42:13 +0000
- To: Ian Dickinson <i.j.dickinson@gmail.com>
- Cc: W3C Ruby RDF mailing list <public-rdf-ruby@w3.org>
Received on Thursday, 23 November 2017 21:42:47 UTC
Thank you Ian! I haven't tested it out yet either but I will … On 21 November 2017 at 00:35, Ian Dickinson <i.j.dickinson@gmail.com> wrote: > On Tue, Nov 21, 2017 at 12:30 AM, Ian Dickinson <i.j.dickinson@gmail.com> > wrote: > > 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! > > Oops, you said no literals either. So the filter should be: > > FILTER (!isBlank(?term) && !isLiteral(?term)) > > Ian >
Received on Thursday, 23 November 2017 21:42:47 UTC