- Layer0 L0 = Layer0.getInstance(graph);
- CollectionSupport coll = graph.getService(CollectionSupport.class);
- List<Resource> results = coll.createList();
- for(Resource match : find(graph, model, name)) {
- if(name.equals(graph.getPossibleRelatedValue(match, L0.HasName, Bindings.STRING))) results.add(match);
- }
- return results;