Ciao Achille
Achille Zappa wrote:
Hi ,
my name is Achille Zappa , italian PhD student, and i'm working, for my
projects, in rdfizing and linking biological data in lod and so on. I
deployed a d2r-server for my datasets but now i'm moving to something better
so i started using Jena APIs : TDB for storing and Joseki for the SPARQL
endpoints.
You can use Joseki, but have a look at Fuseki as well:
http://openjena.org/wiki/Fuseki
Think of Fuseki as Joseki4. :-)
I made a dump of my data from d2rand i loaded it into a TDB store
but in d2r-server when i navigate among the resources i can use, the very
useful, "is *property* of" links automatically created by d2r to see the
connections between entities and go forward and backward, but if i make the
dump of the database i lost these links and in pubby i don't have the
reverse links.
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?
You might want to write your how implementation for a DescribeHandler:
"Application-specific handlers can be added to the DescribeHandlerRegistry.
The handler will be called for each resource (not literals) identified by
the DESCRIBE query."
-- http://openjena.org/ARQ/extension.html#describeHandlers
DescribeHandler is the interface you need to implement:
http://svn.apache.org/repos/asf/incubator/jena/Jena2/ARQ/trunk/src/main/java/com/hp/hpl/jena/sparql/core/describe/DescribeHandler.java
DescribeHandlerRegistry is here:
http://svn.apache.org/repos/asf/incubator/jena/Jena2/ARQ/trunk/src/main/java/com/hp/hpl/jena/sparql/core/describe/DescribeHandlerRegistry.java
I wrote a SCBD somewhere, but I am not finding it at the moment.
Paolo
Thank you in advance, and thank you for your works and efforts, i appreciate
it !
Best Regards,
Achille