Skip to content

About

The repository contains all ontologies and corresponding artifacts developed during the Construct-X Project

Resources

Code of conduct

Contributing

Stars

1 star

Watchers

0 watching

Forks

Construct-X Core Ontologies

This repository provides the reusable Core ontologies of Construct-X, their documentation, examples, SHACL validation rules and reference data.

Status: Draft. Each module is versioned independently.

Core Modules

Module Version Purpose
Address 0.3.0 Structured addresses and location assignments with an address, a geographic reference, or both
Agent 0.1.0 Shared superclass for actors
Contact 0.2.0 Contact points and communication methods
Document 0.1.0 Documents, references and technical distributions
Identifier 0.1.0 Shared ADMS/SKOS identifier contract
Organization 0.1.0 Organizations, units, memberships and representation
Participation 0.2.0 Roles of agents in business contexts
Person 0.1.0 Core data of natural persons
Status 0.1.0 Timestamped status assignments, history and optional conditions
VSO 0.1.0 Property assignments, values and units

Domain ontologies and optional alignments are outside this distribution. The VSO/ISOProps validation profile is included because the Status validation contract uses its rules for property-based conditions. It is a supporting validation dependency, not an additional ontology module.

For example, an organization can have an Address, participate in a context in a defined role, and report a Status. A condition on that status can refer to a measured VSO property whose datatype and unit are checked against ISOProps.

Repository Structure

modules/core/       Core ontologies, shapes, documentation, examples and fixtures
datasets/reference/ Controlled vocabularies and administrative reference data
profiles/construct-x/vso-isoprops/  Supporting validation profile
docs/               Architecture, development guides and module navigation
network/            External references and validation dependencies
scripts/            Manual validation, build, import and documentation tools
tests/              Core and supporting-dependency checks

Getting Started

Install Python 3.12 or later and uv, then run:

git clone https://github.com/project-construct-x/constructx-ontologies.git
cd constructx-ontologies
uv sync --locked
uv run python scripts/validate.py
uv run pytest

The GitHub Actions Validate workflow runs only when started manually through Actions → Validate → Run workflow. Pushes and pull requests do not start it. Documentation checks cover declared files, local links and technical consistency; they do not enforce exact chapter titles, prose, language or chapter numbering.

To validate a Status example with all required local dependencies:

uv run python scripts/validate_status.py --data modules/core/status/examples/minimal-status.ttl

To build the distribution or export the standalone Status validation bundle:

uv run python scripts/build.py
uv run python scripts/status_bundle.py --output build/status-bundle

The general build recreates dist/. The Status bundle can be used independently of this checkout; its README describes validation outside the repository.

Documentation

Start at the documentation index. Each Core module uses docs/00_index.md for navigation and docs/09_confluence-overview.md for its German Confluence overview. Other maintained documentation is in English; intentional bilingual labels and original source material are retained.

The documentation standard describes the shared structure. Documentation generation explains the optional OntoLens HTML generator and its separate installation.

Licenses

Construct-X licenses its own code under Apache-2.0 and its own ontologies, documentation and other non-code content under CC BY 4.0. Third-party material is distributed under its applicable license. The NUTS 2 reference dataset, for example, is distributed under EPL-2.0. See NOTICE.md for attribution.

About

The repository contains all ontologies and corresponding artifacts developed during the Construct-X Project

Resources

Code of conduct

Contributing

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages