load_rdf
- load_rdf(key, *subkeys, name=None, parse_kwargs=None)[source]
Open an RDF file with
rdflib
.- Parameters:
key (
str
) – The name of the module. No funny characters. The envvar <key>_HOME where key is uppercased is checked first before using the default home directory.subkeys (
str
) – A sequence of additional strings to join. If none are given, returns the directory for this module.parse_kwargs (
Optional
[Mapping
[str
,Any
]]) – Keyword arguments to pass through topystow.utils.read_rdf()
and transitively tordflib.Graph.parse()
.
- Return type:
- Returns:
An RDF graph