On Mon, Mar 11, 2013 at 9:03 AM, Reto Bachmann-Gmür <[email protected]> wrote: > Hi, > > I missed this registation mechanism for the stanbol endpoint. Why can't all > triplecollections in TcManager be queried? >
This was a design decision. There was never the intension to publish all (Clerezza) TripleCollections but rather to allow Stanbol components to provide a SPARQL service over their RDF data. With the adaption of the 2-layerd storage solution for the Contenthub (and later also the Entityhub) we might need to rethink the /sparql endpoint to support also the querying of RDF graphs not managed by Clerezza. I have already started an implemented already a native Jena TDB store for the Entityhub in the "contenthub-two-layered-structure" branch and I would also like to provide a Store implementation based on the Kiwi Triple Store [3] mainly because of its reasoning [4] and versioning [5] support. Maybe we might choose to do this also via Clerezza wrappers, but before testing this I would like to wait for the Clerezza fast-lane feature [2]. If not we could also choose to extend the /sparql endpoint to support multiple SPARQL engines. best Rupert [1] http://svn.apache.org/repos/asf/stanbol/branches/contenthub-two-layered-structure/entityhub/store/jenatdb/ [2] https://issues.apache.org/jira/browse/CLEREZZA-468 [3] http://marmotta.incubator.apache.org/kiwi/introduction.html [4] http://marmotta.incubator.apache.org/kiwi/reasoner.html [5] http://marmotta.incubator.apache.org/kiwi/versioning.html > Cheers, > Reto > > On Sun, Mar 10, 2013 at 6:00 PM, Rupert Westenthaler < > [email protected]> wrote: > >> Hi all >> >> please do NOT relay on "http://{stanbol}/sparql". While this endpoint >> allows to perform SPARQL queries on Clerezza Graphs that are >> registered accordingly it is not meant to be meant as a general >> purpose SPARQL endpoint (at least not in its current state). The >> /sparql endpoint only exposes RDF graphs used by Stanbol. Currently >> this include the RDF graph of the Contenthub and also RDF graphs used >> by configured ClerezzaYards. The SolrYard (as used by default by the >> Entityhub) does NOT support SPARQL (as it is not really feasible to >> implement SPARQL on top of Solr). >> >> Developers can also register their own Clerezza Graphs with the >> Stanbol SPARQL endpoint as described in [1]. >> >> If users do have use cases where they would like to use SPARQL please >> tell us. If their is a need for a SPARQL endpoint we can definitely >> improve the SPARQL capabilities of Stanbol. >> >> best >> Rupert >> >> [1] http://markmail.org/message/zm2tqlvs4flwvjyd >> >> On Sun, Mar 10, 2013 at 8:51 AM, Sergio Fernández >> <[email protected]> wrote: >> > Hi, >> > >> > >> > On 10/03/13 05:53, Mohammad Mourhaf AL Asswad wrote: >> >> >> >> I am trying to use Stanbol to index RDF files and query them using >> >> SPARQL. I managed to index RDF files but fails to query them. I >> >> cannot get to the http://{stanbol}/sparql to execute SPARQL queries. >> >> Do you know any useful source that explains in details how to do >> >> that? >> > >> > >> > Not sure what you want to do... SPARQL is a triple language not capable >> of >> > using those indexes, beyond optimizations under the hood on literal >> > comparisons. >> > >> > Rupert, correct me if I'm wrong. The semantic search infrastructure is >> there >> > not to just import data and query data as it is, but to allow using a RDF >> > dataset as knowledge base for applying different information extraction >> > techniques (entity lookup, disambiguation and so on....). >> > >> > Although the line is quite thin, and actually the technologies used >> probably >> > pretty the same (Solr and LDPath), for what (I understood) you're trying >> to >> > do, probably you would need to take a look other options, such as LMF: >> > >> > http://code.google.com/p/lmf/wiki/GuideSemanticSearch >> > >> > Hope this helps. >> > >> > Cheers, >> > >> > -- >> > Sergio Fernández >> > Salzburg Research >> > +43 662 2288 318 >> > Jakob-Haringer Strasse 5/II >> > A-5020 Salzburg (Austria) >> > http://www.salzburgresearch.at >> >> >> >> -- >> | Rupert Westenthaler [email protected] >> | Bodenlehenstraße 11 ++43-699-11108907 >> | A-5500 Bischofshofen >> -- | Rupert Westenthaler [email protected] | Bodenlehenstraße 11 ++43-699-11108907 | A-5500 Bischofshofen
