clerezza-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reto Bachmann-Gmür <>
Subject Re: Name aware graphs
Date Fri, 19 Apr 2013 04:31:13 GMT
Hi Giuseppe

Hasan knows more abut the Sparql related parts.

Adding a name to the graph (subclass of TripleCollection) interface if
problematic as it would seem to affect the identity criterion. The RDF
Abstract Syntax and Semantics define the concept of graphs and specify when
they are identical the Clerezza API tries to stick to this.

However TcManager provided method to return the name(s) of
TripleCollection. Isn't this good enough?


On Thu, Apr 18, 2013 at 11:40 AM, Giuseppe Miscione <> wrote:

> Hi all,
> I'm developing an enhanced SparqlEngine that allows to use Jena LARQL
> extension to make full text queries inside sparql.
> LARQL requires that a Lucene index is created for the graph on which the
> full text query is executed and I'm storing these indexes in folders whose
> name is the same name of the corresponding Clerezza graph.
> Currently, SparqlEngine.execute method receives only a TripleCollection,
> which isn't aware of the name with which it has been loaded by the
> TcManager and so I can't easily figure out which is the Lucene index that I
> have to bind to Jena query execution context to make LARQL work properly.
> What do you think of adding a pair of getName() and setName(String name)
> methods to the TripleCollection interface so that the TcManager can bind
> the name used to load the triples to the collection?
> Regards,
> Giuseppe

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message