Re: [Virtuoso-users] Automatic loading of triples into virtuoso

2014-01-17 Thread Hugh Williams
Hi Andra, You cannnot call the TTLP_MT function directly in Jena, but can if a JDBC connection is made to Virtuoso and you do say is there anyway this can be done in "Java" , so would that suffice ? Note you can also use the Virtuoso RDFBulkloader [1] functions for managing the bulk loading of

[Virtuoso-users] Automatic loading of triples into virtuoso

2014-01-17 Thread Andra Waagmeester
Hi, I am looking into a solution to automatically load triples into our triples store. We use jena to convert our data into triples. Our current workflow is that we dump the triples in a file (e.g. content.ttl) after which this file is loaded through the isql command line: "DB.DBA.TTLP

Re: [Virtuoso-users] Automatic loading of triples into virtuoso

2014-01-15 Thread Jim McCusker
I do something like this: OntModel memoryModel = ...; VirtModel model = null; try { model = VirtModel.openDatabaseModel(graphURI,virtuosoURL,virtuosoUser,virtuosoPassword); model.begin(); model.removeAll(); model.add(memoryModel); model.commit(); } catch (Exception e) { if (model != null) m

[Virtuoso-users] Automatic loading of triples into virtuoso

2014-01-15 Thread Andra Waagmeester
Hi, I am looking into a solution to automatically load triples into our triples store. We use jena to convert our data into triples. Our current workflow is that we dump the triples in a file (e.g. content.ttl) after which this file is loaded through the isql command line: "DB.DBA.TTLP