Re: Print a model without the option ^^http://www.w3.org/2001/XMLSchema#string

2015-03-05 Thread Marco Tenti
K, I solved ty all for the help, you point me to the right direction for anyone have the same trouble i put the code i used: model = ..; model2 = ..; com.hp.hpl.jena.rdf.model.StmtIterator stats = model.listStatements(); while (stats.hasNext()) {

Print a model without the option ^^http://www.w3.org/2001/XMLSchema#string

2015-03-02 Thread Marco Tenti
Hi, everyone, my question today is a little strange but i need it for a integration with a exisisting project, there is a way to write a model without the option of the literal object? In the specific only for the string object. I solved for now with other java code (Scanner,read,replace,ecc.)

Re: Print a model without the option ^^http://www.w3.org/2001/XMLSchema#string

2015-03-02 Thread Stian Soiland-Reyes
What if you try something like this? https://gist.github.com/stain/be58129e5ac382668f53 public static class SimpleLiteralStreamRDF extends StreamRDFProxy { public SimpleLiteralStreamRDF(StreamRDF writer) { super(writer); } @Override public void

Re: Print a model without the option ^^http://www.w3.org/2001/XMLSchema#string

2015-03-02 Thread Andy Seaborne
On 02/03/15 14:53, Marco Tenti wrote: Hi, everyone, my question today is a little strange but i need it for a integration with a exisisting project, there is a way to write a model without the option of the literal object? In the specific only for the string object. I solved for now with other