Skip to main content

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

ogc_na-0.5.25.tar.gz (93.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ogc_na-0.5.25-py3-none-any.whl (61.5 kB view details)

Uploaded Python 3

File details

Details for the file ogc_na-0.5.25.tar.gz.

File metadata

  • Download URL: ogc_na-0.5.25.tar.gz
  • Upload date:
  • Size: 93.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for ogc_na-0.5.25.tar.gz
Algorithm Hash digest
SHA256 c519a42911d063816979d5d66a04dd3e60f17336d1978a7aa8f6e9cf5e327ef3
MD5 d420225a09fbc694b5d518940763d271
BLAKE2b-256 1ffe3b3a7cbc8d26f54b9c21e45e72151280d79adbaa26d705c8de8c68857f2e

See more details on using hashes here.

File details

Details for the file ogc_na-0.5.25-py3-none-any.whl.

File metadata

  • Download URL: ogc_na-0.5.25-py3-none-any.whl
  • Upload date:
  • Size: 61.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for ogc_na-0.5.25-py3-none-any.whl
Algorithm Hash digest
SHA256 4e79db28a1424065b3b0d863caedef8647414432e500c5af7e6de325b1207611
MD5 8ab1e9bb35dc2bd992cc009b0c6ede0b
BLAKE2b-256 b964c1b832a43768c5f7a3a1a8c4fa329295c1616af5a4c04a9a1a4f06bb419a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page