environment = new File(out);
Graph<String> graph = null;
if(type == Type.RDFXML)
{
RDFDataSet testSet = new RDFFileDataSet(data, RDFFormat.RDFXML);
List<Statement> triples = testSet.getFullGraph();
graph = RDF.createDirectedGraph(triples, null, null);
} else if(type == Type.TURTLE)
{
RDFDataSet testSet = new RDFFileDataSet(data, RDFFormat.TURTLE);
List<Statement> triples = testSet.getFullGraph();
graph = RDF.createDirectedGraph(triples, null, null);
}
Clusterer<String> cl = new GraphKMedoids<String>(NUM_CLUSTERS);