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

Reply via email to