Hi Hugh.
The jar in CVS (virt_sesame3.jar) works perfectly well, and the sources
seem fine as well, but the jar on the Download page causes the Exception.
It seems that for some reason the used ValueFactory doesn't contain a
BNodeFactory.
Best regards,
Timo Westkämper.
Hi Timo,
The source for the sesame 3 provider are in ~/binsrc/sesame3/virtuoso_driver of
the open source archive (ditto for the sesame2 provider) ...
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 18 Nov 2010, at 07:08, Timo Westkämper wrote:
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
Virtuoso-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtuoso-users
------------------------------------------------------------------------------
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
Virtuoso-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtuoso-users