RDF parser to subdue graph format