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

            try {
                while((row = br.readLine())!=null){
                    String[] infos = row.split(" ");
                    String code = infos[0].trim();
                    String name = infos[1].trim();
                    String province = infos[2].trim();
                    String type = infos[3].trim();
                    String attribute = infos[4].trim();

                    AGGraph graph = maker.createGraph(Constant.u_prefix + code);
                    AGModel model = new AGModel(graph);

                    Resource uniRes = model.createResource(Constant.u_prefix + code);
                    Resource provRes = model.createResource(Constant.p_prefix + province);
                    Resource typeRes = model.createResource(Constant.t_prefix + type);
                    Resource attrRes = model.createResource(Constant.a_prefix + attribute);

                    uniRes.addProperty(UNI.uniCode, code)
                            .addProperty(UNI.name, name)
                            .addProperty(UNI.locatedIn, provRes)
                            .addProperty(UNI.type, typeRes)
                            .addProperty(UNI.attribute, attrRes);

                    model.close();
                    graph.close();
                }
            } finally {
                br.close();
                read.close();
            }
        } catch (FileNotFoundException e) {
            e.printStackTrace();  //To change body of catch statement use File | Settings | File Templates.
        } catch (IOException e) {
            e.printStackTrace();  //To change body of catch statement use File | Settings | File Templates.
        }
        return true;  //To change body of implemented methods use File | Settings | File Templates.
    }