TypeResolver types = new TypeResolver();
TriplesReader typesReader = new TriplesReader("/home/clement/osm/dbpedia-to-sql/data/types/types_fr.nt.gz");
int i = 0;
while (true) {
Triple t = typesReader.nextTriple();
if (t == null) break;
LinkTriple lt = (LinkTriple)t;
lt.setSubject(URISimplifier.simplify(lt.getSubject()));
types.addTypeDeclaration((LinkTriple)t);
if (++i % 10000 == 0) {