On 31/05/12 16:49, De Mel, Geeth Ranmal wrote:
To Whom It May Concern:

I am starting a fuseki server with the provided configuration file (see
below).  What I would like to do is to retrieve the capabilities of the
service once it is created.  The reason being, there could be multiple
such SPARQL services (available over the net but capabilities are not
know to me) and I want to select some based on their capabilities (e.g.,
services with update capabilities).  Is there anyway to find that (i.e.,
service capabilities) out programmatically?  Any advice regarding this
would be much appreciated.

Regards
- Geeth

Try the DatasetRegistry - there is one global one, accessed via it's get() static.

org.apache.jena.fuseki.server.DatasetRegistry

The other way is to read the configuration file as RDF and look in that.

The configuration parser is in FusekiConfig

In the future, there will be support for SPARQL service descriptions [1]. Contributions welcome.


        Andy

[1] http://www.w3.org/TR/sparql11-service-description/

Reply via email to