casework / CASE-Mapping-Template-Python

A template repository for adopters to create CASE mappings utilizing Python.

Repository from Github https://github.comcasework/CASE-Mapping-Template-PythonRepository from Github https://github.comcasework/CASE-Mapping-Template-Python

Continuous Integration CASE Version

CASE Mapping Template Python

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.

  1. Utilizing serialized Python dictionaries that are converted to JSON
  2. Utilizing rdflib to build triple stores

Continuous Integration

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.

About

A template repository for adopters to create CASE mappings utilizing Python.

License:Apache License 2.0


Languages

Language:Python 100.0%