Thank you for these clarifications. Laurent
On 16 May 2017 at 07:58, Lorenz B. <[email protected]> wrote: > It depends on the definition of "existence" in an RDF graph. What if the > URI resp. resource only occurs in the object position of a triple? Then > you'd need something like this: > > ASK WHERE { > {<my-specific-URI> ?p ?o . } > UNION > {?s ?p <my-specific-URI> . } > } > > Hello, > > > > I want to write a SPARQL query to attest the existence of a specific URI > in > > a TDB. > > > > Is the following query the right way to do this (considering notably the > > execution performances with big volumes) ? > > > > ASK WHERE { > > <my-specific-URI> ?p ?o . > > } > > > > Thank you in advance for your help, > > > > Laurent > > > -- > Lorenz Bühmann > AKSW group, University of Leipzig > Group: http://aksw.org - semantic web research center > >
