public boolean importCategory4M(String file) {
        try {
            FileReader read = new FileReader(file);
            BufferedReader br = new BufferedReader(read);
            String row;

            AGGraph graph;

            if (maker.hasGraph(Constant.cate_graph)) {
                graph = maker.openGraph(Constant.cate_graph);
            } else {
                graph = maker.createGraph(Constant.cate_graph);
            }

            AGModel model = new AGModel(graph);

            try {
                while ((row = br.readLine())!=null) {
                    String[] items = row.split(" ");
                    Resource cate_res = model.createResource(Constant.cate_graph + "/" + items[0]);

                    if (!cate_res.hasProperty(UNI.code, items[0])) {
                        cate_res.addProperty(UNI.code, items[0])
                                .addProperty(RDFS.label, items[1]);
                    }
                }
            } finally {
                model.close();
                graph.close();
                br.close();
                read.close();
            }

            return true;
        } catch (FileNotFoundException e) {
            e.printStackTrace();  //To change body of catch statement use File | Settings | File Templates.
        } catch (IOException e) {
            e.printStackTrace();
        }

        return false;  //To change body of implemented methods use File | Settings | File Templates.
    }