InputStream is = new BufferedInputStream(new FileInputStream(fileName));
Model m = ModelFactory.createDefaultModel().
read(new InputStreamReader(is), "http://diplomski.nelakolundzija.org/LTontology.rdf#", syntax);
is.close();
RDF2Bean reader = new RDF2Bean(m);
Collection<LearningToolCls> ltools = reader.loadDeep(LearningToolCls.class);
Iterator<LearningToolCls> iter = ltools.iterator();
ltool = iter.next();
} catch (Exception e) {
System.err.println("Error in reading");