OGC Naming Authority tools
Project description
ogc-na-tools
TL;DR
You can install the tools with pip
:
pip install ogc-na
Purpose
This repository contains tools used to maintain controlled vocabularies and knowledge assets managed by the OGC Naming Authority. Such tools may have wider general applicability and be refactored into tool specific repositories.
Scope
The tools here manage ETL processes for ingesting source data into a dynamic knowledge graph. Whilst this is quite a generic scope, this provides examples of how to use a range of resources that others may reuse to achieve similar results.
Highlights
- JSON ingest and conversion to RDF using semantic annotations and conversions to a target model schema.
- entailment and validation pipeline for RDF resources.
- specific scripts to convert OGC source material into a form compatible with the OGC Linked Data environment
- tutorial for docker deployment and testing of available tools.
Documentation and tools
The full documentation can be found here.
The following tools are currently available:
ingest_json
: Performs JSON-to-JSON-LD semantic uplifts (read more)update_vocabs
: Allows defining RDF entailment + validation + upload pipelines (read more)annotate_schema
: Annotates JSON schemas by leveraging@modelReference
links to JSON-LD contexts (read more)
Development
Note: This is only necessary if you are going to work on the tools themselves, not with them (see TL;DR above).
To install runtime and development dependencies, run:
pip install -e .[dev]
Building the documentation
mkdocs
is used for generating documentation pages.
- To build the documentation (will be written to the
site/
directory):mkdocs build
- To deploy to GitHub pages:
mkdocs gh-deploy
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file ogc_na-0.3.55.tar.gz
.
File metadata
- Download URL: ogc_na-0.3.55.tar.gz
- Upload date:
- Size: 60.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 21f1ccdf957bd8808698eaedae7b58e1973cfc086e78f42c52e77ca334388f97 |
|
MD5 | da27537a94e2392674bea06d38ef0e37 |
|
BLAKE2b-256 | 3cda0ebb85c40a4818228d76cd0a3c367a824999a31c288f817f99402f2a9e9a |
File details
Details for the file ogc_na-0.3.55-py3-none-any.whl
.
File metadata
- Download URL: ogc_na-0.3.55-py3-none-any.whl
- Upload date:
- Size: 49.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a84b80b9536d73ecb436439d642a4347c7f9b71b58fc82feca52cac18f072250 |
|
MD5 | 13241e86f69477b1cc5a4142a6fe3b4a |
|
BLAKE2b-256 | 55812cdb84425208174e9354367d952de53a2e59ee8fc6d3517be19aa43230bd |