Hi Hugh.

I used the Sesame 3 adapter and JDBC 4 driver from this page : http://virtuoso.openlinksw.com/dataspace/dav/wiki/Main/VOSDownload

The Sesame dependencies I use are from the 3.0-alpha-1 version via this Maven repository :
http://repo.aduna-software.org/maven2/releases

Are the sources for the Virtuoso Sesame 3 adapter available for download? This way I could debug the problem more easily.

Best regards
Timo Westkämper.

Hi Timo,

Yes, Virtuoso does support blank nodes as does the Virtuoso Sesame Provider.  
How exactly are you compiling and attempting to run the application containing 
the code snippet you provided below ?

Best Regards
Hugh Williams
Professional Services
OpenLink Software
Web: http://www.openlinksw.com
Support: http://support.openlinksw.com
Forums: http://boards.openlinksw.com/support
Twitter: http://twitter.com/OpenLink

On 17 Nov 2010, at 15:35, Timo Westkämper wrote:

Hi.

I am using Sesame 3 with the JDBC 4 driver to access a Virtuoso database
and I am having problems creating blank nodes through it :

         Repository repository = new
VirtuosoRepository("localhost:1111", "dba", "dba");
         repository.initialize();
         RepositoryConnection conn = repository.getConnection();
         try{
             conn.getValueFactory().createBNode();
         }finally{
             conn.close();
             repository.shutDown();
         }

This is the stacktrace I get :

java.lang.UnsupportedOperationException
     at
org.openrdf.model.impl.ValueFactoryImpl.createBNode(ValueFactoryImpl.java:86)
    ...

Blank nodes are not supported with OpenLink Virtuoso?

Best regards
Timo Westkämper

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2&  L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
_______________________________________________
Virtuoso-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/virtuoso-users


Reply via email to