Skip to main content


Project description

# rdiffb - RDF diff with convenient bnode treatment

[![Build Status](]( [![Coverage Status](](

## Problem statement

As part of the [LD4L]( Labs project we want a continuous integration environment for conversion of MARC21 bibliographic records into BIBFRAME or LD4L Ontology RDF data. To test against hand-crafted test cases we want an RDF comparison that will handle isomorphism of graphs both with bnodes and with certain other URIs that may be generated in conversion where the exact URI isn’t known. It thus seems best to treat some generated URIs like bnodes for testing. This problem could be handled using a two stage process: URI -> bnode conversion for certain patterns, then graph comparison accounting for bnodes (isomorphism). Combining these two stages to keep track of id changes has the promise of more useful debugging information.

## Other work on RDF graph diffs

## Notes

  • [LD4L RDF diff Use Case]( in detail with examples using
  • [Beware old versions of rdflib (<4.2.0) – upgrade!](

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for rdiffb, version 0.5.0
Filename, size File type Python version Upload date Hashes
Filename, size rdiffb-0.5.0-py3-none-any.whl (12.4 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size rdiffb-0.5.0.tar.gz (7.9 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page