Hi,
I'd like to use Virtuoso as a backend for a Jena-based application.
I started with the provided VirtGraph in virtuoso-opensource-5.0.5/
binsrc/jena/virtuoso_driver, however it is rather limitted. It only
supports a Graph mapping which is quite low-level and does not allow
to make use of the ontology layer features provided by Jena.
I tried to wrap a Jena Model around the Graph with but it didn't work.
An exception is thrown, because VirtGraph's protected member GraphRDB
"m_parent" is never instantiated leading to a NullPointerException
consequently. Because I think the Graph level support is not of much
use, I'd suggest to implement the com.hp.hpl.jena.db.impl.IRDBDriver
interface i.e. extend Jena's abstract DriverRDB as it was done for
MySQL, MS-SQL, and PostgreSQL already. I don't think it's a big deal,
and I even would try if nobody else being deeper into Virtuoso can do
it. However, I'd first want to know if there was some effort towards
that direction before I start.
Thanks,
Andy
----------------------------------------------------------------------
Dipl.-Ing.(FH) Andreas Langegger
Institute for Applied Knowledge Processing
Johannes Kepler University Linz
A-4040 Linz, Altenberger Straße 69
http://www.langegger.at