ogc-na


Nameogc-na JSON
Version 0.3.44 PyPI version JSON
download
home_pageNone
SummaryOGC Naming Authority tools
upload_time2024-04-09 08:14:41
maintainerNone
docs_urlNone
authorNone
requires_python>=3.7
licenseNone
keywords ogc ogc-na naming authority ogc rainbow definitions server
VCS
bugtrack_url
requirements pyshacl rdflib html5lib jq jsonpath-ng PyYAML wcmatch requests jsonschema GitPython rfc3987 requests-cache xmltodict setuptools
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # ogc-na-tools

## TL;DR

You can install the tools with `pip`:

```shell
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](https://opengeospatial.github.io/ogc-na-tools/).

The following tools are currently available:

* `ingest_json`: Performs JSON-to-JSON-LD semantic uplifts [(read more)](https://opengeospatial.github.io/ogc-na-tools/reference/ogc/na/ingest_json/) 
* `update_vocabs`: Allows defining RDF entailment + validation + upload pipelines [(read more)](https://opengeospatial.github.io/ogc-na-tools/reference/ogc/na/update_vocabs/)
* `annotate_schema`: Annotates JSON schemas by leveraging `@modelReference` links to JSON-LD contexts [(read more)](https://opengeospatial.github.io/ogc-na-tools/reference/ogc/na/annotate_schema/)

## Development

Note: This is only necessary if you are going to work *on* the tools themselves, not *with* them (see [TL;DR](#tldr)
above). 

To install runtime and development dependencies, run:

```shell
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`

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "ogc-na",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": null,
    "keywords": "ogc, ogc-na, naming authority, ogc rainbow, definitions server",
    "author": null,
    "author_email": "Rob Atkinson <ratkinson@ogc.org>, Piotr Zaborowski <pzaborowski@ogc.org>, Alejandro Villar <avillar@ogc.org>",
    "download_url": "https://files.pythonhosted.org/packages/f8/88/d945574f4db5db90b12cfc0cde7418b98a5d87c815019887a26ced6135a9/ogc_na-0.3.44.tar.gz",
    "platform": null,
    "description": "# ogc-na-tools\n\n## TL;DR\n\nYou can install the tools with `pip`:\n\n```shell\npip install ogc-na\n```\n\n## Purpose\nThis 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.\n\n## Scope\nThe 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.\n\n## Highlights\n\n* JSON ingest and conversion to RDF using semantic annotations and conversions to a target model schema.\n* entailment and validation pipeline for RDF resources.\n* specific scripts to convert OGC source material into a form compatible with the OGC Linked Data environment\n* tutorial for docker deployment and testing of available tools.\n\n## Documentation and tools\n\nThe full documentation can be found [here](https://opengeospatial.github.io/ogc-na-tools/).\n\nThe following tools are currently available:\n\n* `ingest_json`: Performs JSON-to-JSON-LD semantic uplifts [(read more)](https://opengeospatial.github.io/ogc-na-tools/reference/ogc/na/ingest_json/) \n* `update_vocabs`: Allows defining RDF entailment + validation + upload pipelines [(read more)](https://opengeospatial.github.io/ogc-na-tools/reference/ogc/na/update_vocabs/)\n* `annotate_schema`: Annotates JSON schemas by leveraging `@modelReference` links to JSON-LD contexts [(read more)](https://opengeospatial.github.io/ogc-na-tools/reference/ogc/na/annotate_schema/)\n\n## Development\n\nNote: This is only necessary if you are going to work *on* the tools themselves, not *with* them (see [TL;DR](#tldr)\nabove). \n\nTo install runtime and development dependencies, run:\n\n```shell\npip install -e .[dev]\n```\n\n### Building the documentation\n\n`mkdocs` is used for generating documentation pages.\n\n* To build the documentation (will be written to the `site/` directory): `mkdocs build`\n* To deploy to GitHub pages: `mkdocs gh-deploy`\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "OGC Naming Authority tools",
    "version": "0.3.44",
    "project_urls": {
        "Documentation": "https://opengeospatial.github.io/ogc-na-tools/",
        "Homepage": "https://github.com/opengeospatial/ogc-na-tools/",
        "Repository": "https://github.com/opengeospatial/ogc-na-tools.git"
    },
    "split_keywords": [
        "ogc",
        " ogc-na",
        " naming authority",
        " ogc rainbow",
        " definitions server"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d9d2c02f9917949e25cc5c0a3b48047f469cf50c2d0f9cfcb1ac0dc71776da72",
                "md5": "088266081ee7db435c44a9b4d5f868c9",
                "sha256": "7bee9575ef94151c81d302c6afc94f595f66f8c93c5e6aa9b8d217f53c20c612"
            },
            "downloads": -1,
            "filename": "ogc_na-0.3.44-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "088266081ee7db435c44a9b4d5f868c9",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 48263,
            "upload_time": "2024-04-09T08:14:37",
            "upload_time_iso_8601": "2024-04-09T08:14:37.561085Z",
            "url": "https://files.pythonhosted.org/packages/d9/d2/c02f9917949e25cc5c0a3b48047f469cf50c2d0f9cfcb1ac0dc71776da72/ogc_na-0.3.44-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f888d945574f4db5db90b12cfc0cde7418b98a5d87c815019887a26ced6135a9",
                "md5": "010435b410b170e6ab674b9953c030db",
                "sha256": "a4466a9aa04b01b29d061bdc7506be75198ba67115d0dbc0ab0bedd02787f67b"
            },
            "downloads": -1,
            "filename": "ogc_na-0.3.44.tar.gz",
            "has_sig": false,
            "md5_digest": "010435b410b170e6ab674b9953c030db",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 59077,
            "upload_time": "2024-04-09T08:14:41",
            "upload_time_iso_8601": "2024-04-09T08:14:41.843495Z",
            "url": "https://files.pythonhosted.org/packages/f8/88/d945574f4db5db90b12cfc0cde7418b98a5d87c815019887a26ced6135a9/ogc_na-0.3.44.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-04-09 08:14:41",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "opengeospatial",
    "github_project": "ogc-na-tools",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [
        {
            "name": "pyshacl",
            "specs": [
                [
                    ">=",
                    "0.19"
                ]
            ]
        },
        {
            "name": "rdflib",
            "specs": [
                [
                    ">=",
                    "6.3.0"
                ]
            ]
        },
        {
            "name": "html5lib",
            "specs": []
        },
        {
            "name": "jq",
            "specs": []
        },
        {
            "name": "jsonpath-ng",
            "specs": []
        },
        {
            "name": "PyYAML",
            "specs": []
        },
        {
            "name": "wcmatch",
            "specs": []
        },
        {
            "name": "requests",
            "specs": [
                [
                    ">=",
                    "2.30"
                ]
            ]
        },
        {
            "name": "jsonschema",
            "specs": []
        },
        {
            "name": "GitPython",
            "specs": [
                [
                    ">=",
                    "3.1.32"
                ]
            ]
        },
        {
            "name": "rfc3987",
            "specs": []
        },
        {
            "name": "requests-cache",
            "specs": []
        },
        {
            "name": "xmltodict",
            "specs": []
        },
        {
            "name": "setuptools",
            "specs": []
        }
    ],
    "lcname": "ogc-na"
}
        
Elapsed time: 0.23468s