stanbol-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Olivier Grisel <>
Subject Re: Do Stanbol have a global SPARQL endpoint?
Date Wed, 16 Mar 2011 16:22:36 GMT
One should probably extend / adapt the JAX-RS SPARQL resource of the
enhancers to point to other graph ids as needed. One could make a new
JAX-RS resources such as /graph/{graphId}/sparql to build dynamically
sparql endpoint for all the clerezza graphs registered in stanbol for

In the class SparqlQueryResource, instead of the hard-coded:

        Object result = tcManager.executeSparqlQuery(query,

One could have something like:

        Object result = tcManager.executeSparqlQuery(query,
                tcManager.getGraph(new UriRef("urn:graph:" + graphId)));


View raw message