Hi Kuba, On Fri, Sep 13, 2013 at 10:11 AM, Kuba The Greatest > <komuwdr...@gmail.com> 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