Re: sparql for vocab management: theory vs practice

On Sun, Mar 26, 2006 at 06:07:30 +0100, Andy Seaborne wrote:
> The service <http://www.sparql.org/sparql> accepts any SPARQL query and 
> expects the dataset description in the protocol or in the query.  I just 
> tested it.
> 
> The service <http://www.sparql.org/books> does not allow it to be specified 
> and only queries the backing dataset.

Aha, it must have been that one I tried, I looked down the DAWG shows list
and picked a couple.
 
> >So you can run a regex directly against ?p, without casting it to a
> >string? That's handy/grungy...
> 
> No - you will need the str() or else get runtime exceptions (causing no 
> results).  See example above:

D'oh! Indeed. Can't believe I forgot that.

> >On the query itself, once this part works, I guess I can scope the 
> >?s ?p ?o part to a set of named graphs, rather than the default graph?
> >(I need this in a real app, where we're checking healthcare records are
> >all using properly defined properties).

I think so, yes. I've not run it yet, it blows up the 3store optimiser at
the moment.

- Steve

Received on Sunday, 26 March 2006 22:24:23 UTC