Resource configuration = graph.getPossibleObject(model, b.HasConfiguration);\r
for(Resource part : graph.getObjects(configuration, b.ConsistsOf)) {\r
String partName = graph.getPossibleRelatedValue(part, b.HasName, StringBindingDefault.INSTANCE);\r
- Resource partResource = graph.newResource();\r
- int partNode = context.getIndex(partResource);\r
- graph.claim(run, b.ConsistsOf, null, partResource);\r
-// System.out.println("RealizationVirtualGraph primes " + partName);\r
- undiscovered.put(partNode, new ResourceData(runNode, part, valuation, partName, experimentName, null));\r
+ if(partName != null) {\r
+ Resource partResource = graph.newResource();\r
+ int partNode = context.getIndex(partResource);\r
+ graph.claim(run, b.ConsistsOf, null, partResource);\r
+ undiscovered.put(partNode, new ResourceData(runNode, part, valuation, partName, experimentName, null));\r
+ }\r
}\r
\r
}\r