-
- HashSet<Resource> results = new HashSet<Resource>();
- Layer0 L0 = Layer0.getInstance(graph);
- String typeName = graph.getRelatedValue(type, L0.HasName, Bindings.STRING);
- String search = IndexQueries.quoteTerm(Dependencies.FIELD_TYPES, typeName);
+ HashSet<Resource> results = new HashSet<>();
+ String search = IndexQueries.resourceIdTerm(Dependencies.FIELD_TYPE_RESOURCE, type);