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@modelReferencelinks 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
Metadata
Release files for ogc-na 0.5.35
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ogc_na-0.5.35.tar.gz | 112.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ogc_na-0.5.35-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 177.3 kB
Release files / ogc_na-0.5.35.tar.gz
| Download URL | ogc_na-0.5.35.tar.gz |
|---|---|
| Size | 112.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
568d5ff16d79db7ba82a9fd1379c77c4e10dfd706756efeb51e8e240653bc668
|
|
BLAKE2b-256 checksum How to use checksums |
15129675f4802f57636bfee12a5cdbe7e0d120377794b6aaa3451ed7811fabfb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.25
|
Release files / ogc_na-0.5.35-py3-none-any.whl
| Download URL | ogc_na-0.5.35-py3-none-any.whl |
|---|---|
| Size | 64.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d34d5dbaa6f2f4e5b1faecc334e3c16e3fc61848fb2334d80a08e5777c94afc1
|
|
BLAKE2b-256 checksum How to use checksums |
bffd6d0c79b15008f2d31c9fbfc12f7d5f43164a230ffdee51d7f6f77039e9d7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.25
|