hi....... i'm comparing two owl files using jena. in that i use this
code for comparision
private boolean areEqual(RDFNode thisOne, RDFNode thatOne){
if(thisOne.isResource() && thatOne.isResource())
return areEqual(thisOne.asResource(), thatOne.asResource());
if(thisOne.isLiteral() && thatOne.isLiteral())
return areEqual(thisOne.asLiteral(), thatOne.asLiteral());
return false;
}
but there is an error in asLiteral() and asResource(). I have imported
hp.hpl.jena.rdf.graph.RDFNode but still i can't resolve the error.
anyone help me
On Sat, Apr 6, 2013 at 9:22 PM, aarthi <[email protected]> wrote:
> hi mark Fischer...
> sorry to disturb you again... You used asLiteral() and asResource()
> function in your code. I have a doubt, I can't resolve the error in that...
> can you please help me?
>