public SparseVector[] computeFeatureVectors(RDFDataSet dataset, List<Resource> instances, List<Statement> blackList) {
SparseVector[] featureVectors = new SparseVector[instances.size()];
for (int i = 0; i < featureVectors.length; i++) {
featureVectors[i] = new SparseVector();
}
DirectedGraph<Vertex<Map<Integer,StringBuilder>>,Edge<Map<Integer,StringBuilder>>> graph = createGraphFromRDF(dataset, instances, blackList);
createInstanceIndexMaps(graph, instances);
addNegativeDepths(graph);