Skip to main content

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

Metadata

Release files for ogc-na 0.6.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ogc-na 0.6.0
File Size Uploaded Provenance Actions
ogc_na-0.6.0.tar.gz 114.3 kB Without provenance Details for ogc_na-0.6.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ogc-na 0.6.0
File Interpreter ABI Platform Actions
ogc_na-0.6.0-py3-none-any.whl Python 3 none any Details for ogc_na-0.6.0-py3-none-any.whl

Total release size: 178.8 kB

Release files / ogc_na-0.6.0.tar.gz

Download URL ogc_na-0.6.0.tar.gz
Size 114.3 kB
Tags Source
SHA-256 checksum
How to use checksums
2bf2edaf4fa477031cade719a70fdc17b6314a394b50fce0f0285e19e7680eca
BLAKE2b-256 checksum
How to use checksums
d28490030d6e9cf81c45e6fc4a1e07bbae8843fa2a8c4978a1017f0903ee34c9
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.6.0-py3-none-any.whl

Download URL ogc_na-0.6.0-py3-none-any.whl
Size 64.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1312c52f6ec2bdecba04b20f3a880b3f3ace9476588d60ec66e8392b7544a13f
BLAKE2b-256 checksum
How to use checksums
a13c8cdf0f013aa26a9d731ecc34480ab7bee09a9368f29257264de8649ec51c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.25

Security for ogc-na 0.6.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.6.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page