Prerak said: > Hey there everyone, I am working on a project that involves fetching data > from dbpedia. using its SPARQL endpoint and I was wondering whether > there is any method jena provides to convert the the object returned > and stored in an RDFNode from a dbpedia query i.e a XMLSchema#double > into a java int so that I can perform operations on it and modify the data > for my use.
If the data is a double, why do you want to force it into a Java int? Can you not deal with it as a double? [Doubles have more range and more precision than ints.] Chris -- "You're down as expendable. You don't get a weapon." /Dark Lord of Derkholm/ Epimorphics Ltd, http://www.epimorphics.com Registered address: Court Lodge, 105 High Street, Portishead, Bristol BS20 6PT Epimorphics Ltd. is a limited company registered in England (number 7016688)
