CFGraph is a Python library that provides a flattening graph for RDFlib collections, converting RDF collection structures into a simplified graph representation. Version 0.2.1 is the latest release, with an irregular release cadence.
pip install cfgraphNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Basic usage: parse an RDF graph and flatten all collections using the Flattener class.
Use `g2 = rdflib.Graph()` and parse again, or use `g2 = g + g` (but careful with blank nodes).
Ensure your data uses the standard RDF collection pattern.
Use with rdflib < 6.0 or test compatibility.