No, the path is hardcoded in the jax-rs annotation. By tthe design of
JAX-RS It would not be trivial to make this configurable. But why would you
want two Sparql endpoints?

Reto


On Tue, Sep 17, 2013 at 2:19 PM, [email protected] <[email protected]>wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> This is a thread currently running on the Stanbol mailing list, in which
> it is pointed out that the Clerezza SPARQL endpoint is available at
> "/sparql", which clashes with Stanbol's SPARQL endpoint. I was wondering if
> there is a way to adjust/redeploy that Clerezza endpoint? Is it
> OSGi-config-able?
>
> - ---
> A. Soroka
> The University of Virginia Library
>
> On Sep 16, 2013, at 3:20 AM, Reto Bachmann-Gmür wrote:
>
> > Hi Kuba,
> >
> > On Fri, Sep 13, 2013 at 10:11 AM, Kuba The Greatest
> >> <[email protected]> wrote:
> >>> 1) Is there any non programmatical way (e.g. REST API) to register a
> new
> >>> TripleCollection for SPARQL endpoint?
> >>
> >> Not in Apache Stanbol. But you should be able to do this by directly
> >> using Apache Clerezza. Maybe @Reto could add here some information on
> >> how to enable the Clerezza SPARQL endpoint when running in Apache
> >> Stanbol.
> >>
> >
> > With the clerezza sparql endpoint you don't need to register triple
> > collections to the endpoint but any avaialable triple collection can be
> > queried.(But having triple collections with invalid URIs as names causes
> > problems).
> >
> > As the clerezza endpoint also listens at the /sparql path the stanbol one
> > has to be removed before installing the clerezza one. I'm planing to
> create
> > a partialbundlelist/feature with the required bundles soon. In between
> you
> > might have a look at
> >
> https://github.com/fusepool/fusepool-bundlelist/blob/master/src/main/bundles/list.xmlwhich
> > contains the required bundles.
> >
> > Feel free to ask if you encounter problems.
> >
> >
> >>
> >>> 2) Can I register ontologies stored in OntoNet as TripleCollections so
> I
> >>> could run some SPARQL queries on them? Is there any other way I can run
> >>> SPARQL queries on ontologies stored in OntoNet ?
> >>
> >> If I remember correctly the OntologyManager does store ontologies
> >> using Clerezza as prescience. If this is the case those data are
> >> queryable via the Clerezza SPARQL endpoint. Stanbol does not register
> >> them to its own SPARQL endpoint.
> >>
> >>> 3) Does SPARQL endpoint make use of reasoners, especially HermiT ? If
> no,
> >>> would it be possible to add such a feature ? By adding I mean that I
> >> would
> >>> have to connect some modules either by configuring them or
> programming. I
> >>> know that HermiT does not support SPARQL out of the box that's why I am
> >>> even more interested if I can get such a feature using Stanbol.
> >>
> >> Sorry I am not the right person to answer this question.
> >>
> >
> > I'm not the best person either. But from the clerezza side the best
> > approach might be to register a virtual triple collection which exposes
> the
> > base triples + HermiT infered triples with TcManager. It will then be
> > available via the sparql endpoint.
> >
> >
> > Cheers,
> > Reto
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG/MacGPG2 v2.0.19 (Darwin)
> Comment: GPGTools - http://gpgtools.org
>
> iQEcBAEBAgAGBQJSOEjcAAoJEATpPYSyaoIkoCAH/iQH3OFnqtf30Uk++dlbVODO
> klpFMNGWhDogrr47ZtDdmUIFWpnnsI47YrvU5boI/g3+t6MuZpSe7XE4kJejj3Nx
> R+AljkDxz8rX2Jook+DGzeQ/7HARJGRd2mlm/xsLvXPjThLw5uxNH60uyTT+wDuJ
> PStIleK/RU+gNbYZ2dE6xB+fh0/EIemeqTB79Xoi1xXrYhcFCdwgcyHe+LXBtvyI
> TOjKsN3uyw2a/fRPkPmBvYd3JRU9XzExB58PGayHDsympDTZF04SJjGQdWzQhCho
> 5U7BHDrDQ3l11adqZLH0+LKP8PpYkw2IHuXY2H3yytQzQyY+CzjYTdPHpyduc7c=
> =KxTR
> -----END PGP SIGNATURE-----
>

Reply via email to