RDFLib is a Python library containing an RDF triple store and an RDF/XML parser/serializer.
| Licenses | BSD Original |
|---|---|
| Implementation | Python |
Recent releases


Changes: This bugfix release adds some missing methods to the BackwardCompatibility mixin. As of release 1.2.1, RDFLib passes all the positive and negative rdfcore test cases.


Changes: This is the first release of RDFLib in the 1.2.x stable branch. Releases in the stable branch are for bugfixes and will not contain changes to the interface. For those depending on RDFLib, this branch will be maintained until the next stable release, which will continue to support the interface and will deprecate any methods before they go away in a future stable release.


Changes: The interface was realigned with the last stable release. Serializer now uses more of the abbreviated forms where possible. The parser was optimized and cleaned up, and a third index was added to InMemoryStore. The load and parse methods now take a single argument. A StringInputSource was added to support parsing from strings. rdflib.BTreeTripleStore.TripleStore was renamed to rdflib.BTreeTripleStore.BTreeTripleStore, and a minor reorganization of mix-in classes was done.


Changes: The interface was cleaned up and promoted to SIR, a simple Interface for RDF. The parser now uses SAX2 interfaces instead of using expat directly. BTreeTripleStore, a ZODB BTree TripleStore backend was added, along with a default pre-mixed TripleStore that uses it. Datatype support was added, and the interfaces for load and parse were cleaned up by removing generate_path from loadsave and renaming parse_URI to parse. The latest draft RDF/XML specification is now used.


Changes: Added support for the RDF "Collection" parseType, an items generator for getting items in a Collection, and an Identifier class. rdflib.util was added, containing a first and a uniq function.