Hi,
I have stored a triples file(http://sider.com) in virtuoso quad store.I am
trying to access it using jdbc.Part of my program is something like this
Class.forName("virtuoso.jdbc3.Driver");
String url = "jdbc:virtuoso://localhost:1111/DATABASE=DB/UID=dba/PWD=dba/";
Connection conn = DriverManager.getConnection(url, "dba", "dba");
Statement stmt = conn.createStatement();
String graph = "<http://www.sider1.com>";
boolean more = stmt.execute( "sparql SELECT ?s ?r ?o FROM " + graph + "
WHERE { ?s ?r ?o } LIMIT 10");
Am trying to follow the instructions in the following link
http://wikis.openlinksw.com/dataspace/owiki/wiki/VirtuosoWikiWeb/WinJDBCtoVirt
.
Every time i try to open the JDBCDemo bat file by double clicking on it,it
does not open.Any idea why that is happening.or is there any other way to
connect to virtuoso quad store.
any examples or documentation?
Thanks,
Madhu.