A template repository for adopters to create CASE mappings utilizing Python.
This repository is a basic example that generates a simple CASE-compliant RDF graph utilizing two different approaches.
- Utilizing serialized Python dictionaries that are converted to JSON
- Utilizing
rdflib
to build triple stores
Syntax Validation
This repository utilizes pre-commit
with hooks for the following utilities to maintain consistency across the repository:
Graph Validation
These two output graphs are tested using pytest
and rdflib
to ensure the graphs were properly created and contain at least one triple.
The graphs are then tested for conformance with the CASE ontology using a GitHub Action.