Only keep first category level from RDF files