|
From: Yossi C. <yos...@li...> - 2013-02-05 18:30:33
|
Hi,
Couple of (related?) questions:
1. Should an OntologyResource (represented by an INode) have a different graph then its representative resource?
2. When working with StoreGraphPersistenceWrapper (that implements IGraph) one could do something like this: IGraph g = new StoreGraphPersistenceWrapper(...) INode resource = g.CreateUriNode(some uri) ... do somthing like: make a query which returns SparqlResult than, do: INode node2 = result[0].CopyNode(g) --> (which copies a node with the underlining graph and not with the wrapper.)
Leading to tow nodes (resource & node2) which have a different graph!
When I'm working with a wrapper graph it is an IGraph and I expect the xxx.CopyNode(g) to return a node within the graph (g) supplied in the argument.
Thanks, Yossi.
|