Hello,

I am trying to use the Virtuoso-Jena provider to make an Inference Graph in 
Jena using Virtuoso as a RDF backend but an exception is thrown. The code I use 
is:

VirtGraph schemaGraph = new VirtGraph 
("http://MyGraph/schema#","jdbc:virtuoso://localhost:1111/charset=UTF-8/log_enable=2";,
 "dba", "dba");
VirtGraph dataGraph = new VirtGraph 
("http://MyGraph/data#","jdbc:virtuoso://localhost:1111/charset=UTF-8/log_enable=2";,
 "dba", "dba");
Model dataModel = new VirtModel(dataGraph);

Model schemaModel = new VirtModel(schemaGraph);
Reasoner reasoner = ReasonerRegistry.getOWLReasoner();
reasoner = reasoner.bindSchema(schemaModel);
InfModel infmodel = ModelFactory.createInfModel(reasoner, dataModel);


Iterator<Statement> list = infmodel.listStatements();


The exception I get is "Exception in thread "main" 
virtuoso.jdbc3.VirtuosoException: Tag 1 not defined." when the listStatements() 
method is called. Is there a way to fix this problem?

Thanks,
Babis

Reply via email to