From: John I. <joh...@uk...> - 2010-09-29 12:04:59
|
I'm starting to use the NG4J api and trying to understand some of the more detailed parts. I have a set of 216 testcases that I want to add to a model - each testcase being a different NamedGraph. I've created the NamedGraphSet and can create each of the NamedGraphs. I now want to add Resources to the graph. Looking at the API I can construct a Jena model view of the NamedGraphSet. How can I then add Resources to a NamedGraph through the Jena model view ? Do I use the NamedGraphModel.getResource(String, Resource) method where the String identifies the NamedGraph and the Resource is the Resource within that Graph ? Regards, John Unless stated otherwise above: IBM United Kingdom Limited - Registered in England and Wales with number 741598. Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU |