On 25 Oct 2011, at 18:05, Achille Zappa wrote:

> Hi ,

Hi Achille,

> The problem is that the actual SPARQL store doesn't return the inverse links
> as result to DESCRIBE queries. There may be a way of configuring the store
> so that it returns “incoming triples” as well as “outgoing triples” for a
> resource when a DESCRIBE query on that resource is asked.?  This is
> sometimes also called a “Symmetric Concise Bounded Description”, it seems to
> me.
> May you help me? Do you have any advices to optimize the system?

I wrote a symmetric describe handler for a recent project. [1]

It:

a) Doesn't do bnode traversal. (we didn't have any of interest)
b) Enforces an upper limit on result size.
c) Gets rdfs:labels for the edges.
d) Skips our inferred triples. (all in a particular namespace)
e) Works over quad stores (tested on TDB). It won't work properly on other 
datasets.

Compile it and add:

[] ja:loadClass 
"org.ilrt.researchrevealed.describehandler.BackwardForwardDescribeFactory" .

to your config.

Damian

[1] <https://gist.github.com/1313924>

Reply via email to