information-model 2.1.0rc4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- information_model-2.1.0rc4/.gitignore +48 -0
- information_model-2.1.0rc4/CHANGELOG.md +194 -0
- information_model-2.1.0rc4/CONTRIBUTING.md +10 -0
- information_model-2.1.0rc4/Conventions.md +6 -0
- information_model-2.1.0rc4/LICENSE.md +427 -0
- information_model-2.1.0rc4/PKG-INFO +316 -0
- information_model-2.1.0rc4/README.md +289 -0
- information_model-2.1.0rc4/bitbucket-pipelines.yml +375 -0
- information_model-2.1.0rc4/docs/Competency Questions.md +802 -0
- information_model-2.1.0rc4/docs/assets/images/annotation_model_sample.png +0 -0
- information_model-2.1.0rc4/docs/assets/images/document_reconstruction.png +0 -0
- information_model-2.1.0rc4/docs/assets/images/overview-imv2.png +0 -0
- information_model-2.1.0rc4/docs/assets/images/provision_bindingness_supplement_pattern.png +0 -0
- information_model-2.1.0rc4/docs/assets/images/provision_bindingness_supplement_type_pattern.png +0 -0
- information_model-2.1.0rc4/docs/assets/images/provision_types_pattern.png +0 -0
- information_model-2.1.0rc4/docs/assets/images/publication_document_model_sample.png +0 -0
- information_model-2.1.0rc4/docs/assets/images/terms-model.png +0 -0
- information_model-2.1.0rc4/docs/im-overview.md +4 -0
- information_model-2.1.0rc4/docs/index.md +10 -0
- information_model-2.1.0rc4/docs/javascripts/repo-version.js +178 -0
- information_model-2.1.0rc4/docs/override/main.html +8 -0
- information_model-2.1.0rc4/docs/override/partials/javascripts/outdated.html +7 -0
- information_model-2.1.0rc4/docs/releases/changelog.md +1 -0
- information_model-2.1.0rc4/docs/releases/releases-notes.md +134 -0
- information_model-2.1.0rc4/information_model/__init__.py +4 -0
- information_model-2.1.0rc4/information_model/_version.py +24 -0
- information_model-2.1.0rc4/information_model/assets.py +73 -0
- information_model-2.1.0rc4/information_model/jsonldcontext/api/metadata.json +58 -0
- information_model-2.1.0rc4/information_model/jsonldcontext/schema.json +294 -0
- information_model-2.1.0rc4/information_model/jsonldcontext/vocab.json +308 -0
- information_model-2.1.0rc4/information_model/ontologies/core-ontology.ttl +710 -0
- information_model-2.1.0rc4/information_model/ontologies/deprecated/TBX-ontology.ttl +354 -0
- information_model-2.1.0rc4/information_model/ontologies/deprecated/deprecated-IEC-ISO-core-ontology.ttl +410 -0
- information_model-2.1.0rc4/information_model/ontologies/external/README.md +5 -0
- information_model-2.1.0rc4/information_model/ontologies/external/vocabulary.ttl +347 -0
- information_model-2.1.0rc4/information_model/schemas/shacl/README.md +21 -0
- information_model-2.1.0rc4/information_model/schemas/shacl/annotation-ontology.shacl.ttl +104 -0
- information_model-2.1.0rc4/information_model/schemas/shacl/core-ontology.shacl.ttl +309 -0
- information_model-2.1.0rc4/information_model/schemas/shacl/external/shacl-shacl.ttl +410 -0
- information_model-2.1.0rc4/information_model/schemas/shacl/jsonld/common_shapes/activity.json +12 -0
- information_model-2.1.0rc4/information_model/schemas/shacl/jsonld/common_shapes/agent.json +12 -0
- information_model-2.1.0rc4/information_model/schemas/shacl/jsonld/common_shapes/distribution.json +71 -0
- information_model-2.1.0rc4/information_model/schemas/shacl/jsonld/common_shapes/entity.json +35 -0
- information_model-2.1.0rc4/information_model/schemas/shacl/jsonld/common_shapes/specificresource.json +141 -0
- information_model-2.1.0rc4/information_model/schemas/shacl/jsonld/data_shapes/annotation.json +51 -0
- information_model-2.1.0rc4/information_model/schemas/shacl/jsonld/data_shapes/clause.json +95 -0
- information_model-2.1.0rc4/information_model/schemas/shacl/jsonld/data_shapes/provision.json +157 -0
- information_model-2.1.0rc4/information_model/schemas/shacl/jsonld/data_shapes/publicationdocument.json +77 -0
- information_model-2.1.0rc4/information_model/schemas/shacl/jsonld/data_shapes/term.json +44 -0
- information_model-2.1.0rc4/information_model/schemas/shacl/jsonld/data_shapes/termentry.json +108 -0
- information_model-2.1.0rc4/information_model/schemas/shacl/schemas.shacl.ttl +396 -0
- information_model-2.1.0rc4/information_model/schemas/shacl/terminology-model.shacl.ttl +98 -0
- information_model-2.1.0rc4/information_model/schemas/shacl/ttl/common_shapes/activity.shacl.ttl +6 -0
- information_model-2.1.0rc4/information_model/schemas/shacl/ttl/common_shapes/agent.shacl.ttl +6 -0
- information_model-2.1.0rc4/information_model/schemas/shacl/ttl/common_shapes/distribution.shacl.ttl +47 -0
- information_model-2.1.0rc4/information_model/schemas/shacl/ttl/common_shapes/entity.shacl.ttl +22 -0
- information_model-2.1.0rc4/information_model/schemas/shacl/ttl/common_shapes/specificresource.shacl.ttl +76 -0
- information_model-2.1.0rc4/information_model/schemas/shacl/ttl/data_shapes/annotation.shacl.ttl +104 -0
- information_model-2.1.0rc4/information_model/schemas/shacl/ttl/data_shapes/clause.shacl.ttl +176 -0
- information_model-2.1.0rc4/information_model/schemas/shacl/ttl/data_shapes/provision.shacl.ttl +225 -0
- information_model-2.1.0rc4/information_model/schemas/shacl/ttl/data_shapes/publicationdocument.shacl.ttl +99 -0
- information_model-2.1.0rc4/information_model/schemas/shacl/ttl/data_shapes/term.shacl.ttl +41 -0
- information_model-2.1.0rc4/information_model/schemas/shacl/ttl/data_shapes/termentry.shacl.ttl +80 -0
- information_model-2.1.0rc4/information_model/taxonomies/bindingness-type.ttl +44 -0
- information_model-2.1.0rc4/information_model/taxonomies/identifier-type.ttl +32 -0
- information_model-2.1.0rc4/information_model/taxonomies/part-of-speech-type.ttl +68 -0
- information_model-2.1.0rc4/information_model/taxonomies/provision-supplement-type.ttl +58 -0
- information_model-2.1.0rc4/information_model/taxonomies/provision-type.ttl +38 -0
- information_model-2.1.0rc4/information_model/taxonomies/publication-component-type.ttl +63 -0
- information_model-2.1.0rc4/information_model/taxonomies/publication-type.ttl +124 -0
- information_model-2.1.0rc4/information_model/taxonomies/term-form-type.ttl +85 -0
- information_model-2.1.0rc4/information_model.egg-info/PKG-INFO +316 -0
- information_model-2.1.0rc4/information_model.egg-info/SOURCES.txt +113 -0
- information_model-2.1.0rc4/information_model.egg-info/dependency_links.txt +1 -0
- information_model-2.1.0rc4/information_model.egg-info/requires.txt +13 -0
- information_model-2.1.0rc4/information_model.egg-info/scm_file_list.json +110 -0
- information_model-2.1.0rc4/information_model.egg-info/top_level.txt +1 -0
- information_model-2.1.0rc4/pyproject.toml +63 -0
- information_model-2.1.0rc4/setup.cfg +4 -0
- information_model-2.1.0rc4/tests/__init__.py +0 -0
- information_model-2.1.0rc4/tests/annotation_model_test/annotations_sample.ttl +85 -0
- information_model-2.1.0rc4/tests/annotation_model_test/cq_query.sparql +39 -0
- information_model-2.1.0rc4/tests/annotation_model_test/test_annotation_model.py +82 -0
- information_model-2.1.0rc4/tests/annotation_model_test/test_selector_shapes.py +117 -0
- information_model-2.1.0rc4/tests/annotation_model_test/test_specific_resource_entity.py +74 -0
- information_model-2.1.0rc4/tests/conftest.py +128 -0
- information_model-2.1.0rc4/tests/core_ontology_test.py +38 -0
- information_model-2.1.0rc4/tests/data/schemas/shacl/jsonld/invalid/clause.json +42 -0
- information_model-2.1.0rc4/tests/docs_utils/pin_browse_links.py +62 -0
- information_model-2.1.0rc4/tests/docs_utils/test_pin_browse_links.py +39 -0
- information_model-2.1.0rc4/tests/ontology_consistency_test/owlready2_reasoning_test.py +212 -0
- information_model-2.1.0rc4/tests/provision_model_test/cq_query.sparql +21 -0
- information_model-2.1.0rc4/tests/provision_model_test/test_provision_model.py +133 -0
- information_model-2.1.0rc4/tests/publication_document_test/cq_query_publication_document_clause.sparql +25 -0
- information_model-2.1.0rc4/tests/publication_document_test/cq_query_publication_document_distributions.sparql +32 -0
- information_model-2.1.0rc4/tests/publication_document_test/cq_query_publication_document_editions.sparql +29 -0
- information_model-2.1.0rc4/tests/publication_document_test/cq_query_publication_document_provisions.sparql +29 -0
- information_model-2.1.0rc4/tests/publication_document_test/cq_query_publication_document_reconstruction.sparql +73 -0
- information_model-2.1.0rc4/tests/publication_document_test/publication_document_sample.ttl +558 -0
- information_model-2.1.0rc4/tests/publication_document_test/reconstruct_document_sample_code.py +140 -0
- information_model-2.1.0rc4/tests/publication_document_test/test_publication_document_model.py +350 -0
- information_model-2.1.0rc4/tests/quality_conventions/ontology_resource_annotations_test.py +145 -0
- information_model-2.1.0rc4/tests/schemas_test/README.md +53 -0
- information_model-2.1.0rc4/tests/schemas_test/test_generated_schemas_ttl.py +97 -0
- information_model-2.1.0rc4/tests/schemas_test/test_jsonld_shacl_schemas.py +249 -0
- information_model-2.1.0rc4/tests/schemas_test/test_samples_inference.py +46 -0
- information_model-2.1.0rc4/tests/schemas_utils/schemas_conversion/README.md +64 -0
- information_model-2.1.0rc4/tests/schemas_utils/schemas_conversion/generate_schemas_ttl.py +378 -0
- information_model-2.1.0rc4/tests/schemas_utils/schemas_debugging/README.md +19 -0
- information_model-2.1.0rc4/tests/schemas_utils/schemas_debugging/debug_shacl.py +498 -0
- information_model-2.1.0rc4/tests/terms_test/cq_query.sparql +33 -0
- information_model-2.1.0rc4/tests/terms_test/terms_sample.ttl +117 -0
- information_model-2.1.0rc4/tests/terms_test/test_terms_model.py +83 -0
- information_model-2.1.0rc4/tests/testing_functions.py +196 -0
- information_model-2.1.0rc4/zensical.toml +384 -0
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
# Basic .gitignore
|
|
2
|
+
|
|
3
|
+
# IntelliJ (for those using it)
|
|
4
|
+
/.idea
|
|
5
|
+
|
|
6
|
+
# Visual Studio Code
|
|
7
|
+
.vscode/
|
|
8
|
+
|
|
9
|
+
# Generated by MacOS
|
|
10
|
+
.DS_Store
|
|
11
|
+
|
|
12
|
+
# Generated by Windows
|
|
13
|
+
Thumbs.db
|
|
14
|
+
|
|
15
|
+
# Generated by Protégé
|
|
16
|
+
catalog-v*.xml
|
|
17
|
+
|
|
18
|
+
# CI/CD to check and generate documentation about the ontology, when running locally, derive artefacts in this directory.
|
|
19
|
+
# Avoid committing those.
|
|
20
|
+
/output
|
|
21
|
+
/site/
|
|
22
|
+
|
|
23
|
+
# Environment variables
|
|
24
|
+
*.env
|
|
25
|
+
|
|
26
|
+
# Python virtual environment
|
|
27
|
+
.venv/
|
|
28
|
+
|
|
29
|
+
# Python build / packaging artefacts
|
|
30
|
+
*.egg-info/
|
|
31
|
+
|
|
32
|
+
# Python cache
|
|
33
|
+
__pycache__/
|
|
34
|
+
*.py[cod]
|
|
35
|
+
|
|
36
|
+
# Pytest cache
|
|
37
|
+
.pytest_cache/
|
|
38
|
+
|
|
39
|
+
# Coverage reports
|
|
40
|
+
.coverage
|
|
41
|
+
htmlcov/
|
|
42
|
+
|
|
43
|
+
# Build artefacts
|
|
44
|
+
build/
|
|
45
|
+
dist/
|
|
46
|
+
|
|
47
|
+
# Generated by setuptools-scm at build/install time
|
|
48
|
+
information_model/_version.py
|
|
@@ -0,0 +1,194 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to this project will be documented in this file.
|
|
4
|
+
|
|
5
|
+
The format is based on [Keep a Changelog](https://keepachangelog.com/), and this project adheres to [Semantic Versioning](https://semver.org/)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
## [2.1.0] - Unreleased
|
|
9
|
+
|
|
10
|
+
Changes since `2.0.0`.
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
|
|
14
|
+
#### Core ontology
|
|
15
|
+
- Publication document properties `smart:publicationNumber`, `smart:publicationReference`
|
|
16
|
+
and `smart:projectStage`.
|
|
17
|
+
- Representation properties `smart:revision` and `smart:hasSectionNumber` (domain
|
|
18
|
+
`oa:SpecificResource`: section numbers belong to a representation of the document).
|
|
19
|
+
- `smart:noteToEntry` (subproperty of `skos:note`) for notes to entry of a TermEntry.
|
|
20
|
+
- `smart:startSelector` and `smart:endSelector`, equivalent to `oa:hasStartSelector` and
|
|
21
|
+
`oa:hasEndSelector`, to link an `oa:RangeSelector` to its boundary selectors.
|
|
22
|
+
- `smart:IdentifierType` class for identifier systems.
|
|
23
|
+
- Provision types constrained per class with `owl:hasValue` restrictions: Instruction,
|
|
24
|
+
Permission, Recommendation and Requirement are governing provisions; Capability,
|
|
25
|
+
ExternalConstraint, Possibility and Statement are assertional provisions. Instruction and
|
|
26
|
+
Requirement are also normative.
|
|
27
|
+
|
|
28
|
+
#### External vocabulary
|
|
29
|
+
- Declarations, for documentation and tests, of the external terms the model uses:
|
|
30
|
+
- W3C Web Annotation: `oa:RangeSelector`, `oa:TextPositionSelector`,
|
|
31
|
+
`oa:TextQuoteSelector`, `oa:hasStartSelector`, `oa:hasEndSelector`, `oa:refinedBy`,
|
|
32
|
+
`oa:start`, `oa:end`, `oa:exact`, `oa:prefix`, `oa:suffix`;
|
|
33
|
+
- SKOS and SKOS-XL: `skos:Concept`, `skosxl:Label`, `skosxl:prefLabel`,
|
|
34
|
+
`skosxl:altLabel`, `skosxl:literalForm`;
|
|
35
|
+
- W3C PROV: `prov:Derivation`, `prov:qualifiedDerivation`, `prov:entity`;
|
|
36
|
+
- DCMI and DCAT: `dcterms:title`, `dcterms:abstract`, `dcterms:issued`,
|
|
37
|
+
`dcterms:language`, `dcterms:relation`, and its subproperties `dcterms:references`
|
|
38
|
+
and `dcat:distribution`;
|
|
39
|
+
- `bibo:edition`;
|
|
40
|
+
- schema.org identifiers: `schema:identifier`, `schema:PropertyValue`,
|
|
41
|
+
`schema:propertyID` (a string literal such as `"urn"`).
|
|
42
|
+
- `oa:Annotation`, `oa:ResourceSelection`, `oa:Selector`, `dcat:Distribution`,
|
|
43
|
+
`spdx:Checksum` and `spdx:ChecksumAlgorithm` are subclasses of `smart:Entity`.
|
|
44
|
+
- The W3C Web Annotation selector collections `oa:List`, `oa:Composite` and `oa:Choice`
|
|
45
|
+
are declared in the external vocabulary and in `vocab.json` only: the SHACL schemas do
|
|
46
|
+
not support them yet.
|
|
47
|
+
|
|
48
|
+
#### Taxonomies
|
|
49
|
+
- Identifier type taxonomy (`identifier-type.ttl`) with the concept `urn`.
|
|
50
|
+
- `publication-type:amendment`.
|
|
51
|
+
- `rdfs:isDefinedBy` on all concepts.
|
|
52
|
+
|
|
53
|
+
#### SHACL schemas
|
|
54
|
+
- Modular JSON-LD SHACL schemas, each identified by an IRI and importing the schemas it
|
|
55
|
+
needs:
|
|
56
|
+
- data shapes: `annotation`, `clause`, `provision`, `publicationdocument`, `term` and
|
|
57
|
+
`termentry`;
|
|
58
|
+
- common shapes: `activity`, `agent`, `distribution`, `entity` and `specificresource`.
|
|
59
|
+
- Main constraints:
|
|
60
|
+
- `ProvisionShape` targets `smart:Provision` and its eight subclasses, so a resource
|
|
61
|
+
typed only `smart:Provision` is validated too;
|
|
62
|
+
- Provision, Clause and PublicationDocument have at least one `dcat:distribution`,
|
|
63
|
+
validated by `ProvisionDistributionShape`, `ClauseDistributionShape` or
|
|
64
|
+
`PublicationDocumentDistributionShape`;
|
|
65
|
+
- Provision, Clause and TermEntry are `dcterms:isPartOf` exactly one PublicationDocument;
|
|
66
|
+
- Clause and PublicationDocument have a `dcterms:title`, at most one per language;
|
|
67
|
+
- a Provision's provision type must match its class (SPARQL constraint);
|
|
68
|
+
- every distribution has a media type, a byte size and a checksum; Provision, Clause and
|
|
69
|
+
PublicationDocument distributions have a download URL, and PublicationDocument
|
|
70
|
+
distributions a language;
|
|
71
|
+
- Provision fragments are selected with an `oa:RangeSelector` of two XPath selectors,
|
|
72
|
+
refined by an `oa:TextPositionSelector`; Clause fragments with an
|
|
73
|
+
`oa:XPathSelector`;
|
|
74
|
+
- a Provision links to a related Term, PublicationDocument or Clause with
|
|
75
|
+
`dcterms:references`. `dcterms:relation` itself is not constrained: with RDFS
|
|
76
|
+
inference, every `dcat:distribution` and `dcterms:references` value is also a
|
|
77
|
+
`dcterms:relation`.
|
|
78
|
+
- A local copy of the W3C SHACL-SHACL shapes (SHACL Recommendation, 2017) to meta-validate
|
|
79
|
+
the schemas.
|
|
80
|
+
- `schemas.shacl.ttl`, a Turtle serialization of all the JSON-LD schemas, generated from
|
|
81
|
+
them and in sync with them (regenerate with
|
|
82
|
+
`tests/schemas_utils/schemas_conversion/generate_schemas_ttl.py`).
|
|
83
|
+
- `schemas/shacl/ttl/`, with the same structure as `schemas/shacl/jsonld/`: one generated,
|
|
84
|
+
self-contained Turtle file per JSON-LD schema, holding its shapes and the shapes of the
|
|
85
|
+
schemas it imports.
|
|
86
|
+
|
|
87
|
+
#### Tests
|
|
88
|
+
- The sample data is also validated against every data schema with RDFS and OWL RL
|
|
89
|
+
inference (pySHACL), with the ontologies and taxonomies as ontology graph. This checks
|
|
90
|
+
that the schemas still accept the data once entailments are materialized, for example
|
|
91
|
+
that every `dcat:distribution` is also a `dcterms:relation`.
|
|
92
|
+
- Tests for the selector, distribution and identifier constraints. They start from valid
|
|
93
|
+
data, so each invalid case fails for its own reason only.
|
|
94
|
+
- A test that fails when a generated Turtle schema is out of sync with the JSON-LD
|
|
95
|
+
schemas.
|
|
96
|
+
- Annotation tests: every core ontology resource has a `skos:prefLabel`, a
|
|
97
|
+
`skos:definition` and `rdfs:isDefinedBy`; every external vocabulary term has a
|
|
98
|
+
definition; every taxonomy concept has a `skos:prefLabel`, a `skos:definition`, a
|
|
99
|
+
`skos:inScheme` and `rdfs:isDefinedBy`; labels, definitions and notes have a language
|
|
100
|
+
tag; `rdfs:seeAlso` values are IRIs.
|
|
101
|
+
- The test fixtures that load the ontologies and taxonomies guess each file's RDF format
|
|
102
|
+
from its own extension, instead of relying on a failed guess from an unrelated name.
|
|
103
|
+
|
|
104
|
+
#### JSON-LD contexts
|
|
105
|
+
- `https://w3id.org/standards/smart/jsonldcontext/vocab` (`vocab.json`) for Information
|
|
106
|
+
Model data. Values of `seeAlso` are IRIs (`"@type": "@id"`), as in `schema.json`.
|
|
107
|
+
- `https://w3id.org/standards/smart/jsonldcontext/schema` (`schema.json`) for the SHACL
|
|
108
|
+
schemas.
|
|
109
|
+
- `https://w3id.org/standards/smart/api/jsonldcontext/metadata` (`api/metadata.json`) for
|
|
110
|
+
SMART Content API metadata.
|
|
111
|
+
|
|
112
|
+
#### Infrastructure and documentation
|
|
113
|
+
- Persistent `w3id.org` redirects for the ontology, taxonomies, JSON-LD contexts and SHACL
|
|
114
|
+
schemas; the `smart` and `smartsh` prefixes registered on [prefix.cc](https://prefix.cc/smart).
|
|
115
|
+
- Documentation sites published on every tag: the developer documentation
|
|
116
|
+
(`/docs/im/dev`, built with Zensical and versioned with mike) and the ontology reference
|
|
117
|
+
(`/docs/im/browse`, generated with OntoSpy, which skips the SHACL Turtle files).
|
|
118
|
+
- 2.1.0 release notes.
|
|
119
|
+
- Package versioning from git tags with setuptools-scm, `information_model.__version__`,
|
|
120
|
+
and a PyPI publishing pipeline. The `publish-existing-tag` custom pipeline also publishes
|
|
121
|
+
to PyPI, after checking that the tag points at the commit being built. The mike fork is
|
|
122
|
+
installed separately, not through the `docs` extra, since PyPI rejects direct URL
|
|
123
|
+
dependencies.
|
|
124
|
+
- README instructions to generate the versioned documentation locally with mike.
|
|
125
|
+
- The CHANGELOG is a page of the developer documentation, and its header shows the version
|
|
126
|
+
being read. Each version of the documentation links to the same version of the ontology
|
|
127
|
+
reference: the pipeline pins the links before building it
|
|
128
|
+
(`tests/docs_utils/pin_browse_links.py`).
|
|
129
|
+
- The pipeline generates the Turtle SHACL schemas from the JSON-LD schemas: on a push to a
|
|
130
|
+
branch other than `main` that changes the generator's inputs, the generator or the
|
|
131
|
+
Turtle files (a manual edit is overwritten), it commits the changed files back, and the
|
|
132
|
+
documentation and package builds regenerate them before building.
|
|
133
|
+
- This CHANGELOG.
|
|
134
|
+
|
|
135
|
+
### Changed
|
|
136
|
+
- The JSON-LD SHACL schemas are the reference schemas. The Turtle shapes
|
|
137
|
+
`core-ontology.shacl.ttl` (publication document, provision, clause, activity and agent
|
|
138
|
+
schemas),
|
|
139
|
+
`terminology-model.shacl.ttl` (term entry and term schemas) and
|
|
140
|
+
`annotation-ontology.shacl.ttl` (annotation schema) are generated from them, with the
|
|
141
|
+
shapes of the schemas these import, instead of being written by hand. Constraints they
|
|
142
|
+
had beyond the JSON-LD schemas, e.g. on `dcterms:hasVersion`, `dcterms:replaces` or
|
|
143
|
+
`dcterms:format`, are dropped.
|
|
144
|
+
- Section numbers move from the Clause to its representation:
|
|
145
|
+
`smart:hasSectionNumber` is validated on the Clause distribution, not on the Clause.
|
|
146
|
+
- Notes to entry of a TermEntry use `smart:noteToEntry` instead of `skos:scopeNote`;
|
|
147
|
+
examples use `skos:example`.
|
|
148
|
+
- `dcterms:title` is declared as a datatype property instead of an annotation property.
|
|
149
|
+
- `smart:usedInCountry` has a definition (the country in which a term is used, as an
|
|
150
|
+
ISO 3166-1 alpha-2 code); its explanations are `skos:scopeNote` values instead of
|
|
151
|
+
`rdfs:comment`.
|
|
152
|
+
- `dcterms:references` is declared in the external vocabulary, as a subproperty of
|
|
153
|
+
`dcterms:relation`, instead of in the core ontology.
|
|
154
|
+
- `smart:hasPublicationComponentType` is no longer restricted to Provision and
|
|
155
|
+
ProvisionSupplement, so it can classify representations (fragments).
|
|
156
|
+
- Ontology and taxonomy `owl:versionInfo` set to `2.1.0`.
|
|
157
|
+
- Python 3.11 or later is required.
|
|
158
|
+
- The README scope describes the current model; the Competency Questions show each SHACL
|
|
159
|
+
schema in Turtle and JSON-LD tabs, and their queries and result tables match the sample
|
|
160
|
+
data.
|
|
161
|
+
- The Provision, Clause and PublicationDocument distributions of the sample data have the
|
|
162
|
+
media type `application/zip`.
|
|
163
|
+
|
|
164
|
+
### Removed
|
|
165
|
+
- The unused versioning sample data and its query from the tests. They used terms the
|
|
166
|
+
model does not define, such as `dcterms:hasVersion`.
|
|
167
|
+
|
|
168
|
+
### Fixed
|
|
169
|
+
- Missing annotations: every core ontology resource has a `skos:prefLabel`, a
|
|
170
|
+
`skos:definition` and `rdfs:isDefinedBy`, and the external vocabulary and taxonomies have
|
|
171
|
+
definitions for all their terms. Every taxonomy concept has a `skos:prefLabel` (added to
|
|
172
|
+
`provision-supplement-type:example` and `provision-supplement-type:footnote`).
|
|
173
|
+
- Missing `@en` language tags on labels and definitions, in the core ontology (e.g.
|
|
174
|
+
`smart:Agent`, `smart:Requirement`), the external vocabulary and the bindingness type
|
|
175
|
+
taxonomy.
|
|
176
|
+
- `rdfs:seeAlso` links given as text instead of IRIs, in the core ontology, the
|
|
177
|
+
publication type taxonomy and the term form type taxonomy.
|
|
178
|
+
- Typos, e.g. "orgnization" in definitions and `skos:preLabel` for `skos:prefLabel` on
|
|
179
|
+
`dcat:downloadURL`.
|
|
180
|
+
- The document reconstruction diagram shows `smart:hasSectionNumber` on the representation
|
|
181
|
+
of a Clause (`oa:SpecificResource`) instead of on the Clause.
|
|
182
|
+
- Competency Questions queries declare every prefix they use (`rdfs`, `skos`, `dcat`), and
|
|
183
|
+
the provision types query lists both IEC and ISO sources.
|
|
184
|
+
|
|
185
|
+
## [1.0.0] - 2025-06-01
|
|
186
|
+
|
|
187
|
+
### Changed
|
|
188
|
+
- All ontology IRIs base have changed with release 1.0.0
|
|
189
|
+
- We now use [w3id](https://w3id.org/) instead of [purl](https://purl.org/).
|
|
190
|
+
- This is caused by frequent recent outages of purl.org and lack for features for joint enterprise collaborative development.
|
|
191
|
+
- Older IRIs start with: `https://purl.org/smart-standards/`
|
|
192
|
+
- Newer IRIs start with: `https://w3id.org/standards/smart/ontologies/`
|
|
193
|
+
- This applies to the TBX and Core ontologies, see examples.
|
|
194
|
+
- Existing data is not affected by this change.
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# Contributing to the Information Model
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Found a Bug ?
|
|
5
|
+
|
|
6
|
+
Something wrong? Inform us of a bug or problem with the current version of the Information Model at this [form](https://smartsdu.atlassian.net/jira/software/form/7137542a-576c-46b2-b11f-6b054446e116).
|
|
7
|
+
|
|
8
|
+
## Got a Question or Feddback ?
|
|
9
|
+
|
|
10
|
+
The IEC & ISO Information Model for SMART content will continue to expand and mature over time. Your input helps shape future releases, so share your feedback via this [form](https://smartsdu.atlassian.net/jira/software/form/d6db2393-e1ac-4c03-bf78-7f12400a8173).
|