read_rdf

read_rdf(path, **kwargs)[source]

Read an RDF file with rdflib.

Parameters:
  • path (Union[str, Path]) – The path to the RDF file

  • kwargs – Additional kwargs to pass to rdflib.Graph.parse()

Returns:

A parsed RDF graph

Return type:

rdflib.Graph