Skip to content

Commit 069b3b5

Browse files
committed
Use rdflib.parse instead of rdflib.load
1 parent d39fb06 commit 069b3b5

File tree

1 file changed

+1
-1
lines changed
  • cfpq_data/graphs/readwrite

1 file changed

+1
-1
lines changed

cfpq_data/graphs/readwrite/rdf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ def graph_from_rdf(source: Union[Path, str], verbose: bool = True) -> MultiDiGra
154154
Loaded graph.
155155
"""
156156
tmp = RDFGraph()
157-
tmp.load(str(source), format="xml")
157+
tmp.parse(str(source), format="xml")
158158

159159
g = MultiDiGraph()
160160

0 commit comments

Comments
 (0)