Added a function around the reading in rdf_parser.py