From: Arun R. <rao...@gm...> - 2009-11-19 07:57:39
|
Hi, I am trying to create an InfModel object using a NG4J NamedGraphModel and when I get the raw model from the InfModel, I expect to get back the original NamedGraphModel. While this comparison returns true: infModel.getRawModel().equals( ngModel) I am not able to cast infModel.getRawModel().getGraph() to NamedGraphSet since infModel.getRawModel().getGraph() seems to be an instance of an inner class of NamedGraphSetImpl. There does not seem to be a simple way in which I can get NamedGraphModel back. Is there a way in which I can get hold of the NamedGraphModel so that I can just keep the InfModel in memory and discard the other objects and still have provenance? Regards, Arun Rao |