Re: error running rdfstats

2015-03-02 Thread Carmen Manzulli
ok...it was a problem due to the hadoop configuration files!thanks a lotnow rdfstats starts! :D 2015-02-23 10:55 GMT+01:00 Rob Vesse rve...@dotnetrdf.org: If there job is stuck in a Pending state that is usually an issue with the configuration of your Hadoop cluster e.g. insufficient

Re: model.empty()

2015-03-02 Thread Martynas Jusevičius
model.isEmpty() should be enough: http://jena.apache.org/documentation/javadoc/jena/com/hp/hpl/jena/rdf/model/Model.html#isEmpty() On Mon, Mar 2, 2015 at 6:58 PM, Maarten van Dessel maarten.vandes...@ugent.be wrote: I'm sorry for the inconvenience, it was a mistake on my end. Apparently

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.)

TripleFilterBySubjectUriMapper information

2015-03-02 Thread Carmen Manzulli
Hi all, I'm carmen and I want to ask you if there are some specific MapOutputKey and MapOutputValue classes to indicate when execute TrypleFilterBySubjectMapper thank you in advance for the answer. :) Carmen.

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

model.empty()

2015-03-02 Thread Maarten van Dessel
Hi everyone, I'm using construct queries in a project. I want to make decisions based on wether the constructed model contains any data. Is there any way on how this can be known? Example query: CONSTRUCT { ?person http://example.com#hasStatus http://example.com#Occupied .} WHERE {

Re: model.empty()

2015-03-02 Thread Maarten van Dessel
I'm sorry for the inconvenience, it was a mistake on my end. Apparently model.listStatements.hasNext() does seem to test correctly if a model is empty. Op 2-mrt.-2015, om 18:04 heeft Martynas Jusevičius marty...@graphity.org het volgende geschreven: What's the query code? You are