Based on python package: https://rdflib.readthedocs.io/en/stable/plugin_parsers.html Update the graph.parse method.