Re: [Virtuoso-users] Jena Model without NS Prefix

2008-11-06 Thread tcp
Hi Hugh, the error occurs when i create a model with: Model m = VirtModel.createDatabaseModel("foaf:test", "jdbc:virtuoso://localhost:", "dba", "dba"); m.setNsPrefix("foaf", "http://xmlns.com/foaf/0.1/";); Resource me = m.createResource("foaf:" + "testPerson"); me.addProperty

[Virtuoso-users] Jena Model without NS Prefix

2008-10-31 Thread tcp
Hi i'm trying to add an additional NS Prefix to a Jena Model: model.setNsPrefix("foaf", FOAF.NS) but it seems it's not working. When i'm checking the Prefix Map of the model the added prefix is not in there. The Model is created via VirtModel.createDatabaseModel(_modelName, this.v_url, this.v_