How to update literal value in Jena

2015-07-16 Thread Roshan Bharath Das
Hello, I create a model as below myModel = ModelFactory.createDefaultModel(); Resource myResource = accelerometerModel.createResource(“http://myontology. com”); myResouce.addProperty(OWL.hasValue,accelerometerModel.createResource(“http://myontology.com#xvalue

Re: How to update literal value in Jena

2015-07-16 Thread Martynas Jusevičius
Roshan, there is Statement.changeLiteralObject(): https://jena.apache.org/documentation/javadoc/jena/com/hp/hpl/jena/rdf/model/Statement.html#changeLiteralObject(int) Martynas On Thu, Jul 16, 2015 at 11:22 AM, Roshan Bharath Das wrote: > Hello, > > > I create a model as below > > myModel = Mod

Re: Provenance of provenance

2015-07-16 Thread Andy Seaborne
On 15/07/15 19:50, Neil Macwan wrote: I am building a model in Jena and am able to add resources, statements, and properties to it. I also want to add information to this model on its own provenance (the provenance of the model). An example of this is Example 2 at http://www.w3.org/TR/prov-o

Re: Errors DELETEing large-ish Graph from Fuseki

2015-07-16 Thread Stephen Allen
Hi Ric, You could try setting two properties for your dataset: <#yourdatasetname> rdf:type tdb:DatasetTDB ; ja:context [ ja:cxtName "tdb:transactionJournalWriteBlockMode" ; ja:cxtValue "mapped" ] ; ja:context [ ja:cxtName "arq:spillToDiskThreshold" ; ja:cxtValue 1 . ] . The first one w