diff --git a/.travis.settings.xml b/.travis.settings.xml
deleted file mode 100644
index 5c3d388..0000000
--- a/.travis.settings.xml
+++ /dev/null
@@ -1,47 +0,0 @@
-
-
-
-
-
- github
- ${env.GITHUB_TOKEN}
-
-
- bintray-api4kbs-API4KP-Mvn-Repo
- sotty
- ${env.BINTRAY_TOKEN}
-
-
-
-
-
- inject-swaggerhub-key
-
- ${env.SWHUB_TOKEN}
-
-
-
-
-
- inject-swaggerhub-key
-
-
-
\ No newline at end of file
diff --git a/.travis.yml b/.travis.yml
deleted file mode 100644
index 27e6ff2..0000000
--- a/.travis.yml
+++ /dev/null
@@ -1,22 +0,0 @@
-language: java
-jdk:
- - openjdk11
-install: true
-branches:
- only:
- - master
- - develop
-deploy:
- - provider: script
- script: mvn deploy -Ppublic -s .travis.settings.xml
- skip_cleanup: true
- on:
- branch: master
- - provider: script
- script: mvn deploy -Ppublic -s .travis.settings.xml
- on:
- branch: develop
-env:
- global:
- - secure: YfzsJAIUALNUW2/zv3NKWpA+7DzK9JnTtCnHrUmBGJGAwJmCaOiO4dPSp6R0/SoxQGD5dIv7vE5i/8RdHqm/py2ViRLxJFjgVN9mu4YOPnnUVbSD2DOJg/q8NpJDobZgHM67g3SmIDmOtuqKCLItRrKZ5OBOAt9nS2+0QLS1oF//7jmIqDcPzm97UWXMvnhi5vMfym+g3F2RbiIVPk5V+eyCRppSuXsazJiW1YLLNRNNW6eYkokj7RnMWoV3Gbn4LiAWETHXcb8g4IF4wvcMcokAqxKXhlwy4/kbmp/vKz97+8tqXK105SEFTTSgvxnWs2/OOHUVmZujVBWpqLX3LuSgFhSn1mQtMYUHEsQfhVMohuqxo0VpnaMp/N+/vdiO8FdEElYue0Eb6Q9/7MqE7jB/uSF4A3cXaJgPiAblKRx+Ei6FT7tncYFW4YWT2eoJKyIrkb5Bshr3ZVkyww4qz4hp/oiXwRxwDJ+hF4czJqLmPtWttJihcfyYVT+ycPtoph83a2eJS2aZlSdJm5QjdizIc8Xhdg/WgDCt6elA/r/AMn3yJbtDhey5/f+I+GfTSLuSvBDaEOg0+Qag1HNZQUVZbypiVTBTgPQz8BCXGH1pfj6cSYzefC4QNPgGptN8q0eivmsVwq0MjQ5yVq38uw35hM8KGQVlBcXsiYih9XA=
- - secure: I66/p6i5sN0mH8y6Dp1aQDtUCvf8/YUalFitxqRusq1wVDoXlmbTePlph0GWIL1xNHapljuVTHFlWnBr6RgsqPfj0Fe5te9snEKo8rftWS3aSkSdkF/LU/nWchH+1qxkr8D50wL4qZ4sh5mpOxRASyoNwaIAfEt2ajBqebW1hYFohGhMeONe3ypFgL5NLtBCInGMRMEVjrXhbbLVbqJvOh+kXlM9JbITo6lss43/pEAX6p39a3lwMurtDv6kVmVKfsUJGPO/WQCdVrK0SX7aOyBfseTibi4wEpOlyDCvdOqRHYSB3rVzdLriRxDF2SEoSgUs+X3vU6ChuqNMtnmVjTQ+TC+aypmWkYQdBQrp/h+z99T68v/ATlKrUgSf80ILPKTBhSZOHu5BxJbmC2iPynRhu+mEN4gFNeZ+m5Dv8KUaTVDUQjig8eam57QM3dOnjT8sP0cXJ8PJ0E2SbJvH9MO1Bue7CcIi2rtCZ2Je95RHpxZgAJfkUtXC/4pm5bbLTUejiqjfDa/n+WRCONRpSaQsALb5lotuSFDNpTOtOMtZMH3lNEnFDRgxJzz+725CMRONYSTDSX/Mp3HhhxYFvAMLtUbbCOHI7d2DBiWRNljc801tLZJiLc6dZQ7w4JFr0fKeQgoyBN9wnnyZ1QMinuEAIpa7QNA7yKcZjrbFV+M=
diff --git a/README.md b/README.md
index 5835ead..6a658a7 100644
--- a/README.md
+++ b/README.md
@@ -37,7 +37,7 @@ This directory contains the OpenAPI / Swagger v2 specifications of the API4KP
Recommended: Open with [SwaggerHub](https://swagger.io/tools/swaggerhub/)
-See official [README](./openapi/v2/org/omg/spec/api4kp/README.md)
+See official [README](./openapi/v3/org/omg/spec/api4kp/README.md)
OpenAPI specifications include:
- Inference
diff --git a/ancillary/v20210201/API4KP-VOMModelFiles-20210201.zip b/ancillary/v20210201/API4KP-VOMModelFiles-20210201.zip
new file mode 100644
index 0000000..832295e
Binary files /dev/null and b/ancillary/v20210201/API4KP-VOMModelFiles-20210201.zip differ
diff --git a/ancillary/v20210201/API4KP-VOMModelFiles-20210224.zip b/ancillary/v20210201/API4KP-VOMModelFiles-20210224.zip
new file mode 100644
index 0000000..832295e
Binary files /dev/null and b/ancillary/v20210201/API4KP-VOMModelFiles-20210224.zip differ
diff --git a/azure-pipelines-develop.yml b/azure-pipelines-develop.yml
index 1e2e6c3..d886d55 100644
--- a/azure-pipelines-develop.yml
+++ b/azure-pipelines-develop.yml
@@ -7,10 +7,10 @@
resources:
pipelines:
- pipeline: api4kpDevelop
- source: kmdpMasterPipeline
+ source: kmdpMainPipeline
trigger:
branches:
- - master
+ - main
trigger:
branches:
@@ -108,21 +108,6 @@ steps:
versionFilePath: pom.xml
versionTransformation: none
-# GitHub Super-Linter
-- script: |
- mkdir super-linter.report
- docker pull github/super-linter:latest
- docker run -e RUN_LOCAL=true -e DISABLE_ERRORS=true -e OUTPUT_DETAILS=detailed -e OUTPUT_FORMAT=tap -v $(System.DefaultWorkingDirectory):/tmp/lint/ --name my-vol github/super-linter
- docker cp my-vol:/tmp/lint/super-linter.report $(build.artifactstagingdirectory)
- displayName: 'Code Scan using GitHub Super-Linter'
-
-# Publish GitHub Results to Azure Pipelines
-- task: PublishBuildArtifacts@1
- displayName: 'Publish Artifact: deploy'
- inputs:
- PathtoPublish: '$(build.artifactstagingdirectory)'
- ArtifactName: deploy
- condition: succeededOrFailed()
# Runs Maven Goal: deploy
# Deploys to Azure DevOps Artifacts
diff --git a/docs/API4KP Spec Diagrams.pptx b/docs/API4KP Spec Diagrams.pptx
index 7e29fbc..a6409a3 100644
Binary files a/docs/API4KP Spec Diagrams.pptx and b/docs/API4KP Spec Diagrams.pptx differ
diff --git a/docs/OMG API4KP Specification 20210301.docx b/docs/OMG API4KP Specification 20210301.docx
new file mode 100644
index 0000000..30f982f
Binary files /dev/null and b/docs/OMG API4KP Specification 20210301.docx differ
diff --git a/docs/API4KP Spec Diagrams - Initial Submission.pptx b/docs/archive/API4KP Spec Diagrams - Initial Submission.pptx
similarity index 100%
rename from docs/API4KP Spec Diagrams - Initial Submission.pptx
rename to docs/archive/API4KP Spec Diagrams - Initial Submission.pptx
diff --git a/docs/OMG API4KP Initial Submission Nov17.pptx b/docs/archive/OMG API4KP Initial Submission Nov17.pptx
similarity index 100%
rename from docs/OMG API4KP Initial Submission Nov17.pptx
rename to docs/archive/OMG API4KP Initial Submission Nov17.pptx
diff --git a/docs/OMG API4KP Revised Pre-Submission 20200916.pptx b/docs/archive/OMG API4KP Revised Pre-Submission 20200916.pptx
similarity index 100%
rename from docs/OMG API4KP Revised Pre-Submission 20200916.pptx
rename to docs/archive/OMG API4KP Revised Pre-Submission 20200916.pptx
diff --git a/docs/archive/OMG API4KP Revised Submission 20210201.pptx b/docs/archive/OMG API4KP Revised Submission 20210201.pptx
new file mode 100644
index 0000000..a403c90
Binary files /dev/null and b/docs/archive/OMG API4KP Revised Submission 20210201.pptx differ
diff --git a/ontologies/API4KP/LATEST/api4kp-kao.rdf b/ontologies/API4KP/LATEST/api4kp-kao.rdf
index e509717..671d2c2 100644
--- a/ontologies/API4KP/LATEST/api4kp-kao.rdf
+++ b/ontologies/API4KP/LATEST/api4kp-kao.rdf
@@ -28,17 +28,18 @@
API4KP Knowledge Asset Type Ontology
This ontology provides a classification scheme for Knowledge Assets based on the logical and mathematical constructs that would be used in the formalization of the Assets themselves. The classification, in turn, determines (i) what (knowledge representation) languages are suitable to express the Assets, and (ii) the kind of reasoning activities that can be performed using the Assets.
+ Elisa Kendall (ekendall at thematix.com)
Davide Sottara (sottara.davide at mayo.edu)
http://opensource.org/licenses/MIT
https://www.w3.org/TR/owl2-quick-reference/
- Copyright (c) 2014-2020 Athan Services
- Copyright (c) 2014-2020 Fraunhofer Gesellschaft
- Copyright (c) 2014-2020 Freie Universität Berlin
- Copyright (c) 2014-2020 Mayo Foundation for Medical Education and Research (MFMER)
- Copyright (c) 2014-2020 Thematix Partners LLC
- Copyright (c) 2015-2020 Object Management Group, Inc.
- Copyright (c) 2019-2020 Universität Leipzig
- Copyright (c) 2020 Micro Focus
+ Copyright (c) 2014-2021 Athan Services
+ Copyright (c) 2014-2021 Fraunhofer Gesellschaft
+ Copyright (c) 2014-2021 Freie Universität Berlin
+ Copyright (c) 2014-2021 Mayo Foundation for Medical Education and Research (MFMER)
+ Copyright (c) 2014-2021 Thematix Partners LLC
+ Copyright (c) 2015-2021 Object Management Group, Inc.
+ Copyright (c) 2019-2021 Universität Leipzig
+ Copyright (c) 2020-2021 Micro Focus
https://www.omg.org/spec/API4KP/api4kp/
https://www.omg.org/spec/DOL/
https://www.omg.org/spec/LCC/
diff --git a/ontologies/API4KP/LATEST/api4kp-kp.rdf b/ontologies/API4KP/LATEST/api4kp-kp.rdf
index f44c9c6..78abadc 100644
--- a/ontologies/API4KP/LATEST/api4kp-kp.rdf
+++ b/ontologies/API4KP/LATEST/api4kp-kp.rdf
@@ -28,17 +28,18 @@
API4KP Ontology of Knowledge Platforms
This ontology formalizes the notion of a Knowledge Platform.
+ Elisa Kendall (ekendall at thematix.com)
Davide Sottara (sottara.davide at mayo.edu)
http://opensource.org/licenses/MIT
https://www.w3.org/TR/owl2-quick-reference/
- Copyright (c) 2014-2020 Athan Services
- Copyright (c) 2014-2020 Fraunhofer Gesellschaft
- Copyright (c) 2014-2020 Freie Universität Berlin
- Copyright (c) 2014-2020 Mayo Foundation for Medical Education and Research (MFMER)
- Copyright (c) 2014-2020 Thematix Partners LLC
- Copyright (c) 2015-2020 Object Management Group, Inc.
- Copyright (c) 2019-2020 Universität Leipzig
- Copyright (c) 2020 Micro Focus
+ Copyright (c) 2014-2021 Athan Services
+ Copyright (c) 2014-2021 Fraunhofer Gesellschaft
+ Copyright (c) 2014-2021 Freie Universität Berlin
+ Copyright (c) 2014-2021 Mayo Foundation for Medical Education and Research (MFMER)
+ Copyright (c) 2014-2021 Thematix Partners LLC
+ Copyright (c) 2015-2021 Object Management Group, Inc.
+ Copyright (c) 2019-2021 Universität Leipzig
+ Copyright (c) 2020-2021 Micro Focus
https://www.omg.org/spec/API4KP/api4kp/
https://www.omg.org/spec/DOL/
https://www.omg.org/spec/LCC/
diff --git a/ontologies/API4KP/LATEST/api4kp-krr.rdf b/ontologies/API4KP/LATEST/api4kp-krr.rdf
index a08b2ee..1d9cd34 100644
--- a/ontologies/API4KP/LATEST/api4kp-krr.rdf
+++ b/ontologies/API4KP/LATEST/api4kp-krr.rdf
@@ -32,17 +32,18 @@
API4KP Knowledge Representation and Reasoning Terminology Ontology
This ontology covers the primary knowledge representation and reasoning (KRR) terminology used for describing the concepts used by the API4KP specification.
+ Elisa Kendall (ekendall at thematix.com)
Davide Sottara (sottara.davide at mayo.edu)
http://opensource.org/licenses/MIT
https://www.w3.org/TR/owl2-quick-reference/
- Copyright (c) 2014-2020 Athan Services
- Copyright (c) 2014-2020 Fraunhofer Gesellschaft
- Copyright (c) 2014-2020 Freie Universität Berlin
- Copyright (c) 2014-2020 Mayo Foundation for Medical Education and Research (MFMER)
- Copyright (c) 2014-2020 Thematix Partners LLC
- Copyright (c) 2015-2020 Object Management Group, Inc.
- Copyright (c) 2019-2020 Universität Leipzig
- Copyright (c) 2020 Micro Focus
+ Copyright (c) 2014-2021 Athan Services
+ Copyright (c) 2014-2021 Fraunhofer Gesellschaft
+ Copyright (c) 2014-2021 Freie Universität Berlin
+ Copyright (c) 2014-2021 Mayo Foundation for Medical Education and Research (MFMER)
+ Copyright (c) 2014-2021 Thematix Partners LLC
+ Copyright (c) 2015-2021 Object Management Group, Inc.
+ Copyright (c) 2019-2021 Universität Leipzig
+ Copyright (c) 2020-2021 Micro Focus
https://www.omg.org/spec/API4KP/api4kp-lang/
https://www.omg.org/spec/API4KP/api4kp-series/
https://www.omg.org/spec/API4KP/api4kp/
diff --git a/ontologies/API4KP/LATEST/api4kp-lang.rdf b/ontologies/API4KP/LATEST/api4kp-lang.rdf
index f9823ce..569f3dd 100644
--- a/ontologies/API4KP/LATEST/api4kp-lang.rdf
+++ b/ontologies/API4KP/LATEST/api4kp-lang.rdf
@@ -30,17 +30,18 @@
API4KP Ontology of Languages
This ontology focuses on the definition of languages and grammars relevant to API4KP, including but not limited to natural languages.
+ Elisa Kendall (ekendall at thematix.com)
Davide Sottara (sottara.davide at mayo.edu)
http://opensource.org/licenses/MIT
https://www.w3.org/TR/owl2-quick-reference/
- Copyright (c) 2014-2020 Athan Services
- Copyright (c) 2014-2020 Fraunhofer Gesellschaft
- Copyright (c) 2014-2020 Freie Universität Berlin
- Copyright (c) 2014-2020 Mayo Foundation for Medical Education and Research (MFMER)
- Copyright (c) 2014-2020 Thematix Partners LLC
- Copyright (c) 2015-2020 Object Management Group, Inc.
- Copyright (c) 2019-2020 Universität Leipzig
- Copyright (c) 2020 Micro Focus
+ Copyright (c) 2014-2021 Athan Services
+ Copyright (c) 2014-2021 Fraunhofer Gesellschaft
+ Copyright (c) 2014-2021 Freie Universität Berlin
+ Copyright (c) 2014-2021 Mayo Foundation for Medical Education and Research (MFMER)
+ Copyright (c) 2014-2021 Thematix Partners LLC
+ Copyright (c) 2015-2021 Object Management Group, Inc.
+ Copyright (c) 2019-2021 Universität Leipzig
+ Copyright (c) 2020-2021 Micro Focus
https://www.omg.org/spec/API4KP/api4kp-series/
https://www.omg.org/spec/API4KP/api4kp/
https://www.omg.org/spec/DOL/
diff --git a/ontologies/API4KP/LATEST/api4kp-ops.rdf b/ontologies/API4KP/LATEST/api4kp-ops.rdf
index 65a0350..bfd9eec 100644
--- a/ontologies/API4KP/LATEST/api4kp-ops.rdf
+++ b/ontologies/API4KP/LATEST/api4kp-ops.rdf
@@ -36,17 +36,18 @@
Ontology of API4KP Operations
This ontology focuses on the definition of operations used by API4KP, including but not limited to access and transformation services.
+ Elisa Kendall (ekendall at thematix.com)
Davide Sottara (sottara.davide at mayo.edu)
http://opensource.org/licenses/MIT
https://www.w3.org/TR/owl2-quick-reference/
- Copyright (c) 2014-2020 Athan Services
- Copyright (c) 2014-2020 Fraunhofer Gesellschaft
- Copyright (c) 2014-2020 Freie Universität Berlin
- Copyright (c) 2014-2020 Mayo Foundation for Medical Education and Research (MFMER)
- Copyright (c) 2014-2020 Thematix Partners LLC
- Copyright (c) 2015-2020 Object Management Group, Inc.
- Copyright (c) 2019-2020 Universität Leipzig
- Copyright (c) 2020 Micro Focus
+ Copyright (c) 2014-2021 Athan Services
+ Copyright (c) 2014-2021 Fraunhofer Gesellschaft
+ Copyright (c) 2014-2021 Freie Universität Berlin
+ Copyright (c) 2014-2021 Mayo Foundation for Medical Education and Research (MFMER)
+ Copyright (c) 2014-2021 Thematix Partners LLC
+ Copyright (c) 2015-2021 Object Management Group, Inc.
+ Copyright (c) 2019-2021 Universität Leipzig
+ Copyright (c) 2020-2021 Micro Focus
https://www.omg.org/spec/API4KP/api4kp-krr/
https://www.omg.org/spec/API4KP/api4kp-lang/
https://www.omg.org/spec/API4KP/api4kp-rel/
diff --git a/ontologies/API4KP/LATEST/api4kp-rel.rdf b/ontologies/API4KP/LATEST/api4kp-rel.rdf
index 8bbc1eb..f3653ac 100644
--- a/ontologies/API4KP/LATEST/api4kp-rel.rdf
+++ b/ontologies/API4KP/LATEST/api4kp-rel.rdf
@@ -24,17 +24,18 @@
API4KP Ontology of Knowledge Resources Relationships
This ontology focuses on relationships between Knowledge Resources.
+ Elisa Kendall (ekendall at thematix.com)
Davide Sottara (sottara.davide at mayo.edu)
http://opensource.org/licenses/MIT
https://www.w3.org/TR/owl2-quick-reference/
- Copyright (c) 2014-2020 Athan Services
- Copyright (c) 2014-2020 Fraunhofer Gesellschaft
- Copyright (c) 2014-2020 Freie Universität Berlin
- Copyright (c) 2014-2020 Mayo Foundation for Medical Education and Research (MFMER)
- Copyright (c) 2014-2020 Thematix Partners LLC
- Copyright (c) 2015-2020 Object Management Group, Inc.
- Copyright (c) 2019-2020 Universität Leipzig
- Copyright (c) 2020 Micro Focus
+ Copyright (c) 2014-2021 Athan Services
+ Copyright (c) 2014-2021 Fraunhofer Gesellschaft
+ Copyright (c) 2014-2021 Freie Universität Berlin
+ Copyright (c) 2014-2021 Mayo Foundation for Medical Education and Research (MFMER)
+ Copyright (c) 2014-2021 Thematix Partners LLC
+ Copyright (c) 2015-2021 Object Management Group, Inc.
+ Copyright (c) 2019-2021 Universität Leipzig
+ Copyright (c) 2020-2021 Micro Focus
https://www.omg.org/spec/API4KP/api4kp/
api4kp-rel
api4kp-rel.rdf
diff --git a/ontologies/API4KP/LATEST/api4kp-series.rdf b/ontologies/API4KP/LATEST/api4kp-series.rdf
index 85ef792..72f0e6b 100644
--- a/ontologies/API4KP/LATEST/api4kp-series.rdf
+++ b/ontologies/API4KP/LATEST/api4kp-series.rdf
@@ -28,17 +28,18 @@
API4KP Ontology of Series
This ontology extends the core API4KP ontology to incorporate notions of snapshots and versions of knowledge artifacts as they change over time.
+ Elisa Kendall (ekendall at thematix.com)
Davide Sottara (sottara.davide at mayo.edu)
http://opensource.org/licenses/MIT
https://www.w3.org/TR/owl2-quick-reference/
- Copyright (c) 2014-2020 Athan Services
- Copyright (c) 2014-2020 Fraunhofer Gesellschaft
- Copyright (c) 2014-2020 Freie Universität Berlin
- Copyright (c) 2014-2020 Mayo Foundation for Medical Education and Research (MFMER)
- Copyright (c) 2014-2020 Thematix Partners LLC
- Copyright (c) 2015-2020 Object Management Group, Inc.
- Copyright (c) 2019-2020 Universität Leipzig
- Copyright (c) 2020 Micro Focus
+ Copyright (c) 2014-2021 Athan Services
+ Copyright (c) 2014-2021 Fraunhofer Gesellschaft
+ Copyright (c) 2014-2021 Freie Universität Berlin
+ Copyright (c) 2014-2021 Mayo Foundation for Medical Education and Research (MFMER)
+ Copyright (c) 2014-2021 Thematix Partners LLC
+ Copyright (c) 2015-2021 Object Management Group, Inc.
+ Copyright (c) 2019-2021 Universität Leipzig
+ Copyright (c) 2020-2021 Micro Focus
https://www.omg.org/spec/API4KP/api4kp/
https://www.omg.org/spec/DOL/
https://www.omg.org/spec/LCC/
diff --git a/ontologies/API4KP/LATEST/api4kp.rdf b/ontologies/API4KP/LATEST/api4kp.rdf
index 23d3568..c3b5fac 100644
--- a/ontologies/API4KP/LATEST/api4kp.rdf
+++ b/ontologies/API4KP/LATEST/api4kp.rdf
@@ -26,17 +26,18 @@
API4KP Core Ontology
This ontology defines the core concepts of the API4KP framework, namely Knowledge Resources: Assets, Expressions and Artifacts
+ Elisa Kendall (ekendall at thematix.com)
Davide Sottara (sottara.davide at mayo.edu)
http://opensource.org/licenses/MIT
https://www.w3.org/TR/owl2-quick-reference/
- Copyright (c) 2014-2020 Athan Services
- Copyright (c) 2014-2020 Fraunhofer Gesellschaft
- Copyright (c) 2014-2020 Freie Universität Berlin
- Copyright (c) 2014-2020 Mayo Foundation for Medical Education and Research (MFMER)
- Copyright (c) 2014-2020 Thematix Partners LLC
- Copyright (c) 2015-2020 Object Management Group, Inc.
- Copyright (c) 2019-2020 Universität Leipzig
- Copyright (c) 2020 Micro Focus
+ Copyright (c) 2014-2021 Athan Services
+ Copyright (c) 2014-2021 Fraunhofer Gesellschaft
+ Copyright (c) 2014-2021 Freie Universität Berlin
+ Copyright (c) 2014-2021 Mayo Foundation for Medical Education and Research (MFMER)
+ Copyright (c) 2014-2021 Thematix Partners LLC
+ Copyright (c) 2015-2021 Object Management Group, Inc.
+ Copyright (c) 2019-2021 Universität Leipzig
+ Copyright (c) 2020-2021 Micro Focus
https://www.omg.org/spec/DOL/
https://www.omg.org/spec/LCC/
api4kp
diff --git a/ontologies/API4KP/LATEST/catalog.xml b/ontologies/API4KP/LATEST/catalog.xml
index 4584683..17220d8 100644
--- a/ontologies/API4KP/LATEST/catalog.xml
+++ b/ontologies/API4KP/LATEST/catalog.xml
@@ -5,82 +5,124 @@
uri="api4kp.rdf"/>
+
+
+
+
+ uri="api4kp-lang.rdf"/>
+
+
+
+
+
+ uri="informative/api4kp-kmdo.rdf"/>
+ uri="informative/api4kp-kmdo.rdf"/>
+
+ uri="informative/api4kp-ckao.rdf"/>
+ uri="informative/api4kp-ckao.rdf"/>
+
+
+
+
+
+
+
+
-
+
+
diff --git a/ontologies/API4KP/LATEST/informative/api4kp-ckao.rdf b/ontologies/API4KP/LATEST/informative/api4kp-ckao.rdf
index c3d97a8..22235ae 100644
--- a/ontologies/API4KP/LATEST/informative/api4kp-ckao.rdf
+++ b/ontologies/API4KP/LATEST/informative/api4kp-ckao.rdf
@@ -1,260 +1,552 @@
+
+
+
-
-
-
-
+
-
]>
-
-
-
+
+
API4KP Clinical Knowledge Assets Ontology
- TODO
- Davide Sottara (sottara.davide@mayo.edu)
+ TODO
+ Elisa Kendall (ekendall at thematix.com)
+ Davide Sottara (sottara.davide at mayo.edu)
http://opensource.org/licenses/MIT
- Copyright (c) 2014-2020 88 Solutions
- Copyright (c) 2014-2020 Adaptive
- Copyright (c) 2014-2020 Athan Services
- Copyright (c) 2014-2020 Arizona State University
- Copyright (c) 2014-2020 Fraunhofer FOKUS
- Copyright (c) 2014-2020 Freie Universitat Berlin
- Copyright (c) 2014-2020 Mayo Clinic
- Copyright (c) 2019-2020 Micro Focus
- Copyright (c) 2014-2020 Model Driven Solutions
- Copyright (c) 2014-2020 Thematix Partners LLC
- Copyright (c) 2015-2020 Object Management Group, Inc.
- http://www.w3.org/standards/techs/owl#w3c_all
- https://www.omg.org/spec/LCC/
- https://www.omg.org/spec/DOL/
+ https://www.w3.org/TR/owl2-quick-reference/
+ Copyright (c) 2014-2021 Athan Services
+ Copyright (c) 2014-2021 Fraunhofer Gesellschaft
+ Copyright (c) 2014-2021 Freie Universität Berlin
+ Copyright (c) 2014-2021 Mayo Foundation for Medical Education and Research (MFMER)
+ Copyright (c) 2014-2021 Thematix Partners LLC
+ Copyright (c) 2015-2021 Object Management Group, Inc.
+ Copyright (c) 2019-2021 Universität Leipzig
+ Copyright (c) 2020-2021 Micro Focus
+ https://www.omg.org/spec/API4KP/api4kp-kao/
https://www.omg.org/spec/API4KP/api4kp/
+ api4kp-ckao
api4kp-ckao.rdf
- ckao
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Adaptive specification of how to perform (complex) clinical activities, properly orchestrated over time, so to achieve certain objectives and goals
- Care Process Model
- CPM
- The Mayo Clinic Rectal Adenocarcinoma CPM
- Includes AME Care Process Models (CPM)
-
-
-
-
- The Mayo Clinic Rectal Adenocarcinoma CPM
-
-
-
-
-
- clinical knowledge asset
- knowledge asset that uses primarily concepts from the clinical business domain
-
-
-
-
-
- Systematically developed statements to assist provider decisions about appropriate healthcare for specific clinical situations
- Clinical Practice Guideline
- Clinical Practice Guideline
- The Mayo Clinic Sternotomy Guideline
-
-
-
-
- The Mayo Clinic Sternotomy Guideline
-
-
-
-
-
-
- Protocol applicable in a clinical situation, such that it directs the behavior of patients and/or providers
- Clinical Protocol
-
-
-
-
-
- Computational logic to direct clinical interventions that is typically expressed as if/then statements but may also be represented by a diagram, decision table or other representation language
- Clinical Business Rule
- CDS Rule
- The 'HGB value prior to RBC transfusion' Recommendation Rule
- Clinical Rule
-
-
-
-
- The 'HGB value prior to RBC transfusion' Recommendation Rule
-
-
-
-
-
- Descriptions of the objectives, design, methodology, statistical considerations and aspects related to the organization of clinical trials.
-
-Trial protocols provide the background and rationale for conducting a study, highlighting specific research questions that are addressed, and taking into consideration ethical issues. Trial protocols must meet a standard that adheres to the principles of Good Clinical Practice, and are used to obtain ethics approval by local Ethics Committees or Institutional Review Boards.
- Clinical Trial Protocol
-
-
-
-
- Descriptions of the objectives, design, methodology, statistical considerations and aspects related to the organization of clinical trials.
-
-Trial protocols provide the background and rationale for conducting a study, highlighting specific research questions that are addressed, and taking into consideration ethical issues. Trial protocols must meet a standard that adheres to the principles of Good Clinical Practice, and are used to obtain ethics approval by local Ethics Committees or Institutional Review Boards.
- https://www.ncbi.nlm.nih.gov/pubmed/20815294
-
-
-
-
-
- Knowledge whose primary subject is the cognitive aspects of a Care Process
- Cognitive Care Process Model
-
+
+
+
+
+
+
+
+
+ domain-specific knowledge asset
+
+
+
+
+ clinical knowledge asset
+ domain-specific knowledge asset that uses primarily concepts from the clinical business domain
+
+
+
+
+ categorized knowledge asset
+
+
+
+
+ 7db1af1f-1703-356f-bddc-8cb0a81a442c
+ Rules, Policies and Guidelines
+
+
+
+
+ d4b0e868-60c8-387d-a139-e3c35427bfb6
+ Assessment, Predictive and Inferential Models
+
+
+
+
+ 3f55a496-5ff3-3989-bf0a-15a61da8b09c
+ Structured Information and Data Capture Models
+
+
+
+
+ 64719ac1-415f-3747-843c-e1e8949071ff
+ Terminology, Ontology and Assertional KBs
+
+
+
+
+ 2d705e5a-22d4-3368-98a6-e5ea7d52fd05
+ KPIs, Measurements and Metrics
+
+
+
+
+ f9e2a69d-0f6e-3a2b-94c4-beaf6fdadaea
+ Plans, Processes, Pathways and Protocol Definitions
+
+
+
+
+
+
+
+
+
+
+
+ Constructive Definition of a (resolvable) Concept that specifies how to resolve that Concept in some context or situation.
+Some definitions have conditional applicability, limiting the class of situations in which they can be used
+ operational concept definition
+
+
+
+
+ knowledge that allows to infer an otherwise unknown or not directly observable state or situation
+ assessment model
+
+
+
+
+ Assessment that is not formalized according to logical or mathematical principles
+ Non formal assessments may be informal, or formalizable
+ non-formal assessment model
+
+
+
+
+
+
+
+
+
+
+ Knowledge Asset that captures how information is processed internally by an intelligent agent
+ cognitive process model
+
+
+
+
+
+ Definition used to classify patients into classes defined by some common characteristic
+ patient cohort definition
+
+
+
+
+ Decision Model that includes an explicit specification of its decision making logic, suitable to be faithfully expressed in a computable language
+ computable decision model
+
+
+
+
+
+ decision model capturing the knowledge used in the assessment of a patient's health status, or choice of intervention
+ clinical decision model
+
+
+
+
+ decision model capturing how people make decisions in real life
+ naturalistic decision model
+
+
+
+
+ Abstraction of the structure and/or behavior of the entities in a given domain
+ Conceptual (Domain) Model
+ domain conceptualization
+
+
+
+
+
+ Knowledge that is held to be a faithful description of the state of affairs in a given domain by all agents that share (and understand) it.
+ assertional knowledge
+
+
+
+
+ Assertional knowledge that is not completely ground, and can be specialized or adapted to a particular context
+ contextualizable knowledge
+
+
+
+
+ Assertional knowledge about specific individuals, entities and concepts
+ grounded knowledge
+
+
+
+
+ Assessment that can be abstracted by means of a question, which requires to select one out of a set of admissible options
+ decision model
+
+
+
+
+ specification of how to handle a case
+ case management model
+
+
+
+
+
+
+
+
+
+
+ Model of who, when, where and why a Decision is made, usually as part of a broader process. Also known as Decision Making Process Model, usually includes a Decision Model that specifies how to actually choose the optimal option
+ decision task model
+
+
+
+
+ An organized collection of determinable concepts, possibly associated to questions, which are meant to be resolved in a particular context
+ documentation template
+ more general than questionnaires, whose questions are meant to be answered by a human agent (possibly with computer aid), documentation templates can be used by software agents as well
+
+
+
+
+
+ Documentation template designed for human computer interaction, where the human fills a questionnaire, and a computer processes the gathered information to provide further insight to the human
+ interactive documentation template
+
+
+
+
+ A functional expression, defined in terms of two functional expressions connected by means of the well known equality operator.
+ equation
+
+
+
+
+
+ conceptual model that is based on formal principles, such as that allow to make inferences and/or verify the consistency of the model
+ formal ontology
+
+
+
+
+ Knowledge about the application of well-known information processing methods, possibly chained together, which are stateless, functional and idempotent in nature.
+ functional expression
+ 'mass' times the square of the speed of light
+
+
+
+
+ (Meta) model that defines which information should be captured about some kind of domain
+ information model
+ logical data model
+
+
+
+
+ The definition of how (and possibly when and where) to ask a question, following some kind of protocol, for the purpose of receiving a specific answer, with the goal of gaining information in the process
+ inquiry specification
+
+
+
+
+ Decision Task Model that requires the participation of two or more agents
+ multi-agent decision task model
+
+
+
+
+ assessment of some state that is unobservable due to being in the future
+ predictive model
+
+
+
+
+ A shared, endorsed, justified, imperative specification of the expected behavior of one or more agents in a specific situation
+
+ protocol
+
+
+
+
+ An organized collection of questions intended to solicit information from patients, providers or other individuals in the healthcare domain
+
+ questionnaire
+ First Visit Questionnaire
+
+
+
+
+ Decision Model that includes an unambiguous definition of every concept involved
+ semantic decision model
+
+
+
+
+
+
+
+
+
+
+ Information Model designed such that instances have one and only one interpretation
+ semantic information model
+
+
+
+
+ service description
+
+
+
+
+ Service Description that refines (by constraint), and thus depends on, some Service Description
+ service profile
+
+
+
+
+ Formal Service Description
+ service specification
+
+
+
+
+ Specification of a ReSTful service, i.e. one which exposes resources at endpoints
+ ReSTful service specification
+
+
+
+
+ Specification of a Operation-oriented service, i.e. one which exposes operations at endpoints
+ operation oriented service specification
+
+
+
+
+ A set of pairs of "codes", drawn from one or more code systems, and human-readable terms that represent clinical concepts (e.g. "diabetes type II")
+
+ value set
+ The Asthma Value Set
+
+
+
+
+ aggregate value set
+ value set that is defined in terms of the union of other value sets
+
+
+
+
+
+ care process model
+ CPM
+ adaptive specification of how to perform (complex) clinical activities, properly orchestrated over time, so to achieve certain objectives and goals
+ The Mayo Clinic Rectal Adenocarcinoma CPM
+ Includes AME Care Process Models (CPM)
+
+
+
+
+ case enrichment rule
+ clinical rule, or set thereof, that uses summarization, inference, guidance and contextualization logic to augment a patient's case, with respect to a disorder that the case is centered on
+
+
+
+
+ case summarization rule
+ clinical rule, or set thereof, that extracts salient 'features' from a patient case
+ A summarization rule does not generate new information, but rather selects information that is already present.
+
+
+
+
+ clinical calculation rule
+ clinical inference rule that determines a single, derived, 'observed' value
+
+
+
+
+ clinical contextualization rule
+ clinical inference rule that "projects" the patient's state around a set of (usually related) concepts, effectively creating a focused context
+
+
+
+
+ clinical eligibility rule
+ clinical rule that determines whether a treatment, or study thereof, is potentially administrable to a patient (cohort), based on the patient's characteristics
+
+
+
+
+ clinical enrollment rule
+ clinical rule that determines whether a patient will be administered care, as specified by a care process, pathway or protocol
+
+
+
+
+ clinical guidance rule
+ clinical rule, or set thereof, that uses a patient's (possibly summarized) case, to produce a recommendation, (i.e. a proposed strategy) to address a gap between the current and desired state
+ The information generated by guidance rules is generally meant to be a (partial) intervention plan, and thus drive an agent's action.
+
+
+
+
+ clinical inference rule
+ clinical rule, or set thereof, that uses a patient's (possibly summarized) case, to assess the patient's state, predict the case's course, and/or determine (contra)indicated intervention options
+ Inference rules generate new information based on the current state, and knowledge that dictates how to interpret that state. Inference rules, however, do not drive actions/interventions directly.
+
+
+
+
+
+ clinical practice guideline
+
+ clinical practice guideline
+ systematically developed statement(s) that assist provider decisions about appropriate healthcare for specific clinical situations
+ The Mayo Clinic Sternotomy Guideline
+
+
+
+
+
+ clinical protocol
+ protocol applicable in a clinical situation, such that it directs the behavior of patients and/or providers
+
+
+
+
+
+ clinical rule
+
+ computational logic to direct clinical interventions that are typically expressed as if/then statements but may also be represented by a diagram, decision table or other representation language
+ The 'HGB value prior to RBC transfusion' Recommendation Rule
+
+
+
+
+ clinical trial protocol
+ https://www.ncbi.nlm.nih.gov/pubmed/20815294
+ descriptions of the objectives, design, methodology, statistical considerations and aspects related to the organization of clinical trials
+ Trial protocols provide the background and rationale for conducting a study, highlighting specific research questions that are addressed, and taking into consideration ethical issues. Trial protocols must meet a standard that adheres to the principles of Good Clinical Practice, and are used to obtain ethics approval by local Ethics Committees or Institutional Review Boards.
+
+
+
+
+
+ cognitive care process model
+ knowledge whose primary subject covers the cognitive aspects of a care process
+
+
+
+
+ clinical pathway
+ specification of a possible, ideal course of action for the diagnosis or treatment of a condition
+
+
+
+
+
+ clinical case management model
+ knowledge of how to manage a person's diagnosis of a clinical condition
+
+
+
+
+
+
+ clinical decision support interaction
+ decision support interaction that delivers an alert, a reminder or a recommendation
+
+
+
+
+
+ nursing protocol
+ protocol that directs the behavior of nurses
+
-
-
- domain-specific knowledge asset
-
-
-
-
- Protocol that directs the behavior of nurses
- Nursing Protocol
-
-
-
-
-
- A standardized list of orders for a specific diagnosis
- Order Set
- Verify the defintion that restricts the ordersets to be developed by OSPAG, vs produced or endorsed
- The Heart Failure Medication Titration Order Set
-
-
-
-
- The Heart Failure Medication Titration Order Set
-
-
-
-
-
-
- CQMs are tools that help measure or quantify healthcare processes, outcomes, patient
-perceptions and organizational structure and/or systems that are associated with the ability to provide high-
-quality healthcare and/or that relate to one or more quality goals
-
- Clinical Quality Measure
-
-
-
-
-
- Rule, or set thereof, that uses summarization, inference, guidance and contextualization logic to augment a patient's case, with respect to a disorder that the case is centered on
- Case Enrichment Rule
-
-
-
-
-
- Clinical rule, or set thereof, that extracts salient 'features' out of a patient case.
- A summarization rule does not generate new information, but rather selects information that is already present.
-
-
-
-
-
- Inference Rule that determines a single, derived, 'Observed' value
- Clinical Calculation Rule
-
-
-
-
-
- Inference rule that "projects" the patient's state around a set of (usually related) concepts, effectively creating a focused context
- Clinical Contextualization Rule
-
-
-
-
-
- Clinical Rule, or set thereof, that uses a patient's (possibly summarized) Case, to produce a recommendation,
-i.e. a proposed strategy to address a gap between the current and desired state
- Clinical Guidance Rule
- The information generated by Guidance rules is generally meant to be a (partial) intervention plan, and thus drive an agent's action
-
-
-
-
-
- Clinical rule, or set thereof, that uses a patient's (possibly summarized) Case, to assess the patient's state, predict the case's course, and/or
-determine (contra)indicated intervention options
- Clinical Inference Rule
- Inference rules generate new information based on the current state, and knowledge that dictates how to interpret that state.
-Inference rules, however, do not drive actions/interventions directly
-
-
-
-
-
-
- Clinical Summarization rule that presents the summary in a way that supports interactive communication
- Interactive Clinical Summarization Rule
- Questionnaire Pre-Population Rule
-
-
-
-
-
- Clinical Guidance Rule that is meant to be executed as part of a bidirectional communication protocol
-
-Guidance rules, in general, require to 'deliver' the guidance to an agent. This kind of rule also expects that the inputs/context used to derive the guidance will be acquired via an explicit interaction
- Interactive Clinical Guidance Rule
-
-
-
-
-
-
-
-
-
+
+
+
+ order set
+ a standardized list of orders for a specific diagnosis
+ Verify the defintion that restricts the order sets to be developed by OSPAG, vs produced or endorsed
+ The Heart Failure Medication Titration Order Set
+
+
+
+
+
+ therapy plan
+ TODO composite orderset that spans over multiple encounters, aimed at the treatment of a specific disorder
+
+
+
+
+ quality measure
+ tool that helps measure or quantify healthcare processes, outcomes, patient perceptions and organizational structure and/or systems that are associated with the ability to provide high-quality healthcare and/or that relate to one or more quality goals
+
+
+
+
+
+ clinical quality measure
+ quality measure applied to patient cohorts
+
+
+
+
+
+ lexicon
+
+
+
+
+
+ grammar specification
+
+
+
+
+
+
+
+
+
+
+
+ explicit role knowledge asset
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ontologies/API4KP/LATEST/informative/api4kp-err.rdf b/ontologies/API4KP/LATEST/informative/api4kp-err.rdf
new file mode 100644
index 0000000..2fad3a0
--- /dev/null
+++ b/ontologies/API4KP/LATEST/informative/api4kp-err.rdf
@@ -0,0 +1,556 @@
+
+
+
+
+
+
+
+
+ TODO
+ Elisa Kendall (ekendall at thematix.com)
+ Davide Sottara (sottara.davide at mayo.edu)
+ http://opensource.org/licenses/MIT
+ https://www.w3.org/TR/owl2-quick-reference/
+ Copyright (c) 2014-2021 Athan Services
+ Copyright (c) 2014-2021 Fraunhofer Gesellschaft
+ Copyright (c) 2014-2021 Freie Universität Berlin
+ Copyright (c) 2014-2021 Mayo Foundation for Medical Education and Research (MFMER)
+ Copyright (c) 2014-2021 Thematix Partners LLC
+ Copyright (c) 2015-2021 Object Management Group, Inc.
+ Copyright (c) 2019-2021 Universität Leipzig
+ Copyright (c) 2020-2021 Micro Focus
+ https://www.omg.org/spec/API4KP/api4kp-kp/
+ https://www.omg.org/spec/API4KP/api4kp/
+ api4kp-ops
+ api4kp-ops.rdf
+ API4KP Ontology of KnowledgeBase and Knowledge Operation Errors
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ has outcome
+ results in an Outcome at completion
+
+
+
+
+
+
+
+
+
+ has trace
+
+
+
+
+
+
+
+ plays role
+ replace with OMG commons
+
+
+
+
+
+
+
+
+
+
+
+
+
+ acceptance
+ quality state based on constraints established in a contract between parties, where one of the parties is a potential user or stakeholder of the knowledge resource
+
+
+
+
+
+
+
+
+ accessbility
+ FAIRTness state based on the ability to resolve designators to the location where the ((copy of a) manifestation of a) knowledge resource, and/or description thereof, can be acquired
+ acquisition may involve localization, but also authorization
+
+
+
+
+
+
+
+
+ For example, "1+2+3" and "2+3+1" are generally iso-semantic, but one may define a canonical form where the addends are sorted, making "1+2+3" canonical
+ canonicality
+ style conformance defined in terms of a (partial) order on the structure of iso-semantic sentences, where certain structures are preferred over others
+ https://en.wikipedia.org/wiki/Canonicalization
+
+
+
+
+
+
+
+
+ compatibility
+ outcome related to the ability of a knowledge platform to process a given knowledge resource
+
+
+
+
+
+
+
+
+ composability
+ outcome based on the ability of a knowledge resource to be composed (structured) into/with another knowledge resource, while preserving its semantic properties
+
+
+
+
+
+
+
+
+ in a concise expression, every construct either evokes a distinct concept, or supports the structure of the expression.
+For example, "3+3" is concise, whereas "3+3-1+1" or "(3+3)" are not
+ conciseness
+ stylistic constraint that promotes minimal, laconic expressions, i.e. expressions where constructs cannot be removed without affecting the interpretation
+
+
+
+
+
+
+
+
+ efficiency
+ quality outcome based on the ability to perform knowledge processing activities driven by the knowledge resources while satisfying constraints on the resources consumed by the execution (including time, memory, cpu cycles, etc.)
+ in contrast with complexity, efficiency is practical (as opposed to theoretical) and relative (as opposed to absolute)
+
+
+
+
+
+
+
+
+ FAIRT-ness
+ social outcome defined in terms of constraints on the findability, accessibility, interoperability, reusability and trustworthiness of a knowledge resource, and descriptions (metadata) thereof
+
+
+
+
+
+
+
+
+ findability
+ FAIRTness state based on the ability to resolve designators to an actual knowledge resource, and/or description thereof
+
+
+
+
+
+
+
+
+ interoperability
+ FAIRTness state defined in terms of the ability of a knowledge resource to be part of, and processed by, different knowledge platforms
+ implies, for example, the ability to work with other knowledge resources (e.g. in a composite knowledge base), to be applied to various data sources, and/or be processed by different knowledge platform components
+
+
+
+
+
+
+
+
+ portability
+ sharability that is further constrained to yield the same behavior
+
+
+
+
+
+
+
+
+ reusability
+ FAIRTness state based on the ability to be combined with different knowledge resources, in different knowledge bases
+
+
+
+
+
+
+
+
+ formal semantics is usually captured by the constructs of the expression language, while domain semantics is captured by the lexicon
+ semanticity
+ https://en.wikipedia.org/wiki/Formal_semantics
+ formal outcome defined in terms of the interpretation (domain semantics) and/or computational aspects (formal semantics) underlying a knowledge resource
+ semanticity, and formal semantics, are here used in a broader sense, compatible but more general, than formal semantics in logic
+
+
+
+
+
+
+
+
+ sharability
+ interoperability state based on the ability of two or more, distinct platforms to produce the same interpretation for the given resource
+
+
+
+
+
+
+
+
+ standards conformant resources are processed by standards compliant platforms
+ the standards specifications are expected to be FAIR-T resources themselves
+ standards conformance
+ adherence to the constraints published as a standard, endorsed by a standards defining organization
+
+
+
+
+
+
+
+
+ style conformance
+ grammaticality defined in terms of patterns and/or soft constraints on the internal structure of an expression
+ style conformance is particularly relevant when a language supports iso-semantic expressions (i.e. alternative ways to evoke the same concepts)
+
+
+
+
+
+
+
+
+ trustworthiness
+ FAIRTness based on constraints on the pedigree, provenance and/or lineage of the knowledge resource
+
+
+
+
+
+
+
+
+ validity
+ outcome based on the (in)ability to derive inferences that are (in)consistent with input assertions, for any input
+ validity is necessary, but not sufficient, to determine correctness - especially when a resource is incomplete, i.e. unable to derive inferences for a given set of inputs
+
+
+
+
+
+
+
+
+ activity outcome
+
+
+
+
+
+
+
+
+ actuality
+ findability state based on the materialization of a knowledge resource in at least one manifestation
+
+
+
+
+
+
+
+
+ completeness
+ https://en.wikipedia.org/wiki/Completeness_(logic)
+ outcome based on the (in)ability to derive inferences for any possible combination of inputs
+
+
+
+
+
+
+
+
+ Example: x^2 is computationally less complex than 2^x for large(r) values of x
+ complexity
+ https://en.wikipedia.org/wiki/Computational_complexity
+ outcome based on the estimation of resources (time, space, cpu cycles, money, etc) necessary to perform knowledge processing activities with the given knowledge resource
+
+
+
+
+
+
+
+
+ Example: { x = 3; x = 2 + 4 } is inconsistent under the usual formal rules of basic algebra
+ consistency
+ https://en.wikipedia.org/wiki/Consistency
+ semantic outcome based on the assertion,or necessary inference/entailment/derivation, of a logical contradiction
+ syntactic consistency can be determined throguh the analysis of an expression - e.g. "X is A and not A", and inconsistency implies that no interpretation would make the resource consistent. Semantic consistency, conversely, requires an interepretation, and possibly background knowledge about the referents.
+
+
+
+
+
+
+
+
+ currency
+ quality outcome based on the comparison of the resource's knowledge content (i.e. the carried asset) and the knowledge as of a specific point in time T, i.e. a faithful, possibly ideal, work of knowledge with the same subject and scope as if that work had been conceived at that point in time T.
+ currency is often, but not always, evaluated with respect to the knowledge at that same point in time.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ execution traces can be used as the explanation of an operation's result (explain what) and/or outcome (explain why)
+ execution trace
+ expression that describes the events that occurred during, and because of, the execution of a (knowledge processing) operation
+ TODO: promote to api4kp-ops
+
+
+
+
+
+
+
+
+ failure outcome
+ failure
+ outcome that violates at least one of the goals associated to the activity that resulted in the outcome
+
+
+
+
+
+
+
+
+ fitness
+ relative quality outcome based on the comparison between two knowledge resources, and/or quality thereof, when the resources share subject, scope and/or purpose
+
+
+
+
+
+
+
+
+ Considerations
+- Artifacts carry expressions: the carrier per se is irrelevant
+- Assets are not grammatical until expressed in at least one language
+- If a language has multiple grammars, the outcome should not depend on the grammar, though the complexity or decidability thereof could
+ grammaticality
+
+ https://en.wikipedia.org/wiki/Constrained_writing
+ syntactic conformance
+ formal outcome defined by linguistic rules, patterns and/or constraints, including but not limited to grammatical, syntactic, lexical, and/or stylistic ones.
+
+
+
+
+
+
+
+
+ identifiability
+ findability based on the ability to map an identifier to the resource that it identifies, and vice versa
+
+
+
+
+
+
+
+
+ knowledge resource outcome
+ oucome state defined in terms of formal or social properties of a knowledge resource
+
+
+
+
+
+
+
+
+ locatability
+ accessibility state related to the ability to map a resource (identifier) to a location, and vice-versa
+ may be impacted by the derefencing process, but also to the relocation, or even non-existence of the knowledge base
+
+
+
+
+
+
+
+
+ outcome
+ state of a system that is the consequence of the execution of an activity, at the point in time the activity has been completed
+ the state is associated to, but not the same as, the point-in-time event of reaching that state, or the period of time over which the state holds
+
+
+
+
+
+
+
+
+ quality
+ social outcome based on constraints applied to a similarity/distance measure applied to (properties of) the knowledge resource compared to some reference goal state that is considered desirable, according to a utility measure
+ note that a quality outcome state is determined by, but not itself, a quality measure (which is a knowledge resource in itself). An instance of this class should not be "Q is 78%", but rather "good quality" or "(state such that) Q >= 75%"
+ the definition correlates quality to relative utility, compared to an optimum which may or may not exist.
+
+
+
+
+
+
+
+
+ Example: { x = 3; y = x + 2 } is satisfiable for x = 3 and y = 5
+ satisfiability
+ http://www.cs.swansea.ac.uk/~csmarkus/ProcessesAndData/sites/default/files/uploads/papers/catesbeiana09.pdf
+ https://en.wikipedia.org/wiki/Satisfiability
+ outcome related to ability of having at least one interpretation that is true in the domain of reference, for an assignment of the knowledge resource's variables
+
+
+
+
+
+
+
+
+ soundness
+ https://en.wikipedia.org/wiki/Soundness
+ correctness
+ outcome defined in terms of validity when applied to true facts (inputs)
+
+
+
+
+
+
+
+ state
+ specific configuration of an Entity's characteristics that holds over a period of time
+ this is a placeholder class for integration with ontologies that provider more specific definitions for the notion of state
+
+
+
+
+
+
+
+
+ success outcome
+ success
+ outcome that satisfies the goals associated to the activity that resulted in the outcome
+
+
+
+
+
+
+
+
+ Syntactic profiles can, e.g., restrict the allowed constructs, or further constrain the grammar rules.
+For example, consider the language of basic algebra restricted to only using "+" and single digit integer numbers
+ syntactic profile conformance
+ grammaticality based on the rules of a syntactic language profile, i.e. a (sub)language derived from another language by means of restricting the set of valid sentences
+
+
+
+
+
+
+
+
+ For example, "1 + 2" and "+ 2 1" follow the grammar of basic algebra, using different concrete syntaxes (infix vs prefix notation), but "1 +" is syntactically ill-formed
+ well formedness
+ https://en.wikipedia.org/wiki/Formal_language
+ https://en.wikipedia.org/wiki/Well-formedness
+ grammaticality defined by the rules of the concrete syntax of a language (grammar + orthography), determining to what extent a resource is, or carries, an expression recognized to be in a given, possibly formal, language
+ this notion of well-formedness is broader than the notion of XML well-formedness
+ well formedness is more specific than grammaticality, to the extent that there may be other ways to determine syntactic properties other than using grammar rules
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/ontologies/API4KP/LATEST/informative/api4kp-kmdo.rdf b/ontologies/API4KP/LATEST/informative/api4kp-kmdo.rdf
index 9237269..ecbb5ba 100644
--- a/ontologies/API4KP/LATEST/informative/api4kp-kmdo.rdf
+++ b/ontologies/API4KP/LATEST/informative/api4kp-kmdo.rdf
@@ -1,28 +1,21 @@
+
-
-
-
-
+
-
]>
-
API4KP Knowledge Delivery Management Ontology
- The purpose of this ontology is to define 'knowledge' and the related concepts that play a role in managing and delivering that knowledge to different audiences.
- Davide Sottara (sottara.davide@mayo.edu)
- Sivaram Arabandi
- Matthew Burton
- Michael Panzer
- Kris Pavek
+ The purpose of this ontology is to define 'knowledge' and the related concepts that play a role in managing and delivering that knowledge to different audiences.
+ Elisa Kendall (ekendall at thematix.com)
+ Davide Sottara (sottara.davide@mayo.edu)
Jane Shellum
+ Kris Pavek
+ Matthew Burton
+ Michael Panzer
+ Sivaram Arabandi
http://opensource.org/licenses/MIT
- Copyright (c) 2014-2020 88 Solutions
- Copyright (c) 2014-2020 Adaptive
- Copyright (c) 2014-2020 Athan Services
- Copyright (c) 2014-2020 Arizona State University
- Copyright (c) 2014-2020 Fraunhofer FOKUS
- Copyright (c) 2014-2020 Freie Universitat Berlin
- Copyright (c) 2014-2020 Mayo Clinic
- Copyright (c) 2019-2020 Micro Focus
- Copyright (c) 2014-2020 Model Driven Solutions
- Copyright (c) 2014-2020 Thematix Partners LLC
- Copyright (c) 2015-2020 Object Management Group, Inc.
- http://www.w3.org/standards/techs/owl#w3c_all
- https://www.omg.org/spec/LCC/
- https://www.omg.org/spec/DOL/
+ https://www.w3.org/TR/owl2-quick-reference/
+ Copyright (c) 2014-2021 Athan Services
+ Copyright (c) 2014-2021 Fraunhofer Gesellschaft
+ Copyright (c) 2014-2021 Freie Universität Berlin
+ Copyright (c) 2014-2021 Mayo Foundation for Medical Education and Research (MFMER)
+ Copyright (c) 2014-2021 Thematix Partners LLC
+ Copyright (c) 2015-2021 Object Management Group, Inc.
+ Copyright (c) 2019-2021 Universität Leipzig
+ Copyright (c) 2020-2021 Micro Focus
https://www.omg.org/spec/API4KP/api4kp/
- https://www.omg.org/spec/API4KP/api4kp-krr/
+ https://www.omg.org/spec/LCC/
+ api4kp-kmdo
api4kp-kmdo.rdf
- kmdo
-
-
-
-
-
-
-
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
- archived in
-
-
-
-
-
- Archival is a kind of storage implying no immediate use. Archiving is scoped to artifacts only
- archives
-
-
-
-
-
-
-
-
-
- endorsed by
-
-
-
-
-
-
- endorses
- An agent's endorsement of a knowledge endeavor implies (i) that the agent is able to understand the content of that endeavor, internally representing the knowledge (expressed by (the expression carried)) in the endeavor, (ii) that the agent transfers their reputation and trust to that endeavor
-
-
-
- has focus
-
-
-
-
-
-
-
- (knowledge) possessed by
-
-
-
-
-
-
-
-
-
- possesses (knowledge)
- An Agent possesses some Knowledge if they can conceptualize that Knowledge, and act based on that Knowledge
- The possession of some Knowledge is the outcome of a Knowledge Acquisition Activity
-
-
-
-
- has primary subject
-
-
-
-
-
-
- An artifact that resulted from the copy of a 'master copy' is a replica of that copy
- replica of
-
-
-
-
-
-
-
-
-
-
-
-
- in terms of
-
-
-
-
- defines
-
-
-
-
-
-
-
-
- is about
-
-
-
-
- represents
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- advanced knowledge
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- anonymous knowledge resource
- Knowledge Resource that is not identified by a an ID assigned by a central identification authority
-
-
-
-
-
-
-
-
-
-
-
-
- approachable knowledge resource
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- available knowledge resource
- There exists a repository where an agent is allowed to obtain a copy of (some artifact that carries) the knowledge resource
- More specifically, an artifact that carries a representation of the expression of some (version of a) work of knowledge
-
-
-
-
- body of knowledge
- A complex corpus that encompasses the entirety of the knowledge about a specific Business Domain
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- broadly understandable knowledge resource
- Knowledge Resource that is interpreted by an agent that possesses Common Knowledge, and can be interpreted by an agent even if Common Knowledge is all the Knowledge they possess
- "Understandability' is defined at the concept level, so that an agent can (re)construct an internal representation of the knowledge, reconnecting the it to the related concepts that agent is expected to possess, and possibly make pragmatic use of it.
+
+
+ advanced knowledge
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ anonymous knowledge resource
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Knowledge Resource that is not identified by a an ID assigned by a central identification authority
+
+
+
+
+ approachable knowledge resource
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ available knowledge resource
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ There exists a repository where an agent is allowed to obtain a copy of (some artifact that carries) the knowledge resource
+ More specifically, an artifact that carries a representation of the expression of some (version of a) work of knowledge
+
+
+
+
+ body of knowledge
+ A complex corpus that encompasses the entirety of the knowledge about a specific Business Domain
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ broadly understandable knowledge resource
+ Knowledge Resource that is interpreted by an agent that possesses Common Knowledge, and can be interpreted by an agent even if Common Knowledge is all the Knowledge they possess
+ "Understandability' is defined at the concept level, so that an agent can (re)construct an internal representation of the knowledge, reconnecting the it to the related concepts that agent is expected to possess, and possibly make pragmatic use of it.
The availability of a carrier, and the expression of the knowledge in a language that can be parsed by the agent are necessary, but not sufficient conditions.
-
-
-
-
- business domain
- A concept that synthesizes, abstracting and implying it, a functional complex of more granular concepts that define all the entities and relationships (actors, roles, activities and processes, resources, information, responsibilities, etc...) pertaining to a field or discipline
- cooking
- finance
- healthcare
-
-
-
-
- clinical business domain
- A domain that includes concepts dealing with risk/cause, evaluation, diagnosis, treatment, prevention and management of health and wellness conditions, including methods for the appropriate application of tests, procedures, drugs, and treatments.
- This is considered a class since there are multiple notions of 'Clinical Domain', varying e.g. by country or over time.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- clinical knowledge resource
- Asset that is the realization of a Work of Knowledge, whose subject includes on one or more concepts from some Clinical Domain
-
-
-
-
- common knowledge
- Knowledge that everyone has, and everyone is known to have
-
-
-
-
-
- (concretely realized) piece of content
- PoC
- Distributable, Concrete Expression of some Intellectual Work, in some Human Consumable Language
-
-
-
-
-
-
-
-
-
-
- (concretely realized) piece of knowledge
- PoK
- A Piece of Knowledge is a Distributable, Concrete Expression of an Intellectual Work of Knowledge
-
-
-
-
-
-
-
-
-
-
-
- (concretely realized) piece of knowledge content
- PoCK
- Piece of Content that is the expression of a Work of knowledge
- Like any Piece of Content, a PoCK is expressed using some natural language, and formatted for consumption by a human audience (as opposed to be used for computation by a software)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- core knowledge asset
- Asset such that Assets may be derived from it, but is not itself derived from any other Asset (although it could be a derivative of another Resource)
-
-
-
-
- digital knowledge artifact
- An artifact that carries some form of knowledge encoded by means of discretized signals
-
-
-
-
- digital knowledge artifact directory
- Function of a (software) agent that relies on a Knowledge Artifact Inventory that references Digital Knowledge Artifacts
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- digital knowledge artifact repository
- Function served by an entity that stores Digital Knowledge Artifacts
-
-
-
-
-
-
-
-
-
-
-
-
-
- digital knowledge asset surrogate
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- digital knowledge asset surrogate repository
- a repository specialized in digital asset surrogates
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- digital knowledge management dervice provider
- knowledge management service provider for digital knowledge artifacts
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- distributable expression
- Concrete Expression that is realized by a self-contained knowledge artifact, and suitable to be used in a knowledge transfer activity
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- domain knowledge
- Knowledge specifically about, and thus scoped by, some Business Domain (e.g. healthcare)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- domain-specific knowledge resource
- Knowledge resource that expresses a work of knowledge that captures a piece of domain specific knowledge
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- domain-specific work of knowledge
- Knowledge Work that has subject some aspect of a single Business Domain
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- endorsed knowledge resource
- Knowledge Resource that is endorsed by an agent / party.
+
+
+
+
+ business domain
+ A concept that synthesizes, abstracting and implying it, a functional complex of more granular concepts that define all the entities and relationships (actors, roles, activities and processes, resources, information, responsibilities, etc...) pertaining to a field or discipline
+ cooking
+ finance
+ healthcare
+
+
+
+
+ clinical business domain
+ A domain that includes concepts dealing with risk/cause, evaluation, diagnosis, treatment, prevention and management of health and wellness conditions, including methods for the appropriate application of tests, procedures, drugs, and treatments.
+ This is considered a class since there are multiple notions of 'Clinical Domain', varying e.g. by country or over time.
+
+
+
+
+ clinical knowledge resource
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Asset that is the realization of a Work of Knowledge, whose subject includes on one or more concepts from some Clinical Domain
+
+
+
+
+ common knowledge
+ Knowledge that everyone has, and everyone is known to have
+
+
+
+
+
+ (concretely realized) piece of content
+ PoC
+ Distributable, Concrete Expression of some Intellectual Work, in some Human Consumable Language
+
+
+
+
+
+
+
+
+
+
+ (concretely realized) piece of knowledge
+ PoK
+ A Piece of Knowledge is a Distributable, Concrete Expression of an Intellectual Work of Knowledge
+
+
+
+ (concretely realized) piece of knowledge content
+
+
+
+
+
+
+
+
+
+
+ PoCK
+ Piece of Content that is the expression of a Work of knowledge
+ Like any Piece of Content, a PoCK is expressed using some natural language, and formatted for consumption by a human audience (as opposed to be used for computation by a software)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ core knowledge asset
+
+
+
+
+
+
+
+
+
+
+
+
+ Asset such that Assets may be derived from it, but is not itself derived from any other Asset (although it could be a derivative of another Resource)
+
+
+
+
+ digital knowledge artifact
+ An artifact that carries some form of knowledge encoded by means of discretized signals
+
+
+
+
+ digital knowledge artifact directory
+ Function of a (software) agent that relies on a Knowledge Artifact Inventory that references Digital Knowledge Artifacts
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ digital knowledge artifact repository
+ Function served by an entity that stores Digital Knowledge Artifacts
+
+
+
+
+
+ digital knowledge asset surrogate
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ digital knowledge asset surrogate repository
+ a repository specialized in digital asset surrogates
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ digital knowledge management dervice provider
+ knowledge management service provider for digital knowledge artifacts
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ distributable expression
+ Concrete Expression that is realized by a self-contained knowledge artifact, and suitable to be used in a knowledge transfer activity
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ domain knowledge
+ Knowledge specifically about, and thus scoped by, some Business Domain (e.g. healthcare)
+
+
+
+
+ domain-specific knowledge resource
+
+
+
+
+
+
+
+
+
+
+
+
+ Knowledge resource that expresses a work of knowledge that captures a piece of domain specific knowledge
+
+
+
+ domain-specific work of knowledge
+
+
+
+
+
+
+
+
+
+
+
+
+ Knowledge Work that has subject some aspect of a single Business Domain
+
+
+
+
+ endorsed knowledge resource
+
+
+
+
+
+
+
+
+
+
+
+
+ Knowledge Resource that is endorsed by an agent / party.
That agent is expected to have adequate subject matter expertise, must have the permission, and should have the authority to do so
-
-
-
-
- experiential learning activity
- activity where an agent gains knowledge through individual experience, as opposed to transfer from a different agent that already possesses that knowledge
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- expert knowledge
- Domain Knowledge acquired by advanced certified training, practice and/or research
-
-
-
-
-
- explicit knowledge
- Knowledge that can be communicated from agent to agent
-
-
-
-
-
-
-
-
-
-
- surrogate of externally catalogued resource
- (Meta) Surrogate S that carries the description of a Surrogate T, and such that S and T are not stored in the same repository
-
-
-
-
- surrogate of externally managed resource
- a surrogate S that carries a resource description D about a resource R, and such that S is not stored in the same repository as the master copy of R
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- foundational knowledge
- Knowledge that is acquired by means of formal training in a domain (e.g. equivalent to a MS level)
-
-
-
-
-
-
-
-
-
-
- frontal delivery of instruction
- A knowledge transfer activity that assumes the spatio-temporal co-location of two agents, where direct communication is used to transfer Knowlege from one to the other
-
-
-
-
-
- delivery of graduate-level instruction
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- human consumable expression
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- identified knowledge resource
- Knowledge Resource that is identified by a an ID assigned by a central identification authority
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- inlined knowledge resource description
- A descriptor that is a proper sub-part of the (same) structured knowledge resource that has, as a proper sub-part, the resource the descriptor is providing information about
-
-
-
-
- surrogate of internally managed resource
- a surrogate S that carries a resource description D about a resource R, and such that S is stored in the same repository as the master copy of R
-
-
-
-
-
-
-
-
-
-
- knowledge acquisition activity
- An abstract activity that allows the agent performing it to gain some Knowledge. Concrete examples include learning, observing, experiencing, and combinations thereof.
-
-
-
-
- The act by which an designated party (a knowledge approval body) transfers their authority to a knowledge asset
- knowledge approval activity
- approval
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- knowledge artifact directory
- function of an agent that can be queried to resolve the identity and/or location of certain knowledge artifacts. The function is enabled by the agent's internal representation of an artifact inventory
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- function of a tool that is used in activities that involve the creation, editing and curation of knowledge artifacts, both from a content and form perspective
- knowledge artifact editor
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- knowledge artifact inventory
- A complex collection of references to one or more Knowledge Artifacts
-
-
-
-
- knowledge asset
- Identified Knowledge Resource, i.e. that is identified by an ID assigned by a central identification authority
+
+
+
+
+ experiential learning activity
+ activity where an agent gains knowledge through individual experience, as opposed to transfer from a different agent that already possesses that knowledge
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ expert knowledge
+ Domain Knowledge acquired by advanced certified training, practice and/or research
+
+
+
+
+ explicit knowledge
+
+ Knowledge that can be communicated from agent to agent
+
+
+
+
+
+
+
+
+
+
+ surrogate of externally catalogued resource
+ (Meta) Surrogate S that carries the description of a Surrogate T, and such that S and T are not stored in the same repository
+
+
+
+
+ surrogate of externally managed resource
+ a surrogate S that carries a resource description D about a resource R, and such that S is not stored in the same repository as the master copy of R
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ foundational knowledge
+ Knowledge that is acquired by means of formal training in a domain (e.g. equivalent to a MS level)
+
+
+
+
+
+
+
+
+
+
+ frontal delivery of instruction
+ A knowledge transfer activity that assumes the spatio-temporal co-location of two agents, where direct communication is used to transfer Knowlege from one to the other
+
+
+
+
+ delivery of graduate-level instruction
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ human consumable expression
+
+
+
+ identified knowledge resource
+
+
+
+
+
+
+
+
+
+
+
+
+ Knowledge Resource that is identified by a an ID assigned by a central identification authority
+
+
+
+
+ inlined knowledge resource description
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ A descriptor that is a proper sub-part of the (same) structured knowledge resource that has, as a proper sub-part, the resource the descriptor is providing information about
+
+
+
+
+ surrogate of internally managed resource
+ a surrogate S that carries a resource description D about a resource R, and such that S is stored in the same repository as the master copy of R
+
+
+
+
+
+
+
+
+
+
+ knowledge acquisition activity
+ An abstract activity that allows the agent performing it to gain some Knowledge. Concrete examples include learning, observing, experiencing, and combinations thereof.
+
+
+
+
+ knowledge approval activity
+ The act by which an designated party (a knowledge approval body) transfers their authority to a knowledge asset
+ approval
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ knowledge artifact directory
+ function of an agent that can be queried to resolve the identity and/or location of certain knowledge artifacts. The function is enabled by the agent's internal representation of an artifact inventory
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ knowledge artifact editor
+ function of a tool that is used in activities that involve the creation, editing and curation of knowledge artifacts, both from a content and form perspective
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ knowledge artifact inventory
+ A complex collection of references to one or more Knowledge Artifacts
+
+
+
+
+ knowledge asset
+ Identified Knowledge Resource, i.e. that is identified by an ID assigned by a central identification authority
Assets are valuable to parties acting within that domain.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- knowledge asset description
- knowledge asset metadata
- a Knowledge Asset that has another Asset as subject
-
-
-
-
- The act of expressing a Work of Knowledge in some language
- knowledge authoring activity
- authoring
-
-
-
-
- An expert's act of creating a new Work of Knowledge
- knowledge creation activity
- creation
-
-
-
-
- The act of formatting and typesetting a Knowledge Expression to fit a designated carrier
- knowledge editing activity
- editing
-
-
-
-
-
-
-
-
-
-
- knowledge endorsing party
- Party that has the authority and the subject matter expertise to endorse some Work of Knowledge. The trust in the Party gets transferred to the Work of Knowledge
-
-
-
-
- knowledge management activity
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- knowledge management service provider
- The function of an entity that serves the role of Knowledge Manager, enabling the creation, maintenance, storage, cataloguing, and delivery/distribution of knowledge artifacts
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- knowledge meta-description
- A knowledge resource description whose subject is another knowledge description
- For the purpose of knowledge management, knowledge asset descriptions are assets that can be assembled into a knowledge base, and used for reasoning.
+
+
+
+
+
+ knowledge asset description
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ knowledge asset metadata
+ a Knowledge Asset that has another Asset as subject
+
+
+
+
+ knowledge authoring activity
+ The act of expressing a Work of Knowledge in some language
+ authoring
+
+
+
+
+ knowledge creation activity
+ An expert's act of creating a new Work of Knowledge
+ creation
+
+
+
+
+ knowledge editing activity
+ The act of formatting and typesetting a Knowledge Expression to fit a designated carrier
+ editing
+
+
+
+
+
+
+
+
+
+
+ knowledge endorsing party
+ Party that has the authority and the subject matter expertise to endorse some Work of Knowledge. The trust in the Party gets transferred to the Work of Knowledge
+
+
+
+
+ knowledge management activity
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ knowledge management service provider
+ The function of an entity that serves the role of Knowledge Manager, enabling the creation, maintenance, storage, cataloguing, and delivery/distribution of knowledge artifacts
+
+
+
+
+ knowledge meta-description
+
+
+
+
+
+
+
+
+
+
+
+
+ A knowledge resource description whose subject is another knowledge description
+ For the purpose of knowledge management, knowledge asset descriptions are assets that can be assembled into a knowledge base, and used for reasoning.
Meta-descriptions can be materialized as needed for such knowledge bases, allowing to use a model-driven approach to knowledge management
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- knowledge publication activity
- knowledge release activity
- activity by which an endorsed knowledge resource is released to the public, to be used, making it possible for agents to acquire it
- publication
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- knowledge representation embedding surrogate
- A Surrogate that realizes a knowledge descriptor, and embeds a representation of either the knowledge resource it describes, or a derivative thereof.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ knowledge publication activity
+ knowledge release activity
+ activity by which an endorsed knowledge resource is released to the public, to be used, making it possible for agents to acquire it
+ publication
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ knowledge representation embedding surrogate
+ A Surrogate that realizes a knowledge descriptor, and embeds a representation of either the knowledge resource it describes, or a derivative thereof.
(This concept is defined at the manifestation/item level. The two expressions are realized independently and included in the same manifestation, with the surrogate being the primary entity the manifestation is realizing)
-
-
-
-
- An expert's comparison of a knowledge asset with their subject matter expertise, to determine whether the work is still accurate, faithful and up to date
- knowledge review activity
- review
-
-
-
-
- A knowledge review that results in a new version of a knowledge asset
- knowledge revision activity
- revision
-
-
-
-
-
-
-
- 2
-
-
-
- knowledge transfer activity
- Activity with 2 or more participant agents. Before it is performed, there exists 2 participants A and B, such that A possesses some knowledge K, and B does not. After the activity is completed, B will possess that knowledge K.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- mainstream knowledge resource
- Latest Published Version of a Knowledge Resource.
+
+
+
+
+ knowledge review activity
+ An expert's comparison of a knowledge asset with their subject matter expertise, to determine whether the work is still accurate, faithful and up to date
+ review
+
+
+
+
+ knowledge revision activity
+ A knowledge review that results in a new version of a knowledge asset
+ revision
+
+
+
+
+
+
+
+
+ 2
+
+
+ knowledge transfer activity
+ Activity with 2 or more participant agents. Before it is performed, there exists 2 participants A and B, such that A possesses some knowledge K, and B does not. After the activity is completed, B will possess that knowledge K.
+
+
+
+
+ mainstream knowledge resource
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Latest Published Version of a Knowledge Resource.
i.e. Published Knowledge Resource such that there is no revision that is also Published.
-
-
-
-
- TODO Deprecated. Moved to the core ONTOLOGY
- master copies are usually stored in dedicated repositories, from where copies can be obtained
- master copy
- artifact that is used as the source in replication activities
-
-
-
-
- medical business domain
- domain that encompasses the science of health in general: including, but not limited to, the study the human body (anatomy and physiology), the practice of medicine as the prevention and treatment of diseaes, pharmacology as the science of substances that can affect the human body
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- original knowledge resource
- The first (version of an) Knowledge Resource, such that there are no predecessor (expressions of previous) Works that have been used during its creation.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- published knowledge resource
- resource that has been published by means of a publication activity
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- sophisticated knowledge resource
- Knowledge Resource that can be interpreted only by an agent that possesses some Knowledge other than Common Knowledge, or that requires some (other) Knowledge Resource
+
+
+
+
+ master copy
+ TODO Deprecated. Moved to the core ONTOLOGY
+ master copies are usually stored in dedicated repositories, from where copies can be obtained
+ artifact that is used as the source in replication activities
+
+
+
+
+ medical business domain
+ domain that encompasses the science of health in general: including, but not limited to, the study the human body (anatomy and physiology), the practice of medicine as the prevention and treatment of diseaes, pharmacology as the science of substances that can affect the human body
+
+
+
+
+
+
+
+
+
+
+
+
+
+ original knowledge resource
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ The first (version of an) Knowledge Resource, such that there are no predecessor (expressions of previous) Works that have been used during its creation.
+
+
+
+ published knowledge resource
+
+
+
+
+
+
+
+
+
+
+
+
+ resource that has been published by means of a publication activity
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ sophisticated knowledge resource
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Knowledge Resource that can be interpreted only by an agent that possesses some Knowledge other than Common Knowledge, or that requires some (other) Knowledge Resource
i.e.: not Standalone or not Broadly Understandable
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- specialist knowledge
- Domain Knowledge acquired by advanced certified training
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Such a Resource can be interpreted by an agent (that has the appropriate knowledge pre-requisites) without the need to look up any additional Knowledge Resources
- standalone knowledge resource
- Knowledge Resource that does not depend on any other resource
-
-
-
-
- tacit knowledge
- Knowledge that can not be transfered to another agent by means of direct communication
-
-
-
-
- delivery of undergraduate level instruction
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ specialist knowledge
+ Domain Knowledge acquired by advanced certified training
+
+
+
+ standalone knowledge resource
+ Such a Resource can be interpreted by an agent (that has the appropriate knowledge pre-requisites) without the need to look up any additional Knowledge Resources
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Knowledge Resource that does not depend on any other resource
+
+
+
+
+ tacit knowledge
+ Knowledge that can not be transfered to another agent by means of direct communication
+
+
+
+
+ delivery of undergraduate level instruction
+
+
+
+
+ archived in
+
+
+
+
+
+
+ archives
+ Archival is a kind of storage implying no immediate use. Archiving is scoped to artifacts only
+
+
+
+
+
+
+
+
+ endorsed by
+
+
+
+
+
+
+
+ endorses
+
+
+ An agent's endorsement of a knowledge endeavor implies (i) that the agent is able to understand the content of that endeavor, internally representing the knowledge (expressed by (the expression carried)) in the endeavor, (ii) that the agent transfers their reputation and trust to that endeavor
+
+
+
+
+ has focus
+
+
+
+ (knowledge) possessed by
+
+
+
+
+
+
+ possesses (knowledge)
+
+
+
+
+
+
+
+
+ An Agent possesses some Knowledge if they can conceptualize that Knowledge, and act based on that Knowledge
+ The possession of some Knowledge is the outcome of a Knowledge Acquisition Activity
+
+
+
+
+ has primary subject
+
+
+
+
+ replica of
+ An artifact that resulted from the copy of a 'master copy' is a replica of that copy
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ in terms of
+
+
+
+
+ defines
+
+
+
+
+ is about
+
+
+
+
+ represents
+
+
+
+
+
+
+
+
+
+
+
+
+
+ is applicable to
+ is pertinent and useful in the context of
+ restricted to Knowledge that is applicable to a Situation (type). Given an Agent in a Situation of that type, with Goal (types) that depend on that Situation (type): if the Agent possesses that piece of Knowledge, the Agent can devise a Plan that is more efficient and/or effective at achieving the Goals, compared to not having that Knowledge
+
+
+
+
+ is to be applied to
+ is applicable to, and there exist a moral, social and/or legal obligation to apply it to
+
+
+
+
+ is applied to
+ is applicable to, and there is evidence that it has been applied at least once
+
+
\ No newline at end of file
diff --git a/ontologies/API4KP/LATEST/informative/api4kp-kpc.rdf b/ontologies/API4KP/LATEST/informative/api4kp-kpc.rdf
new file mode 100644
index 0000000..20490f0
--- /dev/null
+++ b/ontologies/API4KP/LATEST/informative/api4kp-kpc.rdf
@@ -0,0 +1,84 @@
+
+
+
+
+
+
+
+
+
+
+
+]>
+
+
+
+ API4KP Ontology of Known Platform Components
+ TODO
+ Elisa Kendall (ekendall at thematix.com)
+ Davide Sottara (sottara.davide at mayo.edu)
+ http://opensource.org/licenses/MIT
+ https://www.w3.org/TR/owl2-quick-reference/
+ Copyright (c) 2014-2021 Athan Services
+ Copyright (c) 2014-2021 Fraunhofer Gesellschaft
+ Copyright (c) 2014-2021 Freie Universität Berlin
+ Copyright (c) 2014-2021 Mayo Foundation for Medical Education and Research (MFMER)
+ Copyright (c) 2014-2021 Thematix Partners LLC
+ Copyright (c) 2015-2021 Object Management Group, Inc.
+ Copyright (c) 2019-2021 Universität Leipzig
+ Copyright (c) 2020-2021 Micro Focus
+ https://www.omg.org/spec/API4KP/api4kp-kp/
+ https://www.omg.org/spec/API4KP/api4kp/
+ api4kp-kpc
+ api4kp-kpc.rdf
+
+
+
+
+
+
+
+
+ Drools
+
+ production rules engine that provides a core business rules engine (BRE), a web authoring and rules management application (Drools Workbench), full runtime support for Decision Model and Notation (DMN) models at conformance level 3 and an Eclipse IDE plugin for core development
+
+
+
+
+ Drools 5.6
+
+
+
+
+ Drools 7.48.0.Final
+
+ Drools production release dated 2021-01-13
+
+
+
+
+ HermiT
+
+ description logic reasoner that is designed to support ontologies written using the Web Ontology Language (OWL)
+
+
+
+
+ HermiT 1.3.8.413
+
+ HermiT production release 1.3.8.413
+
+
+
\ No newline at end of file
diff --git a/ontologies/API4KP/LATEST/informative/api4kp-registry.rdf b/ontologies/API4KP/LATEST/informative/api4kp-registry.rdf
index 2365819..83b1113 100644
--- a/ontologies/API4KP/LATEST/informative/api4kp-registry.rdf
+++ b/ontologies/API4KP/LATEST/informative/api4kp-registry.rdf
@@ -1,1712 +1,1354 @@
-
-
-
-
-
-
-
-
- TODO
- Davide Sottara (sottara.davide
- http://opensource.org/licenses/MIT
- http://www.w3.org/standards/techs/owl#w3c_all
- Copyright (c) 2014-2020 88 Solutions
- Copyright (c) 2014-2020 Adaptive
- Copyright (c) 2014-2020 Arizona State University
- Copyright (c) 2014-2020 Athan Services
- Copyright (c) 2014-2020 Fraunhofer FOKUS
- Copyright (c) 2014-2020 Freie Universitat Berlin
- Copyright (c) 2014-2020 Mayo Clinic
- Copyright (c) 2014-2020 Model Driven Solutions
- Copyright (c) 2014-2020 Thematix Partners LLC
- Copyright (c) 2015-2020 Object Management Group, Inc.
- Copyright (c) 2019-2020 Micro Focus
- https://www.omg.org/spec/API4KP/api4kp/
- https://www.omg.org/spec/DOL/
- https://www.omg.org/spec/LCC/
- reg
- api4kp-registry.rdf
- API4KP Knowledge Asset Registry Ontology
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Provisional - TODO - fixme
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- dita
- http://docs.oasis-open.org/dita/dita/v1.3/dita-v1.3-part0-overview.html
- Darwin Information Technology Architecture 1.3
- DITA
- v13
- DITA
-
-
-
-
-
-
-
-
-
- fhir2+xml
- https://www.hl7.org/fhir/DSTU2/xml.html
- FHIR DSTU2 XML Syntax
- FHIR DSTU2 XML Syntax
- FHIR DSTU2 XML Syntax
-
-
-
-
-
-
-
-
-
-
- elm
- https://cql.hl7.org/
- Clinical Quality Language, Expression Language Metamodel 1.2
- HL7 ELM
- v12
- HL7 ELM
-
-
-
-
-
-
-
-
-
-
- knart
- https://www.hl7.org/implement/standards/product_brief.cfm?product_id=337
- HL7 Knowledge Artifact Metamodel 1.3
- KNART 1.3
- v13
- KNART 1.3
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- fhir
- http://hl7.org/fhir/DSTU2
- Fast Healthcare Interoperability Resources DSTU2
- FHIR DSTU2
- v2
- FHIR DSTU2
-
-
-
-
-
-
-
-
-
-
-
-
- fhir
- http://hl7.org/fhir/STU3
- Fast Healthcare Interoperability Resources STU3
- FHIR STU3
- v3
- FHIR STU3
-
-
-
-
-
-
-
-
-
- fhir2+json
- https://www.hl7.org/fhir/DSTU2/json.html
- FHIR DSTU2 JSON Syntax
- FHIR DSTU2 JSON Syntax
- FHIR DSTU2 JSON Syntax
-
-
-
-
-
-
-
-
-
- fhir2+rdf
- https://www.hl7.org/fhir/DSTU2/rdf.html
- FHIR DSTU2 RDF Syntax
- FHIR DSTU2 RDF Syntax
- FHIR DSTU2 RDF Syntax
-
-
-
-
-
-
-
-
-
- fhirpath
- http://hl7.org/fhirpath/
- FHIRPath Path Language
- FHIRPath STU1
- v1
- FHIRPath STU1
-
-
-
-
-
-
-
-
- json
- http://json.org/20171201
- JSON
- JSON
-
-
-
-
-
-
-
-
-
- cql-exx
- http://cql.hl7.org
- Essential elements of CQL, scoped to simple expressions, used to evalute context variables
- CQL Essentials
- CQL Essentials
-
-
-
-
-
-
-
-
-
-
- ccg
- Clinical Concept Glossary Metamodel
- Clinical Concept Glossary
- v1
- Clinical Concept Glossary
-
-
-
-
-
-
-
-
-
-
- ccpm
- Cognitive Care Process Models Metamodel
- Cognitive Care Process Model
- v1
- Cognitive Care Process Model
-
-
-
-
-
-
-
-
-
- ann+xml
- http://www.omg.org/spec/API4KP/1.0/
- Knowledge Asset Surrogate - Annotations - XML Syntax
- Knowledge Asset Annotations XML Syntax
- Knowledge Asset Annotations XML Syntax
-
-
-
-
-
-
-
-
-
- surr+xml
- http://www.omg.org/spec/API4KP/1.0/
- Knowledge Asset Surrogate XML Syntax
- Knowledge Asset Surrogate XML Syntax
- Knowledge Asset Surrogate XML Syntax
-
-
-
-
-
-
-
-
-
- surr+json
- http://www.omg.org/spec/API4KP/1.0/
- Knowledge Asset Surrogate JSON Syntax
- Knowledge Asset Surrogate JSON Syntax
- Knowledge Asset Surrogate JSON Syntax
-
-
-
-
-
-
-
-
-
-
- sp
- Service Profile Metamodel
- Service Profile
- v1
- Service Profile
-
-
-
-
-
-
-
-
- lnc
- Logical Observation Identifiers Names and Codes
- LOINC
- LOINC
-
-
-
-
-
-
-
-
- pcv
- Mayo Clinic Propositional Concept Vocabulary
- PCV
- PCV
-
-
-
-
-
-
-
-
-
- rruleml
- http://reaction.ruleml.org/1.02/
- Reaction RuleML 1.2
- Reaction RuleML 1.2
- v12
- Reaction RuleML 1.2
-
-
-
-
-
-
-
-
- sct
- Systematized Nomenclature of Medicine -- Clinical Terms
- SNOMED
- SNOMED-CT
-
-
-
-
-
-
-
-
-
- api+xml
- http://www.omg.org/spec/API4KP/1.0/
- API4KP XML Syntax
- API4KP Service XML Syntax
- API4KP Service XML Syntax
-
-
-
-
-
-
-
-
-
- api+json
- http://www.omg.org/spec/API4KP/1.0/
- API4KP JSON Syntax
- API4KP Service JSON Syntax
- API4KP Service JSON Syntax
-
-
-
-
-
-
-
-
-
- bpmn-v2+xml
- https://www.omg.org/spec/BPMN/2.0/
- BPMN 2.0 XML Syntax
- BPMN 2.0 XML Syntax
- BPMN 2.0 XML Syntax
-
-
-
-
-
-
-
-
-
- cmmn-v11+xml
- https://www.omg.org/spec/CMMN/1.1/
- CMMN 1.1 XML Syntax
- CMMN 1.1 XML Syntax
- CMMN 1.1 XML Syntax
-
-
-
-
-
-
-
-
-
- dmn-v11+xml
- https://www.omg.org/spec/DMN/1.1/
- DMN 1.1 XML Syntax
- DMN 1.1 XML Syntax
- DMN 1.1 XML Syntax
-
-
-
-
-
-
-
-
-
- dmn-v12+xml
- https://www.omg.org/spec/DMN/1.2/
- DMN 1.2 XML Syntax
- DMN 1.2 XML Syntax
- DMN 1.2 XML Syntax
-
-
-
-
-
-
-
-
-
- xsd-v11+xml
- https://www.w3.org/TR/xmlschema11-1/
- XSD XML 1.1 Syntax
- XSD XML 1.1 Syntax
- XSD XML 1.1 Syntax
-
-
-
-
-
-
-
-
- xsi
- XML Schema Instance
- XML Schema Instance
- XML Schema Instance
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- owl2
- https://www.w3.org/TR/2012/REC-owl2-syntax-20121211/
- Web Ontology Language 2
- OWL-2
- v20121211
- OWL-2
-
-
-
-
-
-
-
-
-
- xml
- https://www.w3.org/TR/owl2-xml-serialization/
- OWL XML Serialization
- OWL XML Serialization
- OWL XML Serialization
-
-
-
-
-
-
-
-
- skos
- Simple Knowledge Organization Scheme
- SKOS
- SKOS
-
-
-
-
-
-
-
-
- xml
- http://www.w3.org/TR/xml11
- XML 1.1
- XML 1.1
-
-
-
-
-
-
-
-
- xmlns
- XML Namespace
- XML Namespace
- XML Namespace
-
-
-
-
-
-
-
-
-
- DL
- https://www.w3.org/TR/owl2-profiles/#OWL_2_DL
- OWL 2 Web Ontology Language, DL Profile
- OWL2 DL
- OWL2 DL
-
-
-
-
-
-
-
-
-
- EL
- https://www.w3.org/TR/owl2-profiles/#OWL_2_EL
- OWL 2 Web Ontology Language, EL Profile
- OWL2 EL
- OWL2 EL
-
-
-
-
-
-
-
-
-
- Full
- https://www.w3.org/TR/owl2-syntax/
- OWL 2 Web Ontology Language, RDF Semantics
- OWL2 Full
- OWL2 Full
-
-
-
-
-
-
-
-
-
- QL
- https://www.w3.org/TR/owl2-profiles/#OWL_2_QL
- OWL 2 Web Ontology Language, QL Profile
- OWL2 QL
- OWL2 QL
-
-
-
-
-
-
-
-
-
- RL
- https://www.w3.org/TR/owl2-profiles/#OWL_2_RL
- OWL 2 Web Ontology Language, RL Profile
- OWL2 RL
- OWL2 RL
-
-
-
-
-
-
-
-
- yaml
- http://yaml.org/spec/1.2
- YAML 1.2
- YAML 1.2
-
-
-
-
-
-
-
-
-
-
- cql
- https://cql.hl7.org/
- Clinical Quality Language 1.2
- HL7 CQL
- v12
- HL7 CQL
-
-
-
-
-
-
-
-
-
- cql+txt
- https://cql.hl7.org/grammar.html
- CQL Syntax
- CQL Syntax
- CQL Syntax
-
-
-
-
-
-
-
-
-
- Q
- https://graphql.github.io/graphql-spec/queries
- GraphQL Schemas
- GraphQL Queries
- GraphQL Queries
-
-
-
-
-
-
-
-
-
- S
- https://graphql.github.io/graphql-spec/schemas
- GraphQL Schemas
- GraphQL Schemas
- GraphQL Schemas
-
-
-
-
-
-
-
-
-
-
- graphql
- https://graphql.github.io/graphql-spec/June2018/
- GraphQL June 2018 Release
- GraphQL
- vJun2018
- GraphQL 2018
-
-
-
-
-
-
-
-
-
- graphql+txt
- https://graphql.github.io/graphql-spec/June2018/#sec-Language
- GraphQL Syntax
- GraphQL Syntax
- GraphQL Syntax
-
-
-
-
-
-
-
-
- java
- https://jcp.org/en/jsr/detail?id=337
- Java 8
- Java 8
- v8
- Java 8
-
-
-
-
-
-
-
-
- mustache
- http://mustache.github.io
- Mustache Templating Language
- Mustache
- v1
- Mustache
-
-
-
-
-
-
-
-
- vertical
- https://www.omg.org/spec/API4KP/api4kp/
- Language Parsing Level
- Parsing Level
- Parsing Level
-
-
-
-
-
-
-
-
- langs
- https://www.omg.org/spec/LCC/Languages/ISO639-1-LanguageCodes/
- Natural Language (ISO 639-1 Standard)
- Natural Language
- Natural Language
-
-
-
-
-
-
-
-
- asset-cat
- https://www.omg.org/spec/API4KP/api4kp/
- Knowledge Asset Category
- Knowledge Asset Category
- Knowledge Asset Category
-
-
-
-
-
-
-
-
- asset-type
- https://www.omg.org/spec/API4KP/api4kp/
- Knowledge Asset Type
- Knowledge Asset Type
- Knowledge Asset Type
-
-
-
-
-
-
-
-
- krtech
- https://www.omg.org/spec/API4KP/api4kp/
- Knowledge Reasoning Technique
- KRR Technique
- KRR Technique
-
-
-
-
-
-
-
-
- lang-rol
- https://www.omg.org/spec/API4KP/api4kp/
- Knowledge Representation and Reasoning Language Role
- KRR Language Role
- KRR Language Role
-
-
-
-
-
-
-
-
- cito
- https://www.omg.org/spec/API4KP/api4kp/
- Knowledge Asset Relationships - Citations
- Asset Relationships - Citations
- Asset Relationships - Citations
-
-
-
-
-
-
-
-
- depend
- https://www.omg.org/spec/API4KP/api4kp/
- Knowledge Asset Relationships - Dependencies
- Asset Relationships - Dependencies
- Asset Relationships - Dependencies
-
-
-
-
-
-
-
-
- deriv
- https://www.omg.org/spec/API4KP/api4kp/
- Knowledge Asset Relationships - Derivations
- Asset Relationships - Derivations
- Asset Relationships - Derivations
-
-
-
-
-
-
-
-
- version
- https://www.omg.org/spec/API4KP/api4kp/
- Knowledge Asset Relationships - Versions
- Asset Relationships - Versions
- Asset Relationships - Versions
-
-
-
-
-
-
-
-
- struct
- https://www.omg.org/spec/API4KP/api4kp/
- Knowledge Asset Relationships - Structural
- Asset Relationships - Structural
- Asset Relationships - Structural
-
-
-
-
-
-
-
-
- summary
- https://www.omg.org/spec/API4KP/api4kp/
- Knowledge Asset Relationships - Summary
- Asset Relationships - Summary
- Asset Relationships - Summary
-
-
-
-
-
-
-
-
- variant
- https://www.omg.org/spec/API4KP/api4kp/
- Knowledge Asset Relationships - Variants
- Asset Relationships - Variants
- Asset Relationships - Variants
-
-
-
-
-
-
-
-
- krfmt
- http://ontology.mayo.edu/KMDP/registry/
- Knowledge Representation and Reasoning Serialization Format
- KRR MetaFormat
- KRR MetaFormat
-
-
-
-
-
-
-
-
- krlang
- http://ontology.mayo.edu/KMDP/registry/
- Knowledge Representation and Reasoning Language
- KRR Language
- KRR Language
-
-
-
-
-
-
-
-
- krprof
- http://ontology.mayo.edu/KMDP/registry/
- Knowledge Representation and Reasoning Language Profile
- KRR Profile
- KRR Profile
-
-
-
-
-
-
-
-
- krser
- http://ontology.mayo.edu/KMDP/registry/
- Knowledge Representation and Reasoning Serialization
- KRR Serialization
- KRR Serialization
-
-
-
-
-
-
-
-
- lexicon
- http://ontology.mayo.edu/KMDP/registry/
- Knowledge Representation and Reasoning Lexicon
- KRR Lexicon
- KRR Lexicon
-
-
-
-
-
-
-
-
-
-
-
- openapi
- https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md
- OpenAPI / Swagger v2.x
- OpenAPI 2.x
- v2
- OpenAPI 2.x
-
-
-
-
-
-
-
-
-
- openapi-v2+json
- https://swagger.io/specification/#format
- OpenAPI 2 JSON Syntax
- OpenAPI 2 JSON Syntax
- OpenAPI 2 JSON Syntax
-
-
-
-
-
-
-
-
-
- openapi-v2+yaml
- https://swagger.io/specification/#format
- OpenAPI 2 YAML Syntax
- OpenAPI 2 YAML Syntax
- OpenAPI 2 YAML Syntax
-
-
-
-
-
-
-
-
- text
- https://tools.ietf.org/html/rfc1341/7
- TXT
- TXT
-
-
-
-
-
-
-
-
-
-
-
-
- cl
- https://www.iso.org/standard/66249.html
- Common Logic
- Common Logic
- v1
- Common Logic
-
-
-
-
-
-
-
-
-
- cgif
- https://www.iso.org/standard/66249.html
- Conceptual Graph Interchange Format
- CGIF
- CGIF
-
-
-
-
-
-
-
-
-
- clif
- https://www.iso.org/standard/66249.html
- Common Logic Interchange Format
- CLIF
- CLIF
-
-
-
-
-
-
-
-
- rxnorm
- RxNorm
- RxNORM
- RxNORM
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- api4kp
- https://www.omg.org/spec/API4KP/1.0/
- API 4 Knowledge Platform Metamodel
- API4KP
- v1
- API4KP
-
-
-
-
-
-
-
-
-
- dtt
- https://www.omg.org/spec/API4KP/1.0/
- API4KP Datatypes
- API4KP Datatypes
- API4KP Datatypes
-
-
-
-
-
-
-
-
-
- id
- https://www.omg.org/spec/API4KP/1.0/
- API4KP Identifiers
- API4KP Identifiers
- API4KP Identifiers
-
-
-
-
-
-
-
-
-
-
-
- api
- https://www.omg.org/spec/API4KP/1.0/
- API4KP Service Descriptors
- API4KP Service Descriptors
- API4KP Service Descriptors
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- surr
- https://www.omg.org/spec/API4KP/1.0/
- Knowledge Asset Surrogate Metamodel
- Knowledge Asset Surrogate
- v1
- Knowledge Asset Surrogate
-
-
-
-
-
-
-
-
-
-
- ann
- https://www.omg.org/spec/API4KP/1.0/
- Knowledge Asset Surrogate Annotations
- Knowledge Asset Surrogate Annotations
- Knowledge Asset Surrogate Annotations
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- surr
- https://www.omg.org/spec/API4KP/1.0/
- Knowledge Asset Surrogate Metamodel 2.0
- Knowledge Asset Surrogate 2.0
- v2
- Knowledge Asset Surrogate 2.0
-
-
-
-
-
-
-
-
-
- surr-v2+xml
- http://www.omg.org/spec/API4KP/1.0/
- Knowledge Asset Surrogate 2.0 XML Syntax
- Knowledge Asset Surrogate 2.0 XML Syntax
- Knowledge Asset Surrogate 2.0 XML Syntax
-
-
-
-
-
-
-
-
-
-
- odm-bal
- IBM ODM Business Action Language
- ODM BAL 8.10.x
- v8.10.x
-
-
-
-
-
-
-
-
-
- odm-bom
- IBM ODM Business Object Modeling Language
- ODM BOM 8.10.x
- v8.10.x
-
-
-
-
-
-
-
-
-
- brl
- ODM BRL Syntax
- ODM BRL Syntax
-
-
-
-
-
-
-
-
-
-
- bpmn
- https://www.omg.org/spec/BPMN/2.0/
- Business Process Modelling Notation 2.0
- BPMN
- v2
- BPMN 2.0
-
-
-
-
-
-
-
-
-
-
- cmmn
- https://www.omg.org/spec/CMMN/1.1/
- Case Modelling and Management Notation 1.1
- CMMN 1.1
- v11
- CMMN 1.1
-
-
-
-
-
-
-
-
-
-
- dmn
- https://www.omg.org/spec/DMN/1.1/
- Decision Modelling Notation 1.1
- DMN 1.1
- v11
- DMN 1.1
-
-
-
-
-
-
-
-
-
- feel
- https://www.omg.org/spec/DMN/1.1/
- Friendly Enough Expression Lanaguage 1.1
- FEEL 1.1
- v11
- FEEL 1.1
-
-
-
-
-
-
-
-
-
-
- dmn
- https://www.omg.org/spec/DMN/1.2/
- Decision Modelling Notation 1.2
- DMN 1.2
- v12
- DMN 1.2
-
-
-
-
-
-
-
-
-
- feel
- https://www.omg.org/spec/DMN/1.2/
- Friendly Enough Expression Lanaguage 1.2
- FEEL 1.2
- v12
- FEEL 1.2
-
-
-
-
-
-
-
-
-
- uml2
- https://www.omg.org/spec/UML/2.5/
- Unified Modelling Language 2.5
- UML 2.5
- v25
- UML 2.5
-
-
-
-
-
-
-
-
-
- Res
- UML 2 Resource Profile
- UML Resource
- UML Resource
-
-
-
-
-
-
-
-
-
- rdf/xml
- https://www.w3.org/TR/owl2-mapping-to-rdf/
- RDF/XML Syntax
- RDF/XML Syntax
- RDF/XML Syntax
-
-
-
-
-
-
-
-
- rdf
- https://www.w3.org/RDF/
- RDF 1.1
- RDF 1.1
-
-
-
-
-
-
-
-
-
- ofn
- https://www.w3.org/TR/2012/REC-owl2-syntax-20121211/
- OWL Functional Syntax
- OWL Functional Syntax
- OWL Functional Syntax
-
-
-
-
-
-
-
-
- html
- https://www.w3.org/TR/html5/
- HTML 5
- HTML
- v52
- HTML
-
-
-
-
-
-
-
-
-
- ms
- https://www.w3.org/TR/owl2-manchester-syntax/
- OWL Manchester Syntax
- OWL Manchester Syntax
- OWL Manchester Syntax
-
-
-
-
-
-
-
-
-
-
- sparql
- https://www.w3.org/TR/2013/REC-sparql11-query-20130321/
- SPARQL Protocol and RDF Query Language
- SPARQL 1.1
- v11
- SPARQL 1.1
-
-
-
-
-
-
-
-
-
- sparql-query
- https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#grammar
- SPARQL Syntax
- SPARQL Syntax
- SPARQL Syntax
-
-
-
-
-
-
-
-
-
- ttl
- https://www.w3.org/TR/turtle/
- Terse RDF Triple Language
- Turtle
- Turtle
-
-
-
-
-
-
-
-
- xhtml
- https://www.w3.org/TR/xhtml1/
- X-HTML
- XHTML
- v1
- XHTML
-
-
-
-
-
-
-
-
-
-
- xsd
- https://www.w3.org/TR/xmlschema11-1/
- XML Schema Definition Language 1.1
- XSD 1.1
- v11
- XSD 1.1
-
-
-
-
-
-
-
-
-
- xslt
- https://www.w3.org/TR/2017/REC-xslt-30-20170608/
- Extensible Stylesheet Transformation 3.0
- XSLT 3.0
- v3
- XSLT 3.0
-
-
-
-
-
-
-
-
-
- xcl/xml
- https://www.iso.org/standard/66249.html
- Common Logic XML Syntax
- XCL
- XCL
-
-
-
-
-
-
-
-
-
- cql+xml
- https://cql.hl7.org/elm.html
- CQL/ELM 1.2 XML Syntax
- CQL/ELM XML Syntax
- CQL-ELM XML Syntax
-
-
-
-
-
-
-
-
-
- knart+xml
- https://www.hl7.org/implement/standards/product_brief.cfm?product_id=337
- KNART 1.3 XML Syntax
- KNART XML Syntax
- KNART XML Syntax
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+]>
+
+
+
+ API4KP Knowledge Asset Registry Ontology
+ TODO
+ Elisa Kendall (ekendall at thematix.com)
+ Davide Sottara (sottara.davide at mayo.edu)
+ http://opensource.org/licenses/MIT
+ https://www.w3.org/TR/owl2-quick-reference/
+ Copyright (c) 2014-2021 Athan Services
+ Copyright (c) 2014-2021 Fraunhofer Gesellschaft
+ Copyright (c) 2014-2021 Freie Universität Berlin
+ Copyright (c) 2014-2021 Mayo Foundation for Medical Education and Research (MFMER)
+ Copyright (c) 2014-2021 Thematix Partners LLC
+ Copyright (c) 2015-2021 Object Management Group, Inc.
+ Copyright (c) 2019-2021 Universität Leipzig
+ Copyright (c) 2020-2021 Micro Focus
+ https://www.omg.org/spec/API4KP/api4kp/
+ https://www.omg.org/spec/DOL/
+ api4kp-reg
+ api4kp-registry.rdf
+
+
+
+
+
+
+
+
+
+ HL7 ELM
+ Clinical Quality Language, Expression Language Metamodel
+ elm
+ https://cql.hl7.org/ELM
+
+ v1
+ HL7 ELM
+
+
+
+
+
+ SNOMED Compositional Grammar
+ SNOMED-CT Compositional Grammar
+ scg
+ http://snomed.org/scg
+
+ 2
+ SCG
+
+
+
+
+ SCG Syntax
+ SCG Syntax
+ scgs
+ http://snomed.org/scg
+ SNOMED Compositional Grammar Text Syntax
+
+
+
+
+
+
+ KNART 1.3
+ HL7 Knowledge Artifact Metamodel 1.3
+ knart
+ https://www.hl7.org/implement/standards/product_brief.cfm?product_id=337
+
+ v13
+ KNART 1.3
+
+
+
+
+ FHIR DSTU2 XML Syntax
+ FHIR DSTU2 XML Syntax
+ fhir2+xml
+ https://www.hl7.org/fhir/DSTU2/xml.html
+ FHIR DSTU2 XML Syntax
+
+
+
+
+
+
+ FHIR DSTU2
+ Fast Healthcare Interoperability Resources DSTU2
+ fhir
+ http://hl7.org/fhir/DSTU2
+
+
+
+ v2
+ FHIR DSTU2
+
+
+
+
+
+
+
+
+ FHIR R4
+ Fast Healthcare Interoperability Resources R4
+ fhir
+ http://hl7.org/fhir/R4
+ v4
+ FHIR R4
+
+
+
+
+
+
+
+
+ FHIR STU3
+ Fast Healthcare Interoperability Resources STU3
+ fhir
+ http://hl7.org/fhir/STU3
+ v3
+ FHIR STU3
+
+
+
+
+
+
+
+ FHIR DSTU2 JSON Syntax
+ FHIR DSTU2 JSON Syntax
+ fhir2+json
+ https://www.hl7.org/fhir/DSTU2/json.html
+ FHIR DSTU2 JSON Syntax
+
+
+
+
+
+ FHIR DSTU2 RDF Syntax
+ FHIR DSTU2 RDF Syntax
+ fhir2+rdf
+ https://www.hl7.org/fhir/DSTU2/rdf.html
+ FHIR DSTU2 RDF Syntax
+
+
+
+
+
+
+ FHIRPath STU1
+ FHIRPath Path Language
+ fhirpath
+ http://hl7.org/fhirpath/
+ v1
+ FHIRPath STU1
+
+
+
+
+ JSON
+ json
+ http://json.org/20171201
+ JSON
+
+
+
+
+ CQL Essentials
+ Essential elements of CQL, scoped to simple expressions, used to evalute context variables
+ cql-exx
+ http://cql.hl7.org
+
+ CQL Essentials
+
+
+
+
+
+ Clinical Concept Glossary
+ Clinical Concept Glossary Metamodel
+ ccg
+ v1
+ Clinical Concept Glossary
+
+
+
+
+
+
+ Cognitive Care Process Model
+ Cognitive Care Process Models Metamodel
+ ccpm
+ v1
+ Cognitive Care Process Model
+
+
+
+
+
+ Knowledge Asset Annotations XML Syntax
+ Knowledge Asset Surrogate - Annotations - XML Syntax
+ ann+xml
+ http://www.omg.org/spec/API4KP/1.0/
+ Knowledge Asset Annotations XML Syntax
+
+
+
+
+
+ Knowledge Asset Surrogate XML Syntax
+ Knowledge Asset Surrogate XML Syntax
+ surr+xml
+ http://www.omg.org/spec/API4KP/1.0/
+ Knowledge Asset Surrogate XML Syntax
+
+
+
+
+
+ Knowledge Asset Surrogate JSON Syntax
+ Knowledge Asset Surrogate JSON Syntax
+ surr+json
+ http://www.omg.org/spec/API4KP/1.0/
+ Knowledge Asset Surrogate JSON Syntax
+
+
+
+
+
+
+ Service Profile
+ Service Profile Metamodel
+ sp
+ v1
+ Service Profile
+
+
+
+
+
+ LOINC
+ Logical Observation Identifiers Names and Codes
+ lnc
+ LOINC
+
+
+
+
+ PCV
+ Mayo Clinic Propositional Concept Vocabulary
+ pcv
+ PCV
+
+
+
+
+
+ Reaction RuleML 1.2
+ Reaction RuleML 1.2
+ rruleml
+ http://reaction.ruleml.org/1.02/
+ v12
+ Reaction RuleML 1.2
+
+
+
+
+ SNOMED
+ Systematized Nomenclature of Medicine -- Clinical Terms
+ sct
+ SNOMED-CT
+
+
+
+
+ API4KP Service XML Syntax
+ API4KP XML Syntax
+ api+xml
+ http://www.omg.org/spec/API4KP/1.0/
+ API4KP Service XML Syntax
+
+
+
+
+
+ API4KP Service JSON Syntax
+ API4KP JSON Syntax
+ api+json
+ http://www.omg.org/spec/API4KP/1.0/
+ API4KP Service JSON Syntax
+
+
+
+
+
+ BPMN 2.0 XML Syntax
+ BPMN 2.0 XML Syntax
+ bpmn-v2+xml
+ https://www.omg.org/spec/BPMN/2.0/
+ BPMN 2.0 XML Syntax
+
+
+
+
+
+ CMMN 1.1 XML Syntax
+ CMMN 1.1 XML Syntax
+ cmmn-v11+xml
+ https://www.omg.org/spec/CMMN/1.1/
+ CMMN 1.1 XML Syntax
+
+
+
+
+
+ DMN 1.1 XML Syntax
+ DMN 1.1 XML Syntax
+ dmn-v11+xml
+ https://www.omg.org/spec/DMN/1.1/
+ DMN 1.1 XML Syntax
+
+
+
+
+
+ DMN 1.2 XML Syntax
+ DMN 1.2 XML Syntax
+ dmn-v12+xml
+ https://www.omg.org/spec/DMN/1.2/
+ DMN 1.2 XML Syntax
+
+
+
+
+
+ MVF 1.0 XML Syntax
+ MVF 1.0 XML Syntax
+ mvf-v10+xml
+ https://www.omg.org/spec/MVF/1.0/
+ MVF 1.0 XML Syntax
+
+
+
+
+
+
+
+
+
+ Provisional - TODO - fixme
+
+
+
+
+
+
+
+
+
+
+
+
+
+ XSD XML 1.1 Syntax
+ XSD XML 1.1 Syntax
+ xsd-v11+xml
+ https://www.w3.org/TR/xmlschema11-1/
+ XSD XML 1.1 Syntax
+
+
+
+
+
+ XML Schema Instance
+ XML Schema Instance
+ xsi
+ XML Schema Instance
+
+
+
+
+
+ OWL-2
+ Web Ontology Language 2
+ owl2
+ https://www.w3.org/TR/2012/REC-owl2-syntax-20121211/
+
+
+
+
+
+ v20121211
+ OWL-2
+
+
+
+
+ OWL XML Serialization
+ OWL XML Serialization
+ xml
+ https://www.w3.org/TR/owl2-xml-serialization/
+ OWL XML Serialization
+
+
+
+
+
+ SKOS
+ Simple Knowledge Organization Scheme
+ skos
+ SKOS
+
+
+
+
+ XML 1.1
+ xml
+ http://www.w3.org/TR/xml11
+ XML 1.1
+
+
+
+
+ XML Namespace
+ XML Namespace
+ xmlns
+ XML Namespace
+
+
+
+
+ OWL2 DL
+ OWL 2 Web Ontology Language, DL Profile
+ DL
+ https://www.w3.org/TR/owl2-profiles/#OWL_2_DL
+
+ OWL2 DL
+
+
+
+
+ OWL2 EL
+ OWL 2 Web Ontology Language, EL Profile
+ EL
+ https://www.w3.org/TR/owl2-profiles/#OWL_2_EL
+
+ OWL2 EL
+
+
+
+
+ OWL2 Full
+ OWL 2 Web Ontology Language, RDF Semantics
+ Full
+ https://www.w3.org/TR/owl2-syntax/
+
+ OWL2 Full
+
+
+
+
+ OWL2 QL
+ OWL 2 Web Ontology Language, QL Profile
+ QL
+ https://www.w3.org/TR/owl2-profiles/#OWL_2_QL
+
+ OWL2 QL
+
+
+
+
+ OWL2 RL
+ OWL 2 Web Ontology Language, RL Profile
+ RL
+ https://www.w3.org/TR/owl2-profiles/#OWL_2_RL
+
+ OWL2 RL
+
+
+
+
+ YAML 1.2
+ yaml
+ http://yaml.org/spec/1.2
+ YAML 1.2
+
+
+
+
+
+ HL7 CQL
+ Clinical Quality Language 1.5.0
+ cql
+ https://cql.hl7.org/
+
+
+ v150
+ HL7 CQL 1.5.0
+
+
+
+
+ CQL 1.5.0 Syntax
+ CQL 1.5.0 Syntax
+ cql+txt
+ https://cql.hl7.org/2020May/grammar.html
+ CQL 1.5.0 Syntax
+
+
+
+
+
+
+ HL7 CQL
+ Clinical Quality Language 1.3
+ cql
+ https://cql.hl7.org/
+
+
+ v130
+ HL7 CQL 1.3
+
+
+
+
+ CQL 1.3 Syntax
+ CQL 1.3 Syntax
+ cql+txt
+ https://cql.hl7.org/STU3/grammar.html
+ CQL 1.3 Syntax
+
+
+
+
+
+
+ HL7 CQL
+ Clinical Quality Language 1.4.1
+ cql
+ https://cql.hl7.org/
+
+
+ v141
+ HL7 CQL 1.4.1
+
+
+
+
+ CQL 1.4.1 Syntax
+ CQL 1.4.1 Syntax
+ cql+txt
+ https://cql.hl7.org/STU4/grammar.html
+ CQL 1.4.1 Syntax
+
+
+
+
+
+
+ GraphQL
+ GraphQL June 2018 Release
+ graphql
+ https://graphql.github.io/graphql-spec/June2018/
+
+ vJun2018
+ GraphQL 2018
+
+
+
+
+ GraphQL Syntax
+ GraphQL Syntax
+ graphql+txt
+ https://graphql.github.io/graphql-spec/June2018/#sec-Language
+ GraphQL Syntax
+
+
+
+
+
+ GraphQL Queries
+ GraphQL Schemas
+ Q
+ https://graphql.github.io/graphql-spec/queries
+
+ GraphQL Queries
+
+
+
+
+ GraphQL Schemas
+ GraphQL Schemas
+ S
+ https://graphql.github.io/graphql-spec/schemas
+
+ GraphQL Schemas
+
+
+
+
+ Java 8
+ Java 8
+ java
+ https://jcp.org/en/jsr/detail?id=337
+ v8
+ Java 8
+
+
+
+
+ Mustache
+ Mustache Templating Language
+ mustache
+ http://mustache.github.io
+ v1
+ Mustache
+
+
+
+
+ Parsing Level
+ Language Parsing Level
+ vertical
+ https://www.omg.org/spec/API4KP/api4kp/
+ Parsing Level
+
+
+
+
+ Natural Language
+ Natural Language (ISO 639-1 Standard)
+ langs
+ https://www.omg.org/spec/LCC/Languages/ISO639-1-LanguageCodes/
+ Natural Language
+
+
+
+
+ Knowledge Asset Category
+ Knowledge Asset Category
+ asset-cat
+ https://www.omg.org/spec/API4KP/api4kp/
+ Knowledge Asset Category
+
+
+
+
+ Knowledge Asset Type
+ Knowledge Asset Type
+ asset-type
+ https://www.omg.org/spec/API4KP/api4kp/
+ Knowledge Asset Type
+
+
+
+
+ KRR Technique
+ Knowledge Reasoning Technique
+ krtech
+ https://www.omg.org/spec/API4KP/api4kp/
+ KRR Technique
+
+
+
+
+ KRR Language Role
+ Knowledge Representation and Reasoning Language Role
+ lang-rol
+ https://www.omg.org/spec/API4KP/api4kp/
+ KRR Language Role
+
+
+
+
+ Asset Relationships - Citations
+ Knowledge Asset Relationships - Citations
+ cito
+ https://www.omg.org/spec/API4KP/api4kp/
+ Asset Relationships - Citations
+
+
+
+
+ Asset Relationships - Dependencies
+ Knowledge Asset Relationships - Dependencies
+ depend
+ https://www.omg.org/spec/API4KP/api4kp/
+ Asset Relationships - Dependencies
+
+
+
+
+ Asset Relationships - Derivations
+ Knowledge Asset Relationships - Derivations
+ deriv
+ https://www.omg.org/spec/API4KP/api4kp/
+ Asset Relationships - Derivations
+
+
+
+
+ Asset Relationships - Versions
+ Knowledge Asset Relationships - Versions
+ version
+ https://www.omg.org/spec/API4KP/api4kp/
+ Asset Relationships - Versions
+
+
+
+
+ Asset Relationships - Structural
+ Knowledge Asset Relationships - Structural
+ struct
+ https://www.omg.org/spec/API4KP/api4kp/
+ Asset Relationships - Structural
+
+
+
+
+ Asset Relationships - Summary
+ Knowledge Asset Relationships - Summary
+ summary
+ https://www.omg.org/spec/API4KP/api4kp/
+ Asset Relationships - Summary
+
+
+
+
+ Asset Relationships - Variants
+ Knowledge Asset Relationships - Variants
+ variant
+ https://www.omg.org/spec/API4KP/api4kp/
+ Asset Relationships - Variants
+
+
+
+
+ KRR MetaFormat
+ Knowledge Representation and Reasoning Serialization Format
+ krfmt
+ http://ontology.mayo.edu/KMDP/registry/
+ KRR MetaFormat
+
+
+
+
+ KRR Language
+ Knowledge Representation and Reasoning Language
+ krlang
+ http://ontology.mayo.edu/KMDP/registry/
+ KRR Language
+
+
+
+
+ KRR Profile
+ Knowledge Representation and Reasoning Language Profile
+ krprof
+ http://ontology.mayo.edu/KMDP/registry/
+ KRR Profile
+
+
+
+
+ KRR Serialization
+ Knowledge Representation and Reasoning Serialization
+ krser
+ http://ontology.mayo.edu/KMDP/registry/
+ KRR Serialization
+
+
+
+
+ KRR Lexicon
+ Knowledge Representation and Reasoning Lexicon
+ lexicon
+ http://ontology.mayo.edu/KMDP/registry/
+ KRR Lexicon
+
+
+
+
+
+ OpenAPI 2.x
+ OpenAPI / Swagger v2.x
+ openapi
+ https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md
+
+
+ v2
+ OpenAPI 2.x
+
+
+
+
+ OpenAPI 2 JSON Syntax
+ OpenAPI 2 JSON Syntax
+ openapi-v2+json
+ https://swagger.io/specification/#format
+ OpenAPI 2 JSON Syntax
+
+
+
+
+
+ OpenAPI 2 YAML Syntax
+ OpenAPI 2 YAML Syntax
+ openapi-v2+yaml
+ https://swagger.io/specification/#format
+ OpenAPI 2 YAML Syntax
+
+
+
+
+
+ TXT
+ text
+ https://tools.ietf.org/html/rfc1341/7
+ TXT
+
+
+
+
+
+ Common Logic
+ Common Logic
+ cl
+ https://www.iso.org/standard/66249.html
+
+
+
+ v1
+ Common Logic
+
+
+
+
+ CGIF
+ Conceptual Graph Interchange Format
+ cgif
+ https://www.iso.org/standard/66249.html
+ CGIF
+
+
+
+
+
+ CLIF
+ Common Logic Interchange Format
+ clif
+ https://www.iso.org/standard/66249.html
+ CLIF
+
+
+
+
+
+ RxNORM
+ RxNorm
+ rxnorm
+ RxNORM
+
+
+
+
+
+ API4KP
+ API 4 Knowledge Platform Metamodel
+ api4kp
+ https://www.omg.org/spec/API4KP/1.0/
+ v1
+ API4KP
+
+
+
+
+
+
+
+
+
+
+
+
+ API4KP Datatypes
+ API4KP Datatypes
+ dtt
+ https://www.omg.org/spec/API4KP/1.0/
+
+ API4KP Datatypes
+
+
+
+
+ API4KP Identifiers
+ API4KP Identifiers
+ id
+ https://www.omg.org/spec/API4KP/1.0/
+
+ API4KP Identifiers
+
+
+
+
+ API4KP Service Descriptors
+ API4KP Service Descriptors
+ api
+ https://www.omg.org/spec/API4KP/1.0/
+
+
+
+ API4KP Service Descriptors
+
+
+
+
+
+ Knowledge Asset Surrogate
+ Knowledge Asset Surrogate Metamodel
+ surr
+ https://www.omg.org/spec/API4KP/1.0/
+
+
+ v1
+ Knowledge Asset Surrogate
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Knowledge Asset Surrogate Annotations
+ Knowledge Asset Surrogate Annotations
+ ann
+ https://www.omg.org/spec/API4KP/1.0/
+
+
+ Knowledge Asset Surrogate Annotations
+
+
+
+
+
+ Knowledge Asset Surrogate 2.0
+ Knowledge Asset Surrogate Metamodel 2.0
+ surr
+ https://www.omg.org/spec/API4KP/1.0/
+
+ v2
+ Knowledge Asset Surrogate 2.0
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Knowledge Asset Surrogate 2.0 XML Syntax
+ Knowledge Asset Surrogate 2.0 XML Syntax
+ surr-v2+xml
+ http://www.omg.org/spec/API4KP/1.0/
+ Knowledge Asset Surrogate 2.0 XML Syntax
+
+
+
+
+
+
+ ODM BAL 8.10.x
+ IBM ODM Business Action Language
+ odm_bal
+
+ v8_10_x
+
+
+
+
+
+ ODM BOM 8.10.x
+ IBM ODM Business Object Modeling Language
+ odm_bom
+ v8_10_x
+
+
+
+
+ ODM BRL Syntax
+ ODM BRL Syntax
+ brl
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ BPMN
+ Business Process Modelling Notation 2.0
+ bpmn
+ https://www.omg.org/spec/BPMN/2.0/
+
+ v2
+ BPMN 2.0
+
+
+
+
+
+ CMMN 1.1
+ Case Modelling and Management Notation 1.1
+ cmmn
+ https://www.omg.org/spec/CMMN/1.1/
+
+ v11
+ CMMN 1.1
+
+
+
+
+
+ DMN 1.1
+ Decision Modelling Notation 1.1
+ dmn
+ https://www.omg.org/spec/DMN/1.1/
+
+ v11
+ DMN 1.1
+
+
+
+
+
+ FEEL 1.1
+ Friendly Enough Expression Lanaguage 1.1
+ feel
+ https://www.omg.org/spec/DMN/1.1/
+ v11
+ FEEL 1.1
+
+
+
+
+
+ DMN 1.2
+ Decision Modelling Notation 1.2
+ dmn
+ https://www.omg.org/spec/DMN/1.2/
+
+ v12
+ DMN 1.2
+
+
+
+
+
+ FEEL 1.2
+ Friendly Enough Expression Lanaguage 1.2
+ feel
+ https://www.omg.org/spec/DMN/1.2/
+ v12
+ FEEL 1.2
+
+
+
+
+
+ MVF 1.0
+ Multiple Vocabulary Facility 1.0
+ mvf
+ https://www.omg.org/spec/MVF/1.0/
+
+ v10
+ MVF 1.0
+
+
+
+
+
+ UML 2.5
+ Unified Modelling Language 2.5
+ uml2
+ https://www.omg.org/spec/UML/2.5/
+ v25
+ UML 2.5
+
+
+
+
+ UML Resource
+ UML 2 Resource Profile
+ Res
+
+ UML Resource
+
+
+
+
+ RDF/XML Syntax
+ RDF/XML Syntax
+ rdf/xml
+ https://www.w3.org/TR/owl2-mapping-to-rdf/
+ RDF/XML Syntax
+
+
+
+
+
+ WSDL 2 XML Syntax
+ WSDL 2 XML Syntax
+ wsdl/xml
+ https://www.w3.org/2007/06/wsdl/wsdl20.xsd
+ WSDL 2 XML Syntax
+
+
+
+
+
+ RDF 1.1
+ rdf
+ https://www.w3.org/RDF/
+ RDF 1.1
+
+
+
+
+ OWL Functional Syntax
+ OWL Functional Syntax
+ ofn
+ https://www.w3.org/TR/2012/REC-owl2-syntax-20121211/
+ OWL Functional Syntax
+
+
+
+
+
+ HTML
+ HTML 5
+ html
+ https://www.w3.org/TR/html5/
+ v52
+ HTML
+
+
+
+
+ OWL Manchester Syntax
+ OWL Manchester Syntax
+ ms
+ https://www.w3.org/TR/owl2-manchester-syntax/
+ OWL Manchester Syntax
+
+
+
+
+
+
+ SPARQL 1.1
+ SPARQL Protocol and RDF Query Language
+ sparql
+ https://www.w3.org/TR/2013/REC-sparql11-query-20130321/
+
+ v11
+ SPARQL 1.1
+
+
+
+
+ SPARQL Syntax
+ SPARQL Syntax
+ sparql-query
+ https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#grammar
+ SPARQL Syntax
+
+
+
+
+
+ Turtle
+ Terse RDF Triple Language
+ ttl
+ https://www.w3.org/TR/turtle/
+ Turtle
+
+
+
+
+
+
+ WSDL 2.0
+ Web Service Description Language 2.0
+ WSDL
+ https://www.w3.org/TR/wsdl20/
+
+ v2
+ WSDL 2.0
+
+
+
+
+ XHTML
+ X-HTML
+ xhtml
+ https://www.w3.org/TR/xhtml1/
+ v1
+ XHTML
+
+
+
+
+
+ XSD 1.1
+ XML Schema Definition Language 1.1
+ xsd
+ https://www.w3.org/TR/xmlschema11-1/
+
+ v11
+ XSD 1.1
+
+
+
+
+
+ XSLT 3.0
+ Extensible Stylesheet Transformation 3.0
+ xslt
+ https://www.w3.org/TR/2017/REC-xslt-30-20170608/
+ v3
+ XSLT 3.0
+
+
+
+
+ XCL
+ Common Logic XML Syntax
+ xcl/xml
+ https://www.iso.org/standard/66249.html
+ XCL
+
+
+
+
+
+ CQL/ELM XML Syntax
+ CQL/ELM XML Syntax
+ cql+xml
+ https://cql.hl7.org/elm.html
+ CQL-ELM XML Syntax
+
+
+
+
+
+ KNART XML Syntax
+ KNART 1.3 XML Syntax
+ knart+xml
+ https://www.hl7.org/implement/standards/product_brief.cfm?product_id=337
+ KNART XML Syntax
+
+
+
+
+
+ DITA 1.3
+ DITA 1.3
+ dita
+ http://docs.oasis-open.org/dita/dita/v1.3/dita-v1.3-part3-all-inclusive.html
+ v13
+ DITA 1.3
+
+
+
+
+ LwDITA 1.0
+ LwDITA 1.0
+ lwdita
+ https://www.oasis-open.org/committees/tc_home.php?wg_abbrev=dita-lightweight-dita
+ v10
+ LwDITA 1.0
+
+
+
\ No newline at end of file
diff --git a/ontologies/API4KP/v20190801/api4kp.rdf b/ontologies/API4KP/v20190801/api4kp.rdf
index e0fc660..672b381 100644
--- a/ontologies/API4KP/v20190801/api4kp.rdf
+++ b/ontologies/API4KP/v20190801/api4kp.rdf
@@ -3095,7 +3095,7 @@ KRR Languages are formal, and usually designed to be parsed and computed by a (r
lexicon
- vocabulary
+ vocabulary
https://en.wikipedia.org/wiki/Lexicon
Conceptual structure that organizes the lexical entries used or supported by a person, language, or branch of knowledge
'Lexicon' and 'Vocabulary' are overloaded terms, whose sense is very context-specific
diff --git a/ontologies/API4KP/v20200817/catalog.xml b/ontologies/API4KP/v20200817/catalog.xml
new file mode 100644
index 0000000..a376bb7
--- /dev/null
+++ b/ontologies/API4KP/v20200817/catalog.xml
@@ -0,0 +1,32 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/ontologies/API4KP/v20200817/informative/api4kp-ckao.rdf b/ontologies/API4KP/v20200817/informative/api4kp-ckao.rdf
new file mode 100644
index 0000000..b983ff1
--- /dev/null
+++ b/ontologies/API4KP/v20200817/informative/api4kp-ckao.rdf
@@ -0,0 +1,179 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+]>
+
+
+
+ API4KP Clinical Knowledge Assets Ontology
+ TODO
+ Davide Sottara (sottara.davide@mayo.edu)
+ http://opensource.org/licenses/MIT
+ http://www.w3.org/standards/techs/owl#w3c_all
+ Copyright (c) 2014-2020 88 Solutions
+ Copyright (c) 2014-2020 Adaptive
+ Copyright (c) 2014-2020 Arizona State University
+ Copyright (c) 2014-2020 Athan Services
+ Copyright (c) 2014-2020 Fraunhofer FOKUS
+ Copyright (c) 2014-2020 Freie Universitat Berlin
+ Copyright (c) 2014-2020 Mayo Clinic
+ Copyright (c) 2014-2020 Model Driven Solutions
+ Copyright (c) 2014-2020 Thematix Partners LLC
+ Copyright (c) 2015-2020 Object Management Group, Inc.
+ Copyright (c) 2019-2020 Micro Focus
+ https://www.omg.org/spec/API4KP/api4kp/
+ https://www.omg.org/spec/DOL/
+ https://www.omg.org/spec/LCC/
+ ckao
+ api4kp-ckao.rdf
+
+
+
+
+
+
+
+
+
+
+
+ Care Process Model
+ Adaptive specification of how to perform (complex) clinical activities, properly orchestrated over time, so to achieve certain objectives and goals
+ CPM
+ The Mayo Clinic Rectal Adenocarcinoma CPM
+ Includes AME Care Process Models (CPM)
+
+
+
+
+ clinical knowledge asset
+ knowledge asset that uses primarily concepts from the clinical business domain
+
+
+
+
+
+ Clinical Practice Guideline
+ Systematically developed statements to assist provider decisions about appropriate healthcare for specific clinical situations
+ Clinical Practice Guideline
+ The Mayo Clinic Sternotomy Guideline
+
+
+
+
+
+ Clinical Protocol
+ Protocol applicable in a clinical situation, such that it directs the behavior of patients and/or providers
+
+
+
+
+
+ Clinical Business Rule
+ Computational logic to direct clinical interventions that is typically expressed as if/then statements but may also be represented by a diagram, decision table or other representation language
+ CDS Rule
+ The 'HGB value prior to RBC transfusion' Recommendation Rule
+ Clinical Rule
+
+
+
+
+ Clinical Trial Protocol
+ Descriptions of the objectives, design, methodology, statistical considerations and aspects related to the organization of clinical trials.
+
+Trial protocols provide the background and rationale for conducting a study, highlighting specific research questions that are addressed, and taking into consideration ethical issues. Trial protocols must meet a standard that adheres to the principles of Good Clinical Practice, and are used to obtain ethics approval by local Ethics Committees or Institutional Review Boards.
+
+
+
+
+
+ Cognitive Care Process Model
+ Knowledge whose primary subject is the cognitive aspects of a Care Process
+
+
+
+
+ domain-specific knowledge asset
+
+
+
+
+ Nursing Protocol
+ Protocol that directs the behavior of nurses
+
+
+
+
+
+ Order Set
+ A standardized list of orders for a specific diagnosis
+ Verify the defintion that restricts the ordersets to be developed by OSPAG, vs produced or endorsed
+ The Heart Failure Medication Titration Order Set
+
+
+
+
+
+ CQMs are tools that help measure or quantify healthcare processes, outcomes, patient
+perceptions and organizational structure and/or systems that are associated with the ability to provide high-
+quality healthcare and/or that relate to one or more quality goals
+
+ Clinical Quality Measure
+
+
+
+ https://www.ncbi.nlm.nih.gov/pubmed/20815294
+
+
+ Descriptions of the objectives, design, methodology, statistical considerations and aspects related to the organization of clinical trials.
+
+Trial protocols provide the background and rationale for conducting a study, highlighting specific research questions that are addressed, and taking into consideration ethical issues. Trial protocols must meet a standard that adheres to the principles of Good Clinical Practice, and are used to obtain ethics approval by local Ethics Committees or Institutional Review Boards.
+
+
+
+
+
+ The Heart Failure Medication Titration Order Set
+
+
+
+
+
+ The Mayo Clinic Sternotomy Guideline
+
+
+
+
+
+ The 'HGB value prior to RBC transfusion' Recommendation Rule
+
+
+
+
+
+ The Mayo Clinic Rectal Adenocarcinoma CPM
+
+
\ No newline at end of file
diff --git a/ontologies/API4KP/v20200817/informative/api4kp-kmdo.rdf b/ontologies/API4KP/v20200817/informative/api4kp-kmdo.rdf
new file mode 100644
index 0000000..f222f3c
--- /dev/null
+++ b/ontologies/API4KP/v20200817/informative/api4kp-kmdo.rdf
@@ -0,0 +1,1213 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+]>
+
+
+
+ API4KP Knowledge Delivery Management Ontology
+ The purpose of this ontology is to define 'knowledge' and the related concepts that play a role in managing and delivering that knowledge to different audiences.
+ Davide Sottara (sottara.davide@mayo.edu)
+ Jane Shellum
+ Kris Pavek
+ Matthew Burton
+ Michael Panzer
+ Sivaram Arabandi
+ http://opensource.org/licenses/MIT
+ http://www.w3.org/standards/techs/owl#w3c_all
+ Copyright (c) 2014-2020 88 Solutions
+ Copyright (c) 2014-2020 Adaptive
+ Copyright (c) 2014-2020 Arizona State University
+ Copyright (c) 2014-2020 Athan Services
+ Copyright (c) 2014-2020 Fraunhofer FOKUS
+ Copyright (c) 2014-2020 Freie Universitat Berlin
+ Copyright (c) 2014-2020 Mayo Clinic
+ Copyright (c) 2014-2020 Model Driven Solutions
+ Copyright (c) 2014-2020 Thematix Partners LLC
+ Copyright (c) 2015-2020 Object Management Group, Inc.
+ Copyright (c) 2019-2020 Micro Focus
+ https://www.omg.org/spec/API4KP/api4kp-krr/
+ https://www.omg.org/spec/API4KP/api4kp/
+ https://www.omg.org/spec/DOL/
+ https://www.omg.org/spec/LCC/
+ kmdo
+ api4kp-kmdo.rdf
+
+
+
+
+
+
+
+
+
+
+ advanced knowledge
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ anonymous knowledge resource
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Knowledge Resource that is not identified by a an ID assigned by a central identification authority
+
+
+
+
+ approachable knowledge resource
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ available knowledge resource
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ There exists a repository where an agent is allowed to obtain a copy of (some artifact that carries) the knowledge resource
+ More specifically, an artifact that carries a representation of the expression of some (version of a) work of knowledge
+
+
+
+
+ body of knowledge
+ A complex corpus that encompasses the entirety of the knowledge about a specific Business Domain
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ broadly understandable knowledge resource
+ Knowledge Resource that is interpreted by an agent that possesses Common Knowledge, and can be interpreted by an agent even if Common Knowledge is all the Knowledge they possess
+ "Understandability' is defined at the concept level, so that an agent can (re)construct an internal representation of the knowledge, reconnecting the it to the related concepts that agent is expected to possess, and possibly make pragmatic use of it.
+
+The availability of a carrier, and the expression of the knowledge in a language that can be parsed by the agent are necessary, but not sufficient conditions.
+
+
+
+
+ business domain
+ A concept that synthesizes, abstracting and implying it, a functional complex of more granular concepts that define all the entities and relationships (actors, roles, activities and processes, resources, information, responsibilities, etc...) pertaining to a field or discipline
+ cooking
+ finance
+ healthcare
+
+
+
+
+ clinical business domain
+ A domain that includes concepts dealing with risk/cause, evaluation, diagnosis, treatment, prevention and management of health and wellness conditions, including methods for the appropriate application of tests, procedures, drugs, and treatments.
+ This is considered a class since there are multiple notions of 'Clinical Domain', varying e.g. by country or over time.
+
+
+
+
+ clinical knowledge resource
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Asset that is the realization of a Work of Knowledge, whose subject includes on one or more concepts from some Clinical Domain
+
+
+
+
+ common knowledge
+ Knowledge that everyone has, and everyone is known to have
+
+
+
+
+
+ (concretely realized) piece of content
+ PoC
+ Distributable, Concrete Expression of some Intellectual Work, in some Human Consumable Language
+
+
+
+
+
+
+
+
+
+
+ (concretely realized) piece of knowledge
+ PoK
+ A Piece of Knowledge is a Distributable, Concrete Expression of an Intellectual Work of Knowledge
+
+
+
+ (concretely realized) piece of knowledge content
+
+
+
+
+
+
+
+
+
+
+ PoCK
+ Piece of Content that is the expression of a Work of knowledge
+ Like any Piece of Content, a PoCK is expressed using some natural language, and formatted for consumption by a human audience (as opposed to be used for computation by a software)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ core knowledge asset
+
+
+
+
+
+
+
+
+
+
+
+
+ Asset such that Assets may be derived from it, but is not itself derived from any other Asset (although it could be a derivative of another Resource)
+
+
+
+
+ digital knowledge artifact
+ An artifact that carries some form of knowledge encoded by means of discretized signals
+
+
+
+
+ digital knowledge artifact directory
+ Function of a (software) agent that relies on a Knowledge Artifact Inventory that references Digital Knowledge Artifacts
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ digital knowledge artifact repository
+ Function served by an entity that stores Digital Knowledge Artifacts
+
+
+
+
+
+ digital knowledge asset surrogate
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ digital knowledge asset surrogate repository
+ a repository specialized in digital asset surrogates
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ digital knowledge management dervice provider
+ knowledge management service provider for digital knowledge artifacts
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ distributable expression
+ Concrete Expression that is realized by a self-contained knowledge artifact, and suitable to be used in a knowledge transfer activity
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ domain knowledge
+ Knowledge specifically about, and thus scoped by, some Business Domain (e.g. healthcare)
+
+
+
+
+ domain-specific knowledge resource
+
+
+
+
+
+
+
+
+
+
+
+
+ Knowledge resource that expresses a work of knowledge that captures a piece of domain specific knowledge
+
+
+
+ domain-specific work of knowledge
+
+
+
+
+
+
+
+
+
+
+
+
+ Knowledge Work that has subject some aspect of a single Business Domain
+
+
+
+
+ endorsed knowledge resource
+
+
+
+
+
+
+
+
+
+
+
+
+ Knowledge Resource that is endorsed by an agent / party.
+
+That agent is expected to have adequate subject matter expertise, must have the permission, and should have the authority to do so
+
+
+
+
+ experiential learning activity
+ activity where an agent gains knowledge through individual experience, as opposed to transfer from a different agent that already possesses that knowledge
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ expert knowledge
+ Domain Knowledge acquired by advanced certified training, practice and/or research
+
+
+
+
+ explicit knowledge
+
+ Knowledge that can be communicated from agent to agent
+
+
+
+
+
+
+
+
+
+
+ surrogate of externally catalogued resource
+ (Meta) Surrogate S that carries the description of a Surrogate T, and such that S and T are not stored in the same repository
+
+
+
+
+ surrogate of externally managed resource
+ a surrogate S that carries a resource description D about a resource R, and such that S is not stored in the same repository as the master copy of R
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ foundational knowledge
+ Knowledge that is acquired by means of formal training in a domain (e.g. equivalent to a MS level)
+
+
+
+
+
+
+
+
+
+
+ frontal delivery of instruction
+ A knowledge transfer activity that assumes the spatio-temporal co-location of two agents, where direct communication is used to transfer Knowlege from one to the other
+
+
+
+
+ delivery of graduate-level instruction
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ human consumable expression
+
+
+
+ identified knowledge resource
+
+
+
+
+
+
+
+
+
+
+
+
+ Knowledge Resource that is identified by a an ID assigned by a central identification authority
+
+
+
+
+ inlined knowledge resource description
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ A descriptor that is a proper sub-part of the (same) structured knowledge resource that has, as a proper sub-part, the resource the descriptor is providing information about
+
+
+
+
+ surrogate of internally managed resource
+ a surrogate S that carries a resource description D about a resource R, and such that S is stored in the same repository as the master copy of R
+
+
+
+
+
+
+
+
+
+
+ knowledge acquisition activity
+ An abstract activity that allows the agent performing it to gain some Knowledge. Concrete examples include learning, observing, experiencing, and combinations thereof.
+
+
+
+
+ knowledge approval activity
+ The act by which an designated party (a knowledge approval body) transfers their authority to a knowledge asset
+ approval
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ knowledge artifact directory
+ function of an agent that can be queried to resolve the identity and/or location of certain knowledge artifacts. The function is enabled by the agent's internal representation of an artifact inventory
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ knowledge artifact editor
+ function of a tool that is used in activities that involve the creation, editing and curation of knowledge artifacts, both from a content and form perspective
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ knowledge artifact inventory
+ A complex collection of references to one or more Knowledge Artifacts
+
+
+
+
+ knowledge asset
+ Identified Knowledge Resource, i.e. that is identified by an ID assigned by a central identification authority
+Assets are valuable to parties acting within that domain.
+
+
+
+
+
+ knowledge asset description
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ knowledge asset metadata
+ a Knowledge Asset that has another Asset as subject
+
+
+
+
+ knowledge authoring activity
+ The act of expressing a Work of Knowledge in some language
+ authoring
+
+
+
+
+ knowledge creation activity
+ An expert's act of creating a new Work of Knowledge
+ creation
+
+
+
+
+ knowledge editing activity
+ The act of formatting and typesetting a Knowledge Expression to fit a designated carrier
+ editing
+
+
+
+
+
+
+
+
+
+
+ knowledge endorsing party
+ Party that has the authority and the subject matter expertise to endorse some Work of Knowledge. The trust in the Party gets transferred to the Work of Knowledge
+
+
+
+
+ knowledge management activity
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ knowledge management service provider
+ The function of an entity that serves the role of Knowledge Manager, enabling the creation, maintenance, storage, cataloguing, and delivery/distribution of knowledge artifacts
+
+
+
+
+ knowledge meta-description
+
+
+
+
+
+
+
+
+
+
+
+
+ A knowledge resource description whose subject is another knowledge description
+ For the purpose of knowledge management, knowledge asset descriptions are assets that can be assembled into a knowledge base, and used for reasoning.
+Meta-descriptions can be materialized as needed for such knowledge bases, allowing to use a model-driven approach to knowledge management
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ knowledge publication activity
+ knowledge release activity
+ activity by which an endorsed knowledge resource is released to the public, to be used, making it possible for agents to acquire it
+ publication
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ knowledge representation embedding surrogate
+ A Surrogate that realizes a knowledge descriptor, and embeds a representation of either the knowledge resource it describes, or a derivative thereof.
+(This concept is defined at the manifestation/item level. The two expressions are realized independently and included in the same manifestation, with the surrogate being the primary entity the manifestation is realizing)
+
+
+
+
+ knowledge review activity
+ An expert's comparison of a knowledge asset with their subject matter expertise, to determine whether the work is still accurate, faithful and up to date
+ review
+
+
+
+
+ knowledge revision activity
+ A knowledge review that results in a new version of a knowledge asset
+ revision
+
+
+
+
+
+
+
+
+ 2
+
+
+ knowledge transfer activity
+ Activity with 2 or more participant agents. Before it is performed, there exists 2 participants A and B, such that A possesses some knowledge K, and B does not. After the activity is completed, B will possess that knowledge K.
+
+
+
+
+ mainstream knowledge resource
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Latest Published Version of a Knowledge Resource.
+i.e. Published Knowledge Resource such that there is no revision that is also Published.
+
+
+
+
+ master copy
+ TODO Deprecated. Moved to the core ONTOLOGY
+ master copies are usually stored in dedicated repositories, from where copies can be obtained
+ artifact that is used as the source in replication activities
+
+
+
+
+ medical business domain
+ domain that encompasses the science of health in general: including, but not limited to, the study the human body (anatomy and physiology), the practice of medicine as the prevention and treatment of diseaes, pharmacology as the science of substances that can affect the human body
+
+
+
+
+
+
+
+
+
+
+
+
+
+ original knowledge resource
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ The first (version of an) Knowledge Resource, such that there are no predecessor (expressions of previous) Works that have been used during its creation.
+
+
+
+ published knowledge resource
+
+
+
+
+
+
+
+
+
+
+
+
+ resource that has been published by means of a publication activity
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ sophisticated knowledge resource
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Knowledge Resource that can be interpreted only by an agent that possesses some Knowledge other than Common Knowledge, or that requires some (other) Knowledge Resource
+i.e.: not Standalone or not Broadly Understandable
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ specialist knowledge
+ Domain Knowledge acquired by advanced certified training
+
+
+
+ standalone knowledge resource
+ Such a Resource can be interpreted by an agent (that has the appropriate knowledge pre-requisites) without the need to look up any additional Knowledge Resources
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Knowledge Resource that does not depend on any other resource
+
+
+
+
+ tacit knowledge
+ Knowledge that can not be transfered to another agent by means of direct communication
+
+
+
+
+ delivery of undergraduate level instruction
+
+
+
+
+ archived in
+
+
+
+
+
+
+ archives
+ Archival is a kind of storage implying no immediate use. Archiving is scoped to artifacts only
+
+
+
+
+
+
+
+
+ endorsed by
+
+
+
+
+
+
+
+ endorses
+
+
+ An agent's endorsement of a knowledge endeavor implies (i) that the agent is able to understand the content of that endeavor, internally representing the knowledge (expressed by (the expression carried)) in the endeavor, (ii) that the agent transfers their reputation and trust to that endeavor
+
+
+
+
+ has focus
+
+
+
+ (knowledge) possessed by
+
+
+
+
+
+
+ possesses (knowledge)
+
+
+
+
+
+
+
+
+ An Agent possesses some Knowledge if they can conceptualize that Knowledge, and act based on that Knowledge
+ The possession of some Knowledge is the outcome of a Knowledge Acquisition Activity
+
+
+
+
+ has primary subject
+
+
+
+
+ replica of
+ An artifact that resulted from the copy of a 'master copy' is a replica of that copy
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ in terms of
+
+
+
+
+ defines
+
+
+
+
+ is about
+
+
+
+
+
+
+
+ represents
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ontologies/API4KP/LATEST/informative/api4kp-kp-inst.rdf b/ontologies/API4KP/v20200817/informative/api4kp-kp-inst.rdf
similarity index 51%
rename from ontologies/API4KP/LATEST/informative/api4kp-kp-inst.rdf
rename to ontologies/API4KP/v20200817/informative/api4kp-kp-inst.rdf
index a44cefc..a62f27a 100644
--- a/ontologies/API4KP/LATEST/informative/api4kp-kp-inst.rdf
+++ b/ontologies/API4KP/v20200817/informative/api4kp-kp-inst.rdf
@@ -1,84 +1,74 @@
-
-
+
+
+
-
]>
-
-
+
API4KP Ontology of Known Platform Components
- TODO
- Davide Sottara (sottara.davide@mayo.edu)
+ TODO
+ Davide Sottara (sottara.davide@mayo.edu)
http://opensource.org/licenses/MIT
- Copyright (c) 2014-2020 88 Solutions
+ http://www.w3.org/standards/techs/owl#w3c_all
+ Copyright (c) 2014-2020 88 Solutions
Copyright (c) 2014-2020 Adaptive
- Copyright (c) 2014-2020 Athan Services
- Copyright (c) 2014-2020 Arizona State University
- Copyright (c) 2014-2020 Fraunhofer FOKUS
- Copyright (c) 2014-2020 Freie Universitat Berlin
+ Copyright (c) 2014-2020 Arizona State University
+ Copyright (c) 2014-2020 Athan Services
+ Copyright (c) 2014-2020 Fraunhofer FOKUS
+ Copyright (c) 2014-2020 Freie Universitat Berlin
Copyright (c) 2014-2020 Mayo Clinic
- Copyright (c) 2019-2020 Micro Focus
Copyright (c) 2014-2020 Model Driven Solutions
Copyright (c) 2014-2020 Thematix Partners LLC
Copyright (c) 2015-2020 Object Management Group, Inc.
- http://www.w3.org/standards/techs/owl#w3c_all
- https://www.omg.org/spec/LCC/
+ Copyright (c) 2019-2020 Micro Focus
https://www.omg.org/spec/API4KP/api4kp/
- api4kp-inst.rdf
+ https://www.omg.org/spec/LCC/
inst
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Drools 5.6
-
-
-
-
-
-
-
-
- HermiT v1.3.8.413
-
+ api4kp-inst.rdf
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Drools 5.6
+
+
+
+
+
+
+
+
+ HermiT v1.3.8.413
+
\ No newline at end of file
diff --git a/ontologies/API4KP/v20200817/informative/api4kp-registry.rdf b/ontologies/API4KP/v20200817/informative/api4kp-registry.rdf
new file mode 100644
index 0000000..aac686f
--- /dev/null
+++ b/ontologies/API4KP/v20200817/informative/api4kp-registry.rdf
@@ -0,0 +1,1113 @@
+
+
+
+
+
+
+
+
+
+
+
+
+]>
+
+
+
+ API4KP Knowledge Asset Registry Ontology
+ TODO
+ Davide Sottara (sottara.davide@mayo.edu)
+ http://opensource.org/licenses/MIT
+ http://www.w3.org/standards/techs/owl#w3c_all
+ Copyright (c) 2014-2020 88 Solutions
+ Copyright (c) 2014-2020 Adaptive
+ Copyright (c) 2014-2020 Arizona State University
+ Copyright (c) 2014-2020 Athan Services
+ Copyright (c) 2014-2020 Fraunhofer FOKUS
+ Copyright (c) 2014-2020 Freie Universitat Berlin
+ Copyright (c) 2014-2020 Mayo Clinic
+ Copyright (c) 2014-2020 Model Driven Solutions
+ Copyright (c) 2014-2020 Thematix Partners LLC
+ Copyright (c) 2015-2020 Object Management Group, Inc.
+ Copyright (c) 2019-2020 Micro Focus
+ https://www.omg.org/spec/API4KP/api4kp/
+ https://www.omg.org/spec/DOL/
+ https://www.omg.org/spec/LCC/
+ reg
+ api4kp-registry.rdf
+
+
+
+
+
+
+
+
+ DITA
+ Darwin Information Technology Architecture 1.3
+ dita
+ http://docs.oasis-open.org/dita/dita/v1.3/dita-v1.3-part0-overview.html
+ v13
+ DITA
+
+
+
+
+
+ HL7 ELM
+ Clinical Quality Language, Expression Language Metamodel 1.2
+ elm
+ https://cql.hl7.org/
+
+ v12
+ HL7 ELM
+
+
+
+
+
+ KNART 1.3
+ HL7 Knowledge Artifact Metamodel 1.3
+ knart
+ https://www.hl7.org/implement/standards/product_brief.cfm?product_id=337
+
+ v13
+ KNART 1.3
+
+
+
+ FHIR DSTU2 XML Syntax
+ FHIR DSTU2 XML Syntax
+ fhir2+xml
+ https://www.hl7.org/fhir/DSTU2/xml.html
+ FHIR DSTU2 XML Syntax
+
+
+
+
+
+
+ FHIR DSTU2
+ Fast Healthcare Interoperability Resources DSTU2
+ fhir
+ http://hl7.org/fhir/DSTU2
+
+
+
+ v2
+ FHIR DSTU2
+
+
+
+
+
+
+
+
+ FHIR STU3
+ Fast Healthcare Interoperability Resources STU3
+ fhir
+ http://hl7.org/fhir/STU3
+ v3
+ FHIR STU3
+
+
+
+
+
+
+ FHIR DSTU2 JSON Syntax
+ FHIR DSTU2 JSON Syntax
+ fhir2+json
+ https://www.hl7.org/fhir/DSTU2/json.html
+ FHIR DSTU2 JSON Syntax
+
+
+
+
+ FHIR DSTU2 RDF Syntax
+ FHIR DSTU2 RDF Syntax
+ fhir2+rdf
+ https://www.hl7.org/fhir/DSTU2/rdf.html
+ FHIR DSTU2 RDF Syntax
+
+
+
+
+
+
+ FHIRPath STU1
+ FHIRPath Path Language
+ fhirpath
+ http://hl7.org/fhirpath/
+ v1
+ FHIRPath STU1
+
+
+
+ JSON
+ json
+ http://json.org/20171201
+ JSON
+
+
+
+ CQL Essentials
+ Essential elements of CQL, scoped to simple expressions, used to evalute context variables
+ cql-exx
+ http://cql.hl7.org
+
+ CQL Essentials
+
+
+
+
+
+ Clinical Concept Glossary
+ Clinical Concept Glossary Metamodel
+ ccg
+ v1
+ Clinical Concept Glossary
+
+
+
+
+
+
+ Cognitive Care Process Model
+ Cognitive Care Process Models Metamodel
+ ccpm
+ v1
+ Cognitive Care Process Model
+
+
+
+
+ Knowledge Asset Annotations XML Syntax
+ Knowledge Asset Surrogate - Annotations - XML Syntax
+ ann+xml
+ http://www.omg.org/spec/API4KP/1.0/
+ Knowledge Asset Annotations XML Syntax
+
+
+
+
+ Knowledge Asset Surrogate XML Syntax
+ Knowledge Asset Surrogate XML Syntax
+ surr+xml
+ http://www.omg.org/spec/API4KP/1.0/
+ Knowledge Asset Surrogate XML Syntax
+
+
+
+
+ Knowledge Asset Surrogate JSON Syntax
+ Knowledge Asset Surrogate JSON Syntax
+ surr+json
+ http://www.omg.org/spec/API4KP/1.0/
+ Knowledge Asset Surrogate JSON Syntax
+
+
+
+
+ Knowledge Asset Surrogate 2.0 XML Syntax
+ Knowledge Asset Surrogate 2.0 XML Syntax
+ surr-v2+xml
+ http://www.omg.org/spec/API4KP/1.0/
+ Knowledge Asset Surrogate 2.0 XML Syntax
+
+
+
+
+
+
+ Service Profile
+ Service Profile Metamodel
+ sp
+ v1
+ Service Profile
+
+
+
+
+ LOINC
+ Logical Observation Identifiers Names and Codes
+ lnc
+ LOINC
+
+
+
+ PCV
+ Mayo Clinic Propositional Concept Vocabulary
+ pcv
+ PCV
+
+
+
+
+
+ Reaction RuleML 1.2
+ Reaction RuleML 1.2
+ rruleml
+ http://reaction.ruleml.org/1.02/
+ v12
+ Reaction RuleML 1.2
+
+
+
+ SNOMED
+ Systematized Nomenclature of Medicine -- Clinical Terms
+ sct
+ SNOMED-CT
+
+
+
+ API4KP Service XML Syntax
+ API4KP XML Syntax
+ api+xml
+ http://www.omg.org/spec/API4KP/1.0/
+ API4KP Service XML Syntax
+
+
+
+
+ API4KP Service JSON Syntax
+ API4KP JSON Syntax
+ api+json
+ http://www.omg.org/spec/API4KP/1.0/
+ API4KP Service JSON Syntax
+
+
+
+
+ BPMN 2.0 XML Syntax
+ BPMN 2.0 XML Syntax
+ bpmn-v2+xml
+ https://www.omg.org/spec/BPMN/2.0/
+ BPMN 2.0 XML Syntax
+
+
+
+
+ CMMN 1.1 XML Syntax
+ CMMN 1.1 XML Syntax
+ cmmn-v11+xml
+ https://www.omg.org/spec/CMMN/1.1/
+ CMMN 1.1 XML Syntax
+
+
+
+
+ DMN 1.1 XML Syntax
+ DMN 1.1 XML Syntax
+ dmn-v11+xml
+ https://www.omg.org/spec/DMN/1.1/
+ DMN 1.1 XML Syntax
+
+
+
+
+ DMN 1.2 XML Syntax
+ DMN 1.2 XML Syntax
+ dmn-v12+xml
+ https://www.omg.org/spec/DMN/1.2/
+ DMN 1.2 XML Syntax
+
+
+
+
+
+
+
+
+
+ Provisional - TODO - fixme
+
+
+
+
+
+
+
+
+
+
+
+
+ XSD XML 1.1 Syntax
+ XSD XML 1.1 Syntax
+ xsd-v11+xml
+ https://www.w3.org/TR/xmlschema11-1/
+ XSD XML 1.1 Syntax
+
+
+
+
+ XML Schema Instance
+ XML Schema Instance
+ xsi
+ XML Schema Instance
+
+
+
+
+
+ OWL-2
+ Web Ontology Language 2
+ owl2
+ https://www.w3.org/TR/2012/REC-owl2-syntax-20121211/
+
+
+
+
+
+ v20121211
+ OWL-2
+
+
+
+ OWL XML Serialization
+ OWL XML Serialization
+ xml
+ https://www.w3.org/TR/owl2-xml-serialization/
+ OWL XML Serialization
+
+
+
+
+ SKOS
+ Simple Knowledge Organization Scheme
+ skos
+ SKOS
+
+
+
+ XML 1.1
+ xml
+ http://www.w3.org/TR/xml11
+ XML 1.1
+
+
+
+ XML Namespace
+ XML Namespace
+ xmlns
+ XML Namespace
+
+
+
+ OWL2 DL
+ OWL 2 Web Ontology Language, DL Profile
+ DL
+ https://www.w3.org/TR/owl2-profiles/#OWL_2_DL
+
+ OWL2 DL
+
+
+
+ OWL2 EL
+ OWL 2 Web Ontology Language, EL Profile
+ EL
+ https://www.w3.org/TR/owl2-profiles/#OWL_2_EL
+
+ OWL2 EL
+
+
+
+ OWL2 Full
+ OWL 2 Web Ontology Language, RDF Semantics
+ Full
+ https://www.w3.org/TR/owl2-syntax/
+
+ OWL2 Full
+
+
+
+ OWL2 QL
+ OWL 2 Web Ontology Language, QL Profile
+ QL
+ https://www.w3.org/TR/owl2-profiles/#OWL_2_QL
+
+ OWL2 QL
+
+
+
+ OWL2 RL
+ OWL 2 Web Ontology Language, RL Profile
+ RL
+ https://www.w3.org/TR/owl2-profiles/#OWL_2_RL
+
+ OWL2 RL
+
+
+
+ YAML 1.2
+ yaml
+ http://yaml.org/spec/1.2
+ YAML 1.2
+
+
+
+
+
+ HL7 CQL
+ Clinical Quality Language 1.2
+ cql
+ https://cql.hl7.org/
+
+ v12
+ HL7 CQL
+
+
+
+ CQL Syntax
+ CQL Syntax
+ cql+txt
+ https://cql.hl7.org/grammar.html
+ CQL Syntax
+
+
+
+
+
+
+ GraphQL
+ GraphQL June 2018 Release
+ graphql
+ https://graphql.github.io/graphql-spec/June2018/
+
+ vJun2018
+ GraphQL 2018
+
+
+
+ GraphQL Syntax
+ GraphQL Syntax
+ graphql+txt
+ https://graphql.github.io/graphql-spec/June2018/#sec-Language
+ GraphQL Syntax
+
+
+
+
+ GraphQL Queries
+ GraphQL Schemas
+ Q
+ https://graphql.github.io/graphql-spec/queries
+
+ GraphQL Queries
+
+
+
+ GraphQL Schemas
+ GraphQL Schemas
+ S
+ https://graphql.github.io/graphql-spec/schemas
+
+ GraphQL Schemas
+
+
+
+ Java 8
+ Java 8
+ java
+ https://jcp.org/en/jsr/detail?id=337
+ v8
+ Java 8
+
+
+
+ Mustache
+ Mustache Templating Language
+ mustache
+ http://mustache.github.io
+ v1
+ Mustache
+
+
+
+ Parsing Level
+ Language Parsing Level
+ vertical
+ https://www.omg.org/spec/API4KP/api4kp/
+ Parsing Level
+
+
+
+ Natural Language
+ Natural Language (ISO 639-1 Standard)
+ langs
+ https://www.omg.org/spec/LCC/Languages/ISO639-1-LanguageCodes/
+ Natural Language
+
+
+
+ Knowledge Asset Category
+ Knowledge Asset Category
+ asset-cat
+ https://www.omg.org/spec/API4KP/api4kp/
+ Knowledge Asset Category
+
+
+
+ Knowledge Asset Type
+ Knowledge Asset Type
+ asset-type
+ https://www.omg.org/spec/API4KP/api4kp/
+ Knowledge Asset Type
+
+
+
+ KRR Technique
+ Knowledge Reasoning Technique
+ krtech
+ https://www.omg.org/spec/API4KP/api4kp/
+ KRR Technique
+
+
+
+ KRR Language Role
+ Knowledge Representation and Reasoning Language Role
+ lang-rol
+ https://www.omg.org/spec/API4KP/api4kp/
+ KRR Language Role
+
+
+
+ Asset Relationships - Citations
+ Knowledge Asset Relationships - Citations
+ cito
+ https://www.omg.org/spec/API4KP/api4kp/
+ Asset Relationships - Citations
+
+
+
+ Asset Relationships - Dependencies
+ Knowledge Asset Relationships - Dependencies
+ depend
+ https://www.omg.org/spec/API4KP/api4kp/
+ Asset Relationships - Dependencies
+
+
+
+ Asset Relationships - Derivations
+ Knowledge Asset Relationships - Derivations
+ deriv
+ https://www.omg.org/spec/API4KP/api4kp/
+ Asset Relationships - Derivations
+
+
+
+ Asset Relationships - Versions
+ Knowledge Asset Relationships - Versions
+ version
+ https://www.omg.org/spec/API4KP/api4kp/
+ Asset Relationships - Versions
+
+
+
+ Asset Relationships - Structural
+ Knowledge Asset Relationships - Structural
+ struct
+ https://www.omg.org/spec/API4KP/api4kp/
+ Asset Relationships - Structural
+
+
+
+ Asset Relationships - Summary
+ Knowledge Asset Relationships - Summary
+ summary
+ https://www.omg.org/spec/API4KP/api4kp/
+ Asset Relationships - Summary
+
+
+
+ Asset Relationships - Variants
+ Knowledge Asset Relationships - Variants
+ variant
+ https://www.omg.org/spec/API4KP/api4kp/
+ Asset Relationships - Variants
+
+
+
+ KRR MetaFormat
+ Knowledge Representation and Reasoning Serialization Format
+ krfmt
+ http://ontology.mayo.edu/KMDP/registry/
+ KRR MetaFormat
+
+
+
+ KRR Language
+ Knowledge Representation and Reasoning Language
+ krlang
+ http://ontology.mayo.edu/KMDP/registry/
+ KRR Language
+
+
+
+ KRR Profile
+ Knowledge Representation and Reasoning Language Profile
+ krprof
+ http://ontology.mayo.edu/KMDP/registry/
+ KRR Profile
+
+
+
+ KRR Serialization
+ Knowledge Representation and Reasoning Serialization
+ krser
+ http://ontology.mayo.edu/KMDP/registry/
+ KRR Serialization
+
+
+
+ KRR Lexicon
+ Knowledge Representation and Reasoning Lexicon
+ lexicon
+ http://ontology.mayo.edu/KMDP/registry/
+ KRR Lexicon
+
+
+
+
+
+ OpenAPI 2.x
+ OpenAPI / Swagger v2.x
+ openapi
+ https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md
+
+
+ v2
+ OpenAPI 2.x
+
+
+
+ OpenAPI 2 JSON Syntax
+ OpenAPI 2 JSON Syntax
+ openapi-v2+json
+ https://swagger.io/specification/#format
+ OpenAPI 2 JSON Syntax
+
+
+
+
+ OpenAPI 2 YAML Syntax
+ OpenAPI 2 YAML Syntax
+ openapi-v2+yaml
+ https://swagger.io/specification/#format
+ OpenAPI 2 YAML Syntax
+
+
+
+
+ TXT
+ text
+ https://tools.ietf.org/html/rfc1341/7
+ TXT
+
+
+
+
+
+ Common Logic
+ Common Logic
+ cl
+ https://www.iso.org/standard/66249.html
+
+
+
+ v1
+ Common Logic
+
+
+
+ CGIF
+ Conceptual Graph Interchange Format
+ cgif
+ https://www.iso.org/standard/66249.html
+ CGIF
+
+
+
+
+ CLIF
+ Common Logic Interchange Format
+ clif
+ https://www.iso.org/standard/66249.html
+ CLIF
+
+
+
+
+ RxNORM
+ RxNorm
+ rxnorm
+ RxNORM
+
+
+
+
+
+ API4KP
+ API 4 Knowledge Platform Metamodel
+ api4kp
+ https://www.omg.org/spec/API4KP/1.0/
+ v1
+ API4KP
+
+
+
+
+
+
+
+
+
+
+
+ API4KP Datatypes
+ API4KP Datatypes
+ dtt
+ https://www.omg.org/spec/API4KP/1.0/
+
+ API4KP Datatypes
+
+
+
+ API4KP Identifiers
+ API4KP Identifiers
+ id
+ https://www.omg.org/spec/API4KP/1.0/
+
+ API4KP Identifiers
+
+
+
+ API4KP Service Descriptors
+ API4KP Service Descriptors
+ api
+ https://www.omg.org/spec/API4KP/1.0/
+
+
+
+ API4KP Service Descriptors
+
+
+
+
+
+ Knowledge Asset Surrogate
+ Knowledge Asset Surrogate Metamodel
+ surr
+ https://www.omg.org/spec/API4KP/1.0/
+
+
+ v1
+ Knowledge Asset Surrogate
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Knowledge Asset Surrogate 2.0
+ Knowledge Asset Surrogate Metamodel 2.0
+ surr
+ https://www.omg.org/spec/API4KP/1.0/
+
+ v2
+ Knowledge Asset Surrogate 2.0
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Knowledge Asset Surrogate Annotations
+ Knowledge Asset Surrogate Annotations
+ ann
+ https://www.omg.org/spec/API4KP/1.0/
+
+
+ Knowledge Asset Surrogate Annotations
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ BPMN
+ Business Process Modelling Notation 2.0
+ bpmn
+ https://www.omg.org/spec/BPMN/2.0/
+
+ v2
+ BPMN 2.0
+
+
+
+
+
+ CMMN 1.1
+ Case Modelling and Management Notation 1.1
+ cmmn
+ https://www.omg.org/spec/CMMN/1.1/
+
+ v11
+ CMMN 1.1
+
+
+
+
+
+ DMN 1.1
+ Decision Modelling Notation 1.1
+ dmn
+ https://www.omg.org/spec/DMN/1.1/
+
+ v11
+ DMN 1.1
+
+
+
+
+
+ FEEL 1.1
+ Friendly Enough Expression Lanaguage 1.1
+ feel
+ https://www.omg.org/spec/DMN/1.1/
+ v11
+ FEEL 1.1
+
+
+
+
+
+ DMN 1.2
+ Decision Modelling Notation 1.2
+ dmn
+ https://www.omg.org/spec/DMN/1.2/
+
+ v12
+ DMN 1.2
+
+
+
+
+
+ FEEL 1.2
+ Friendly Enough Expression Lanaguage 1.2
+ feel
+ https://www.omg.org/spec/DMN/1.2/
+ v12
+ FEEL 1.2
+
+
+
+
+
+ UML 2.5
+ Unified Modelling Language 2.5
+ uml2
+ https://www.omg.org/spec/UML/2.5/
+ v25
+ UML 2.5
+
+
+
+ UML Resource
+ UML 2 Resource Profile
+ Res
+
+ UML Resource
+
+
+
+ RDF/XML Syntax
+ RDF/XML Syntax
+ rdf/xml
+ https://www.w3.org/TR/owl2-mapping-to-rdf/
+ RDF/XML Syntax
+
+
+
+
+ RDF 1.1
+ rdf
+ https://www.w3.org/RDF/
+ RDF 1.1
+
+
+
+ OWL Functional Syntax
+ OWL Functional Syntax
+ ofn
+ https://www.w3.org/TR/2012/REC-owl2-syntax-20121211/
+ OWL Functional Syntax
+
+
+
+
+ HTML
+ HTML 5
+ html
+ https://www.w3.org/TR/html5/
+ v52
+ HTML
+
+
+
+ OWL Manchester Syntax
+ OWL Manchester Syntax
+ ms
+ https://www.w3.org/TR/owl2-manchester-syntax/
+ OWL Manchester Syntax
+
+
+
+
+
+
+ SPARQL 1.1
+ SPARQL Protocol and RDF Query Language
+ sparql
+ https://www.w3.org/TR/2013/REC-sparql11-query-20130321/
+
+ v11
+ SPARQL 1.1
+
+
+
+ SPARQL Syntax
+ SPARQL Syntax
+ sparql-query
+ https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#grammar
+ SPARQL Syntax
+
+
+
+
+ Turtle
+ Terse RDF Triple Language
+ ttl
+ https://www.w3.org/TR/turtle/
+ Turtle
+
+
+
+
+ XHTML
+ X-HTML
+ xhtml
+ https://www.w3.org/TR/xhtml1/
+ v1
+ XHTML
+
+
+
+
+
+ XSD 1.1
+ XML Schema Definition Language 1.1
+ xsd
+ https://www.w3.org/TR/xmlschema11-1/
+
+ v11
+ XSD 1.1
+
+
+
+
+
+ XSLT 3.0
+ Extensible Stylesheet Transformation 3.0
+ xslt
+ https://www.w3.org/TR/2017/REC-xslt-30-20170608/
+ v3
+ XSLT 3.0
+
+
+
+ XCL
+ Common Logic XML Syntax
+ xcl/xml
+ https://www.iso.org/standard/66249.html
+ XCL
+
+
+
+
+ CQL/ELM XML Syntax
+ CQL/ELM 1.2 XML Syntax
+ cql+xml
+ https://cql.hl7.org/elm.html
+ CQL-ELM XML Syntax
+
+
+
+
+ KNART XML Syntax
+ KNART 1.3 XML Syntax
+ knart+xml
+ https://www.hl7.org/implement/standards/product_brief.cfm?product_id=337
+ KNART XML Syntax
+
+
+
+
\ No newline at end of file
diff --git a/ontologies/API4KP/v20210201/api4kp-kao.rdf b/ontologies/API4KP/v20210201/api4kp-kao.rdf
new file mode 100644
index 0000000..7823103
--- /dev/null
+++ b/ontologies/API4KP/v20210201/api4kp-kao.rdf
@@ -0,0 +1,195 @@
+
+
+
+
+
+
+
+
+
+
+
+
+]>
+
+
+
+ API4KP Knowledge Asset Type Ontology
+ This ontology provides a classification scheme for Knowledge Assets based on the logical and mathematical constructs that would be used in the formalization of the Assets themselves. The classification, in turn, determines (i) what (knowledge representation) languages are suitable to express the Assets, and (ii) the kind of reasoning activities that can be performed using the Assets.
+ Elisa Kendall (ekendall at thematix.com)
+ Davide Sottara (sottara.davide at mayo.edu)
+ http://opensource.org/licenses/MIT
+ https://www.w3.org/TR/owl2-quick-reference/
+ Copyright (c) 2014-2021 Athan Services
+ Copyright (c) 2014-2021 Fraunhofer Gesellschaft
+ Copyright (c) 2014-2021 Freie Universität Berlin
+ Copyright (c) 2014-2021 Mayo Foundation for Medical Education and Research (MFMER)
+ Copyright (c) 2014-2021 Thematix Partners LLC
+ Copyright (c) 2015-2021 Object Management Group, Inc.
+ Copyright (c) 2019-2021 Universität Leipzig
+ Copyright (c) 2020-2021 Micro Focus
+ https://www.omg.org/spec/API4KP/api4kp/
+ https://www.omg.org/spec/DOL/
+ https://www.omg.org/spec/LCC/
+ api4kp-kao
+ api4kp-kao.rdf
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ component knowledge asset
+ knowledge asset that is proper part of some other (composite) knowledge asset
+ A component asset is likely to play more specific roles based on its function and the type of the composite.
+
+
+
+
+
+
+
+
+
+
+
+ composite knowledge asset
+ knowledge asset that has other knowledge assets as proper parts
+ Note that any composite and its components are considered distinct individuals (i.e., they may be uniquely identified).
+
+
+
+
+ computational technique
+
+ technique used in some knowledge processing task specification that can be faithfully expressed in some machine-computable language
+
+
+
+
+ imperative asset
+ knowledge asset that reflects 'social', 'behavioral' knowledge using 'action', 'deontic' and 'constraint' oriented constructs
+ Assets in this category are typically expressed using "business" or "production" rule languages. They describe or specify how to guide an agent's actions to prevent undesirable behaviors in favor of more desirable ones - especially when responsibility, accountability and/or liability are involved. Guidelines, policies, and business rules, which all fall under this classification, are often specified in terms of modal logic, such as deontic logic.
+ Imperative knowledge can be used to drive - or at least constrain - an agent's behavior at a particular point in time.
+ Assets in this category may depend on inferential knowledge and, indirectly, on semantic and data assets. In fact, it is quite common for a business rule language to be, or delegate to, an inferential rule language. Assets in this category affect, but are not themselves, process knowledge, and often have counterparts that are metric assets.
+
+
+
+
+ inference asset
+ knowledge asset that uses 'implication' and/or 'equivalence' to draw 'necessary' or 'contingent' conclusions based on the evaluation of 'functions' that leverage operations that may be 'qualitiative' or 'quantitative', and may involve 'confidence', 'certainty' and/or 'probability'.
+ An agent can use inferential knowledge to assess or predict the past, current, or future state of a variable, quality or other characteristic of a system which may not be directly observable/measurable, but can be estimated on the basis of other more primitive pieces of data.
+ Assets of this kind, including assessment, predictive, and inferential models, are often formalized using first order and/or probabilistic logic with evaluated functions. Reasoning driven by inferential assets is functional, stateless and idempotent; inferential assets are better expressed using expression languages, mathematical/statistical languages, or (sub-languages of) logic languages that focus on logical implications.
+ Inferential assets may depend on semantic knowledge assets as background knowledge, and be a dependency/component of rule, process and measure assets, as well as composed (recursively) with other inferential assets.
+
+
+
+
+ information asset
+ knowledge asset used by agents to acquire, represent, organize, exchange, store, retrieve and distribute data, about some domain of interest, using structured formats
+ Assets in this category, including information capture, exchange and retrieval models, are expressed using 'modeling' languages, query languages, schema (definition) languages. They are often formalized using frame logic. Assets that leverage constructs such as 'frame', 'slot', 'datatypes', 'variables', as well as constraint-related constructs fall under this classification.
+ From an ISO11179-3 perspective, information assets are the counterparts of semantic assets, where the former are 'models of representation' and the latter are 'models of meaning'.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ interactive technique
+ technique that involves interactions between people and computational devices, with at least one person and one device influencing or having an effect on the other
+
+
+
+
+ metric asset
+ knowledge asset, such as a performance indicator, measurement, or metric, that leverages constructs such as 'distance', 'similarity' and 'aggregation' and, indirectly, 'classification' and 'filtering' to map (sub)sets of entities to quantitative, summary 'features'
+ Assets of this category are expressed using langauges designed for analytics, which combine aspects of query and functional expression languages with optimized support for 'map/reduce' style evaluations. They specify how certain features (qualitative and/or quantitative) of a system can be observed, quantified, aggregated, compared to a baseline and objective values and ultimately used to evaluate the performance of (parts of) that system and its processes.
+ Assets of this kind are counterparts of rules and processes, and enable establishment of conformance, impact, effectiveness and efficiency. measure-related assets. They build on inferential assets to provide, for example, inclusion/exclusion criteria, as well as to extract the quantitative features that may be aggregated by the measure.
+
+
+
+
+ natural language processing technique
+ computational technique typically involving rule-based and/or statistical inference (machine learning) applied to expressions in natural language, including, but not limited to speech recognition, natural language understanding, and natural-language generation
+ Natural language processing (NLP) is a subfield of linguistics, computer science, information engineering, and artificial intelligence concerned with the interactions between computers and human (natural) languages, in particular how to program computers to process and analyze large amounts of natural language data.
+
+
+
+
+ natural technique
+ technique that requires involvement of a person
+ A natural technique is one that requires some aspect of human-nature, or creativity, spontaneity, ingenuity, or other complex intellectual reasoning, such that a computational engine is incapable of accomplishing a similar task using this technique.
+
+
+
+
+ process asset
+ knowledge asset, such as a plan, process, pathway, or protocol, that uses 'temporal' and 'state' constructs, and possibly 'action' and 'goal' related constructs, involving 'planning', 'scheduling' and 'interaction' patterns.
+ Assets in this category are typically expressed using "process" and "worfklow" languages. They involve knowledge that applies over spans of time, and thus requires agents to maintain some form of state. on top of driving actions directly, the knowledge can be use for analytics, scheduling and simulation tasks. They are often formalized using temporal and transactional logics.
+ Processes can be associated with goals and measures; rules can, at specific points in time, influence the evolution of a process from that point forward.
+
+
+
+
+ qualitative technique
+ computational technique that is largely holistic, logic-based, symbolic, and/or non-statistical in nature, that uses qualitative characteristics in analyses
+
+
+
+
+ quantitative technique
+ computational technique that is grounded in mathematical, statistical and/or other numerical principles
+
+
+
+
+ query technique
+ technique that involves question answering and/or requesting another agent to perform some aspect of a task, from which some result can be obtained
+
+
+
+
+ semiotic asset
+ knowledge asset that uses semiotic constructs, i.e., whose constructs support the conceptualization of the relationships between signs and symbols, (intensional) concepts, and their (extensional) referents
+ Constructs of this kind include 'class/type', 'membership/instantiation', 'denotation', 'subsumption (specialization)', 'parthood', 'relatedness'. They may be used for consistency checking, (necessary) inference, classification/recognition, question answering, and other reasoning tasks. They are typically expressed using declarative 'ontology' languages, such as description logics, or more general (first order) logic languages.
+ Assets in this category may depend on inferential assets to provide definitions, and may provide formal grounding for any asset with respect to some domain or area of interest.
+
+
+
+
+ technique
+ knowledge about a way of carrying out a particular task, especially the execution or performance of an artistic work or a scientific procedure
+
+
+
\ No newline at end of file
diff --git a/ontologies/API4KP/v20210201/api4kp-kp.rdf b/ontologies/API4KP/v20210201/api4kp-kp.rdf
new file mode 100644
index 0000000..16fe863
--- /dev/null
+++ b/ontologies/API4KP/v20210201/api4kp-kp.rdf
@@ -0,0 +1,222 @@
+
+
+
+
+
+
+
+
+
+
+
+
+]>
+
+
+
+ API4KP Ontology of Knowledge Platforms
+ This ontology formalizes the notion of a Knowledge Platform.
+ Elisa Kendall (ekendall at thematix.com)
+ Davide Sottara (sottara.davide at mayo.edu)
+ http://opensource.org/licenses/MIT
+ https://www.w3.org/TR/owl2-quick-reference/
+ Copyright (c) 2014-2021 Athan Services
+ Copyright (c) 2014-2021 Fraunhofer Gesellschaft
+ Copyright (c) 2014-2021 Freie Universität Berlin
+ Copyright (c) 2014-2021 Mayo Foundation for Medical Education and Research (MFMER)
+ Copyright (c) 2014-2021 Thematix Partners LLC
+ Copyright (c) 2015-2021 Object Management Group, Inc.
+ Copyright (c) 2019-2021 Universität Leipzig
+ Copyright (c) 2020-2021 Micro Focus
+ https://www.omg.org/spec/API4KP/api4kp/
+ https://www.omg.org/spec/DOL/
+ https://www.omg.org/spec/LCC/
+ api4kp-kp
+ api4kp-kp.rdf
+
+
+
+
+
+
+
+
+
+ algorithm
+ finite sequence of well-defined, computer-implementable instructions, typically to solve a class of problems or to perform a computation
+
+
+
+
+ computer program
+ the expression of an algorithm in some programming language
+
+
+
+
+
+
+
+
+
+ computing environment
+ combination of general purpose hardware and software designed to interpret programs that drive the execution of information processing tasks
+ includes physical and virtual machines, operating systems, containers and other computing platform/infrastructure components
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ deployed software
+ deployed software module
+ the result of installing a particular software application or agent into some computing environment
+
+
+
+
+ description logic reasoner
+ reasoner optimized for logic based classification, subsumption and query answering tasks that conforms to one or more description logic(s)
+
+
+
+
+ knowledge based execution
+ software execution that uses and/or generates some knowledge artfact
+
+
+
+
+ knowledge platform
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ computing environment designed to host reasoners, and consume knowledge artifacts
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ knowledge platform module
+ deployed software component that is part of a knowledge platform and performs knowledge-based tasks
+
+
+
+
+ process engine
+ reasoner that supports stateful, temporal reasoning centered on tasks, roles and events
+
+
+
+
+ production rule engine
+ rule engine optimized for production (condition-action) rules
+
+
+
+
+ reasoner
+ software that has the capability of performing reasoning operations
+ reasoning engine
+
+
+
+
+ rule engine
+ reasoner that supports inferences performed on rule bases
+
+
+
+
+ server
+ deployed software that can perform computations as a service, on a client's request
+
+
+
+
+ software
+ distributable application or library that carries a computer program
+
+
+
+
+ software execution
+ The process by which a (virtual) machine interpretes and executes the instructions that are fragments of a computer program.
+ software run
+ at a minimum, a software execution is a knowledge processing activity in the sense that the computing machine follows the "plan" stated by the computer program
+
+
+
+ hosts
+
+
+ relationship between an execution environment, and a software component that has been launched and/or deployed in that environment
+
+
+
+ is deployment of
+
+
+ relationship between a a software component that has been launched and/or deployed in some environment and its basic form
+
+
+
\ No newline at end of file
diff --git a/ontologies/API4KP/v20210201/api4kp-krr.rdf b/ontologies/API4KP/v20210201/api4kp-krr.rdf
new file mode 100644
index 0000000..a46bc0f
--- /dev/null
+++ b/ontologies/API4KP/v20210201/api4kp-krr.rdf
@@ -0,0 +1,421 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+]>
+
+
+
+ API4KP Knowledge Representation and Reasoning Terminology Ontology
+ This ontology covers the primary knowledge representation and reasoning (KRR) terminology used for describing the concepts used by the API4KP specification.
+ Elisa Kendall (ekendall at thematix.com)
+ Davide Sottara (sottara.davide at mayo.edu)
+ http://opensource.org/licenses/MIT
+ https://www.w3.org/TR/owl2-quick-reference/
+ Copyright (c) 2014-2021 Athan Services
+ Copyright (c) 2014-2021 Fraunhofer Gesellschaft
+ Copyright (c) 2014-2021 Freie Universität Berlin
+ Copyright (c) 2014-2021 Mayo Foundation for Medical Education and Research (MFMER)
+ Copyright (c) 2014-2021 Thematix Partners LLC
+ Copyright (c) 2015-2021 Object Management Group, Inc.
+ Copyright (c) 2019-2021 Universität Leipzig
+ Copyright (c) 2020-2021 Micro Focus
+ https://www.omg.org/spec/API4KP/api4kp-lang/
+ https://www.omg.org/spec/API4KP/api4kp-series/
+ https://www.omg.org/spec/API4KP/api4kp/
+ https://www.omg.org/spec/DOL/
+ https://www.omg.org/spec/LCC/
+ api4pk-krr
+ api4kp-krr.rdf
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 1
+
+
+ basic environment
+ focused environment having exactly one member
+
+
+
+
+ basic machine-readable knowledge resource
+
+
+
+
+
+
+
+
+
+ 0
+
+
+
+
+ unstructured (KRR) knowledge resource
+ unstructured native machine-readable knowledge resource
+ KE1: the instance of the OWL 2 DL abstract syntax for the latest version of a biomedical ontology from an ontology series KA1 defining observable entities, such as the 2015 international version of the SNOMED-CT knowledge base\footnote{http://browser.ihtsdotools.org/} (see also the definition of Basic Knowledge Asset).
+This ontology differs from other versions of the series only in the natural language definitions.
+ well-formed, stand-alone formula in the abstract syntax of a machine-readable language
+ The use of "basic" in API4KP differs from its usage in DOL - a DOL basic OMS (ontologies, models and specifications) is a set, and corresponds to a Set-structured piece of knowledge in API4KP.
+
+
+
+
+ categorical environment
+ environment with an associative composition operation for mappings, that is closed under composition and contains an identity mapping for every member
+
+
+
+
+ composable environment
+ an environment having a composition operation where the composition of its mappings is a mapping of the environment whenever the composition is well-defined
+ The composition M2 o M1 of two mappings M1 and M2 is well-defined when M1 maps to the same thing that M2 maps from. (The codomain of M1 is the domain of M2).
+
+
+
+
+
+
+
+
+
+
+ composite computable knowledge resource
+ collection of machine readable knowledge resources, which are not necessarily in the same language and may themselves have structure.
+ KE2: a heterogeneous collection of streaming data and RDF graphs, together with static OWL ontologies and CL texts, and ECA rules describing actions of a CDS
+ KE3: the OWL 2 DL ontology series KA1, viewed as a collection of expressions rather than an equivalence class
+
+
+
+
+ computational complexity class
+ https://complexityzoo.uwaterloo.ca/Complexity_Zoo
+ https://en.wikipedia.org/wiki/List_of_complexity_classes
+ abstraction that relates the size of a problem to the amount of resources (space and time) needed to solve the problem using a given algorithm
+
+
+
+
+
+
+
+ 0
+
+
+ empty environment
+
+ environment with no members or mappings
+
+
+
+
+ environment
+ mathematical structure of mappings and members, where the domain and codomains of the mappings are members of the environment
+ a KRR language environment containing semantics-preserving translations from RDF and OWL into CL, assisting in the integrated interpretation of a stream of RDF graphs and OWL ontologies
+
+
+
+
+ environment with identity
+ composable environment having an identity mapping for each member
+ an identity mapping is a mapping whose domain and codomain are the same, and when composed with another mapping is equal to the original mapping
+
+
+
+
+ focused environment
+ non-empty environment which has a member F (called the focus or focus member) such that for every other member A, there is a mapping in the environment from A to F
+
+
+
+
+ heterogeneous computable knowledge resource
+
+
+
+
+
+
+
+
+
+
+ heterogeneous knowledge resource that uses a machine readable language as primary language
+
+
+
+ heterogeneous knowledge resource
+
+
+
+
+
+
+
+
+ 2
+
+
+
+
+ knowledge resource expressed by means of 2 or more languages
+
+
+
+
+
+
+
+
+
+
+ hybrid knowledge base
+ knowledge base composed by multiple parts that have different computational semantics and pragmatics, and thus are likely based on different logics
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ hybrid knowledge environment
+ categorical, preserving language environment where multiple KRR languages, and mappings thereof, are supported
+
+
+
+
+
+ immutable knowledgebase
+ knowledge base that cannot be changed
+ An KB can be immutable by nature. Otherwise, any snapshot of a KB at a given point in time (including the time of its creation) is considered immutable.
+
+
+
+
+ knowledge base
+ work of knowledge designed to support reasoning activities
+ A knowledge base is formed by one or more pieces of knowledge, related in different way, such that each piece plays some kind of role.
+
+
+
+
+
+
+
+
+
+
+ language environment
+ environment whose members are languages
+
+
+
+
+
+
+
+
+
+
+ machine-readable knowledge resource
+ set of expressions in one or more machine readable languages, in the context of a logical environment that determines how these expressions are jointly interpreted.
+ Example A: OWL Ground fact expressing that Socrates is a philosopher.
+ Example B: Common Logic sentence expressing that Socrates is a philosopher.
+ Example C: RDF graph expressing that the author of Moby Dick is Herman Melville.
+ Example D: SPARQL query for the names of philosphers.
+ Example E: A and B, together with a mapping that allows OWL to be converted to Common Logic.
+
+
+
+
+ mutable knowledge base
+ knowledge base that evolves over time as structuring operations are applied to it, 'in place'
+
+
+
+ native computable knowledge resource
+
+
+
+
+
+
+
+
+
+
+ 1
+
+
+
+
+ computable knowledge resource that uses exactly 1 language that is a machine readable language
+
+
+
+ native knowledge resource
+
+
+
+
+
+
+
+
+ 1
+
+
+
+
+ knowledge resource that uses exactly one language
+
+
+
+
+
+
+
+
+
+
+ non-empty environment
+ environment with at least one member and one mapping
+
+
+
+
+
+
+
+ pivotal knowledge environment
+ focused, categorical, preserving language environment where the focus is a KRR language
+ The special case where all languages in an knowledge environment are KRR languages supporting model-theoretic semantics without side-effects (logics), and the preserving property is characterized by a logical graph reduces to a heterogeneous logical environment as defined in DOL.
+
+
+
+
+ preserving environment
+ environment where every mapping preserves a specified property
+
+
+
+ all preserve
+
+ contains only mappings that preserve
+
+
+
+ has environment mapping
+
+
+ contains mapping
+
+
+
+
+ has environment member
+
+ contains member
+
+
+
+
+ has focus member
+ is the sole member of
+
+
+
+
+ has sub-environment
+
+ has a closed subset of members and mappings that make up an environment
+
+
+
+ according to
+
+ relationship between a collection and an environment whereby the results of application of a mapping of the environment to a member of the collection are also members of the environment
+
+
+
+ is environment mapping of
+ is mapping member of
+
+
+
+
+ is sub-environment of
+
+
+ contains a subset of members and mappings with respect to the target environment that is a partial order, where the language and logic graphs of the source enviroment are subgraphs, respectively, of the language and logic graphs of the target environment
+
+
+
+ preserves
+
+
+
+
+
+
+
+ when applied, ensures that a property of the source entity is also a property of the target entity
+
+
+
+ Example: my copy in my Download folder of the encoding in UTF-8 of the serialization in Manchester syntax of an OWL ontology.
+
+
+
\ No newline at end of file
diff --git a/ontologies/API4KP/v20210201/api4kp-lang.rdf b/ontologies/API4KP/v20210201/api4kp-lang.rdf
new file mode 100644
index 0000000..7b925d8
--- /dev/null
+++ b/ontologies/API4KP/v20210201/api4kp-lang.rdf
@@ -0,0 +1,812 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+]>
+
+
+
+ API4KP Ontology of Languages
+ This ontology focuses on the definition of languages and grammars relevant to API4KP, including but not limited to natural languages.
+ Elisa Kendall (ekendall at thematix.com)
+ Davide Sottara (sottara.davide at mayo.edu)
+ http://opensource.org/licenses/MIT
+ https://www.w3.org/TR/owl2-quick-reference/
+ Copyright (c) 2014-2021 Athan Services
+ Copyright (c) 2014-2021 Fraunhofer Gesellschaft
+ Copyright (c) 2014-2021 Freie Universität Berlin
+ Copyright (c) 2014-2021 Mayo Foundation for Medical Education and Research (MFMER)
+ Copyright (c) 2014-2021 Thematix Partners LLC
+ Copyright (c) 2015-2021 Object Management Group, Inc.
+ Copyright (c) 2019-2021 Universität Leipzig
+ Copyright (c) 2020-2021 Micro Focus
+ https://www.omg.org/spec/API4KP/api4kp-series/
+ https://www.omg.org/spec/API4KP/api4kp/
+ https://www.omg.org/spec/DOL/
+ https://www.omg.org/spec/LCC/
+ api4kp-lang
+ api4kp-lang.rdf
+
+
+
+
+
+
+
+
+
+
+ formal language
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ TODO: In DOL, signatures are defined as 'set of symbols', but are treated as 'mathematical' rather than 'linguistic' entities (i.e. concepts vs terms).
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ if a resource uses a language, it is possible to extract an expression from that resource that is a valid according to that language's grammar, and can be parsed into an abstract syntax tree
+
+
+
+
+
+
+
+
+
+
+
+ abstract semantic graph
+ ASG
+ graph-based parsing structure that formalizes an expression based on the semantics of its information content
+ ASGs are the expressions that are closest to a knowledge asset, which otherwise cannot be shared without involving some language
+
+
+
+
+ abstract syntax
+ https://www.omg.org/spec/ASTM/About-ASTM/
+
+ a formal grammar that includes some and only rules that have a direct impact on the semantics of the conformant sentences
+ In computer science, abstract syntaxes are used to construct Parsers
+ DOL's 'abstract syntax' is an alias of api4kp's machine-interpretable language, i.e. a language that is specified by some expression of an abstract syntax in the api4kp's sense
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ abstract syntax tree
+ AST
+ tree-based parsing structure that formalizes an expression according to the rules of an abstract syntax
+
+
+
+
+
+ alphabet
+ set of graphemes used to construct symbols, terms and sentences in a language
+ not limited to written languages - in fact, includes musical alphabets and pictorial alphabets
+
+
+
+
+
+ annotation language
+ formal language dedicated to the expression of annotation
+
+
+
+
+
+
+
+
+
+
+ binary stream
+ sequence of symbols such that the only symbols are '0' and '1'
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ concrete syntax tree
+ parse tree
+ tree-based parsing structure that formalizes a concrete expression according to the rules of a concrete syntax
+
+
+
+
+
+
+
+
+
+
+ constructed language
+ constructed languages are the product of explcit design, rather than natural evolution
+
+
+
+
+ controlled natural language
+ constructed language that approximates some natural language while reducing and/or eliminating complexities and ambiguities
+
+
+
+
+ dedicated language
+ formal language designed to have language aspects used to express specific kinds of knowledge assets
+
+
+
+
+ descriptive grammar
+ https://en.wikipedia.org/wiki/Linguistic_description
+ grammar that describes how a language is actually used
+
+
+
+
+ descriptive markup language
+ markup language used to (re)assert the semantics of sentences in the embedded language
+
+
+
+
+ encoding
+ system for the encoding elements of an alphabet using a second alphabet
+ a ZIP compression
+ the ASCII encoding of basic western alphabet characters using 7 bit binary symbols
+ the trivial encoding that preserves the original symbols
+
+
+
+
+
+ expression language
+ formal language designed to express functions
+ several machine executable languages either have or embed a sub-language that is an expression language
+
+
+
+
+
+
+
+
+
+
+
+ formal grammar
+ generative grammar
+ prescriptive grammar that consists in a collection of (production) rules that define, intensionally, all and only the possible sentences of a language
+ one may distinguish between formal grammar - grammars that allow to recognize if a sentence is part of the language - and generative grammars - grammars with rules that allow to construct new sentences
+
+
+
+
+ grammar
+ set of rules and constraints that allow to recognize and/or construct the valid sentences of a language
+
+
+
+
+
+
+
+
+
+
+ grammar specification
+
+
+
+
+
+
+
+
+
+
+
+
+ specification of a grammar, itself expressed in some (meta)language
+ The Java 1.8 grammar, expressed using the ANTLRv4 metalanguage, available at https://github.com/antlr/grammars-v4/tree/master/java/java8
+ Syntaxes are 'reconstructed' from natural languages, but 'designed' in the case of constructed languages
+
+
+
+
+ island grammar
+ grammar that is proper part of another grammar
+ island grammars define languages embedded in other languages
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ knowledge representation and reasoning language
+ machine executable language used in knowledge expressions, to express works of knowledge
+ Prolog
+
+
+
+
+
+
+
+
+
+
+ language schema
+ grammar specification that is expressed using a schema language
+ The schema of the "Decision Modeling and Notation Language v1.2", available at https://www.omg.org/spec/DMN/20180521/DMN12.xsd, expressed using the XML Schema Definition Language
+
+
+
+
+ lexical entry
+
+ unit of analysis of a lexicon that consists of a set of forms that are grammatically related and a set of base meanings that are associated with all of these forms
+ A lexical entry is a word, multiword expression or affix with a single part-of-speech, morphological pattern, etymology and set of senses.
+
+
+
+
+
+ lexicon
+ https://en.wikipedia.org/wiki/Lexicon
+
+
+
+
+
+
+
+
+
+
+
+
+ complete set of the meaningful atomic signs that are or can be used in a language
+ TODO: In DOL, signatures are 'set of symbols', but are treated as 'mathematical' rather than 'linguistic' entities (i.e. concepts vs terms).
+
+
+
+
+ machine-executable language
+ machine-readable language equipped with semantics that allows to drive the behavior of a software agent
+ (expressions in) languages of this kind can be interpreted or compiled into the native language of the underlying machine - virtual or physical
+
+
+
+ machine-readable language
+
+
+
+
+
+
+
+
+
+
+
+
+ formal language that has a concrete syntax which allows a software agent to parse and serialize expressions in that language
+
+
+
+
+
+
+
+
+
+
+ markup language
+ https://www.merriam-webster.com/dictionary/markup%20language
+ machine-readable language that embeds another language, impacting the processing but not the semantics of that language
+
+
+
+
+ metaformat
+ https://www.w3.org/standards/webarch/metaformats
+ a concrete syntax that consists primarily of structural rules
+
+
+
+
+ meta-format serializable language
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ machine readable, serializable language that has at least one concrete syntax that is based on a meta-format
+ any language that supports an XML based serialization, such as BPMN or RuleML
+
+
+
+
+ meta-syntax
+ https://en.wikipedia.org/wiki/Metasyntax
+ formal grammar used to define languages that are used in the expression of formal grammars
+ The ANTLR meta-grammar
+ The Backus Naur Form
+
+
+
+
+
+ ontology language
+ formal language dedicated to the expression of ontologies and assertional knowledge bases
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ parsing structure
+ https://www.omg.org/spec/ASTM/
+ an internal representation that formalizes an agent's perception of the structure of some expression, according to the rules of some grammar
+ parsing structures are the (intermediary) product of lifting operations
+ being mainly used for internal computation, parsing structures themselves are most often ASGs whose edges and nodes represent the structure of the target expression according to the grammatical rules. Nevertheless, parsing structures themselves could be materialized using an appropriate meta-language
+
+
+
+
+ prescriptive grammar
+ https://en.wikipedia.org/wiki/Linguistic_prescription
+ grammar that specificies how a language should be used correctly
+
+
+
+
+ presentational markup language
+ markup language that drives the manifestation of expressions in the embedded language
+
+
+
+
+ procedural markup language
+ markup language that is imperative in nature
+
+
+
+
+
+ programming language
+ formal, executable language used in the specification of information processing tasks
+ from a knowledge representation perspective, programming languages are designed to express algorithms
+ programming languages are usually imperative
+
+
+
+
+
+ rule language
+ formal language dedicated to the expression of rules, norms and policies
+ rule languages can be further categorized depending on the nature of the rules they can express (e.g. production, vs inference, vs deontic, etc...)
+
+
+
+
+
+ schema language
+ formal language used in the specification of (formal) grammars, schemas and metamodels
+ the term is broader than the common denotation of '(XML) schema language'
+
+
+
+
+
+
+
+
+
+
+ serialization
+ concrete syntax
+ formal grammar that includes at least one rule that impacts the structural aspects of the conformant sentences, but not the semantics
+ In computer science, abstract syntaxes are used to construct Parsers and Lexers
+
+
+
+
+ structural markup language
+ markup language used to define the structure of expressions in the embedded language, making them decomposable
+
+
+
+
+ symbol sequence
+ sequence of symbols reconstructed from the inscriptions on an artifact
+
+
+
+
+
+
+
+
+
+
+ token sequence
+ sequence of characters that can be segmented into atomic groups with recognizable type, function and/or interpretation (lexemes or tokens)
+
+
+
+ concretizes
+
+
+ provides the rules to serialize ASTs of a given language into forms that can be engraved on carrier artifacts
+
+
+
+ embeds language
+
+
+ allows expressions in the target language to be part of expressions in this language
+
+
+
+
+ has delegate sublanguage
+ has a sublanguage that supports aspects that would not otherwise be supported by this language
+
+
+
+ has grammar
+
+
+ has an extension set of valid sentences that is defined by the rule of the target grammar
+
+
+
+
+ has sublanguage
+
+
+ has a grammar with an identifiable, closed subset of rules that define the target sub-language
+
+
+
+ has wordstock
+
+
+ has a set of linguistic elements that can be formed into valid sentences of the language according to the language's grammar
+
+
+
+ serializes
+
+
+ provides syntactical rules to manifest sentences of the target language in forms that can be engraved on a carrier
+
+
+
+
+ supports syntax
+
+
+ can be formalized according to the rules of the target abstract syntax
+ it is quite rare, but not impossible, for a language to have two distinct but isomorphic (abstract) grammars
+ if a language L supports a syntax S, and S is concretized by a concrete syntax C, then L supports serialization C
+
+
+
+
+ syntactically conforms
+
+ follows the rules of, and thus is valid according to, some grammar
+
+
+
+
+ uses alphabet
+
+ uses character set
+ contains symbols drawn from a given alphabet
+
+
+
+
+ uses as annotation language
+
+
+ contains expression fragments that are annotations, and use an annotation language as primary language
+
+
+
+
+ uses encoding
+
+ contains symbols encoded using a given encoding scheme
+
+
+
+
+ uses format
+ uses a serialization that depends on the target meta-format
+
+
+
+
+ uses lexicon
+
+
+
+
+
+
+
+ uses terms that are defined (linguistically and semantically) in the target lexicon
+
+
+
+
+ uses as primary language
+
+
+ is or contains an expression that, when parsed, results in a (forest of) AST, and (at least one of) the AST is structured according to the syntax of the target language
+ the primary language of an expression E can be a named language L, or a refinement/extension of a named language that embeds some other language S, in which case E uses S as a sub-language
+
+
+
+
+ uses profile
+ is or contains an expression that is valid according to the rules of a given language profile
+
+
+
+
+ uses serialization
+ is or contains a concrete expression that is concretized according to the rules of a given concrete syntax
+ if a resource uses a serialization of a given language, that resource must be consistent with using that language
+
+
+
+
+ uses as sub-language
+
+
+ contains an expression in the target language that is proper part of an expression in a different language
+ If a language L embeds another language S, every expression in L can potentially contain fragments in S (e.g. DMN vs FEEL). In other words, if an expression in L embeds a fragment in S, there exist at least one expression in L that uses S as a sub-language.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Contemporary Italian, as of 2017, as established by the Italian 'Accademia della Crusca'
+ The 2nd officially released version of the Ontology Web Language
+ The extension of a language is the class of sentences that is defined by the grammar of the language, using the supported lexicon/a
+ in API4KP languages are knowledge, to the extent that they can be learned and used by agents
+
+
+
\ No newline at end of file
diff --git a/ontologies/API4KP/v20210201/api4kp-ops.rdf b/ontologies/API4KP/v20210201/api4kp-ops.rdf
new file mode 100644
index 0000000..2ef28c7
--- /dev/null
+++ b/ontologies/API4KP/v20210201/api4kp-ops.rdf
@@ -0,0 +1,2365 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+]>
+
+
+
+ Ontology of API4KP Operations
+ This ontology focuses on the definition of operations used by API4KP, including but not limited to access and transformation services.
+ Elisa Kendall (ekendall at thematix.com)
+ Davide Sottara (sottara.davide at mayo.edu)
+ http://opensource.org/licenses/MIT
+ https://www.w3.org/TR/owl2-quick-reference/
+ Copyright (c) 2014-2021 Athan Services
+ Copyright (c) 2014-2021 Fraunhofer Gesellschaft
+ Copyright (c) 2014-2021 Freie Universität Berlin
+ Copyright (c) 2014-2021 Mayo Foundation for Medical Education and Research (MFMER)
+ Copyright (c) 2014-2021 Thematix Partners LLC
+ Copyright (c) 2015-2021 Object Management Group, Inc.
+ Copyright (c) 2019-2021 Universität Leipzig
+ Copyright (c) 2020-2021 Micro Focus
+ https://www.omg.org/spec/API4KP/api4kp-krr/
+ https://www.omg.org/spec/API4KP/api4kp-lang/
+ https://www.omg.org/spec/API4KP/api4kp-rel/
+ https://www.omg.org/spec/API4KP/api4kp-series/
+ https://www.omg.org/spec/API4KP/api4kp/
+ https://www.omg.org/spec/DOL/
+ https://www.omg.org/spec/LCC/
+ api4kp-ops
+ api4kp-ops.rdf
+
+
+
+
+
+
+
+
+
+
+
+
+
+ abdrigment task
+ act of paraphrasing that eliminates elements of an expression that are not essential to reconstruct its meaning
+
+
+
+
+ carving task
+ selection task involoving inclusion of fragments that evoke certain concepts
+
+
+
+
+ cherry-picking task
+ selection task whereby the concepts to be included are enumerated explicitly
+
+
+
+
+ classification task
+ reasoning task such that, given an individual and a set of concepts (classes), determines which concepts (classes) that individual is an instance (member) of
+
+
+
+
+ clear repository location task
+ repository task that ensures that no artifact is stored at a given location
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ complexity detection task
+ analytic task that detects the computational complexity (space and/or time) of a given knowledge expression
+
+
+
+
+ configuration parameter
+ role played by a value, selected from a 'region' of admissible values, that can remove a degree of freedom from the execution of a (knowledge processing) task, without changing the nature of the task
+
+
+
+
+ consistency checking task
+ https://en.wikipedia.org/wiki/Consistency
+ reasoning task that determines whether a knowledge base is inconsistent, i.e. it allows derivation of a logical contradication
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ decoding task
+ the act of recreating a concrete expression from its encoded version
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ dependency resolution task
+ knowledge resource discovery task that resolves dependency relationships between knowledge resources
+
+
+
+
+ description task
+ reasoning task that produces some description for a given individual
+
+
+
+
+ diffing task
+ analytic task that detects the differences between two knowledge expressions
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ encoding task
+ lowering task that applies an encoding to a concrete expression
+ Converting characters into sequences of bits, according to an encoding method, so that they can be written to a RAM, ROM or magnetic disk.
+
+
+
+
+ entailment check test
+ reasoning task that determines whether a given working knowledge base is entailed by a reference working knowledge base through logical consequence
+
+
+
+
+ explanation
+ role played by an expression, generated as part of the execution of a (knowledge processing) activity, that captures knowledge about the course of that activity and/or its inputs, outputs and substrate
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ expression task
+ lowering task that creates an expression in a given language (sytnax and lexicon), from the information content of a work of knowledge
+
+
+
+
+ extension task
+ injection of a resource into a second resource, which plays the role of 'extension', providing a wrapping context
+
+
+
+
+ extraction task
+ separation based on a tree-oriented deconstruction, where the resources that are part of a subtree of the underlying structure are returned
+
+
+
+
+ censoring task
+ simplification aimed at removing one or more concepts, and their transitive associations, from the input work of knowledge
+ The expression of the resulting WoK will not contain any linguistic element that evokes the redacted concepts.
+
+
+
+
+ fusion task
+ reshaping task that consists in combining two resources into a new, distinct resource
+ conceptually equivalent to structuring two or more resources by construction, then flattening the structure so obtained
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ horizontal knowledge processing task
+ syntactic processing task that consumes and produces resources at the same level of abstraction, altering the primary characteristic that is defined at level of abstraction (abstract syntax/lexicon, concrete syntax, encoding)
+ While the input I and the product O are different entities, both will refer to the same entities at the higher levels of abstraction: i.e. lift(O) sameAs lift(I), where 'lift' is the execution of any lifting vertical task
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ inference task
+ https://en.wikipedia.org/wiki/Logical_consequence
+ reasoning task that materializes the logical consequence(s) entailed by a given knowledge base
+ The inferred knowledge may be returned independently, or added to (a new version of) the input knowledge base
+
+
+
+
+ injection task
+ fusion task involving an implicit tree-oriented structure
+
+
+
+
+ input
+ role played by a resource that is used in an activity of a given type, exists before that activity is started, and is made available to the agent executing that activity by a different party
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ interpretation task
+ conceptualization task
+ act of extracting the information content expressed by a knowledge expression, by means of analyzing the AST of that expression
+
+
+
+
+ knowledge analytic task
+ task whose objective is the determination of a quality of a knowledge expression (e.g. used language, complexity, etc.)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ knowledge artifact registration task
+ knowledge asset repository task that involves the association of a knowledge artifact (and/or surrogate) with a knowledge asset, and potentially assigning some registration-specific identifier
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ knowledge artifact repository task
+ knowledge processing task focused on the storage, indexing and retrieval of specific versions of knowledge artifacts inside a repository's storage locations
+ Locations are logical entities, identified by a (location) identifier, regardless of the specific repository implementation, providing abstraction on a persistence layer.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ knowledge asset registration task
+ knowledge asset repository task that adds a knowledge asset to the repository, creating a Surrogate in the process
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ knowledge asset repository task
+ knowledge processing task focused on the indexing, storage and retrieval of knowledge assets, manifested through their carriers and/or surrogates
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ knowledge base building task
+ incremental assembly task that operates on a knowledge base, to produce a new knowledge base that incorporates some additional knowledge resource
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ knowledge base creation task
+ assembly task that initializes a working knowledge base, possibly using a knowledge resource as initial content
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ knowledge carrier retrieval task
+ retrieves a knowledge artifact that is the carrier of (a given version of) a knowledge asset, possibly choosing between variant carriers using content negotiation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ knowledge processing task
+ archetypical abstraction of a class of knowledge processing activities that are executed according to a common method, and involve resources of the same nature
+ The notion of 'task', 'activity', and 'method' is informed by the DOLCE DnS ontology.
+ A knowledge processing task abstracts and defines the role that different types of knowledge resources play in a knowledge processing activity. Such a task includes a goal, i.e. a formal description of the expected situation that is the outcome of the execution of an activity of the type defined by the task. When the outcome matches the goal - i.e. the description of the outcome is subsumed by the goal - the activity is considered to be successful. Otherwise, it is considered to be failed.
+ Knowledge processing tasks are associated with constructive definitions that are (knowledge processing) methods which specify how to execute the task. Tasks executed according to a method that has some degrees of freedom, can be configured using parameters. Execution of a task may involve the generation of an 'explanation'.
+
+
+
+
+ knowledge processing task role
+ role that is played by a resource in the context of a knowledge processing activity
+ Individual task-specific roles allow to define specific roles tailored to specific knowledge processing tasks, and those are the roles 'filled by' the individual resources involved in individual activities.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ knowledge reasoning task
+ processing task involving an agent with reasoning capabilities, that derives new information leveraging the formal semantics of a knowledge base
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ knowledge reshaping task
+ structuring task that produces a knowledge expression, operating on knowledge fragments (and concepts thereof), preserving the language(s) of the input resources in the process
+
+
+
+
+ knowledge resource aggregation task
+ task involving the construction of a set-oriented structure
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ knowledge resource assembly task
+ compositional task that constructs a composite knowledge asset given a structure and the individual components
+
+
+
+
+ knowledge resource composition task
+ construction task resulting in a tree-oriented structure
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ knowledge resource compositional task
+ task that operates on a composite knowledge resource, whose internal organization is manifested by a structuring knowledge resource
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ knowledge resource construction task
+ compositional task that creates a structuring knowledge resource that has two or more knowledge resources as referenced components
+
+
+
+
+ knowledge resource decomposition task
+ deconstruction task that is limited to operating on tree-oriented structures
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ knowledge resource deconstruction task
+ compositional task that creates a structuring knowledge resource from a single deconstructable resource, i.e. a resources that contains fragments which could be promoted to knowledge expressions
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ knowledge resource description extraction task
+ reasoning task that infers a knowledge resource description from a knowledge expression
+ The produced description is manifested as a knowledge asset surrogate.
+
+
+
+
+ knowledge resource disaggregation task
+ deconstruction task that is limited to set-oriented structures
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ knowledge resource disassembly task
+ compositional task that consists in breaking apart a composite knowledge resources, to obtain the components as a product
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ knowledge resource discovery task
+ knowledge management task that, given a knowledge asset repository, determines the knowledge resources that match some search/query criteria applied to the resources metadata
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ knowledge resource flattening task
+ compositional task that produces a single, flattened knowledge resource from a composite knowledge resource, respecting the composite's structure
+ The flattening may require some manipulation of the component resources before they can be merged.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ knowledge resource rearrangement task
+ compositional task that retains the identity and type of the components, but alters the mutual relationships
+ That is, the corresponding composites have the same atomic components, but the underlying set-tree organization is different.
+ The operation generates a new structure, that is a versioned revision of the input structure.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ knowledge resource structuring task
+ task that produces a derivative knowledge resource that embodies a derivative work of knowledge
+ In API4KP a 'structure' denotes, in a narrow sense, two or more resources organized into composite resources. In DOL, 'structuring' is used in a broader sense, not only to cover the API4KP sense, but also the API4KP notion of '(complex) manipulation' - operations that are possibly, but not necessarily, used to prepare resources to become part of a structure.
+
+To remain aligned, in API4KP 'structuring' denotes manipulations other than 'horizontal' and 'vertical' manipulations which preserve the work of knowledge. Hence, 'structuring' tasks do not preserve the WoK. 'Structuring' is then further partitioned into 'Composition' - dealing with API4KP structures and composite resources - and 'Reshaping' - dealing with non-WoK preserving transrepresentations.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ knowledge surrogate retrieval task
+ knowledge carrier retrieval task that returns a surrogate
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ language information detection task
+ analytic task that detects the language, profile and/or concrete syntax used in a knowledge expression
+
+
+
+
+ lifting task
+ vertical knowledge processing task that produces a resource at a higher level of abstraction that its input
+
+
+
+
+ logic-based reasoning task
+ knowledge reasoning task based on the semantics and pragmatics of some underlying logic, based on symbolic methods, suitable to be peformed by 'reasoners'
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ logic detection task
+ analytic task that detects the (simplest) logic that is expressive enough to formalize the given knowledge expression
+
+
+
+
+ lowering task
+ vertical knowledge processing task that produces a resource at a lower level of abstraction that its input
+ With respect to a lowering, there is usually a 1:N relationship between the resource at the higher level and the resource(s) at the lower level.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ paraphrase task
+ horizontal translation task that creates an alternative expression (concrete or abstract) that carries the same meaning, but uses different fragments (sentences and/or linguistic elements)
+ Meaning (work of knowledge), language and format are preserved through paraphrasing, but not the internal structure of an expression. Paraphrase is only admissible in languages that are redundant, i.e. allow alternative, different expressions of the same meaning.
+ Interesting 'paraphrases' are the ones that cast an expression, in a given language, within the boundaries of a profile of that language.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ parsing task
+ act of creating an AST (of an abstract knowldge expression) from a concrete knowledge expression
+
+
+
+
+ partition task
+ separation based on a set-oriented deconstruction
+
+
+
+
+ product
+ role played by a resource that is used in an activity, and comes into being as a consequence of the successful completion of the activity
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ proof generation task
+ reasoning task that produces a proof, i.e. an explanation, of how a knowledge base is entailed by another knowledge base
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ query answering task
+ reasoning task that, given a knowledge base and a query, (question expressed by means of a proper knowledge expression that contains variables), returns an 'answer' in terms of bindings of those variables with respect to the contents of the knowledge base
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ read task
+ extraction task
+ task that extracts an encoded knowledge expression from a carrier
+ opening a file and reading the stream of Unicode-encoded characters
+
+
+
+
+ redaction task
+ simplification that removes concepts by means of removing fragments that evoke them
+
+
+
+
+ reduction task
+ simplification that removes one or more classes of concepts
+ reductions can be performed in preparation of a translation or a profile projection, removing concepts that would not be expressible in the target language
+
+
+
+
+ removal task
+ separation based on a tree-oriented deconstruction, where the resources that are part of a subtree of the underlying Structure are discarded
+
+
+
+
+ replication task
+ horizontal translation task that creates a new, equal, copy of the input resource
+
+
+
+
+ retrieve artifact from location task
+ returns (a copy of) an artifact stored at a given location
+
+
+
+
+ satisfiability check task
+ https://en.wikipedia.org/wiki/Satisfiability
+ reasoning task that determines whether a knowledge base with open variables is satisfiable or not, i.e. there is at least one binding of those variables that is not inconsistent
+
+
+
+
+ selection task
+ reshaping task that results in (the expression of) a work of knowledge that uses a subset of the concepts used by the original knowledge resource, where the subset is defined by inclusion
+ Selection is additive (to the target WoK), whereas simplification is subtractive (to the source WoK)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ semantic knowledge management task
+ knowledge asset repository task that is a reasoning task applied to the knowledge base constituted by the surrogates managed in the repository
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ semantic translation task
+ translation task that leverages the interpretation of the input expression
+
+
+
+
+ separation task
+ reshaping task that breaks a knowledge resource into components, which are returned as individual resources
+ Separation is conceptually equivalent to a deconstruction followed by a disassembly. Deconstructable knowledge resources are perfectly separable, i.e. the resulting resources carry, globally, the same information as the source one.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ serialization task
+ lowering task that serializes an abstract expression, using one of the concrete syntaxes supported by the langauge
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ signature detection task
+ analytic task that detects the non-logical symbols (a.k.a. "terms" - concretizations of linguistic elements that express domain concepts) used in an expression, identifying the lexicon they have been extracted from
+
+
+
+
+ simplification task
+ reshaping task that results in (the expression of) a Work of Knowledge that uses a subset of the concepts used by the original Knowledge Resource, where the subset is defined by elimination
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ store artifact at location task
+ task ensuring that an artifact is available at a given location
+
+
+
+
+ substrate
+ role played by a resource that is used in an activity of a given type, exists before the activity is started, and is available to the agent executing the activity before the activity is started
+
+
+
+
+ subsumption task
+ reasoning task that, given two concepts (classes), determines whether one is necessarily broader than (a subclass of) the other
+
+
+
+
+ summarization task
+ simplification that removes concepts which are redundant, i.e. whose elimination produces a minimal loss of information
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ syntactic analysis task
+ act of deriving an AST from a parse tree
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ syntactic knowledge processing task
+ task that leverages the syntactic aspects of a knowledge expression, as determined by the grammar of the language(s) used in the expression, without impacting the knowledge content of the resource
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ syntactic parsing task
+ act of creating a parse tree from a concrete knowledge expression. scanning and tokenization are considered sub-atomic parts of this task
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ transcreation task
+ complex transformation that can alter the language and/or semantics of an input resource
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ syntactic transcription task
+ horizontal translation task that maps an expression in the concrete syntax of a given language to an expression in a different concrete syntax of the same language
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ syntactic translation task
+ horizontal translation task that maps an expression in a given language to an expression of the same knowledge in a target language
+
+
+
+
+ union task
+ fusion task in terms of a set-oriented implicit structure
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ vertical knowledge processing task
+ syntactic knowledge processing task that produces knowledge resources at higher or lower level of abstraction along the "artifact - asset" chain
+
+
+
+
+ weaving task
+ reshaping such that fragments of one or more expressions are embedded in a target expression
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ well-formedness check task
+ analytic task that detects whether a knowledge expression is a valid sentence according to the syntax - abstract and/or concrete - of some language, or profile thereof
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ write task
+ engraving task
+ lowering task that imprints an encoded expression on a carrier artifact
+ writing a stream of ASCII characters to a (text) file
+
+
+
+
+ has subtask
+
+
+ relationship between a task T and a task S, such that an activity of kind T will have an activity of type S as a sub-activity, i.e. as a (temporal) proper process part
+
+
+
+
+ involves role
+
+
+ has a definition, part of which is the given role
+ Tasks (activity definitions) involve roles, and roles are filled by entities that participate in the activities of the given type.
+
+
+
+ is copy of
+ distinct individual that, at creation time, replicates all the qualities/characteristics of
+
+
+
+
+ is filled by
+
+ abstracts the characteristics of, with respect to the participation in a knowledge processing activity of a given type
+
+
+
+ retains
+
+ does not impact an (invariant) characteristic shared by its inputs and outputs
+
+
+
\ No newline at end of file
diff --git a/ontologies/API4KP/v20210201/api4kp-rel.rdf b/ontologies/API4KP/v20210201/api4kp-rel.rdf
new file mode 100644
index 0000000..87c1331
--- /dev/null
+++ b/ontologies/API4KP/v20210201/api4kp-rel.rdf
@@ -0,0 +1,309 @@
+
+
+
+
+
+
+
+
+
+
+]>
+
+
+
+ API4KP Ontology of Knowledge Resources Relationships
+ This ontology focuses on relationships between Knowledge Resources.
+ Elisa Kendall (ekendall at thematix.com)
+ Davide Sottara (sottara.davide at mayo.edu)
+ http://opensource.org/licenses/MIT
+ https://www.w3.org/TR/owl2-quick-reference/
+ Copyright (c) 2014-2021 Athan Services
+ Copyright (c) 2014-2021 Fraunhofer Gesellschaft
+ Copyright (c) 2014-2021 Freie Universität Berlin
+ Copyright (c) 2014-2021 Mayo Foundation for Medical Education and Research (MFMER)
+ Copyright (c) 2014-2021 Thematix Partners LLC
+ Copyright (c) 2015-2021 Object Management Group, Inc.
+ Copyright (c) 2019-2021 Universität Leipzig
+ Copyright (c) 2020-2021 Micro Focus
+ https://www.omg.org/spec/API4KP/api4kp/
+ api4kp-rel
+ api4kp-rel.rdf
+
+
+
+
+
+
+
+ abridges
+ is a minimal expression that preserves, or allows to reconstruct by inference, all the concepts used by the target expression
+ The expression is 'minimal' in the sense that no fragment can be removed while still realizing the same knowledge asset.
+
+
+
+
+ compendiates
+ summarizes using a minimum number of fragments, and only uses concepts that are most closely related to the main subject
+
+
+
+
+ conforms with
+ satisfies the constraints in the target resource
+ The compliant resource is supposed to be, expresses or carries some kind of specification.
+
+
+
+
+ effectuates
+ is used in activities that generate entities of which the target resource is knowledge of
+ The knowledge of the products can be used to predict and validate what the products will look like.
+
+
+
+
+
+ imports
+ references a (part of a) supplemental knowledge resource, with the expectation that some structuring operation is performed to resolve the dependency before this resource is used
+
+
+
+
+ includes by reference
+
+
+ imports a resource that is a necessary supplement, and expects that that resource is injected into itself
+ inclusions must be resolved, and the resolution of the dependency does not preserve the identity of the target resource
+
+
+
+
+ is adaptation of
+
+
+ is a derivative that shares the same subject as the original, but is modified to facilitate the internalization by a certain class of agents
+
+
+
+
+ is complemented by
+ optional dependency on a resource whose availability is beneficial
+
+
+
+
+ is compression of
+ uses a minimal subset of the fragments and/or symbols of the target expression while trying to maximize the concepts used by both expressions
+
+
+
+
+ is digest of
+
+ summarizes a composite resource having fragments that summarize each one of the components
+
+
+
+
+ is flattening of
+
+
+ is derived through the application of a flattening operator to a composite resource
+
+
+
+
+
+
+ is isomorphic variant of
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ has the same components, but a different configuration
+
+
+
+
+ is lossless compression of
+ compression that preserves all the concepts used by the target expression, or allows to reconstruct them by inference
+
+
+
+
+ is paraphrase of
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ expresses the same knowledge asset using the same language (and/or serialization) but different terms and/or sentence structure
+ The abstract semantic graphs that are obtained from the parsing of the expressions are isomorphic.
+
+
+
+
+
+
+ is rearrangement of
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ is derived by means of an operation that preserves the structural components, but alters the structure
+
+
+
+
+ is revision of
+
+
+ is a derivative that is focused on parts of a knowledge resource whose interpretation may no longer hold
+ Tevised resources are often treated as new versions, but can also become new resources altogether.
+
+
+
+
+ is supplemented by
+ dependency on a resource whose lack of availability is detrimental
+ Supplemental dependencies may be mandatory if their lack of availabliity makes the use of the depending resource impossible.
+
+
+
+
+ is transcodification of
+
+
+ expresses the same knowledge asset using the same language, serialization, sentence structure, alphabet, but different encodings
+ The result can be used to relate compressed documents (e.g. ZIPped) and their decompressed counterparts.
+
+
+
+
+ is transcreation of
+
+
+ adaptation that changes the formal semantics of some parts of the source asset
+
+
+
+
+ is transcription of
+
+
+ expresses the same knowledge asset using the same language, but a different serialization
+
+
+
+
+ is translation of
+
+
+ expresses the same knowledge asset using a different language
+
+
+
+
+ is transliteration of
+
+
+ expresses the same knowledge using the same language, serialization, sentence structure, but a different alphabet
+
+
+
+
+ references
+ has at least one proper, identifiable part (e.g. concept, fragment) that is related to a (part of) a different knowledge resource, but not to (part of) the same resource
+
+
+
+
+ summarizes
+
+
+ uses a subset of the concepts of the target expression
+
+
+
\ No newline at end of file
diff --git a/ontologies/API4KP/v20210201/api4kp-series.rdf b/ontologies/API4KP/v20210201/api4kp-series.rdf
new file mode 100644
index 0000000..e2cdc14
--- /dev/null
+++ b/ontologies/API4KP/v20210201/api4kp-series.rdf
@@ -0,0 +1,292 @@
+
+
+
+
+
+
+
+
+
+
+
+
+]>
+
+
+
+ API4KP Ontology of Series
+ This ontology extends the core API4KP ontology to incorporate notions of snapshots and versions of knowledge artifacts as they change over time.
+ Elisa Kendall (ekendall at thematix.com)
+ Davide Sottara (sottara.davide at mayo.edu)
+ http://opensource.org/licenses/MIT
+ https://www.w3.org/TR/owl2-quick-reference/
+ Copyright (c) 2014-2021 Athan Services
+ Copyright (c) 2014-2021 Fraunhofer Gesellschaft
+ Copyright (c) 2014-2021 Freie Universität Berlin
+ Copyright (c) 2014-2021 Mayo Foundation for Medical Education and Research (MFMER)
+ Copyright (c) 2014-2021 Thematix Partners LLC
+ Copyright (c) 2015-2021 Object Management Group, Inc.
+ Copyright (c) 2019-2021 Universität Leipzig
+ Copyright (c) 2020-2021 Micro Focus
+ https://www.omg.org/spec/API4KP/api4kp/
+ https://www.omg.org/spec/DOL/
+ https://www.omg.org/spec/LCC/
+ api4kp-series
+ api4kp-series.rdf
+
+
+
+
+
+
+
+
+ combined date time
+
+
+
+
+
+
+
+
+
+
+
+
+ datatype that maps to several base types for dates and times
+ Valid values must use the ISO 8601 representation for a date, or the corresponding XML Schema Datatypes representation for a date and time, or date and time including the time zone.
+ There are many cases where the representation of a date may or may not include a time, and where the underlying data representation varies. This composite datatype should only be used in cases where a standard representation using one of the options in the union for date or date and time value specification does not work, for example, when resolution beyond microseconds is needed.
+
+
+
+ immutable
+
+ entity whose state does not, or cannot, change over time without preserving the identity of the entity
+
+
+
+ mutable
+ continuant entity whose state, determined by the configuration of its qualia, changes over time while maintaining a principle of identity
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ series
+ set of all versions of the same entity
+ The set is implicitly equipped with a total order determined by the points in time at which the snapshots were taken, as well as an identification scheme that supports version identifiers.
+
+
+
+
+ snapshot
+ https://en.wikipedia.org/wiki/Snapshot_(computer_storage)
+ immutable entity that reflects and maintains the state of a mutable entity at a particular point in time
+
+
+
+
+ version
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ snapshot was observed at some point in time and that is assigned an identifier in some context
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ version identifier
+ version-aware identifier
+ identifier of a particular version of an entity, and has a part that identifies the entity (series) itself
+ the IRI / versionIRI pair used to identify versions of an OWL ontology
+
+
+
+
+ has latest
+
+
+ has member version that is the successor of every other member of the series, and does not have any successor itself
+ this property is mutable as the series mutates over time
+
+
+
+
+ has next version
+
+ has next immediate version
+ is a version V1 that has successor version V2, and there is no other distinct version that is successor of V1 and predecessor of V2
+
+
+
+
+ has observed date and time
+
+ indicates a date and time for an event, measurement, snapshot or other observation
+
+
+
+
+ has original
+
+
+ has member version that is the predecessor of every other member of the series, and it is not possible for it to have any predecessor itself
+
+
+
+
+ has predecessor version
+
+
+
+ has prior version
+ is in the same series with a version whose timestamp is before the timestamp of this version
+
+
+
+
+ has previous version
+ has previous immediate version
+ is a version V1 that has predecessor version V2, and there is no other distinct version that is predecessor of V1 and successor of V2
+
+
+
+ has snapshot
+
+
+
+ had a state at some point in time that is reflected by the target immutable entity
+
+
+
+
+ has successor version
+ is in the same series with a version whose timestamp is after the timestamp of this version
+
+
+
+
+ has version
+
+
+
+ has a snapshot that is explicitly identified
+
+
+
+
+ is in series with
+
+
+ is a different snapshot of the same entity
+
+
+
+ is series of
+
+
+ is the set of all versions of the same mutable entity
+
+
+
+ is snapshot of
+
+
+ reflects the state of, at a particular point in time
+
+
+
+
+ is version of
+
+
+ is an explicitly identified snapshot of the target entity
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ontologies/API4KP/v20210201/api4kp.rdf b/ontologies/API4KP/v20210201/api4kp.rdf
new file mode 100644
index 0000000..4c2f2c9
--- /dev/null
+++ b/ontologies/API4KP/v20210201/api4kp.rdf
@@ -0,0 +1,1021 @@
+
+
+
+
+
+
+
+
+
+
+
+]>
+
+
+
+ API4KP Core Ontology
+ This ontology defines the core concepts of the API4KP framework, namely Knowledge Resources: Assets, Expressions and Artifacts
+ Elisa Kendall (ekendall at thematix.com)
+ Davide Sottara (sottara.davide at mayo.edu)
+ http://opensource.org/licenses/MIT
+ https://www.w3.org/TR/owl2-quick-reference/
+ Copyright (c) 2014-2021 Athan Services
+ Copyright (c) 2014-2021 Fraunhofer Gesellschaft
+ Copyright (c) 2014-2021 Freie Universität Berlin
+ Copyright (c) 2014-2021 Mayo Foundation for Medical Education and Research (MFMER)
+ Copyright (c) 2014-2021 Thematix Partners LLC
+ Copyright (c) 2015-2021 Object Management Group, Inc.
+ Copyright (c) 2019-2021 Universität Leipzig
+ Copyright (c) 2020-2021 Micro Focus
+ https://www.omg.org/spec/DOL/
+ https://www.omg.org/spec/LCC/
+ api4kp
+ api4kp.rdf
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ API4KP expressions are expressions in a language that has a formal grammar, but do not necessarily need to have formal semantics themselves, whereas a DOL expression has formal semantics.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ representation of knowledge
+ specification of the algorithm for the extraction of the square root of a number in some programming language such as Java (version 8)
+ By definition, an OMS is an information object that is about (an intellectual work that is about) some form of knowledge about something. In the context of API4KP, it is an expression of some Work of Knowledge in the Abstract Syntax of some language.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ part of
+
+
+
+
+
+ abstract knowledge expression
+
+ knowledge expression that conforms to the abstract syntax of the language(s) used in the expression itself
+ An abstract expression is the class of equivalence of concrete expressions in some Language, across the various serializations supported by that language.
+
+
+
+ activity
+ intentional process, executed with the active participation of one of more agents that carry out a plan
+
+
+
+ agent
+ entity that has the capability (potential) to initiate or participate in an activity
+ includes individual agents as well as parties; natural and artificial
+
+
+
+
+
+
+
+
+
+
+ artificial agent
+ agent that is the product of some activity
+ includes 'intelligent' software agents, in the AI sense
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ basic knowledge resource
+ atomic knowledge resource, i.e. knowledge resource that does not have proper parts that are themselves individual knowledge resources
+
+
+
+
+ complex knowledge resource
+ knowledge resource that can be decomposed into proper parts at the same level of abstraction
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ composite knowledge resource
+
+
+
+
+
+
+
+
+
+
+
+
+ complex knowledge resource that has proper parts that are individual knowledge resources, each playing different roles, and with mutual relationships
+
+
+
+
+ computable knowledge artifact
+ knowledge artifact suitable to be used in knowledge processing activities performed by a software agent
+
+
+
+
+ concept
+ ISO 1087-1:2000, paragraph 3.2.1
+ representational unit
+ atomic (non-decomposable) unit of knowledge created by a unique combination of characteristics
+ The notion of concept as a 'unit of knowledge' is consistent with knowledge as a generically dependent continuant. The corresponding, but distinct, specifically dependent continuant is often referred to as 'unit of thought'
+ Individual members of this class are universals, which themselves archetype individuals that are instances of the given concept.
+
+
+
+
+
+
+
+
+
+
+ concrete knowledge expression
+ knowledge expression that conforms to the concrete syntax of the language(s) used in the expression itself
+
+
+
+
+ constructive definition
+ definition that is an explicit specification enabling recognition and/or construction of instances that conform with the specification
+
+
+
+
+ decorated knowledge expression
+ serialized knowledge expression that includes extra symbols used for presentation, but otherwise does not impact the recognition and/or the interpretation of the expression
+
+
+
+
+ defined concept
+ concept that has at least one explicit, shared definition
+ a concept that is captured in an ontology, and such that it has a formal definition expressible, e.g. in OWL or Common Logic
+
+
+
+
+
+
+
+
+
+
+ definition
+ ISO 1087-1:2000, paragraph 3.3.1
+ representation of a concept by a descriptive statement that serves to differentiate it from related concepts, such as by capturing necessary and sufficient conditions
+
+
+
+
+ encoded knowledge expression
+ knowledge expression such that its symbols have been further processed to be inscribed on a specific knowledge carrier
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ knowledge
+ The knowledge level. A. Newell. Artificial intelligence 18 (1), 87-127, 1982
+ body of knowledge
+ cognition (know-what), pragmatics (know-how) and understanding (know-why) about the nature and/or behavior of some Thing such that, when internalized by an agent, has the potential of generating actions in situations that the knowledge applies to
+ Knowledge empowers agents that are intelligent, knowledgeable and rational.
+
+- Given an agent that is in a situation such that the agent has awareness of, goals for, and the ability to act;
+- Assuming that the agent is knowledgeable and has internalized some knowledge that is about the situation the agent is in.
+- Assuming that the agent is intelligent, and can apply the knowledge to the situation to predict and plan the course of its actions
+
+- A rational agent will choose the plan that maximizes the probability to achieve its goals, and that (prior) probability has not been decreased by having the knowledge compared to not having it.
+ In API4KP, 'Knowledge' is a generically dependent continuant. As such, it can be expressed and communicated, and can be internalized by agents and/or engraved on carriers (thus becoming a specifically dependent continuant).
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ knowledge artifact
+ digital or physical object that is specifically constructed to carry one or more (expressions of) knowledge assets
+ In FRBR, artifact types (manifestations) are distinguished from individual artifacts (items). In OWL-DL, unless punning is adopted, 'items' are individual members of this KnowledgeArtifact class; 'manifestations' can either be formalized as constrained subclasses of KnowledgeArtifact, or as individual concepts
+
+
+
+
+
+ knowledge asset
+ work of knowledge that is a knowledge resource considered valuable by a party
+ A knowledge asset is the class of equivalence of all its faithful expressions in different languages.
+ corollary 1: as knowledge resources, knowledge assets are immutable, versionable, identifiable and support at least one representation (i.e. expression in some language)
+ corollary 2: to be valuable to a party (agent or collective thereof), an asset must have been internalized by some agent, and/or shared evidence must exist that the knowledge does increase the likelihood of an agent's achieving their goals in situations where the knowledge applies
+
+
+
+ knowledge asset surrogate
+
+
+
+
+
+
+
+
+
+
+
+
+ knowledge artifact that carries metadata about a knowledge asset and its expressions
+
+
+
+
+
+
+
+
+
+
+ knowledge carrier
+ physical or digital object that carries a knowledge asset
+ 'carrier' is more properly a role the connects an artifact to the piece of knowledge it carries
+ includes but is not limited to books, pictures, documents, files, waves, but also neural patterns
+
+
+
+
+ knowledge element
+ atomic fragment that uses a single construct of the language used in the expression the fragment is part of
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ knowledge expression
+ FRBR's notion of Expression
+
+
+
+
+
+
+ expression of a piece of knowledge in some language, i.e. using a combination of signs and symbols that conform to the rules of the grammar of that language
+
+
+
+
+ knowledge fragment
+
+
+
+
+
+
+
+
+
+
+
+
+ proper part of a knowledge expression that is not the realization of a knowledge asset itself
+ fragments express proper parts of a knowledge asset
+
+
+
+
+
+
+
+
+
+
+ knowledge manifestation
+ the notion of 'Manifestation' in FRBR
+ concept that abstracts a specific class of knowledge artifacts, defining the common qualities of its members and their content
+
+
+
+
+ knowledge processing activity
+ activity that produces, consumes or otherwise makes use of knowledge as a resource
+ knowledge has to be used as an explicit resource - it is not sufficient that the agent performing the activity has knowledge of how to carry out the activity itself
+
+
+
+ knowledge resource
+ knowledge source
+ immutable, identifiable, versionable entity that is, expresses or carries some piece of knowledge
+
+
+
+
+ knowledge resource description
+
+
+
+
+
+
+
+
+
+
+
+
+ representation of knowledge that contains information about another resource
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ knowledgeable agent
+
+
+
+
+
+
+
+
+
+
+
+
+ agent that internally represents some (piece of) knowledge
+ The knowledge can be acquired in a variety of ways (learning, experience, teaching), but once internalized, the knowledge should drive the agent's behavior when applicable, and the agent should be able to express the knowledge so that it can be communicated.
+
+
+
+
+ primitive concept
+ fundamental concept that cannot be broken down into simpler concepts
+ The notion of 'primitive' concept is useful to define 'common' vs 'background' knowledge and, in particular, the requirements for an agent's ability to internalize a shared piece of knowledge. The more philosophical discussion on 'innate concepts' - concepts such that NO explicit, shared definition (needs to) exists - is instead irrelevant.
+
+
+
+
+ serialized knowledge expression
+ knowledge expression that manifests a concrete knowledge expression using a specific choice of symbols
+
+
+
+
+
+
+
+
+
+
+ structuring knowledge expression
+
+
+
+
+
+
+
+
+
+
+
+
+ model that describes how a complex resource could be decomposed into functional parts, OR, a specification of how to compose knowledge resources into a composite resource
+ Some structures are extensional and expressed using a graph language (e.g. RDF(S)); other structures are intensional and expressed using a production language (e.g. DOL).
+ Some structures are set-oriented: aggregate resources that share some common type (e.g. rules, or ontology axioms); some structures are tree-oriented: there is a type of relationship (e.g. dependency) that imposes a tree-based ordering between the components.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ work of knowledge
+ (Artistic) Works in FRBR
+ http://www.tlainc.com/articl134.htm
+ finite, explicit (i.e. non-tacit) complex organization of concepts (units of knowledge) that can be communicated and internalized by some agent, and is the product of a knowledge processing activity
+ a formal Ontology, prepared by an ontologist, and engineered to answer a number of competency questions, independently of the actual formal language used to express it.
+ a lecture, as the outcome of a teacher's choosing and organizing the topics so they can be explained to the students.
+ a statistician's description of a stochastic process by means of a Markov model
+ an algorithm for the extraction of the square root of a number
+ the content of a newspaper article, as determined by a journalist deciding what facts and/or opinions to include, and how to present them, independently of any editorial and/or formatting
+ the technique for the preparation of the traditional 'ragu alla bolognese'
+ The organization of the concepts is deliberate: works of knowledge are designed to communicate knowledge that enables specific types of activities and facilitates the achievement of specific goals. The selection of what concepts are primitive within the scope of the work, and what relationships are established between different works, is also deliberate and usually depends on the target audience, i.e. the class of agents (and their background knowledge) that are expected to internalize the knowledge.
+ The term 'Work of Knowledge' mirrors the term 'Work of Art'
+
+
+
+
+ abbreviates
+
+
+ uses a smaller number of symbols, fragments, and/or concepts than the target expression, while sharing at least subject and topic
+
+
+
+
+ archetypes
+
+ http://www.w3.org/ns/lemon/ontolex#isConceptOf
+ abstracts the common qualities of a class of individuals
+
+
+
+ captures
+
+
+ frames, organizes and makes explicit
+ knowledge can be tacit or explicit, and due to its graph-oriented nature, it may not have a definitive boundary. The curation act of a work of knowledge consists in scoping and externalizing a piece of that knowledge.
+
+
+
+
+ carries
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ is inscribed with a (serialized) expression of a knowledge asset
+
+
+
+
+ completely expresses
+
+
+ is such that, for each concept in the knowledge asset, has at least one fragment that captures it
+
+
+
+
+ conceptualizes
+
+ provides a formalization of the necessary aspects of
+
+
+
+
+
+
+
+ faithfully, concisely, consistently and unambiguously expresses a knowledge asset using a formal (grammatical) structure, if not a knowledge representation language
+
+
+
+
+ defines
+
+
+ provides the necessary and sufficient conditions to classify (and possibly to construct) instances of a concept
+
+
+
+
+ defines in terms of
+
+
+ requires instances of this concept to be inputs during the process of being applied, where the instances would have to be scoped by the same context
+
+
+
+
+ depends on
+
+
+ leverages
+ involves such that its use is impacted by the availability of the target resource
+ An asset may depend on another asset if the latter is background knowledge that facilitates the understanding of the former.
+ includes mandatory vs. optional dependencies, named vs. type-based dependencies, and early vs. late resolution
+
+
+
+
+ embodies
+
+
+ has a copy of an (encoding of a concretization of a) knowledge expression inscribed on/in it
+ a specialization of the upper ontology notion of 'bearing'
+
+
+
+
+ expresses
+
+
+
+ is the expression of a knowledge asset in a given language
+
+
+
+
+
+ faithfully expresses
+
+
+ expresses correctly and completely
+
+
+
+
+ has asset surrogate
+
+
+ has descriptive knowledge about itself and its manifestations that is carried by some artifact
+
+
+
+
+ has exemplar
+
+
+ abstracts the common qualities of a class of knowledge artifacts
+
+
+
+
+ has proper part
+
+ has part that is identifiable and distinct from the whole
+
+
+
+
+
+ has structural component
+
+
+ has proper part that is a functional component (i.e. plays a role with respect to the other parts of the same composite it is part of)
+
+
+
+
+ has structuring component
+
+
+ has structural component whose role is to define roles and relationships between the other components
+
+
+
+
+ has subject
+
+ is, expresses or carries knowledge of a class of entities that are loosely categorized
+
+
+
+
+ has topic
+
+ is, expresses or carries knowledge of a specific aspect of the entities it has as a subject
+
+
+
+ internally represents
+
+ carries an internal representation of the knowledge (e.g. neurons, but also digital memories) that enables reasoning and planning
+
+
+
+ is about
+ relates something to a particular subject or topic - who, what, how, when, where or why a referent entity is and/or behaves
+
+
+
+ is associated with
+
+
+ is generically related to
+
+
+
+
+ is carried by
+
+
+
+ has carrier
+ is content of
+ has some expression that is serialized and inscribed on a knowledge carrier, of which this asset is (part of) its content
+
+
+
+
+ concretization of
+
+
+ can be parsed into (the) abstract knowledge expression
+
+
+
+
+ is derived from
+
+
+ created as the product of an activity that used another resource as an input, and such that some of the concepts used in the input resource ended up being used in this resource
+ a resource may be a derivative of any number of resources, all which need to contribute at least some concept.
+
+
+
+
+ embodied in
+
+
+
+ has a (serialized and encoded) copy inscribed in the target carrier
+ a specialization of the upper ontology notion of 'inherence'
+
+
+
+
+ is encoding of
+
+
+ can be decoded into (the) serializedp knowledge expression
+
+
+
+
+ is inscribed with
+
+
+ engraved with
+
+
+
+ is involved in
+
+ participates in
+ entity that participates, playing some role, in an activity
+
+
+
+ is manifestation of
+
+
+
+ is mappable to a knowledge resource that exists at a higher level of abstraction on the asset / artifact chain
+
+
+
+ is manifested in
+
+
+ is mappable to a knowledge resource that exists at a lower level of abstraction on the asset / artifact chain
+
+
+
+
+ is materialized in
+
+
+ has expression
+ can be reconstructed from the parsing and interpretation of
+
+
+
+
+ is product of
+
+ exists as a consequence of the execution of an activity
+
+
+
+
+
+ is proper part of
+ is part of something distinct
+
+
+
+
+ is realization of
+
+
+ can be abstracted into (the) knowledge asset
+
+
+
+
+ is recipient of
+
+ is patient of
+ is target of
+ participates passively, and is somehow affected, during the course of an activity
+
+
+
+
+ is serialization of
+
+
+ can be parsed into (the) concrete knowledge expression
+
+
+
+
+ is used in
+
+ is employed under the control of an agent that performs an activity, for the purpose of achieving a goal
+
+
+
+
+
+
+ is variant of
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ expresses or carries the same knowledge asset as, but differs in at least one of language, serialization, lexicon, alphabet, encoding, or internal arrangement thereof
+
+
+
+
+ laconically expresses
+ (Weber, 1997): construct redundancy occurs when more than one grammatical construct can be used to represent the same ontological construct
+
+
+ such that, for each concept in the knowledge asset, that concept is always represented using the same construct every time it is evoked in a fragment of the expression
+
+
+
+
+ lucidly expresses
+ (Weber, 1997): "construct overload occurs when a single grammatical construct can stand for two or more ontological constructs"
+
+
+ such that every fragment of the expression has no more than one possible interpretation as a concept that is part of the knowledge asset
+
+
+
+
+ models
+
+ provides a descriptive formalization of the necessary and contigent aspects of
+
+
+
+
+ performs
+
+
+ actively contributes to the progress of the activity towards the achievement of its goals
+
+
+
+ represents
+
+
+
+
+
+
+
+
+
+ expresses knowledge about something, usually in a formal way
+
+
+
+
+ concisely expresses
+ soundly expresses
+ (Weber, 1997): "construct excess occurs when a grammatical construct does not map onto an ontological construct"
+
+
+ is such that every fragment in the expression can be interpreted in terms of concepts that are part of the knowledge asset
+ no element in the epxression is redundant
+
+
+
+
+ specifies
+
+ provides a prescriptive formalization of the normative and informative aspects of
+
+
+
+ structures
+
+
+ establishes (potential) components, roles and mutual relationships
+
+
+
+ uses concept
+
+
+ is, expresses or carries knowledge of which this concept is either part or a dependency of
+
+
+
+
+
+
+
+
+
+
+
+ the semiotic relationship between a linguistic expression and its referent, where the former references the latter, possibly within a context
+
+
+
+ the relationship between a referent and a symbolic expression that resolves to that referent, possibly within a given context
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ontologies/API4KP/v20210201/catalog.xml b/ontologies/API4KP/v20210201/catalog.xml
new file mode 100644
index 0000000..4584683
--- /dev/null
+++ b/ontologies/API4KP/v20210201/catalog.xml
@@ -0,0 +1,86 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/ontologies/API4KP/v20210201/informative/api4kp-ckao.rdf b/ontologies/API4KP/v20210201/informative/api4kp-ckao.rdf
new file mode 100644
index 0000000..a696553
--- /dev/null
+++ b/ontologies/API4KP/v20210201/informative/api4kp-ckao.rdf
@@ -0,0 +1,219 @@
+
+
+
+
+
+
+
+
+
+
+
+]>
+
+
+
+ API4KP Clinical Knowledge Assets Ontology
+ TODO
+ Elisa Kendall (ekendall at thematix.com)
+ Davide Sottara (sottara.davide at mayo.edu)
+ http://opensource.org/licenses/MIT
+ https://www.w3.org/TR/owl2-quick-reference/
+ Copyright (c) 2014-2021 Athan Services
+ Copyright (c) 2014-2021 Fraunhofer Gesellschaft
+ Copyright (c) 2014-2021 Freie Universität Berlin
+ Copyright (c) 2014-2021 Mayo Foundation for Medical Education and Research (MFMER)
+ Copyright (c) 2014-2021 Thematix Partners LLC
+ Copyright (c) 2015-2021 Object Management Group, Inc.
+ Copyright (c) 2019-2021 Universität Leipzig
+ Copyright (c) 2020-2021 Micro Focus
+ https://www.omg.org/spec/API4KP/api4kp-kao/
+ https://www.omg.org/spec/API4KP/api4kp/
+ api4kp-ckao
+ api4kp-ckao.rdf
+
+
+
+
+
+
+
+
+
+
+ care process model
+
+ CPM
+ adaptive specification of how to perform (complex) clinical activities, properly orchestrated over time, so to achieve certain objectives and goals
+ The Mayo Clinic Rectal Adenocarcinoma CPM
+ Includes AME Care Process Models (CPM)
+
+
+
+
+ case enrichment rule
+ clinical rule, or set thereof, that uses summarization, inference, guidance and contextualization logic to augment a patient's case, with respect to a disorder that the case is centered on
+
+
+
+
+ case summarization rule
+ clinical rule, or set thereof, that extracts salient 'features' from a patient case
+ A summarization rule does not generate new information, but rather selects information that is already present.
+
+
+
+
+ clinical calculation rule
+ clinical inference rule that determines a single, derived, 'observed' value
+
+
+
+
+ clinical contextualization rule
+ clinical inference rule that "projects" the patient's state around a set of (usually related) concepts, effectively creating a focused context
+
+
+
+
+ clinical eligibility rule
+ clinical rule that determines whether a treatment, or study thereof, is potentially administrable to a patient (cohort), based on the patient's characteristics
+
+
+
+
+ clinical enrollment rule
+ clinical rule that determines whether a patient will be administered care, as specified by a care process, pathway or protocol
+
+
+
+
+ clinical guidance rule
+ clinical rule, or set thereof, that uses a patient's (possibly summarized) case, to produce a recommendation, (i.e. a proposed strategy) to address a gap between the current and desired state
+ The information generated by guidance rules is generally meant to be a (partial) intervention plan, and thus drive an agent's action.
+
+
+
+
+ clinical inference rule
+ clinical rule, or set thereof, that uses a patient's (possibly summarized) case, to assess the patient's state, predict the case's course, and/or determine (contra)indicated intervention options
+ Inference rules generate new information based on the current state, and knowledge that dictates how to interpret that state. Inference rules, however, do not drive actions/interventions directly.
+
+
+
+
+ clinical knowledge asset
+ domain-specific knowledge asset that uses primarily concepts from the clinical business domain
+
+
+
+
+
+ clinical practice guideline
+
+ clinical practice guideline
+ systematically developed statement(s) that assist provider decisions about appropriate healthcare for specific clinical situations
+ The Mayo Clinic Sternotomy Guideline
+
+
+
+
+
+ clinical protocol
+ protocol applicable in a clinical situation, such that it directs the behavior of patients and/or providers
+
+
+
+
+
+ clinical rule
+
+ CDS Rule
+ clinical business rule
+ computational logic to direct clinical interventions that are typically expressed as if/then statements but may also be represented by a diagram, decision table or other representation language
+ The 'HGB value prior to RBC transfusion' Recommendation Rule
+
+
+
+
+ clinical trial protocol
+ https://www.ncbi.nlm.nih.gov/pubmed/20815294
+ descriptions of the objectives, design, methodology, statistical considerations and aspects related to the organization of clinical trials
+ Trial protocols provide the background and rationale for conducting a study, highlighting specific research questions that are addressed, and taking into consideration ethical issues. Trial protocols must meet a standard that adheres to the principles of Good Clinical Practice, and are used to obtain ethics approval by local Ethics Committees or Institutional Review Boards.
+
+
+
+
+
+ cognitive care process model
+ knowledge whose primary subject covers the cognitive aspects of a care process
+
+
+
+
+ domain-specific knowledge asset
+
+
+
+
+ interactive clinical summarization rule
+ questionnaire pre-population rule
+ clinical summarization rule that presents the summary in a way that supports interactive communication
+
+
+
+
+ interactive clinical guidance rule
+ clinical guidance rule that is meant to be executed as part of a bidirectional communication protocol
+ Guidance rules, in general, require to 'deliver' the guidance to an agent. This kind of rule also expects that the inputs/context used to derive the guidance will be acquired via an explicit interaction
+
+
+
+
+ interactive clinical inference rule
+
+
+
+
+ nursing protocol
+ protocol that directs the behavior of nurses
+
+
+
+
+
+ order set
+
+ a standardized list of orders for a specific diagnosis
+ Verify the defintion that restricts the order sets to be developed by OSPAG, vs produced or endorsed
+ The Heart Failure Medication Titration Order Set
+
+
+
+
+
+ quality measure
+
+ CDS Rule
+ tool that helps measure or quantify healthcare processes, outcomes, patient perceptions and organizational structure and/or systems that are associated with the ability to provide high-quality healthcare and/or that relate to one or more quality goals
+ clinical quality measure
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ontologies/API4KP/v20210201/informative/api4kp-kmdo.rdf b/ontologies/API4KP/v20210201/informative/api4kp-kmdo.rdf
new file mode 100644
index 0000000..587770e
--- /dev/null
+++ b/ontologies/API4KP/v20210201/informative/api4kp-kmdo.rdf
@@ -0,0 +1,1201 @@
+
+
+
+
+
+
+
+
+
+
+
+]>
+
+
+
+ API4KP Knowledge Delivery Management Ontology
+ The purpose of this ontology is to define 'knowledge' and the related concepts that play a role in managing and delivering that knowledge to different audiences.
+ Elisa Kendall (ekendall at thematix.com)
+ Davide Sottara (sottara.davide@mayo.edu)
+ Jane Shellum
+ Kris Pavek
+ Matthew Burton
+ Michael Panzer
+ Sivaram Arabandi
+ http://opensource.org/licenses/MIT
+ https://www.w3.org/TR/owl2-quick-reference/
+ Copyright (c) 2014-2021 Athan Services
+ Copyright (c) 2014-2021 Fraunhofer Gesellschaft
+ Copyright (c) 2014-2021 Freie Universität Berlin
+ Copyright (c) 2014-2021 Mayo Foundation for Medical Education and Research (MFMER)
+ Copyright (c) 2014-2021 Thematix Partners LLC
+ Copyright (c) 2015-2021 Object Management Group, Inc.
+ Copyright (c) 2019-2021 Universität Leipzig
+ Copyright (c) 2020-2021 Micro Focus
+ https://www.omg.org/spec/API4KP/api4kp/
+ https://www.omg.org/spec/LCC/
+ api4kp-kmdo
+ api4kp-kmdo.rdf
+
+
+
+
+
+
+
+
+ advanced knowledge
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ anonymous knowledge resource
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Knowledge Resource that is not identified by a an ID assigned by a central identification authority
+
+
+
+
+ approachable knowledge resource
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ available knowledge resource
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ There exists a repository where an agent is allowed to obtain a copy of (some artifact that carries) the knowledge resource
+ More specifically, an artifact that carries a representation of the expression of some (version of a) work of knowledge
+
+
+
+
+ body of knowledge
+ A complex corpus that encompasses the entirety of the knowledge about a specific Business Domain
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ broadly understandable knowledge resource
+ Knowledge Resource that is interpreted by an agent that possesses Common Knowledge, and can be interpreted by an agent even if Common Knowledge is all the Knowledge they possess
+ "Understandability' is defined at the concept level, so that an agent can (re)construct an internal representation of the knowledge, reconnecting the it to the related concepts that agent is expected to possess, and possibly make pragmatic use of it.
+
+The availability of a carrier, and the expression of the knowledge in a language that can be parsed by the agent are necessary, but not sufficient conditions.
+
+
+
+
+ business domain
+ A concept that synthesizes, abstracting and implying it, a functional complex of more granular concepts that define all the entities and relationships (actors, roles, activities and processes, resources, information, responsibilities, etc...) pertaining to a field or discipline
+ cooking
+ finance
+ healthcare
+
+
+
+
+ clinical business domain
+ A domain that includes concepts dealing with risk/cause, evaluation, diagnosis, treatment, prevention and management of health and wellness conditions, including methods for the appropriate application of tests, procedures, drugs, and treatments.
+ This is considered a class since there are multiple notions of 'Clinical Domain', varying e.g. by country or over time.
+
+
+
+
+ clinical knowledge resource
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Asset that is the realization of a Work of Knowledge, whose subject includes on one or more concepts from some Clinical Domain
+
+
+
+
+ common knowledge
+ Knowledge that everyone has, and everyone is known to have
+
+
+
+
+
+ (concretely realized) piece of content
+ PoC
+ Distributable, Concrete Expression of some Intellectual Work, in some Human Consumable Language
+
+
+
+
+
+
+
+
+
+
+ (concretely realized) piece of knowledge
+ PoK
+ A Piece of Knowledge is a Distributable, Concrete Expression of an Intellectual Work of Knowledge
+
+
+
+ (concretely realized) piece of knowledge content
+
+
+
+
+
+
+
+
+
+
+ PoCK
+ Piece of Content that is the expression of a Work of knowledge
+ Like any Piece of Content, a PoCK is expressed using some natural language, and formatted for consumption by a human audience (as opposed to be used for computation by a software)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ core knowledge asset
+
+
+
+
+
+
+
+
+
+
+
+
+ Asset such that Assets may be derived from it, but is not itself derived from any other Asset (although it could be a derivative of another Resource)
+
+
+
+
+ digital knowledge artifact
+ An artifact that carries some form of knowledge encoded by means of discretized signals
+
+
+
+
+ digital knowledge artifact directory
+ Function of a (software) agent that relies on a Knowledge Artifact Inventory that references Digital Knowledge Artifacts
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ digital knowledge artifact repository
+ Function served by an entity that stores Digital Knowledge Artifacts
+
+
+
+
+
+ digital knowledge asset surrogate
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ digital knowledge asset surrogate repository
+ a repository specialized in digital asset surrogates
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ digital knowledge management dervice provider
+ knowledge management service provider for digital knowledge artifacts
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ distributable expression
+ Concrete Expression that is realized by a self-contained knowledge artifact, and suitable to be used in a knowledge transfer activity
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ domain knowledge
+ Knowledge specifically about, and thus scoped by, some Business Domain (e.g. healthcare)
+
+
+
+
+ domain-specific knowledge resource
+
+
+
+
+
+
+
+
+
+
+
+
+ Knowledge resource that expresses a work of knowledge that captures a piece of domain specific knowledge
+
+
+
+ domain-specific work of knowledge
+
+
+
+
+
+
+
+
+
+
+
+
+ Knowledge Work that has subject some aspect of a single Business Domain
+
+
+
+
+ endorsed knowledge resource
+
+
+
+
+
+
+
+
+
+
+
+
+ Knowledge Resource that is endorsed by an agent / party.
+
+That agent is expected to have adequate subject matter expertise, must have the permission, and should have the authority to do so
+
+
+
+
+ experiential learning activity
+ activity where an agent gains knowledge through individual experience, as opposed to transfer from a different agent that already possesses that knowledge
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ expert knowledge
+ Domain Knowledge acquired by advanced certified training, practice and/or research
+
+
+
+
+ explicit knowledge
+
+ Knowledge that can be communicated from agent to agent
+
+
+
+
+
+
+
+
+
+
+ surrogate of externally catalogued resource
+ (Meta) Surrogate S that carries the description of a Surrogate T, and such that S and T are not stored in the same repository
+
+
+
+
+ surrogate of externally managed resource
+ a surrogate S that carries a resource description D about a resource R, and such that S is not stored in the same repository as the master copy of R
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ foundational knowledge
+ Knowledge that is acquired by means of formal training in a domain (e.g. equivalent to a MS level)
+
+
+
+
+
+
+
+
+
+
+ frontal delivery of instruction
+ A knowledge transfer activity that assumes the spatio-temporal co-location of two agents, where direct communication is used to transfer Knowlege from one to the other
+
+
+
+
+ delivery of graduate-level instruction
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ human consumable expression
+
+
+
+ identified knowledge resource
+
+
+
+
+
+
+
+
+
+
+
+
+ Knowledge Resource that is identified by a an ID assigned by a central identification authority
+
+
+
+
+ inlined knowledge resource description
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ A descriptor that is a proper sub-part of the (same) structured knowledge resource that has, as a proper sub-part, the resource the descriptor is providing information about
+
+
+
+
+ surrogate of internally managed resource
+ a surrogate S that carries a resource description D about a resource R, and such that S is stored in the same repository as the master copy of R
+
+
+
+
+
+
+
+
+
+
+ knowledge acquisition activity
+ An abstract activity that allows the agent performing it to gain some Knowledge. Concrete examples include learning, observing, experiencing, and combinations thereof.
+
+
+
+
+ knowledge approval activity
+ The act by which an designated party (a knowledge approval body) transfers their authority to a knowledge asset
+ approval
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ knowledge artifact directory
+ function of an agent that can be queried to resolve the identity and/or location of certain knowledge artifacts. The function is enabled by the agent's internal representation of an artifact inventory
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ knowledge artifact editor
+ function of a tool that is used in activities that involve the creation, editing and curation of knowledge artifacts, both from a content and form perspective
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ knowledge artifact inventory
+ A complex collection of references to one or more Knowledge Artifacts
+
+
+
+
+ knowledge asset
+ Identified Knowledge Resource, i.e. that is identified by an ID assigned by a central identification authority
+Assets are valuable to parties acting within that domain.
+
+
+
+
+
+ knowledge asset description
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ knowledge asset metadata
+ a Knowledge Asset that has another Asset as subject
+
+
+
+
+ knowledge authoring activity
+ The act of expressing a Work of Knowledge in some language
+ authoring
+
+
+
+
+ knowledge creation activity
+ An expert's act of creating a new Work of Knowledge
+ creation
+
+
+
+
+ knowledge editing activity
+ The act of formatting and typesetting a Knowledge Expression to fit a designated carrier
+ editing
+
+
+
+
+
+
+
+
+
+
+ knowledge endorsing party
+ Party that has the authority and the subject matter expertise to endorse some Work of Knowledge. The trust in the Party gets transferred to the Work of Knowledge
+
+
+
+
+ knowledge management activity
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ knowledge management service provider
+ The function of an entity that serves the role of Knowledge Manager, enabling the creation, maintenance, storage, cataloguing, and delivery/distribution of knowledge artifacts
+
+
+
+
+ knowledge meta-description
+
+
+
+
+
+
+
+
+
+
+
+
+ A knowledge resource description whose subject is another knowledge description
+ For the purpose of knowledge management, knowledge asset descriptions are assets that can be assembled into a knowledge base, and used for reasoning.
+Meta-descriptions can be materialized as needed for such knowledge bases, allowing to use a model-driven approach to knowledge management
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ knowledge publication activity
+ knowledge release activity
+ activity by which an endorsed knowledge resource is released to the public, to be used, making it possible for agents to acquire it
+ publication
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ knowledge representation embedding surrogate
+ A Surrogate that realizes a knowledge descriptor, and embeds a representation of either the knowledge resource it describes, or a derivative thereof.
+(This concept is defined at the manifestation/item level. The two expressions are realized independently and included in the same manifestation, with the surrogate being the primary entity the manifestation is realizing)
+
+
+
+
+ knowledge review activity
+ An expert's comparison of a knowledge asset with their subject matter expertise, to determine whether the work is still accurate, faithful and up to date
+ review
+
+
+
+
+ knowledge revision activity
+ A knowledge review that results in a new version of a knowledge asset
+ revision
+
+
+
+
+
+
+
+
+ 2
+
+
+ knowledge transfer activity
+ Activity with 2 or more participant agents. Before it is performed, there exists 2 participants A and B, such that A possesses some knowledge K, and B does not. After the activity is completed, B will possess that knowledge K.
+
+
+
+
+ mainstream knowledge resource
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Latest Published Version of a Knowledge Resource.
+i.e. Published Knowledge Resource such that there is no revision that is also Published.
+
+
+
+
+ master copy
+ TODO Deprecated. Moved to the core ONTOLOGY
+ master copies are usually stored in dedicated repositories, from where copies can be obtained
+ artifact that is used as the source in replication activities
+
+
+
+
+ medical business domain
+ domain that encompasses the science of health in general: including, but not limited to, the study the human body (anatomy and physiology), the practice of medicine as the prevention and treatment of diseaes, pharmacology as the science of substances that can affect the human body
+
+
+
+
+
+
+
+
+
+
+
+
+
+ original knowledge resource
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ The first (version of an) Knowledge Resource, such that there are no predecessor (expressions of previous) Works that have been used during its creation.
+
+
+
+ published knowledge resource
+
+
+
+
+
+
+
+
+
+
+
+
+ resource that has been published by means of a publication activity
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ sophisticated knowledge resource
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Knowledge Resource that can be interpreted only by an agent that possesses some Knowledge other than Common Knowledge, or that requires some (other) Knowledge Resource
+i.e.: not Standalone or not Broadly Understandable
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ specialist knowledge
+ Domain Knowledge acquired by advanced certified training
+
+
+
+ standalone knowledge resource
+ Such a Resource can be interpreted by an agent (that has the appropriate knowledge pre-requisites) without the need to look up any additional Knowledge Resources
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Knowledge Resource that does not depend on any other resource
+
+
+
+
+ tacit knowledge
+ Knowledge that can not be transfered to another agent by means of direct communication
+
+
+
+
+ delivery of undergraduate level instruction
+
+
+
+
+ archived in
+
+
+
+
+
+
+ archives
+ Archival is a kind of storage implying no immediate use. Archiving is scoped to artifacts only
+
+
+
+
+
+
+
+
+ endorsed by
+
+
+
+
+
+
+
+ endorses
+
+
+ An agent's endorsement of a knowledge endeavor implies (i) that the agent is able to understand the content of that endeavor, internally representing the knowledge (expressed by (the expression carried)) in the endeavor, (ii) that the agent transfers their reputation and trust to that endeavor
+
+
+
+
+ has focus
+
+
+
+ (knowledge) possessed by
+
+
+
+
+
+
+ possesses (knowledge)
+
+
+
+
+
+
+
+
+ An Agent possesses some Knowledge if they can conceptualize that Knowledge, and act based on that Knowledge
+ The possession of some Knowledge is the outcome of a Knowledge Acquisition Activity
+
+
+
+
+ has primary subject
+
+
+
+
+ replica of
+ An artifact that resulted from the copy of a 'master copy' is a replica of that copy
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ in terms of
+
+
+
+
+ defines
+
+
+
+
+ is about
+
+
+
+
+ represents
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ontologies/API4KP/v20210201/informative/api4kp-kpc.rdf b/ontologies/API4KP/v20210201/informative/api4kp-kpc.rdf
new file mode 100644
index 0000000..05f98b1
--- /dev/null
+++ b/ontologies/API4KP/v20210201/informative/api4kp-kpc.rdf
@@ -0,0 +1,84 @@
+
+
+
+
+
+
+
+
+
+
+
+]>
+
+
+
+ API4KP Ontology of Known Platform Components
+ TODO
+ Elisa Kendall (ekendall at thematix.com)
+ Davide Sottara (sottara.davide at mayo.edu)
+ http://opensource.org/licenses/MIT
+ https://www.w3.org/TR/owl2-quick-reference/
+ Copyright (c) 2014-2021 Athan Services
+ Copyright (c) 2014-2021 Fraunhofer Gesellschaft
+ Copyright (c) 2014-2021 Freie Universität Berlin
+ Copyright (c) 2014-2021 Mayo Foundation for Medical Education and Research (MFMER)
+ Copyright (c) 2014-2021 Thematix Partners LLC
+ Copyright (c) 2015-2021 Object Management Group, Inc.
+ Copyright (c) 2019-2021 Universität Leipzig
+ Copyright (c) 2020-2021 Micro Focus
+ https://www.omg.org/spec/API4KP/api4kp-kp/
+ https://www.omg.org/spec/API4KP/api4kp/
+ api4kp-kpc
+ api4kp-kpc.rdf
+
+
+
+
+
+
+
+
+ Drools
+
+ production rules engine that provides a core business rules engine (BRE), a web authoring and rules management application (Drools Workbench), full runtime support for Decision Model and Notation (DMN) models at conformance level 3 and an Eclipse IDE plugin for core development
+
+
+
+
+ Drools 5.6
+
+
+
+
+ Drools 7.48.0.Final
+
+ Drools production release dated 2021-01-13
+
+
+
+
+ HermiT
+
+ description logic reasoner that is designed to support ontologies written using the Web Ontology Language (OWL)
+
+
+
+
+ HermiT 1.3.8.413
+
+ HermiT production release 1.3.8.413
+
+
+
\ No newline at end of file
diff --git a/ontologies/API4KP/v20210201/informative/api4kp-registry.rdf b/ontologies/API4KP/v20210201/informative/api4kp-registry.rdf
new file mode 100644
index 0000000..71403c5
--- /dev/null
+++ b/ontologies/API4KP/v20210201/informative/api4kp-registry.rdf
@@ -0,0 +1,1310 @@
+
+
+
+
+
+
+
+
+
+
+
+]>
+
+
+
+ API4KP Knowledge Asset Registry Ontology
+ TODO
+ Elisa Kendall (ekendall at thematix.com)
+ Davide Sottara (sottara.davide at mayo.edu)
+ http://opensource.org/licenses/MIT
+ https://www.w3.org/TR/owl2-quick-reference/
+ Copyright (c) 2014-2021 Athan Services
+ Copyright (c) 2014-2021 Fraunhofer Gesellschaft
+ Copyright (c) 2014-2021 Freie Universität Berlin
+ Copyright (c) 2014-2021 Mayo Foundation for Medical Education and Research (MFMER)
+ Copyright (c) 2014-2021 Thematix Partners LLC
+ Copyright (c) 2015-2021 Object Management Group, Inc.
+ Copyright (c) 2019-2021 Universität Leipzig
+ Copyright (c) 2020-2021 Micro Focus
+ https://www.omg.org/spec/API4KP/api4kp/
+ https://www.omg.org/spec/DOL/
+ api4kp-reg
+ api4kp-registry.rdf
+
+
+
+
+
+
+
+
+
+ HL7 ELM
+ Clinical Quality Language, Expression Language Metamodel
+ elm
+ https://cql.hl7.org/ELM
+
+ v1
+ HL7 ELM
+
+
+
+
+
+ KNART 1.3
+ HL7 Knowledge Artifact Metamodel 1.3
+ knart
+ https://www.hl7.org/implement/standards/product_brief.cfm?product_id=337
+
+ v13
+ KNART 1.3
+
+
+
+
+ FHIR DSTU2 XML Syntax
+ FHIR DSTU2 XML Syntax
+ fhir2+xml
+ https://www.hl7.org/fhir/DSTU2/xml.html
+ FHIR DSTU2 XML Syntax
+
+
+
+
+
+
+ FHIR DSTU2
+ Fast Healthcare Interoperability Resources DSTU2
+ fhir
+ http://hl7.org/fhir/DSTU2
+
+
+
+ v2
+ FHIR DSTU2
+
+
+
+
+
+
+
+
+ FHIR R4
+ Fast Healthcare Interoperability Resources R4
+ fhir
+ http://hl7.org/fhir/R4
+ v4
+ FHIR R4
+
+
+
+
+
+
+
+
+ FHIR STU3
+ Fast Healthcare Interoperability Resources STU3
+ fhir
+ http://hl7.org/fhir/STU3
+ v3
+ FHIR STU3
+
+
+
+
+
+
+
+ FHIR DSTU2 JSON Syntax
+ FHIR DSTU2 JSON Syntax
+ fhir2+json
+ https://www.hl7.org/fhir/DSTU2/json.html
+ FHIR DSTU2 JSON Syntax
+
+
+
+
+
+ FHIR DSTU2 RDF Syntax
+ FHIR DSTU2 RDF Syntax
+ fhir2+rdf
+ https://www.hl7.org/fhir/DSTU2/rdf.html
+ FHIR DSTU2 RDF Syntax
+
+
+
+
+
+
+ FHIRPath STU1
+ FHIRPath Path Language
+ fhirpath
+ http://hl7.org/fhirpath/
+ v1
+ FHIRPath STU1
+
+
+
+
+ JSON
+ json
+ http://json.org/20171201
+ JSON
+
+
+
+
+ CQL Essentials
+ Essential elements of CQL, scoped to simple expressions, used to evalute context variables
+ cql-exx
+ http://cql.hl7.org
+
+ CQL Essentials
+
+
+
+
+
+ Clinical Concept Glossary
+ Clinical Concept Glossary Metamodel
+ ccg
+ v1
+ Clinical Concept Glossary
+
+
+
+
+
+
+ Cognitive Care Process Model
+ Cognitive Care Process Models Metamodel
+ ccpm
+ v1
+ Cognitive Care Process Model
+
+
+
+
+
+ Knowledge Asset Annotations XML Syntax
+ Knowledge Asset Surrogate - Annotations - XML Syntax
+ ann+xml
+ http://www.omg.org/spec/API4KP/1.0/
+ Knowledge Asset Annotations XML Syntax
+
+
+
+
+
+ Knowledge Asset Surrogate XML Syntax
+ Knowledge Asset Surrogate XML Syntax
+ surr+xml
+ http://www.omg.org/spec/API4KP/1.0/
+ Knowledge Asset Surrogate XML Syntax
+
+
+
+
+
+ Knowledge Asset Surrogate JSON Syntax
+ Knowledge Asset Surrogate JSON Syntax
+ surr+json
+ http://www.omg.org/spec/API4KP/1.0/
+ Knowledge Asset Surrogate JSON Syntax
+
+
+
+
+
+
+ Service Profile
+ Service Profile Metamodel
+ sp
+ v1
+ Service Profile
+
+
+
+
+
+ LOINC
+ Logical Observation Identifiers Names and Codes
+ lnc
+ LOINC
+
+
+
+
+ PCV
+ Mayo Clinic Propositional Concept Vocabulary
+ pcv
+ PCV
+
+
+
+
+
+ Reaction RuleML 1.2
+ Reaction RuleML 1.2
+ rruleml
+ http://reaction.ruleml.org/1.02/
+ v12
+ Reaction RuleML 1.2
+
+
+
+
+ SNOMED
+ Systematized Nomenclature of Medicine -- Clinical Terms
+ sct
+ SNOMED-CT
+
+
+
+
+ API4KP Service XML Syntax
+ API4KP XML Syntax
+ api+xml
+ http://www.omg.org/spec/API4KP/1.0/
+ API4KP Service XML Syntax
+
+
+
+
+
+ API4KP Service JSON Syntax
+ API4KP JSON Syntax
+ api+json
+ http://www.omg.org/spec/API4KP/1.0/
+ API4KP Service JSON Syntax
+
+
+
+
+
+ BPMN 2.0 XML Syntax
+ BPMN 2.0 XML Syntax
+ bpmn-v2+xml
+ https://www.omg.org/spec/BPMN/2.0/
+ BPMN 2.0 XML Syntax
+
+
+
+
+
+ CMMN 1.1 XML Syntax
+ CMMN 1.1 XML Syntax
+ cmmn-v11+xml
+ https://www.omg.org/spec/CMMN/1.1/
+ CMMN 1.1 XML Syntax
+
+
+
+
+
+ DMN 1.1 XML Syntax
+ DMN 1.1 XML Syntax
+ dmn-v11+xml
+ https://www.omg.org/spec/DMN/1.1/
+ DMN 1.1 XML Syntax
+
+
+
+
+
+ DMN 1.2 XML Syntax
+ DMN 1.2 XML Syntax
+ dmn-v12+xml
+ https://www.omg.org/spec/DMN/1.2/
+ DMN 1.2 XML Syntax
+
+
+
+
+
+
+
+
+
+ Provisional - TODO - fixme
+
+
+
+
+
+
+
+
+
+
+
+
+
+ XSD XML 1.1 Syntax
+ XSD XML 1.1 Syntax
+ xsd-v11+xml
+ https://www.w3.org/TR/xmlschema11-1/
+ XSD XML 1.1 Syntax
+
+
+
+
+
+ XML Schema Instance
+ XML Schema Instance
+ xsi
+ XML Schema Instance
+
+
+
+
+
+ OWL-2
+ Web Ontology Language 2
+ owl2
+ https://www.w3.org/TR/2012/REC-owl2-syntax-20121211/
+
+
+
+
+
+ v20121211
+ OWL-2
+
+
+
+
+ OWL XML Serialization
+ OWL XML Serialization
+ xml
+ https://www.w3.org/TR/owl2-xml-serialization/
+ OWL XML Serialization
+
+
+
+
+
+ SKOS
+ Simple Knowledge Organization Scheme
+ skos
+ SKOS
+
+
+
+
+ XML 1.1
+ xml
+ http://www.w3.org/TR/xml11
+ XML 1.1
+
+
+
+
+ XML Namespace
+ XML Namespace
+ xmlns
+ XML Namespace
+
+
+
+
+ OWL2 DL
+ OWL 2 Web Ontology Language, DL Profile
+ DL
+ https://www.w3.org/TR/owl2-profiles/#OWL_2_DL
+
+ OWL2 DL
+
+
+
+
+ OWL2 EL
+ OWL 2 Web Ontology Language, EL Profile
+ EL
+ https://www.w3.org/TR/owl2-profiles/#OWL_2_EL
+
+ OWL2 EL
+
+
+
+
+ OWL2 Full
+ OWL 2 Web Ontology Language, RDF Semantics
+ Full
+ https://www.w3.org/TR/owl2-syntax/
+
+ OWL2 Full
+
+
+
+
+ OWL2 QL
+ OWL 2 Web Ontology Language, QL Profile
+ QL
+ https://www.w3.org/TR/owl2-profiles/#OWL_2_QL
+
+ OWL2 QL
+
+
+
+
+ OWL2 RL
+ OWL 2 Web Ontology Language, RL Profile
+ RL
+ https://www.w3.org/TR/owl2-profiles/#OWL_2_RL
+
+ OWL2 RL
+
+
+
+
+ YAML 1.2
+ yaml
+ http://yaml.org/spec/1.2
+ YAML 1.2
+
+
+
+
+
+ HL7 CQL
+ Clinical Quality Language 1.5.0
+ cql
+ https://cql.hl7.org/
+
+
+ v150
+ HL7 CQL 1.5.0
+
+
+
+
+ CQL 1.5.0 Syntax
+ CQL 1.5.0 Syntax
+ cql+txt
+ https://cql.hl7.org/2020May/grammar.html
+ CQL 1.5.0 Syntax
+
+
+
+
+
+
+ HL7 CQL
+ Clinical Quality Language 1.3
+ cql
+ https://cql.hl7.org/
+
+
+ v130
+ HL7 CQL 1.3
+
+
+
+
+ CQL 1.3 Syntax
+ CQL 1.3 Syntax
+ cql+txt
+ https://cql.hl7.org/STU3/grammar.html
+ CQL 1.3 Syntax
+
+
+
+
+
+
+ HL7 CQL
+ Clinical Quality Language 1.4.1
+ cql
+ https://cql.hl7.org/
+
+
+ v141
+ HL7 CQL 1.4.1
+
+
+
+
+ CQL 1.4.1 Syntax
+ CQL 1.4.1 Syntax
+ cql+txt
+ https://cql.hl7.org/STU4/grammar.html
+ CQL 1.4.1 Syntax
+
+
+
+
+
+
+ GraphQL
+ GraphQL June 2018 Release
+ graphql
+ https://graphql.github.io/graphql-spec/June2018/
+
+ vJun2018
+ GraphQL 2018
+
+
+
+
+ GraphQL Syntax
+ GraphQL Syntax
+ graphql+txt
+ https://graphql.github.io/graphql-spec/June2018/#sec-Language
+ GraphQL Syntax
+
+
+
+
+
+ GraphQL Queries
+ GraphQL Schemas
+ Q
+ https://graphql.github.io/graphql-spec/queries
+
+ GraphQL Queries
+
+
+
+
+ GraphQL Schemas
+ GraphQL Schemas
+ S
+ https://graphql.github.io/graphql-spec/schemas
+
+ GraphQL Schemas
+
+
+
+
+ Java 8
+ Java 8
+ java
+ https://jcp.org/en/jsr/detail?id=337
+ v8
+ Java 8
+
+
+
+
+ Mustache
+ Mustache Templating Language
+ mustache
+ http://mustache.github.io
+ v1
+ Mustache
+
+
+
+
+ Parsing Level
+ Language Parsing Level
+ vertical
+ https://www.omg.org/spec/API4KP/api4kp/
+ Parsing Level
+
+
+
+
+ Natural Language
+ Natural Language (ISO 639-1 Standard)
+ langs
+ https://www.omg.org/spec/LCC/Languages/ISO639-1-LanguageCodes/
+ Natural Language
+
+
+
+
+ Knowledge Asset Category
+ Knowledge Asset Category
+ asset-cat
+ https://www.omg.org/spec/API4KP/api4kp/
+ Knowledge Asset Category
+
+
+
+
+ Knowledge Asset Type
+ Knowledge Asset Type
+ asset-type
+ https://www.omg.org/spec/API4KP/api4kp/
+ Knowledge Asset Type
+
+
+
+
+ KRR Technique
+ Knowledge Reasoning Technique
+ krtech
+ https://www.omg.org/spec/API4KP/api4kp/
+ KRR Technique
+
+
+
+
+ KRR Language Role
+ Knowledge Representation and Reasoning Language Role
+ lang-rol
+ https://www.omg.org/spec/API4KP/api4kp/
+ KRR Language Role
+
+
+
+
+ Asset Relationships - Citations
+ Knowledge Asset Relationships - Citations
+ cito
+ https://www.omg.org/spec/API4KP/api4kp/
+ Asset Relationships - Citations
+
+
+
+
+ Asset Relationships - Dependencies
+ Knowledge Asset Relationships - Dependencies
+ depend
+ https://www.omg.org/spec/API4KP/api4kp/
+ Asset Relationships - Dependencies
+
+
+
+
+ Asset Relationships - Derivations
+ Knowledge Asset Relationships - Derivations
+ deriv
+ https://www.omg.org/spec/API4KP/api4kp/
+ Asset Relationships - Derivations
+
+
+
+
+ Asset Relationships - Versions
+ Knowledge Asset Relationships - Versions
+ version
+ https://www.omg.org/spec/API4KP/api4kp/
+ Asset Relationships - Versions
+
+
+
+
+ Asset Relationships - Structural
+ Knowledge Asset Relationships - Structural
+ struct
+ https://www.omg.org/spec/API4KP/api4kp/
+ Asset Relationships - Structural
+
+
+
+
+ Asset Relationships - Summary
+ Knowledge Asset Relationships - Summary
+ summary
+ https://www.omg.org/spec/API4KP/api4kp/
+ Asset Relationships - Summary
+
+
+
+
+ Asset Relationships - Variants
+ Knowledge Asset Relationships - Variants
+ variant
+ https://www.omg.org/spec/API4KP/api4kp/
+ Asset Relationships - Variants
+
+
+
+
+ KRR MetaFormat
+ Knowledge Representation and Reasoning Serialization Format
+ krfmt
+ http://ontology.mayo.edu/KMDP/registry/
+ KRR MetaFormat
+
+
+
+
+ KRR Language
+ Knowledge Representation and Reasoning Language
+ krlang
+ http://ontology.mayo.edu/KMDP/registry/
+ KRR Language
+
+
+
+
+ KRR Profile
+ Knowledge Representation and Reasoning Language Profile
+ krprof
+ http://ontology.mayo.edu/KMDP/registry/
+ KRR Profile
+
+
+
+
+ KRR Serialization
+ Knowledge Representation and Reasoning Serialization
+ krser
+ http://ontology.mayo.edu/KMDP/registry/
+ KRR Serialization
+
+
+
+
+ KRR Lexicon
+ Knowledge Representation and Reasoning Lexicon
+ lexicon
+ http://ontology.mayo.edu/KMDP/registry/
+ KRR Lexicon
+
+
+
+
+
+ OpenAPI 2.x
+ OpenAPI / Swagger v2.x
+ openapi
+ https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md
+
+
+ v2
+ OpenAPI 2.x
+
+
+
+
+ OpenAPI 2 JSON Syntax
+ OpenAPI 2 JSON Syntax
+ openapi-v2+json
+ https://swagger.io/specification/#format
+ OpenAPI 2 JSON Syntax
+
+
+
+
+
+ OpenAPI 2 YAML Syntax
+ OpenAPI 2 YAML Syntax
+ openapi-v2+yaml
+ https://swagger.io/specification/#format
+ OpenAPI 2 YAML Syntax
+
+
+
+
+
+ TXT
+ text
+ https://tools.ietf.org/html/rfc1341/7
+ TXT
+
+
+
+
+
+ Common Logic
+ Common Logic
+ cl
+ https://www.iso.org/standard/66249.html
+
+
+
+ v1
+ Common Logic
+
+
+
+
+ CGIF
+ Conceptual Graph Interchange Format
+ cgif
+ https://www.iso.org/standard/66249.html
+ CGIF
+
+
+
+
+
+ CLIF
+ Common Logic Interchange Format
+ clif
+ https://www.iso.org/standard/66249.html
+ CLIF
+
+
+
+
+
+ RxNORM
+ RxNorm
+ rxnorm
+ RxNORM
+
+
+
+
+
+ API4KP
+ API 4 Knowledge Platform Metamodel
+ api4kp
+ https://www.omg.org/spec/API4KP/1.0/
+ v1
+ API4KP
+
+
+
+
+
+
+
+
+
+
+
+
+ API4KP Datatypes
+ API4KP Datatypes
+ dtt
+ https://www.omg.org/spec/API4KP/1.0/
+
+ API4KP Datatypes
+
+
+
+
+ API4KP Identifiers
+ API4KP Identifiers
+ id
+ https://www.omg.org/spec/API4KP/1.0/
+
+ API4KP Identifiers
+
+
+
+
+ API4KP Service Descriptors
+ API4KP Service Descriptors
+ api
+ https://www.omg.org/spec/API4KP/1.0/
+
+
+
+ API4KP Service Descriptors
+
+
+
+
+
+ Knowledge Asset Surrogate
+ Knowledge Asset Surrogate Metamodel
+ surr
+ https://www.omg.org/spec/API4KP/1.0/
+
+
+ v1
+ Knowledge Asset Surrogate
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Knowledge Asset Surrogate Annotations
+ Knowledge Asset Surrogate Annotations
+ ann
+ https://www.omg.org/spec/API4KP/1.0/
+
+
+ Knowledge Asset Surrogate Annotations
+
+
+
+
+
+ Knowledge Asset Surrogate 2.0
+ Knowledge Asset Surrogate Metamodel 2.0
+ surr
+ https://www.omg.org/spec/API4KP/1.0/
+
+ v2
+ Knowledge Asset Surrogate 2.0
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Knowledge Asset Surrogate 2.0 XML Syntax
+ Knowledge Asset Surrogate 2.0 XML Syntax
+ surr-v2+xml
+ http://www.omg.org/spec/API4KP/1.0/
+ Knowledge Asset Surrogate 2.0 XML Syntax
+
+
+
+
+
+
+ ODM BAL 8.10.x
+ IBM ODM Business Action Language
+ odm-bal
+
+ v8.10.x
+
+
+
+
+
+ ODM BOM 8.10.x
+ IBM ODM Business Object Modeling Language
+ odm-bom
+ v8.10.x
+
+
+
+
+ ODM BRL Syntax
+ ODM BRL Syntax
+ brl
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ BPMN
+ Business Process Modelling Notation 2.0
+ bpmn
+ https://www.omg.org/spec/BPMN/2.0/
+
+ v2
+ BPMN 2.0
+
+
+
+
+
+ CMMN 1.1
+ Case Modelling and Management Notation 1.1
+ cmmn
+ https://www.omg.org/spec/CMMN/1.1/
+
+ v11
+ CMMN 1.1
+
+
+
+
+
+ DMN 1.1
+ Decision Modelling Notation 1.1
+ dmn
+ https://www.omg.org/spec/DMN/1.1/
+
+ v11
+ DMN 1.1
+
+
+
+
+
+ FEEL 1.1
+ Friendly Enough Expression Lanaguage 1.1
+ feel
+ https://www.omg.org/spec/DMN/1.1/
+ v11
+ FEEL 1.1
+
+
+
+
+
+ DMN 1.2
+ Decision Modelling Notation 1.2
+ dmn
+ https://www.omg.org/spec/DMN/1.2/
+
+ v12
+ DMN 1.2
+
+
+
+
+
+ FEEL 1.2
+ Friendly Enough Expression Lanaguage 1.2
+ feel
+ https://www.omg.org/spec/DMN/1.2/
+ v12
+ FEEL 1.2
+
+
+
+
+
+ UML 2.5
+ Unified Modelling Language 2.5
+ uml2
+ https://www.omg.org/spec/UML/2.5/
+ v25
+ UML 2.5
+
+
+
+
+ UML Resource
+ UML 2 Resource Profile
+ Res
+
+ UML Resource
+
+
+
+
+ RDF/XML Syntax
+ RDF/XML Syntax
+ rdf/xml
+ https://www.w3.org/TR/owl2-mapping-to-rdf/
+ RDF/XML Syntax
+
+
+
+
+
+ WSDL 2 XML Syntax
+ WSDL 2 XML Syntax
+ wsdl+xml
+ https://www.w3.org/2007/06/wsdl/wsdl20.xsd
+ WSDL 2 XML Syntax
+
+
+
+
+
+ RDF 1.1
+ rdf
+ https://www.w3.org/RDF/
+ RDF 1.1
+
+
+
+
+ OWL Functional Syntax
+ OWL Functional Syntax
+ ofn
+ https://www.w3.org/TR/2012/REC-owl2-syntax-20121211/
+ OWL Functional Syntax
+
+
+
+
+
+ HTML
+ HTML 5
+ html
+ https://www.w3.org/TR/html5/
+ v52
+ HTML
+
+
+
+
+ OWL Manchester Syntax
+ OWL Manchester Syntax
+ ms
+ https://www.w3.org/TR/owl2-manchester-syntax/
+ OWL Manchester Syntax
+
+
+
+
+
+
+ SPARQL 1.1
+ SPARQL Protocol and RDF Query Language
+ sparql
+ https://www.w3.org/TR/2013/REC-sparql11-query-20130321/
+
+ v11
+ SPARQL 1.1
+
+
+
+
+ SPARQL Syntax
+ SPARQL Syntax
+ sparql-query
+ https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#grammar
+ SPARQL Syntax
+
+
+
+
+
+ Turtle
+ Terse RDF Triple Language
+ ttl
+ https://www.w3.org/TR/turtle/
+ Turtle
+
+
+
+
+
+
+ WSDL 2.0
+ Web Service Description Language 2.0
+ WSDL
+ https://www.w3.org/TR/wsdl20/
+
+ v2
+ WSDL 2.0
+
+
+
+
+ XHTML
+ X-HTML
+ xhtml
+ https://www.w3.org/TR/xhtml1/
+ v1
+ XHTML
+
+
+
+
+
+ XSD 1.1
+ XML Schema Definition Language 1.1
+ xsd
+ https://www.w3.org/TR/xmlschema11-1/
+
+ v11
+ XSD 1.1
+
+
+
+
+
+ XSLT 3.0
+ Extensible Stylesheet Transformation 3.0
+ xslt
+ https://www.w3.org/TR/2017/REC-xslt-30-20170608/
+ v3
+ XSLT 3.0
+
+
+
+
+ XCL
+ Common Logic XML Syntax
+ xcl/xml
+ https://www.iso.org/standard/66249.html
+ XCL
+
+
+
+
+
+ CQL/ELM XML Syntax
+ CQL/ELM XML Syntax
+ cql+xml
+ https://cql.hl7.org/elm.html
+ CQL-ELM XML Syntax
+
+
+
+
+
+ KNART XML Syntax
+ KNART 1.3 XML Syntax
+ knart+xml
+ https://www.hl7.org/implement/standards/product_brief.cfm?product_id=337
+ KNART XML Syntax
+
+
+
+
+
+ DITA 1.3
+ DITA 1.3
+ dita
+ http://docs.oasis-open.org/dita/dita/v1.3/dita-v1.3-part3-all-inclusive.html
+ v13
+ DITA 1.3
+
+
+
+
+ LwDITA 1.0
+ LwDITA 1.0
+ lwdita
+ https://www.oasis-open.org/committees/tc_home.php?wg_abbrev=dita-lightweight-dita
+ v10
+ LwDITA 1.0
+
+
+
\ No newline at end of file
diff --git a/ontologies/API4KP/v20210401/api4kp-kao.rdf b/ontologies/API4KP/v20210401/api4kp-kao.rdf
new file mode 100644
index 0000000..d01371a
--- /dev/null
+++ b/ontologies/API4KP/v20210401/api4kp-kao.rdf
@@ -0,0 +1,195 @@
+
+
+
+
+
+
+
+
+
+
+
+
+]>
+
+
+
+ API4KP Knowledge Asset Type Ontology
+ This ontology provides a classification scheme for Knowledge Assets based on the logical and mathematical constructs that would be used in the formalization of the Assets themselves. The classification, in turn, determines (i) what (knowledge representation) languages are suitable to express the Assets, and (ii) the kind of reasoning activities that can be performed using the Assets.
+ Elisa Kendall (ekendall at thematix.com)
+ Davide Sottara (sottara.davide at mayo.edu)
+ http://opensource.org/licenses/MIT
+ https://www.w3.org/TR/owl2-quick-reference/
+ Copyright (c) 2014-2021 Athan Services
+ Copyright (c) 2014-2021 Fraunhofer Gesellschaft
+ Copyright (c) 2014-2021 Freie Universität Berlin
+ Copyright (c) 2014-2021 Mayo Foundation for Medical Education and Research (MFMER)
+ Copyright (c) 2014-2021 Thematix Partners LLC
+ Copyright (c) 2015-2021 Object Management Group, Inc.
+ Copyright (c) 2019-2021 Universität Leipzig
+ Copyright (c) 2020-2021 Micro Focus
+ https://www.omg.org/spec/API4KP/api4kp/
+ https://www.omg.org/spec/DOL/
+ https://www.omg.org/spec/LCC/
+ api4kp-kao
+ api4kp-kao.rdf
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ component knowledge asset
+ knowledge asset that is proper part of some other (composite) knowledge asset
+ A component asset is likely to play more specific roles based on its function and the type of the composite.
+
+
+
+
+
+
+
+
+
+
+
+ composite knowledge asset
+ knowledge asset that has other knowledge assets as proper parts
+ Note that any composite and its components are considered distinct individuals (i.e., they may be uniquely identified).
+
+
+
+
+ computational technique
+
+ technique used in some knowledge processing task specification that can be faithfully expressed in some machine-computable language
+
+
+
+
+ imperative asset
+ knowledge asset that reflects 'social', 'behavioral' knowledge using 'action', 'deontic' and 'constraint' oriented constructs
+ Assets in this category are typically expressed using "business" or "production" rule languages. They describe or specify how to guide an agent's actions to prevent undesirable behaviors in favor of more desirable ones - especially when responsibility, accountability and/or liability are involved. Guidelines, policies, and business rules, which all fall under this classification, are often specified in terms of modal logic, such as deontic logic.
+ Imperative knowledge can be used to drive - or at least constrain - an agent's behavior at a particular point in time.
+ Assets in this category may depend on inferential knowledge and, indirectly, on semantic and data assets. In fact, it is quite common for a business rule language to be, or delegate to, an inferential rule language. Assets in this category affect, but are not themselves, process knowledge, and often have counterparts that are metric assets.
+
+
+
+
+ inference asset
+ knowledge asset that uses 'implication' and/or 'equivalence' to draw 'necessary' or 'contingent' conclusions based on the evaluation of 'functions' that leverage operations that may be 'qualitiative' or 'quantitative', and may involve 'confidence', 'certainty' and/or 'probability'.
+ An agent can use inferential knowledge to assess or predict the past, current, or future state of a variable, quality or other characteristic of a system which may not be directly observable/measurable, but can be estimated on the basis of other more primitive pieces of data.
+ Assets of this kind, including assessment, predictive, and inferential models, are often formalized using first order and/or probabilistic logic with evaluated functions. Reasoning driven by inferential assets is functional, stateless and idempotent; inferential assets are better expressed using expression languages, mathematical/statistical languages, or (sub-languages of) logic languages that focus on logical implications.
+ Inferential assets may depend on semantic knowledge assets as background knowledge, and be a dependency/component of rule, process and measure assets, as well as composed (recursively) with other inferential assets.
+
+
+
+
+ information asset
+ knowledge asset used by agents to acquire, represent, organize, exchange, store, retrieve and distribute data, about some domain of interest, using structured formats
+ Assets in this category, including information capture, exchange and retrieval models, are expressed using 'modeling' languages, query languages, schema (definition) languages. They are often formalized using frame logic. Assets that leverage constructs such as 'frame', 'slot', 'datatypes', 'variables', as well as constraint-related constructs fall under this classification.
+ From an ISO11179-3 perspective, information assets are the counterparts of semantic assets, where the former are 'models of representation' and the latter are 'models of meaning'.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ interactive technique
+ technique that involves interactions between people and computational devices, with at least one person and one device influencing or having an effect on the other
+
+
+
+
+ metric asset
+ knowledge asset, such as a performance indicator, measurement, or metric, that leverages constructs such as 'distance', 'similarity' and 'aggregation' and, indirectly, 'classification' and 'filtering' to map (sub)sets of entities to quantitative, summary 'features'
+ Assets of this category are expressed using langauges designed for analytics, which combine aspects of query and functional expression languages with optimized support for 'map/reduce' style evaluations. They specify how certain features (qualitative and/or quantitative) of a system can be observed, quantified, aggregated, compared to a baseline and objective values and ultimately used to evaluate the performance of (parts of) that system and its processes.
+ Assets of this kind are counterparts of rules and processes, and enable establishment of conformance, impact, effectiveness and efficiency. measure-related assets. They build on inferential assets to provide, for example, inclusion/exclusion criteria, as well as to extract the quantitative features that may be aggregated by the measure.
+
+
+
+
+ natural language processing technique
+ computational technique typically involving rule-based and/or statistical inference (machine learning) applied to expressions in natural language, including, but not limited to speech recognition, natural language understanding, and natural-language generation
+ Natural language processing (NLP) is a subfield of linguistics, computer science, information engineering, and artificial intelligence concerned with the interactions between computers and human (natural) languages, in particular how to program computers to process and analyze large amounts of natural language data.
+
+
+
+
+ natural technique
+ technique that requires involvement of a person
+ A natural technique is one that requires some aspect of human-nature, or creativity, spontaneity, ingenuity, or other complex intellectual reasoning, such that a computational engine is incapable of accomplishing a similar task using this technique.
+
+
+
+
+ process asset
+ knowledge asset, such as a plan, process, pathway, or protocol, that uses 'temporal' and 'state' constructs, and possibly 'action' and 'goal' related constructs, involving 'planning', 'scheduling' and 'interaction' patterns.
+ Assets in this category are typically expressed using "process" and "worfklow" languages. They involve knowledge that applies over spans of time, and thus requires agents to maintain some form of state. on top of driving actions directly, the knowledge can be use for analytics, scheduling and simulation tasks. They are often formalized using temporal and transactional logics.
+ Processes can be associated with goals and measures; rules can, at specific points in time, influence the evolution of a process from that point forward.
+
+
+
+
+ qualitative technique
+ computational technique that is largely holistic, logic-based, symbolic, and/or non-statistical in nature, that uses qualitative characteristics in analyses
+
+
+
+
+ quantitative technique
+ computational technique that is grounded in mathematical, statistical and/or other numerical principles
+
+
+
+
+ query technique
+ technique that involves question answering and/or requesting another agent to perform some aspect of a task, from which some result can be obtained
+
+
+
+
+ semiotic asset
+ knowledge asset that uses semiotic constructs, i.e., whose constructs support the conceptualization of the relationships between signs and symbols, (intensional) concepts, and their (extensional) referents
+ Constructs of this kind include 'class/type', 'membership/instantiation', 'denotation', 'subsumption (specialization)', 'parthood', 'relatedness'. They may be used for consistency checking, (necessary) inference, classification/recognition, question answering, and other reasoning tasks. They are typically expressed using declarative 'ontology' languages, such as description logics, or more general (first order) logic languages.
+ Assets in this category may depend on inferential assets to provide definitions, and may provide formal grounding for any asset with respect to some domain or area of interest.
+
+
+
+
+ technique
+ knowledge about a way of carrying out a particular task, especially the execution or performance of an artistic work or a scientific procedure
+
+
+
\ No newline at end of file
diff --git a/ontologies/API4KP/v20210401/api4kp-kp.rdf b/ontologies/API4KP/v20210401/api4kp-kp.rdf
new file mode 100644
index 0000000..e57e66f
--- /dev/null
+++ b/ontologies/API4KP/v20210401/api4kp-kp.rdf
@@ -0,0 +1,222 @@
+
+
+
+
+
+
+
+
+
+
+
+
+]>
+
+
+
+ API4KP Ontology of Knowledge Platforms
+ This ontology formalizes the notion of a Knowledge Platform.
+ Elisa Kendall (ekendall at thematix.com)
+ Davide Sottara (sottara.davide at mayo.edu)
+ http://opensource.org/licenses/MIT
+ https://www.w3.org/TR/owl2-quick-reference/
+ Copyright (c) 2014-2021 Athan Services
+ Copyright (c) 2014-2021 Fraunhofer Gesellschaft
+ Copyright (c) 2014-2021 Freie Universität Berlin
+ Copyright (c) 2014-2021 Mayo Foundation for Medical Education and Research (MFMER)
+ Copyright (c) 2014-2021 Thematix Partners LLC
+ Copyright (c) 2015-2021 Object Management Group, Inc.
+ Copyright (c) 2019-2021 Universität Leipzig
+ Copyright (c) 2020-2021 Micro Focus
+ https://www.omg.org/spec/API4KP/api4kp/
+ https://www.omg.org/spec/DOL/
+ https://www.omg.org/spec/LCC/
+ api4kp-kp
+ api4kp-kp.rdf
+
+
+
+
+
+
+
+
+
+ algorithm
+ finite sequence of well-defined, computer-implementable instructions, typically to solve a class of problems or to perform a computation
+
+
+
+
+ computer program
+ the expression of an algorithm in some programming language
+
+
+
+
+
+
+
+
+
+ computing environment
+ combination of general purpose hardware and software designed to interpret programs that drive the execution of information processing tasks
+ includes physical and virtual machines, operating systems, containers and other computing platform/infrastructure components
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ deployed software
+ deployed software module
+ the result of installing a particular software application or agent into some computing environment
+
+
+
+
+ description logic reasoner
+ reasoner optimized for logic based classification, subsumption and query answering tasks that conforms to one or more description logic(s)
+
+
+
+
+ knowledge based execution
+ software execution that uses and/or generates some knowledge artfact
+
+
+
+
+ knowledge platform
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ computing environment designed to host reasoners, and consume knowledge artifacts
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ knowledge platform module
+ deployed software component that is part of a knowledge platform and performs knowledge-based tasks
+
+
+
+
+ process engine
+ reasoner that supports stateful, temporal reasoning centered on tasks, roles and events
+
+
+
+
+ production rule engine
+ rule engine optimized for production (condition-action) rules
+
+
+
+
+ reasoner
+ software that has the capability of performing reasoning operations
+ reasoning engine
+
+
+
+
+ rule engine
+ reasoner that supports inferences performed on rule bases
+
+
+
+
+ server
+ deployed software that can perform computations as a service, on a client's request
+
+
+
+
+ software
+ distributable application or library that carries a computer program
+
+
+
+
+ software execution
+ The process by which a (virtual) machine interpretes and executes the instructions that are fragments of a computer program.
+ software run
+ at a minimum, a software execution is a knowledge processing activity in the sense that the computing machine follows the "plan" stated by the computer program
+
+
+
+ hosts
+
+
+ relationship between an execution environment, and a software component that has been launched and/or deployed in that environment
+
+
+
+ is deployment of
+
+
+ relationship between a a software component that has been launched and/or deployed in some environment and its basic form
+
+
+
\ No newline at end of file
diff --git a/ontologies/API4KP/v20210401/api4kp-krr.rdf b/ontologies/API4KP/v20210401/api4kp-krr.rdf
new file mode 100644
index 0000000..3caf85a
--- /dev/null
+++ b/ontologies/API4KP/v20210401/api4kp-krr.rdf
@@ -0,0 +1,421 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+]>
+
+
+
+ API4KP Knowledge Representation and Reasoning Terminology Ontology
+ This ontology covers the primary knowledge representation and reasoning (KRR) terminology used for describing the concepts used by the API4KP specification.
+ Elisa Kendall (ekendall at thematix.com)
+ Davide Sottara (sottara.davide at mayo.edu)
+ http://opensource.org/licenses/MIT
+ https://www.w3.org/TR/owl2-quick-reference/
+ Copyright (c) 2014-2021 Athan Services
+ Copyright (c) 2014-2021 Fraunhofer Gesellschaft
+ Copyright (c) 2014-2021 Freie Universität Berlin
+ Copyright (c) 2014-2021 Mayo Foundation for Medical Education and Research (MFMER)
+ Copyright (c) 2014-2021 Thematix Partners LLC
+ Copyright (c) 2015-2021 Object Management Group, Inc.
+ Copyright (c) 2019-2021 Universität Leipzig
+ Copyright (c) 2020-2021 Micro Focus
+ https://www.omg.org/spec/API4KP/api4kp-lang/
+ https://www.omg.org/spec/API4KP/api4kp-series/
+ https://www.omg.org/spec/API4KP/api4kp/
+ https://www.omg.org/spec/DOL/
+ https://www.omg.org/spec/LCC/
+ api4pk-krr
+ api4kp-krr.rdf
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 1
+
+
+ basic environment
+ focused environment having exactly one member
+
+
+
+
+ basic machine-readable knowledge resource
+
+
+
+
+
+
+
+
+
+ 0
+
+
+
+
+ unstructured (KRR) knowledge resource
+ unstructured native machine-readable knowledge resource
+ KE1: the instance of the OWL 2 DL abstract syntax for the latest version of a biomedical ontology from an ontology series KA1 defining observable entities, such as the 2015 international version of the SNOMED-CT knowledge base\footnote{http://browser.ihtsdotools.org/} (see also the definition of Basic Knowledge Asset).
+This ontology differs from other versions of the series only in the natural language definitions.
+ well-formed, stand-alone formula in the abstract syntax of a machine-readable language
+ The use of "basic" in API4KP differs from its usage in DOL - a DOL basic OMS (ontologies, models and specifications) is a set, and corresponds to a Set-structured piece of knowledge in API4KP.
+
+
+
+
+ categorical environment
+ environment with an associative composition operation for mappings, that is closed under composition and contains an identity mapping for every member
+
+
+
+
+ composable environment
+ an environment having a composition operation where the composition of its mappings is a mapping of the environment whenever the composition is well-defined
+ The composition M2 o M1 of two mappings M1 and M2 is well-defined when M1 maps to the same thing that M2 maps from. (The codomain of M1 is the domain of M2).
+
+
+
+
+
+
+
+
+
+
+ composite computable knowledge resource
+ collection of machine readable knowledge resources, which are not necessarily in the same language and may themselves have structure.
+ KE2: a heterogeneous collection of streaming data and RDF graphs, together with static OWL ontologies and CL texts, and ECA rules describing actions of a CDS
+ KE3: the OWL 2 DL ontology series KA1, viewed as a collection of expressions rather than an equivalence class
+
+
+
+
+ computational complexity class
+ https://complexityzoo.uwaterloo.ca/Complexity_Zoo
+ https://en.wikipedia.org/wiki/List_of_complexity_classes
+ abstraction that relates the size of a problem to the amount of resources (space and time) needed to solve the problem using a given algorithm
+
+
+
+
+
+
+
+ 0
+
+
+ empty environment
+
+ environment with no members or mappings
+
+
+
+
+ environment
+ mathematical structure of mappings and members, where the domain and codomains of the mappings are members of the environment
+ a KRR language environment containing semantics-preserving translations from RDF and OWL into CL, assisting in the integrated interpretation of a stream of RDF graphs and OWL ontologies
+
+
+
+
+ environment with identity
+ composable environment having an identity mapping for each member
+ an identity mapping is a mapping whose domain and codomain are the same, and when composed with another mapping is equal to the original mapping
+
+
+
+
+ focused environment
+ non-empty environment which has a member F (called the focus or focus member) such that for every other member A, there is a mapping in the environment from A to F
+
+
+
+
+ heterogeneous computable knowledge resource
+
+
+
+
+
+
+
+
+
+
+ heterogeneous knowledge resource that uses a machine readable language as primary language
+
+
+
+ heterogeneous knowledge resource
+
+
+
+
+
+
+
+
+ 2
+
+
+
+
+ knowledge resource expressed by means of 2 or more languages
+
+
+
+
+
+
+
+
+
+
+ hybrid knowledge base
+ knowledge base composed by multiple parts that have different computational semantics and pragmatics, and thus are likely based on different logics
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ hybrid knowledge environment
+ categorical, preserving language environment where multiple KRR languages, and mappings thereof, are supported
+
+
+
+
+
+ immutable knowledgebase
+ knowledge base that cannot be changed
+ An KB can be immutable by nature. Otherwise, any 20210401 of a KB at a given point in time (including the time of its creation) is considered immutable.
+
+
+
+
+ knowledge base
+ work of knowledge designed to support reasoning activities
+ A knowledge base is formed by one or more pieces of knowledge, related in different way, such that each piece plays some kind of role.
+
+
+
+
+
+
+
+
+
+
+ language environment
+ environment whose members are languages
+
+
+
+
+
+
+
+
+
+
+ machine-readable knowledge resource
+ set of expressions in one or more machine readable languages, in the context of a logical environment that determines how these expressions are jointly interpreted.
+ Example A: OWL Ground fact expressing that Socrates is a philosopher.
+ Example B: Common Logic sentence expressing that Socrates is a philosopher.
+ Example C: RDF graph expressing that the author of Moby Dick is Herman Melville.
+ Example D: SPARQL query for the names of philosphers.
+ Example E: A and B, together with a mapping that allows OWL to be converted to Common Logic.
+
+
+
+
+ mutable knowledge base
+ knowledge base that evolves over time as structuring operations are applied to it, 'in place'
+
+
+
+ native computable knowledge resource
+
+
+
+
+
+
+
+
+
+
+ 1
+
+
+
+
+ computable knowledge resource that uses exactly 1 language that is a machine readable language
+
+
+
+ native knowledge resource
+
+
+
+
+
+
+
+
+ 1
+
+
+
+
+ knowledge resource that uses exactly one language
+
+
+
+
+
+
+
+
+
+
+ non-empty environment
+ environment with at least one member and one mapping
+
+
+
+
+
+
+
+ pivotal knowledge environment
+ focused, categorical, preserving language environment where the focus is a KRR language
+ The special case where all languages in an knowledge environment are KRR languages supporting model-theoretic semantics without side-effects (logics), and the preserving property is characterized by a logical graph reduces to a heterogeneous logical environment as defined in DOL.
+
+
+
+
+ preserving environment
+ environment where every mapping preserves a specified property
+
+
+
+ all preserve
+
+ contains only mappings that preserve
+
+
+
+ has environment mapping
+
+
+ contains mapping
+
+
+
+
+ has environment member
+
+ contains member
+
+
+
+
+ has focus member
+ is the sole member of
+
+
+
+
+ has sub-environment
+
+ has a closed subset of members and mappings that make up an environment
+
+
+
+ according to
+
+ relationship between a collection and an environment whereby the results of application of a mapping of the environment to a member of the collection are also members of the environment
+
+
+
+ is environment mapping of
+ is mapping member of
+
+
+
+
+ is sub-environment of
+
+
+ contains a subset of members and mappings with respect to the target environment that is a partial order, where the language and logic graphs of the source enviroment are subgraphs, respectively, of the language and logic graphs of the target environment
+
+
+
+ preserves
+
+
+
+
+
+
+
+ when applied, ensures that a property of the source entity is also a property of the target entity
+
+
+
+ Example: my copy in my Download folder of the encoding in UTF-8 of the serialization in Manchester syntax of an OWL ontology.
+
+
+
\ No newline at end of file
diff --git a/ontologies/API4KP/v20210401/api4kp-lang.rdf b/ontologies/API4KP/v20210401/api4kp-lang.rdf
new file mode 100644
index 0000000..b7af254
--- /dev/null
+++ b/ontologies/API4KP/v20210401/api4kp-lang.rdf
@@ -0,0 +1,812 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+]>
+
+
+
+ API4KP Ontology of Languages
+ This ontology focuses on the definition of languages and grammars relevant to API4KP, including but not limited to natural languages.
+ Elisa Kendall (ekendall at thematix.com)
+ Davide Sottara (sottara.davide at mayo.edu)
+ http://opensource.org/licenses/MIT
+ https://www.w3.org/TR/owl2-quick-reference/
+ Copyright (c) 2014-2021 Athan Services
+ Copyright (c) 2014-2021 Fraunhofer Gesellschaft
+ Copyright (c) 2014-2021 Freie Universität Berlin
+ Copyright (c) 2014-2021 Mayo Foundation for Medical Education and Research (MFMER)
+ Copyright (c) 2014-2021 Thematix Partners LLC
+ Copyright (c) 2015-2021 Object Management Group, Inc.
+ Copyright (c) 2019-2021 Universität Leipzig
+ Copyright (c) 2020-2021 Micro Focus
+ https://www.omg.org/spec/API4KP/api4kp-series/
+ https://www.omg.org/spec/API4KP/api4kp/
+ https://www.omg.org/spec/DOL/
+ https://www.omg.org/spec/LCC/
+ api4kp-lang
+ api4kp-lang.rdf
+
+
+
+
+
+
+
+
+
+
+ formal language
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ TODO: In DOL, signatures are defined as 'set of symbols', but are treated as 'mathematical' rather than 'linguistic' entities (i.e. concepts vs terms).
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ if a resource uses a language, it is possible to extract an expression from that resource that is a valid according to that language's grammar, and can be parsed into an abstract syntax tree
+
+
+
+
+
+
+
+
+
+
+
+ abstract semantic graph
+ ASG
+ graph-based parsing structure that formalizes an expression based on the semantics of its information content
+ ASGs are the expressions that are closest to a knowledge asset, which otherwise cannot be shared without involving some language
+
+
+
+
+ abstract syntax
+ https://www.omg.org/spec/ASTM/About-ASTM/
+
+ a formal grammar that includes some and only rules that have a direct impact on the semantics of the conformant sentences
+ In computer science, abstract syntaxes are used to construct Parsers
+ DOL's 'abstract syntax' is an alias of api4kp's machine-interpretable language, i.e. a language that is specified by some expression of an abstract syntax in the api4kp's sense
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ abstract syntax tree
+ AST
+ tree-based parsing structure that formalizes an expression according to the rules of an abstract syntax
+
+
+
+
+
+ alphabet
+ set of graphemes used to construct symbols, terms and sentences in a language
+ not limited to written languages - in fact, includes musical alphabets and pictorial alphabets
+
+
+
+
+
+ annotation language
+ formal language dedicated to the expression of annotation
+
+
+
+
+
+
+
+
+
+
+ binary stream
+ sequence of symbols such that the only symbols are '0' and '1'
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ concrete syntax tree
+ parse tree
+ tree-based parsing structure that formalizes a concrete expression according to the rules of a concrete syntax
+
+
+
+
+
+
+
+
+
+
+ constructed language
+ constructed languages are the product of explcit design, rather than natural evolution
+
+
+
+
+ controlled natural language
+ constructed language that approximates some natural language while reducing and/or eliminating complexities and ambiguities
+
+
+
+
+ dedicated language
+ formal language designed to have language aspects used to express specific kinds of knowledge assets
+
+
+
+
+ descriptive grammar
+ https://en.wikipedia.org/wiki/Linguistic_description
+ grammar that describes how a language is actually used
+
+
+
+
+ descriptive markup language
+ markup language used to (re)assert the semantics of sentences in the embedded language
+
+
+
+
+ encoding
+ system for the encoding elements of an alphabet using a second alphabet
+ a ZIP compression
+ the ASCII encoding of basic western alphabet characters using 7 bit binary symbols
+ the trivial encoding that preserves the original symbols
+
+
+
+
+
+ expression language
+ formal language designed to express functions
+ several machine executable languages either have or embed a sub-language that is an expression language
+
+
+
+
+
+
+
+
+
+
+
+ formal grammar
+ generative grammar
+ prescriptive grammar that consists in a collection of (production) rules that define, intensionally, all and only the possible sentences of a language
+ one may distinguish between formal grammar - grammars that allow to recognize if a sentence is part of the language - and generative grammars - grammars with rules that allow to construct new sentences
+
+
+
+
+ grammar
+ set of rules and constraints that allow to recognize and/or construct the valid sentences of a language
+
+
+
+
+
+
+
+
+
+
+ grammar specification
+
+
+
+
+
+
+
+
+
+
+
+
+ specification of a grammar, itself expressed in some (meta)language
+ The Java 1.8 grammar, expressed using the ANTLRv4 metalanguage, available at https://github.com/antlr/grammars-v4/tree/master/java/java8
+ Syntaxes are 'reconstructed' from natural languages, but 'designed' in the case of constructed languages
+
+
+
+
+ island grammar
+ grammar that is proper part of another grammar
+ island grammars define languages embedded in other languages
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ knowledge representation and reasoning language
+ machine executable language used in knowledge expressions, to express works of knowledge
+ Prolog
+
+
+
+
+
+
+
+
+
+
+ language schema
+ grammar specification that is expressed using a schema language
+ The schema of the "Decision Modeling and Notation Language v1.2", available at https://www.omg.org/spec/DMN/20180521/DMN12.xsd, expressed using the XML Schema Definition Language
+
+
+
+
+ lexical entry
+
+ unit of analysis of a lexicon that consists of a set of forms that are grammatically related and a set of base meanings that are associated with all of these forms
+ A lexical entry is a word, multiword expression or affix with a single part-of-speech, morphological pattern, etymology and set of senses.
+
+
+
+
+
+ lexicon
+ https://en.wikipedia.org/wiki/Lexicon
+
+
+
+
+
+
+
+
+
+
+
+
+ complete set of the meaningful atomic signs that are or can be used in a language
+ TODO: In DOL, signatures are 'set of symbols', but are treated as 'mathematical' rather than 'linguistic' entities (i.e. concepts vs terms).
+
+
+
+
+ machine-executable language
+ machine-readable language equipped with semantics that allows to drive the behavior of a software agent
+ (expressions in) languages of this kind can be interpreted or compiled into the native language of the underlying machine - virtual or physical
+
+
+
+ machine-readable language
+
+
+
+
+
+
+
+
+
+
+
+
+ formal language that has a concrete syntax which allows a software agent to parse and serialize expressions in that language
+
+
+
+
+
+
+
+
+
+
+ markup language
+ https://www.merriam-webster.com/dictionary/markup%20language
+ machine-readable language that embeds another language, impacting the processing but not the semantics of that language
+
+
+
+
+ metaformat
+ https://www.w3.org/standards/webarch/metaformats
+ a concrete syntax that consists primarily of structural rules
+
+
+
+
+ meta-format serializable language
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ machine readable, serializable language that has at least one concrete syntax that is based on a meta-format
+ any language that supports an XML based serialization, such as BPMN or RuleML
+
+
+
+
+ meta-syntax
+ https://en.wikipedia.org/wiki/Metasyntax
+ formal grammar used to define languages that are used in the expression of formal grammars
+ The ANTLR meta-grammar
+ The Backus Naur Form
+
+
+
+
+
+ ontology language
+ formal language dedicated to the expression of ontologies and assertional knowledge bases
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ parsing structure
+ https://www.omg.org/spec/ASTM/
+ an internal representation that formalizes an agent's perception of the structure of some expression, according to the rules of some grammar
+ parsing structures are the (intermediary) product of lifting operations
+ being mainly used for internal computation, parsing structures themselves are most often ASGs whose edges and nodes represent the structure of the target expression according to the grammatical rules. Nevertheless, parsing structures themselves could be materialized using an appropriate meta-language
+
+
+
+
+ prescriptive grammar
+ https://en.wikipedia.org/wiki/Linguistic_prescription
+ grammar that specificies how a language should be used correctly
+
+
+
+
+ presentational markup language
+ markup language that drives the manifestation of expressions in the embedded language
+
+
+
+
+ procedural markup language
+ markup language that is imperative in nature
+
+
+
+
+
+ programming language
+ formal, executable language used in the specification of information processing tasks
+ from a knowledge representation perspective, programming languages are designed to express algorithms
+ programming languages are usually imperative
+
+
+
+
+
+ rule language
+ formal language dedicated to the expression of rules, norms and policies
+ rule languages can be further categorized depending on the nature of the rules they can express (e.g. production, vs inference, vs deontic, etc...)
+
+
+
+
+
+ schema language
+ formal language used in the specification of (formal) grammars, schemas and metamodels
+ the term is broader than the common denotation of '(XML) schema language'
+
+
+
+
+
+
+
+
+
+
+ serialization
+ concrete syntax
+ formal grammar that includes at least one rule that impacts the structural aspects of the conformant sentences, but not the semantics
+ In computer science, abstract syntaxes are used to construct Parsers and Lexers
+
+
+
+
+ structural markup language
+ markup language used to define the structure of expressions in the embedded language, making them decomposable
+
+
+
+
+ symbol sequence
+ sequence of symbols reconstructed from the inscriptions on an artifact
+
+
+
+
+
+
+
+
+
+
+ token sequence
+ sequence of characters that can be segmented into atomic groups with recognizable type, function and/or interpretation (lexemes or tokens)
+
+
+
+ concretizes
+
+
+ provides the rules to serialize ASTs of a given language into forms that can be engraved on carrier artifacts
+
+
+
+ embeds language
+
+
+ allows expressions in the target language to be part of expressions in this language
+
+
+
+
+ has delegate sublanguage
+ has a sublanguage that supports aspects that would not otherwise be supported by this language
+
+
+
+ has grammar
+
+
+ has an extension set of valid sentences that is defined by the rule of the target grammar
+
+
+
+
+ has sublanguage
+
+
+ has a grammar with an identifiable, closed subset of rules that define the target sub-language
+
+
+
+ has wordstock
+
+
+ has a set of linguistic elements that can be formed into valid sentences of the language according to the language's grammar
+
+
+
+ serializes
+
+
+ provides syntactical rules to manifest sentences of the target language in forms that can be engraved on a carrier
+
+
+
+
+ supports syntax
+
+
+ can be formalized according to the rules of the target abstract syntax
+ it is quite rare, but not impossible, for a language to have two distinct but isomorphic (abstract) grammars
+ if a language L supports a syntax S, and S is concretized by a concrete syntax C, then L supports serialization C
+
+
+
+
+ syntactically conforms
+
+ follows the rules of, and thus is valid according to, some grammar
+
+
+
+
+ uses alphabet
+
+ uses character set
+ contains symbols drawn from a given alphabet
+
+
+
+
+ uses as annotation language
+
+
+ contains expression fragments that are annotations, and use an annotation language as primary language
+
+
+
+
+ uses encoding
+
+ contains symbols encoded using a given encoding scheme
+
+
+
+
+ uses format
+ uses a serialization that depends on the target meta-format
+
+
+
+
+ uses lexicon
+
+
+
+
+
+
+
+ uses terms that are defined (linguistically and semantically) in the target lexicon
+
+
+
+
+ uses as primary language
+
+
+ is or contains an expression that, when parsed, results in a (forest of) AST, and (at least one of) the AST is structured according to the syntax of the target language
+ the primary language of an expression E can be a named language L, or a refinement/extension of a named language that embeds some other language S, in which case E uses S as a sub-language
+
+
+
+
+ uses profile
+ is or contains an expression that is valid according to the rules of a given language profile
+
+
+
+
+ uses serialization
+ is or contains a concrete expression that is concretized according to the rules of a given concrete syntax
+ if a resource uses a serialization of a given language, that resource must be consistent with using that language
+
+
+
+
+ uses as sub-language
+
+
+ contains an expression in the target language that is proper part of an expression in a different language
+ If a language L embeds another language S, every expression in L can potentially contain fragments in S (e.g. DMN vs FEEL). In other words, if an expression in L embeds a fragment in S, there exist at least one expression in L that uses S as a sub-language.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Contemporary Italian, as of 2017, as established by the Italian 'Accademia della Crusca'
+ The 2nd officially released version of the Ontology Web Language
+ The extension of a language is the class of sentences that is defined by the grammar of the language, using the supported lexicon/a
+ in API4KP languages are knowledge, to the extent that they can be learned and used by agents
+
+
+
\ No newline at end of file
diff --git a/ontologies/API4KP/v20210401/api4kp-ops.rdf b/ontologies/API4KP/v20210401/api4kp-ops.rdf
new file mode 100644
index 0000000..a2ab0a4
--- /dev/null
+++ b/ontologies/API4KP/v20210401/api4kp-ops.rdf
@@ -0,0 +1,2365 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+]>
+
+
+
+ Ontology of API4KP Operations
+ This ontology focuses on the definition of operations used by API4KP, including but not limited to access and transformation services.
+ Elisa Kendall (ekendall at thematix.com)
+ Davide Sottara (sottara.davide at mayo.edu)
+ http://opensource.org/licenses/MIT
+ https://www.w3.org/TR/owl2-quick-reference/
+ Copyright (c) 2014-2021 Athan Services
+ Copyright (c) 2014-2021 Fraunhofer Gesellschaft
+ Copyright (c) 2014-2021 Freie Universität Berlin
+ Copyright (c) 2014-2021 Mayo Foundation for Medical Education and Research (MFMER)
+ Copyright (c) 2014-2021 Thematix Partners LLC
+ Copyright (c) 2015-2021 Object Management Group, Inc.
+ Copyright (c) 2019-2021 Universität Leipzig
+ Copyright (c) 2020-2021 Micro Focus
+ https://www.omg.org/spec/API4KP/api4kp-krr/
+ https://www.omg.org/spec/API4KP/api4kp-lang/
+ https://www.omg.org/spec/API4KP/api4kp-rel/
+ https://www.omg.org/spec/API4KP/api4kp-series/
+ https://www.omg.org/spec/API4KP/api4kp/
+ https://www.omg.org/spec/DOL/
+ https://www.omg.org/spec/LCC/
+ api4kp-ops
+ api4kp-ops.rdf
+
+
+
+
+
+
+
+
+
+
+
+
+
+ abdrigment task
+ act of paraphrasing that eliminates elements of an expression that are not essential to reconstruct its meaning
+
+
+
+
+ carving task
+ selection task involoving inclusion of fragments that evoke certain concepts
+
+
+
+
+ cherry-picking task
+ selection task whereby the concepts to be included are enumerated explicitly
+
+
+
+
+ classification task
+ reasoning task such that, given an individual and a set of concepts (classes), determines which concepts (classes) that individual is an instance (member) of
+
+
+
+
+ clear repository location task
+ repository task that ensures that no artifact is stored at a given location
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ complexity detection task
+ analytic task that detects the computational complexity (space and/or time) of a given knowledge expression
+
+
+
+
+ configuration parameter
+ role played by a value, selected from a 'region' of admissible values, that can remove a degree of freedom from the execution of a (knowledge processing) task, without changing the nature of the task
+
+
+
+
+ consistency checking task
+ https://en.wikipedia.org/wiki/Consistency
+ reasoning task that determines whether a knowledge base is inconsistent, i.e. it allows derivation of a logical contradication
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ decoding task
+ the act of recreating a concrete expression from its encoded version
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ dependency resolution task
+ knowledge resource discovery task that resolves dependency relationships between knowledge resources
+
+
+
+
+ description task
+ reasoning task that produces some description for a given individual
+
+
+
+
+ diffing task
+ analytic task that detects the differences between two knowledge expressions
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ encoding task
+ lowering task that applies an encoding to a concrete expression
+ Converting characters into sequences of bits, according to an encoding method, so that they can be written to a RAM, ROM or magnetic disk.
+
+
+
+
+ entailment check test
+ reasoning task that determines whether a given working knowledge base is entailed by a reference working knowledge base through logical consequence
+
+
+
+
+ explanation
+ role played by an expression, generated as part of the execution of a (knowledge processing) activity, that captures knowledge about the course of that activity and/or its inputs, outputs and substrate
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ expression task
+ lowering task that creates an expression in a given language (sytnax and lexicon), from the information content of a work of knowledge
+
+
+
+
+ extension task
+ injection of a resource into a second resource, which plays the role of 'extension', providing a wrapping context
+
+
+
+
+ extraction task
+ separation based on a tree-oriented deconstruction, where the resources that are part of a subtree of the underlying structure are returned
+
+
+
+
+ censoring task
+ simplification aimed at removing one or more concepts, and their transitive associations, from the input work of knowledge
+ The expression of the resulting WoK will not contain any linguistic element that evokes the redacted concepts.
+
+
+
+
+ fusion task
+ reshaping task that consists in combining two resources into a new, distinct resource
+ conceptually equivalent to structuring two or more resources by construction, then flattening the structure so obtained
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ horizontal knowledge processing task
+ syntactic processing task that consumes and produces resources at the same level of abstraction, altering the primary characteristic that is defined at level of abstraction (abstract syntax/lexicon, concrete syntax, encoding)
+ While the input I and the product O are different entities, both will refer to the same entities at the higher levels of abstraction: i.e. lift(O) sameAs lift(I), where 'lift' is the execution of any lifting vertical task
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ inference task
+ https://en.wikipedia.org/wiki/Logical_consequence
+ reasoning task that materializes the logical consequence(s) entailed by a given knowledge base
+ The inferred knowledge may be returned independently, or added to (a new version of) the input knowledge base
+
+
+
+
+ injection task
+ fusion task involving an implicit tree-oriented structure
+
+
+
+
+ input
+ role played by a resource that is used in an activity of a given type, exists before that activity is started, and is made available to the agent executing that activity by a different party
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ interpretation task
+ conceptualization task
+ act of extracting the information content expressed by a knowledge expression, by means of analyzing the AST of that expression
+
+
+
+
+ knowledge analytic task
+ task whose objective is the determination of a quality of a knowledge expression (e.g. used language, complexity, etc.)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ knowledge artifact registration task
+ knowledge asset repository task that involves the association of a knowledge artifact (and/or surrogate) with a knowledge asset, and potentially assigning some registration-specific identifier
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ knowledge artifact repository task
+ knowledge processing task focused on the storage, indexing and retrieval of specific versions of knowledge artifacts inside a repository's storage locations
+ Locations are logical entities, identified by a (location) identifier, regardless of the specific repository implementation, providing abstraction on a persistence layer.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ knowledge asset registration task
+ knowledge asset repository task that adds a knowledge asset to the repository, creating a Surrogate in the process
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ knowledge asset repository task
+ knowledge processing task focused on the indexing, storage and retrieval of knowledge assets, manifested through their carriers and/or surrogates
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ knowledge base building task
+ incremental assembly task that operates on a knowledge base, to produce a new knowledge base that incorporates some additional knowledge resource
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ knowledge base creation task
+ assembly task that initializes a working knowledge base, possibly using a knowledge resource as initial content
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ knowledge carrier retrieval task
+ retrieves a knowledge artifact that is the carrier of (a given version of) a knowledge asset, possibly choosing between variant carriers using content negotiation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ knowledge processing task
+ archetypical abstraction of a class of knowledge processing activities that are executed according to a common method, and involve resources of the same nature
+ The notion of 'task', 'activity', and 'method' is informed by the DOLCE DnS ontology.
+ A knowledge processing task abstracts and defines the role that different types of knowledge resources play in a knowledge processing activity. Such a task includes a goal, i.e. a formal description of the expected situation that is the outcome of the execution of an activity of the type defined by the task. When the outcome matches the goal - i.e. the description of the outcome is subsumed by the goal - the activity is considered to be successful. Otherwise, it is considered to be failed.
+ Knowledge processing tasks are associated with constructive definitions that are (knowledge processing) methods which specify how to execute the task. Tasks executed according to a method that has some degrees of freedom, can be configured using parameters. Execution of a task may involve the generation of an 'explanation'.
+
+
+
+
+ knowledge processing task role
+ role that is played by a resource in the context of a knowledge processing activity
+ Individual task-specific roles allow to define specific roles tailored to specific knowledge processing tasks, and those are the roles 'filled by' the individual resources involved in individual activities.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ knowledge reasoning task
+ processing task involving an agent with reasoning capabilities, that derives new information leveraging the formal semantics of a knowledge base
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ knowledge reshaping task
+ structuring task that produces a knowledge expression, operating on knowledge fragments (and concepts thereof), preserving the language(s) of the input resources in the process
+
+
+
+
+ knowledge resource aggregation task
+ task involving the construction of a set-oriented structure
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ knowledge resource assembly task
+ compositional task that constructs a composite knowledge asset given a structure and the individual components
+
+
+
+
+ knowledge resource composition task
+ construction task resulting in a tree-oriented structure
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ knowledge resource compositional task
+ task that operates on a composite knowledge resource, whose internal organization is manifested by a structuring knowledge resource
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ knowledge resource construction task
+ compositional task that creates a structuring knowledge resource that has two or more knowledge resources as referenced components
+
+
+
+
+ knowledge resource decomposition task
+ deconstruction task that is limited to operating on tree-oriented structures
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ knowledge resource deconstruction task
+ compositional task that creates a structuring knowledge resource from a single deconstructable resource, i.e. a resources that contains fragments which could be promoted to knowledge expressions
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ knowledge resource description extraction task
+ reasoning task that infers a knowledge resource description from a knowledge expression
+ The produced description is manifested as a knowledge asset surrogate.
+
+
+
+
+ knowledge resource disaggregation task
+ deconstruction task that is limited to set-oriented structures
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ knowledge resource disassembly task
+ compositional task that consists in breaking apart a composite knowledge resources, to obtain the components as a product
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ knowledge resource discovery task
+ knowledge management task that, given a knowledge asset repository, determines the knowledge resources that match some search/query criteria applied to the resources metadata
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ knowledge resource flattening task
+ compositional task that produces a single, flattened knowledge resource from a composite knowledge resource, respecting the composite's structure
+ The flattening may require some manipulation of the component resources before they can be merged.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ knowledge resource rearrangement task
+ compositional task that retains the identity and type of the components, but alters the mutual relationships
+ That is, the corresponding composites have the same atomic components, but the underlying set-tree organization is different.
+ The operation generates a new structure, that is a versioned revision of the input structure.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ knowledge resource structuring task
+ task that produces a derivative knowledge resource that embodies a derivative work of knowledge
+ In API4KP a 'structure' denotes, in a narrow sense, two or more resources organized into composite resources. In DOL, 'structuring' is used in a broader sense, not only to cover the API4KP sense, but also the API4KP notion of '(complex) manipulation' - operations that are possibly, but not necessarily, used to prepare resources to become part of a structure.
+
+To remain aligned, in API4KP 'structuring' denotes manipulations other than 'horizontal' and 'vertical' manipulations which preserve the work of knowledge. Hence, 'structuring' tasks do not preserve the WoK. 'Structuring' is then further partitioned into 'Composition' - dealing with API4KP structures and composite resources - and 'Reshaping' - dealing with non-WoK preserving transrepresentations.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ knowledge surrogate retrieval task
+ knowledge carrier retrieval task that returns a surrogate
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ language information detection task
+ analytic task that detects the language, profile and/or concrete syntax used in a knowledge expression
+
+
+
+
+ lifting task
+ vertical knowledge processing task that produces a resource at a higher level of abstraction that its input
+
+
+
+
+ logic-based reasoning task
+ knowledge reasoning task based on the semantics and pragmatics of some underlying logic, based on symbolic methods, suitable to be peformed by 'reasoners'
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ logic detection task
+ analytic task that detects the (simplest) logic that is expressive enough to formalize the given knowledge expression
+
+
+
+
+ lowering task
+ vertical knowledge processing task that produces a resource at a lower level of abstraction that its input
+ With respect to a lowering, there is usually a 1:N relationship between the resource at the higher level and the resource(s) at the lower level.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ paraphrase task
+ horizontal translation task that creates an alternative expression (concrete or abstract) that carries the same meaning, but uses different fragments (sentences and/or linguistic elements)
+ Meaning (work of knowledge), language and format are preserved through paraphrasing, but not the internal structure of an expression. Paraphrase is only admissible in languages that are redundant, i.e. allow alternative, different expressions of the same meaning.
+ Interesting 'paraphrases' are the ones that cast an expression, in a given language, within the boundaries of a profile of that language.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ parsing task
+ act of creating an AST (of an abstract knowldge expression) from a concrete knowledge expression
+
+
+
+
+ partition task
+ separation based on a set-oriented deconstruction
+
+
+
+
+ product
+ role played by a resource that is used in an activity, and comes into being as a consequence of the successful completion of the activity
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ proof generation task
+ reasoning task that produces a proof, i.e. an explanation, of how a knowledge base is entailed by another knowledge base
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ query answering task
+ reasoning task that, given a knowledge base and a query, (question expressed by means of a proper knowledge expression that contains variables), returns an 'answer' in terms of bindings of those variables with respect to the contents of the knowledge base
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ read task
+ extraction task
+ task that extracts an encoded knowledge expression from a carrier
+ opening a file and reading the stream of Unicode-encoded characters
+
+
+
+
+ redaction task
+ simplification that removes concepts by means of removing fragments that evoke them
+
+
+
+
+ reduction task
+ simplification that removes one or more classes of concepts
+ reductions can be performed in preparation of a translation or a profile projection, removing concepts that would not be expressible in the target language
+
+
+
+
+ removal task
+ separation based on a tree-oriented deconstruction, where the resources that are part of a subtree of the underlying Structure are discarded
+
+
+
+
+ replication task
+ horizontal translation task that creates a new, equal, copy of the input resource
+
+
+
+
+ retrieve artifact from location task
+ returns (a copy of) an artifact stored at a given location
+
+
+
+
+ satisfiability check task
+ https://en.wikipedia.org/wiki/Satisfiability
+ reasoning task that determines whether a knowledge base with open variables is satisfiable or not, i.e. there is at least one binding of those variables that is not inconsistent
+
+
+
+
+ selection task
+ reshaping task that results in (the expression of) a work of knowledge that uses a subset of the concepts used by the original knowledge resource, where the subset is defined by inclusion
+ Selection is additive (to the target WoK), whereas simplification is subtractive (to the source WoK)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ semantic knowledge management task
+ knowledge asset repository task that is a reasoning task applied to the knowledge base constituted by the surrogates managed in the repository
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ semantic translation task
+ translation task that leverages the interpretation of the input expression
+
+
+
+
+ separation task
+ reshaping task that breaks a knowledge resource into components, which are returned as individual resources
+ Separation is conceptually equivalent to a deconstruction followed by a disassembly. Deconstructable knowledge resources are perfectly separable, i.e. the resulting resources carry, globally, the same information as the source one.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ serialization task
+ lowering task that serializes an abstract expression, using one of the concrete syntaxes supported by the langauge
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ signature detection task
+ analytic task that detects the non-logical symbols (a.k.a. "terms" - concretizations of linguistic elements that express domain concepts) used in an expression, identifying the lexicon they have been extracted from
+
+
+
+
+ simplification task
+ reshaping task that results in (the expression of) a Work of Knowledge that uses a subset of the concepts used by the original Knowledge Resource, where the subset is defined by elimination
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ store artifact at location task
+ task ensuring that an artifact is available at a given location
+
+
+
+
+ substrate
+ role played by a resource that is used in an activity of a given type, exists before the activity is started, and is available to the agent executing the activity before the activity is started
+
+
+
+
+ subsumption task
+ reasoning task that, given two concepts (classes), determines whether one is necessarily broader than (a subclass of) the other
+
+
+
+
+ summarization task
+ simplification that removes concepts which are redundant, i.e. whose elimination produces a minimal loss of information
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ syntactic analysis task
+ act of deriving an AST from a parse tree
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ syntactic knowledge processing task
+ task that leverages the syntactic aspects of a knowledge expression, as determined by the grammar of the language(s) used in the expression, without impacting the knowledge content of the resource
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ syntactic parsing task
+ act of creating a parse tree from a concrete knowledge expression. scanning and tokenization are considered sub-atomic parts of this task
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ transcreation task
+ complex transformation that can alter the language and/or semantics of an input resource
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ syntactic transcription task
+ horizontal translation task that maps an expression in the concrete syntax of a given language to an expression in a different concrete syntax of the same language
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ syntactic translation task
+ horizontal translation task that maps an expression in a given language to an expression of the same knowledge in a target language
+
+
+
+
+ union task
+ fusion task in terms of a set-oriented implicit structure
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ vertical knowledge processing task
+ syntactic knowledge processing task that produces knowledge resources at higher or lower level of abstraction along the "artifact - asset" chain
+
+
+
+
+ weaving task
+ reshaping such that fragments of one or more expressions are embedded in a target expression
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ well-formedness check task
+ analytic task that detects whether a knowledge expression is a valid sentence according to the syntax - abstract and/or concrete - of some language, or profile thereof
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ write task
+ engraving task
+ lowering task that imprints an encoded expression on a carrier artifact
+ writing a stream of ASCII characters to a (text) file
+
+
+
+
+ has subtask
+
+
+ relationship between a task T and a task S, such that an activity of kind T will have an activity of type S as a sub-activity, i.e. as a (temporal) proper process part
+
+
+
+
+ involves role
+
+
+ has a definition, part of which is the given role
+ Tasks (activity definitions) involve roles, and roles are filled by entities that participate in the activities of the given type.
+
+
+
+ is copy of
+ distinct individual that, at creation time, replicates all the qualities/characteristics of
+
+
+
+
+ is filled by
+
+ abstracts the characteristics of, with respect to the participation in a knowledge processing activity of a given type
+
+
+
+ retains
+
+ does not impact an (invariant) characteristic shared by its inputs and outputs
+
+
+
\ No newline at end of file
diff --git a/ontologies/API4KP/v20210401/api4kp-rel.rdf b/ontologies/API4KP/v20210401/api4kp-rel.rdf
new file mode 100644
index 0000000..7483c79
--- /dev/null
+++ b/ontologies/API4KP/v20210401/api4kp-rel.rdf
@@ -0,0 +1,309 @@
+
+
+
+
+
+
+
+
+
+
+]>
+
+
+
+ API4KP Ontology of Knowledge Resources Relationships
+ This ontology focuses on relationships between Knowledge Resources.
+ Elisa Kendall (ekendall at thematix.com)
+ Davide Sottara (sottara.davide at mayo.edu)
+ http://opensource.org/licenses/MIT
+ https://www.w3.org/TR/owl2-quick-reference/
+ Copyright (c) 2014-2021 Athan Services
+ Copyright (c) 2014-2021 Fraunhofer Gesellschaft
+ Copyright (c) 2014-2021 Freie Universität Berlin
+ Copyright (c) 2014-2021 Mayo Foundation for Medical Education and Research (MFMER)
+ Copyright (c) 2014-2021 Thematix Partners LLC
+ Copyright (c) 2015-2021 Object Management Group, Inc.
+ Copyright (c) 2019-2021 Universität Leipzig
+ Copyright (c) 2020-2021 Micro Focus
+ https://www.omg.org/spec/API4KP/api4kp/
+ api4kp-rel
+ api4kp-rel.rdf
+
+
+
+
+
+
+
+ abridges
+ is a minimal expression that preserves, or allows to reconstruct by inference, all the concepts used by the target expression
+ The expression is 'minimal' in the sense that no fragment can be removed while still realizing the same knowledge asset.
+
+
+
+
+ compendiates
+ summarizes using a minimum number of fragments, and only uses concepts that are most closely related to the main subject
+
+
+
+
+ conforms with
+ satisfies the constraints in the target resource
+ The compliant resource is supposed to be, expresses or carries some kind of specification.
+
+
+
+
+ effectuates
+ is used in activities that generate entities of which the target resource is knowledge of
+ The knowledge of the products can be used to predict and validate what the products will look like.
+
+
+
+
+
+ imports
+ references a (part of a) supplemental knowledge resource, with the expectation that some structuring operation is performed to resolve the dependency before this resource is used
+
+
+
+
+ includes by reference
+
+
+ imports a resource that is a necessary supplement, and expects that that resource is injected into itself
+ inclusions must be resolved, and the resolution of the dependency does not preserve the identity of the target resource
+
+
+
+
+ is adaptation of
+
+
+ is a derivative that shares the same subject as the original, but is modified to facilitate the internalization by a certain class of agents
+
+
+
+
+ is complemented by
+ optional dependency on a resource whose availability is beneficial
+
+
+
+
+ is compression of
+ uses a minimal subset of the fragments and/or symbols of the target expression while trying to maximize the concepts used by both expressions
+
+
+
+
+ is digest of
+
+ summarizes a composite resource having fragments that summarize each one of the components
+
+
+
+
+ is flattening of
+
+
+ is derived through the application of a flattening operator to a composite resource
+
+
+
+
+
+
+ is isomorphic variant of
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ has the same components, but a different configuration
+
+
+
+
+ is lossless compression of
+ compression that preserves all the concepts used by the target expression, or allows to reconstruct them by inference
+
+
+
+
+ is paraphrase of
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ expresses the same knowledge asset using the same language (and/or serialization) but different terms and/or sentence structure
+ The abstract semantic graphs that are obtained from the parsing of the expressions are isomorphic.
+
+
+
+
+
+
+ is rearrangement of
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ is derived by means of an operation that preserves the structural components, but alters the structure
+
+
+
+
+ is revision of
+
+
+ is a derivative that is focused on parts of a knowledge resource whose interpretation may no longer hold
+ Tevised resources are often treated as new versions, but can also become new resources altogether.
+
+
+
+
+ is supplemented by
+ dependency on a resource whose lack of availability is detrimental
+ Supplemental dependencies may be mandatory if their lack of availabliity makes the use of the depending resource impossible.
+
+
+
+
+ is transcodification of
+
+
+ expresses the same knowledge asset using the same language, serialization, sentence structure, alphabet, but different encodings
+ The result can be used to relate compressed documents (e.g. ZIPped) and their decompressed counterparts.
+
+
+
+
+ is transcreation of
+
+
+ adaptation that changes the formal semantics of some parts of the source asset
+
+
+
+
+ is transcription of
+
+
+ expresses the same knowledge asset using the same language, but a different serialization
+
+
+
+
+ is translation of
+
+
+ expresses the same knowledge asset using a different language
+
+
+
+
+ is transliteration of
+
+
+ expresses the same knowledge using the same language, serialization, sentence structure, but a different alphabet
+
+
+
+
+ references
+ has at least one proper, identifiable part (e.g. concept, fragment) that is related to a (part of) a different knowledge resource, but not to (part of) the same resource
+
+
+
+
+ summarizes
+
+
+ uses a subset of the concepts of the target expression
+
+
+
\ No newline at end of file
diff --git a/ontologies/API4KP/v20210401/api4kp-series.rdf b/ontologies/API4KP/v20210401/api4kp-series.rdf
new file mode 100644
index 0000000..a0fcec6
--- /dev/null
+++ b/ontologies/API4KP/v20210401/api4kp-series.rdf
@@ -0,0 +1,292 @@
+
+
+
+
+
+
+
+
+
+
+
+
+]>
+
+
+
+ API4KP Ontology of Series
+ This ontology extends the core API4KP ontology to incorporate notions of snapshots and versions of knowledge artifacts as they change over time.
+ Elisa Kendall (ekendall at thematix.com)
+ Davide Sottara (sottara.davide at mayo.edu)
+ http://opensource.org/licenses/MIT
+ https://www.w3.org/TR/owl2-quick-reference/
+ Copyright (c) 2014-2021 Athan Services
+ Copyright (c) 2014-2021 Fraunhofer Gesellschaft
+ Copyright (c) 2014-2021 Freie Universität Berlin
+ Copyright (c) 2014-2021 Mayo Foundation for Medical Education and Research (MFMER)
+ Copyright (c) 2014-2021 Thematix Partners LLC
+ Copyright (c) 2015-2021 Object Management Group, Inc.
+ Copyright (c) 2019-2021 Universität Leipzig
+ Copyright (c) 2020-2021 Micro Focus
+ https://www.omg.org/spec/API4KP/api4kp/
+ https://www.omg.org/spec/DOL/
+ https://www.omg.org/spec/LCC/
+ api4kp-series
+ api4kp-series.rdf
+
+
+
+
+
+
+
+
+ combined date time
+
+
+
+
+
+
+
+
+
+
+
+
+ datatype that maps to several base types for dates and times
+ Valid values must use the ISO 8601 representation for a date, or the corresponding XML Schema Datatypes representation for a date and time, or date and time including the time zone.
+ There are many cases where the representation of a date may or may not include a time, and where the underlying data representation varies. This composite datatype should only be used in cases where a standard representation using one of the options in the union for date or date and time value specification does not work, for example, when resolution beyond microseconds is needed.
+
+
+
+ immutable
+
+ entity whose state does not, or cannot, change over time without preserving the identity of the entity
+
+
+
+ mutable
+ continuant entity whose state, determined by the configuration of its qualia, changes over time while maintaining a principle of identity
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ series
+ set of all versions of the same entity
+ The set is implicitly equipped with a total order determined by the points in time at which the snapshots were taken, as well as an identification scheme that supports version identifiers.
+
+
+
+
+ snapshot
+ https://en.wikipedia.org/wiki/Snapshot_(computer_storage)
+ immutable entity that reflects and maintains the state of a mutable entity at a particular point in time
+
+
+
+
+ version
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ snapshot was observed at some point in time and that is assigned an identifier in some context
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ version identifier
+ version-aware identifier
+ identifier of a particular version of an entity, and has a part that identifies the entity (series) itself
+ the IRI / versionIRI pair used to identify versions of an OWL ontology
+
+
+
+
+ has latest
+
+
+ has member version that is the successor of every other member of the series, and does not have any successor itself
+ this property is mutable as the series mutates over time
+
+
+
+
+ has next version
+
+ has next immediate version
+ is a version V1 that has successor version V2, and there is no other distinct version that is successor of V1 and predecessor of V2
+
+
+
+
+ has observed date and time
+
+ indicates a date and time for an event, measurement, snapshot or other observation
+
+
+
+
+ has original
+
+
+ has member version that is the predecessor of every other member of the series, and it is not possible for it to have any predecessor itself
+
+
+
+
+ has predecessor version
+
+
+
+ has prior version
+ is in the same series with a version whose timestamp is before the timestamp of this version
+
+
+
+
+ has previous version
+ has previous immediate version
+ is a version V1 that has predecessor version V2, and there is no other distinct version that is predecessor of V1 and successor of V2
+
+
+
+ has snapshot
+
+
+
+ had a state at some point in time that is reflected by the target immutable entity
+
+
+
+
+ has successor version
+ is in the same series with a version whose timestamp is after the timestamp of this version
+
+
+
+
+ has version
+
+
+
+ has a snapshot that is explicitly identified
+
+
+
+
+ is in series with
+
+
+ is a different snapshot of the same entity
+
+
+
+ is series of
+
+
+ is the set of all versions of the same mutable entity
+
+
+
+ is snapshot of
+
+
+ reflects the state of, at a particular point in time
+
+
+
+
+ is version of
+
+
+ is an explicitly identified snapshot of the target entity
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ontologies/API4KP/v20210401/api4kp.rdf b/ontologies/API4KP/v20210401/api4kp.rdf
new file mode 100644
index 0000000..34bdc4b
--- /dev/null
+++ b/ontologies/API4KP/v20210401/api4kp.rdf
@@ -0,0 +1,1021 @@
+
+
+
+
+
+
+
+
+
+
+
+]>
+
+
+
+ API4KP Core Ontology
+ This ontology defines the core concepts of the API4KP framework, namely Knowledge Resources: Assets, Expressions and Artifacts
+ Elisa Kendall (ekendall at thematix.com)
+ Davide Sottara (sottara.davide at mayo.edu)
+ http://opensource.org/licenses/MIT
+ https://www.w3.org/TR/owl2-quick-reference/
+ Copyright (c) 2014-2021 Athan Services
+ Copyright (c) 2014-2021 Fraunhofer Gesellschaft
+ Copyright (c) 2014-2021 Freie Universität Berlin
+ Copyright (c) 2014-2021 Mayo Foundation for Medical Education and Research (MFMER)
+ Copyright (c) 2014-2021 Thematix Partners LLC
+ Copyright (c) 2015-2021 Object Management Group, Inc.
+ Copyright (c) 2019-2021 Universität Leipzig
+ Copyright (c) 2020-2021 Micro Focus
+ https://www.omg.org/spec/DOL/
+ https://www.omg.org/spec/LCC/
+ api4kp
+ api4kp.rdf
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ API4KP expressions are expressions in a language that has a formal grammar, but do not necessarily need to have formal semantics themselves, whereas a DOL expression has formal semantics.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ representation of knowledge
+ specification of the algorithm for the extraction of the square root of a number in some programming language such as Java (version 8)
+ By definition, an OMS is an information object that is about (an intellectual work that is about) some form of knowledge about something. In the context of API4KP, it is an expression of some Work of Knowledge in the Abstract Syntax of some language.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ part of
+
+
+
+
+
+ abstract knowledge expression
+
+ knowledge expression that conforms to the abstract syntax of the language(s) used in the expression itself
+ An abstract expression is the class of equivalence of concrete expressions in some Language, across the various serializations supported by that language.
+
+
+
+ activity
+ intentional process, executed with the active participation of one of more agents that carry out a plan
+
+
+
+ agent
+ entity that has the capability (potential) to initiate or participate in an activity
+ includes individual agents as well as parties; natural and artificial
+
+
+
+
+
+
+
+
+
+
+ artificial agent
+ agent that is the product of some activity
+ includes 'intelligent' software agents, in the AI sense
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ basic knowledge resource
+ atomic knowledge resource, i.e. knowledge resource that does not have proper parts that are themselves individual knowledge resources
+
+
+
+
+ complex knowledge resource
+ knowledge resource that can be decomposed into proper parts at the same level of abstraction
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ composite knowledge resource
+
+
+
+
+
+
+
+
+
+
+
+
+ complex knowledge resource that has proper parts that are individual knowledge resources, each playing different roles, and with mutual relationships
+
+
+
+
+ computable knowledge artifact
+ knowledge artifact suitable to be used in knowledge processing activities performed by a software agent
+
+
+
+
+ concept
+ ISO 1087-1:2000, paragraph 3.2.1
+ representational unit
+ atomic (non-decomposable) unit of knowledge created by a unique combination of characteristics
+ The notion of concept as a 'unit of knowledge' is consistent with knowledge as a generically dependent continuant. The corresponding, but distinct, specifically dependent continuant is often referred to as 'unit of thought'
+ Individual members of this class are universals, which themselves archetype individuals that are instances of the given concept.
+
+
+
+
+
+
+
+
+
+
+ concrete knowledge expression
+ knowledge expression that conforms to the concrete syntax of the language(s) used in the expression itself
+
+
+
+
+ constructive definition
+ definition that is an explicit specification enabling recognition and/or construction of instances that conform with the specification
+
+
+
+
+ decorated knowledge expression
+ serialized knowledge expression that includes extra symbols used for presentation, but otherwise does not impact the recognition and/or the interpretation of the expression
+
+
+
+
+ defined concept
+ concept that has at least one explicit, shared definition
+ a concept that is captured in an ontology, and such that it has a formal definition expressible, e.g. in OWL or Common Logic
+
+
+
+
+
+
+
+
+
+
+ definition
+ ISO 1087-1:2000, paragraph 3.3.1
+ representation of a concept by a descriptive statement that serves to differentiate it from related concepts, such as by capturing necessary and sufficient conditions
+
+
+
+
+ encoded knowledge expression
+ knowledge expression such that its symbols have been further processed to be inscribed on a specific knowledge carrier
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ knowledge
+ The knowledge level. A. Newell. Artificial intelligence 18 (1), 87-127, 1982
+ body of knowledge
+ cognition (know-what), pragmatics (know-how) and understanding (know-why) about the nature and/or behavior of some Thing such that, when internalized by an agent, has the potential of generating actions in situations that the knowledge applies to
+ Knowledge empowers agents that are intelligent, knowledgeable and rational.
+
+- Given an agent that is in a situation such that the agent has awareness of, goals for, and the ability to act;
+- Assuming that the agent is knowledgeable and has internalized some knowledge that is about the situation the agent is in.
+- Assuming that the agent is intelligent, and can apply the knowledge to the situation to predict and plan the course of its actions
+
+- A rational agent will choose the plan that maximizes the probability to achieve its goals, and that (prior) probability has not been decreased by having the knowledge compared to not having it.
+ In API4KP, 'Knowledge' is a generically dependent continuant. As such, it can be expressed and communicated, and can be internalized by agents and/or engraved on carriers (thus becoming a specifically dependent continuant).
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ knowledge artifact
+ digital or physical object that is specifically constructed to carry one or more (expressions of) knowledge assets
+ In FRBR, artifact types (manifestations) are distinguished from individual artifacts (items). In OWL-DL, unless punning is adopted, 'items' are individual members of this KnowledgeArtifact class; 'manifestations' can either be formalized as constrained subclasses of KnowledgeArtifact, or as individual concepts
+
+
+
+
+
+ knowledge asset
+ work of knowledge that is a knowledge resource considered valuable by a party
+ A knowledge asset is the class of equivalence of all its faithful expressions in different languages.
+ corollary 1: as knowledge resources, knowledge assets are immutable, versionable, identifiable and support at least one representation (i.e. expression in some language)
+ corollary 2: to be valuable to a party (agent or collective thereof), an asset must have been internalized by some agent, and/or shared evidence must exist that the knowledge does increase the likelihood of an agent's achieving their goals in situations where the knowledge applies
+
+
+
+ knowledge asset surrogate
+
+
+
+
+
+
+
+
+
+
+
+
+ knowledge artifact that carries metadata about a knowledge asset and its expressions
+
+
+
+
+
+
+
+
+
+
+ knowledge carrier
+ physical or digital object that carries a knowledge asset
+ 'carrier' is more properly a role the connects an artifact to the piece of knowledge it carries
+ includes but is not limited to books, pictures, documents, files, waves, but also neural patterns
+
+
+
+
+ knowledge element
+ atomic fragment that uses a single construct of the language used in the expression the fragment is part of
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ knowledge expression
+ FRBR's notion of Expression
+
+
+
+
+
+
+ expression of a piece of knowledge in some language, i.e. using a combination of signs and symbols that conform to the rules of the grammar of that language
+
+
+
+
+ knowledge fragment
+
+
+
+
+
+
+
+
+
+
+
+
+ proper part of a knowledge expression that is not the realization of a knowledge asset itself
+ fragments express proper parts of a knowledge asset
+
+
+
+
+
+
+
+
+
+
+ knowledge manifestation
+ the notion of 'Manifestation' in FRBR
+ concept that abstracts a specific class of knowledge artifacts, defining the common qualities of its members and their content
+
+
+
+
+ knowledge processing activity
+ activity that produces, consumes or otherwise makes use of knowledge as a resource
+ knowledge has to be used as an explicit resource - it is not sufficient that the agent performing the activity has knowledge of how to carry out the activity itself
+
+
+
+ knowledge resource
+ knowledge source
+ immutable, identifiable, versionable entity that is, expresses or carries some piece of knowledge
+
+
+
+
+ knowledge resource description
+
+
+
+
+
+
+
+
+
+
+
+
+ representation of knowledge that contains information about another resource
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ knowledgeable agent
+
+
+
+
+
+
+
+
+
+
+
+
+ agent that internally represents some (piece of) knowledge
+ The knowledge can be acquired in a variety of ways (learning, experience, teaching), but once internalized, the knowledge should drive the agent's behavior when applicable, and the agent should be able to express the knowledge so that it can be communicated.
+
+
+
+
+ primitive concept
+ fundamental concept that cannot be broken down into simpler concepts
+ The notion of 'primitive' concept is useful to define 'common' vs 'background' knowledge and, in particular, the requirements for an agent's ability to internalize a shared piece of knowledge. The more philosophical discussion on 'innate concepts' - concepts such that NO explicit, shared definition (needs to) exists - is instead irrelevant.
+
+
+
+
+ serialized knowledge expression
+ knowledge expression that manifests a concrete knowledge expression using a specific choice of symbols
+
+
+
+
+
+
+
+
+
+
+ structuring knowledge expression
+
+
+
+
+
+
+
+
+
+
+
+
+ model that describes how a complex resource could be decomposed into functional parts, OR, a specification of how to compose knowledge resources into a composite resource
+ Some structures are extensional and expressed using a graph language (e.g. RDF(S)); other structures are intensional and expressed using a production language (e.g. DOL).
+ Some structures are set-oriented: aggregate resources that share some common type (e.g. rules, or ontology axioms); some structures are tree-oriented: there is a type of relationship (e.g. dependency) that imposes a tree-based ordering between the components.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ work of knowledge
+ (Artistic) Works in FRBR
+ http://www.tlainc.com/articl134.htm
+ finite, explicit (i.e. non-tacit) complex organization of concepts (units of knowledge) that can be communicated and internalized by some agent, and is the product of a knowledge processing activity
+ a formal Ontology, prepared by an ontologist, and engineered to answer a number of competency questions, independently of the actual formal language used to express it.
+ a lecture, as the outcome of a teacher's choosing and organizing the topics so they can be explained to the students.
+ a statistician's description of a stochastic process by means of a Markov model
+ an algorithm for the extraction of the square root of a number
+ the content of a newspaper article, as determined by a journalist deciding what facts and/or opinions to include, and how to present them, independently of any editorial and/or formatting
+ the technique for the preparation of the traditional 'ragu alla bolognese'
+ The organization of the concepts is deliberate: works of knowledge are designed to communicate knowledge that enables specific types of activities and facilitates the achievement of specific goals. The selection of what concepts are primitive within the scope of the work, and what relationships are established between different works, is also deliberate and usually depends on the target audience, i.e. the class of agents (and their background knowledge) that are expected to internalize the knowledge.
+ The term 'Work of Knowledge' mirrors the term 'Work of Art'
+
+
+
+
+ abbreviates
+
+
+ uses a smaller number of symbols, fragments, and/or concepts than the target expression, while sharing at least subject and topic
+
+
+
+
+ archetypes
+
+ http://www.w3.org/ns/lemon/ontolex#isConceptOf
+ abstracts the common qualities of a class of individuals
+
+
+
+ captures
+
+
+ frames, organizes and makes explicit
+ knowledge can be tacit or explicit, and due to its graph-oriented nature, it may not have a definitive boundary. The curation act of a work of knowledge consists in scoping and externalizing a piece of that knowledge.
+
+
+
+
+ carries
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ is inscribed with a (serialized) expression of a knowledge asset
+
+
+
+
+ completely expresses
+
+
+ is such that, for each concept in the knowledge asset, has at least one fragment that captures it
+
+
+
+
+ conceptualizes
+
+ provides a formalization of the necessary aspects of
+
+
+
+
+
+
+
+ faithfully, concisely, consistently and unambiguously expresses a knowledge asset using a formal (grammatical) structure, if not a knowledge representation language
+
+
+
+
+ defines
+
+
+ provides the necessary and sufficient conditions to classify (and possibly to construct) instances of a concept
+
+
+
+
+ defines in terms of
+
+
+ requires instances of this concept to be inputs during the process of being applied, where the instances would have to be scoped by the same context
+
+
+
+
+ depends on
+
+
+ leverages
+ involves such that its use is impacted by the availability of the target resource
+ An asset may depend on another asset if the latter is background knowledge that facilitates the understanding of the former.
+ includes mandatory vs. optional dependencies, named vs. type-based dependencies, and early vs. late resolution
+
+
+
+
+ embodies
+
+
+ has a copy of an (encoding of a concretization of a) knowledge expression inscribed on/in it
+ a specialization of the upper ontology notion of 'bearing'
+
+
+
+
+ expresses
+
+
+
+ is the expression of a knowledge asset in a given language
+
+
+
+
+
+ faithfully expresses
+
+
+ expresses correctly and completely
+
+
+
+
+ has asset surrogate
+
+
+ has descriptive knowledge about itself and its manifestations that is carried by some artifact
+
+
+
+
+ has exemplar
+
+
+ abstracts the common qualities of a class of knowledge artifacts
+
+
+
+
+ has proper part
+
+ has part that is identifiable and distinct from the whole
+
+
+
+
+
+ has structural component
+
+
+ has proper part that is a functional component (i.e. plays a role with respect to the other parts of the same composite it is part of)
+
+
+
+
+ has structuring component
+
+
+ has structural component whose role is to define roles and relationships between the other components
+
+
+
+
+ has subject
+
+ is, expresses or carries knowledge of a class of entities that are loosely categorized
+
+
+
+
+ has topic
+
+ is, expresses or carries knowledge of a specific aspect of the entities it has as a subject
+
+
+
+ internally represents
+
+ carries an internal representation of the knowledge (e.g. neurons, but also digital memories) that enables reasoning and planning
+
+
+
+ is about
+ relates something to a particular subject or topic - who, what, how, when, where or why a referent entity is and/or behaves
+
+
+
+ is associated with
+
+
+ is generically related to
+
+
+
+
+ is carried by
+
+
+
+ has carrier
+ is content of
+ has some expression that is serialized and inscribed on a knowledge carrier, of which this asset is (part of) its content
+
+
+
+
+ concretization of
+
+
+ can be parsed into (the) abstract knowledge expression
+
+
+
+
+ is derived from
+
+
+ created as the product of an activity that used another resource as an input, and such that some of the concepts used in the input resource ended up being used in this resource
+ a resource may be a derivative of any number of resources, all which need to contribute at least some concept.
+
+
+
+
+ embodied in
+
+
+
+ has a (serialized and encoded) copy inscribed in the target carrier
+ a specialization of the upper ontology notion of 'inherence'
+
+
+
+
+ is encoding of
+
+
+ can be decoded into (the) serializedp knowledge expression
+
+
+
+
+ is inscribed with
+
+
+ engraved with
+
+
+
+ is involved in
+
+ participates in
+ entity that participates, playing some role, in an activity
+
+
+
+ is manifestation of
+
+
+
+ is mappable to a knowledge resource that exists at a higher level of abstraction on the asset / artifact chain
+
+
+
+ is manifested in
+
+
+ is mappable to a knowledge resource that exists at a lower level of abstraction on the asset / artifact chain
+
+
+
+
+ is materialized in
+
+
+ has expression
+ can be reconstructed from the parsing and interpretation of
+
+
+
+
+ is product of
+
+ exists as a consequence of the execution of an activity
+
+
+
+
+
+ is proper part of
+ is part of something distinct
+
+
+
+
+ is realization of
+
+
+ can be abstracted into (the) knowledge asset
+
+
+
+
+ is recipient of
+
+ is patient of
+ is target of
+ participates passively, and is somehow affected, during the course of an activity
+
+
+
+
+ is serialization of
+
+
+ can be parsed into (the) concrete knowledge expression
+
+
+
+
+ is used in
+
+ is employed under the control of an agent that performs an activity, for the purpose of achieving a goal
+
+
+
+
+
+
+ is variant of
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ expresses or carries the same knowledge asset as, but differs in at least one of language, serialization, lexicon, alphabet, encoding, or internal arrangement thereof
+
+
+
+
+ laconically expresses
+ (Weber, 1997): construct redundancy occurs when more than one grammatical construct can be used to represent the same ontological construct
+
+
+ such that, for each concept in the knowledge asset, that concept is always represented using the same construct every time it is evoked in a fragment of the expression
+
+
+
+
+ lucidly expresses
+ (Weber, 1997): "construct overload occurs when a single grammatical construct can stand for two or more ontological constructs"
+
+
+ such that every fragment of the expression has no more than one possible interpretation as a concept that is part of the knowledge asset
+
+
+
+
+ models
+
+ provides a descriptive formalization of the necessary and contigent aspects of
+
+
+
+
+ performs
+
+
+ actively contributes to the progress of the activity towards the achievement of its goals
+
+
+
+ represents
+
+
+
+
+
+
+
+
+
+ expresses knowledge about something, usually in a formal way
+
+
+
+
+ concisely expresses
+ soundly expresses
+ (Weber, 1997): "construct excess occurs when a grammatical construct does not map onto an ontological construct"
+
+
+ is such that every fragment in the expression can be interpreted in terms of concepts that are part of the knowledge asset
+ no element in the epxression is redundant
+
+
+
+
+ specifies
+
+ provides a prescriptive formalization of the normative and informative aspects of
+
+
+
+ structures
+
+
+ establishes (potential) components, roles and mutual relationships
+
+
+
+ uses concept
+
+
+ is, expresses or carries knowledge of which this concept is either part or a dependency of
+
+
+
+
+
+
+
+
+
+
+
+ the semiotic relationship between a linguistic expression and its referent, where the former references the latter, possibly within a context
+
+
+
+ the relationship between a referent and a symbolic expression that resolves to that referent, possibly within a given context
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ontologies/API4KP/v20210401/catalog.xml b/ontologies/API4KP/v20210401/catalog.xml
new file mode 100644
index 0000000..6a171ec
--- /dev/null
+++ b/ontologies/API4KP/v20210401/catalog.xml
@@ -0,0 +1,86 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/ontologies/API4KP/v20210401/informative/api4kp-ckao.rdf b/ontologies/API4KP/v20210401/informative/api4kp-ckao.rdf
new file mode 100644
index 0000000..61e875f
--- /dev/null
+++ b/ontologies/API4KP/v20210401/informative/api4kp-ckao.rdf
@@ -0,0 +1,552 @@
+
+
+
+
+
+
+
+
+
+
+
+
+]>
+
+
+
+ API4KP Clinical Knowledge Assets Ontology
+ TODO
+ Elisa Kendall (ekendall at thematix.com)
+ Davide Sottara (sottara.davide at mayo.edu)
+ http://opensource.org/licenses/MIT
+ https://www.w3.org/TR/owl2-quick-reference/
+ Copyright (c) 2014-2021 Athan Services
+ Copyright (c) 2014-2021 Fraunhofer Gesellschaft
+ Copyright (c) 2014-2021 Freie Universität Berlin
+ Copyright (c) 2014-2021 Mayo Foundation for Medical Education and Research (MFMER)
+ Copyright (c) 2014-2021 Thematix Partners LLC
+ Copyright (c) 2015-2021 Object Management Group, Inc.
+ Copyright (c) 2019-2021 Universität Leipzig
+ Copyright (c) 2020-2021 Micro Focus
+ https://www.omg.org/spec/API4KP/api4kp-kao/
+ https://www.omg.org/spec/API4KP/api4kp/
+ api4kp-ckao
+ api4kp-ckao.rdf
+
+
+
+
+
+
+
+
+ domain-specific knowledge asset
+
+
+
+
+ clinical knowledge asset
+ domain-specific knowledge asset that uses primarily concepts from the clinical business domain
+
+
+
+
+ categorized knowledge asset
+
+
+
+
+ 7db1af1f-1703-356f-bddc-8cb0a81a442c
+ Rules, Policies and Guidelines
+
+
+
+
+ d4b0e868-60c8-387d-a139-e3c35427bfb6
+ Assessment, Predictive and Inferential Models
+
+
+
+
+ 3f55a496-5ff3-3989-bf0a-15a61da8b09c
+ Structured Information and Data Capture Models
+
+
+
+
+ 64719ac1-415f-3747-843c-e1e8949071ff
+ Terminology, Ontology and Assertional KBs
+
+
+
+
+ 2d705e5a-22d4-3368-98a6-e5ea7d52fd05
+ KPIs, Measurements and Metrics
+
+
+
+
+ f9e2a69d-0f6e-3a2b-94c4-beaf6fdadaea
+ Plans, Processes, Pathways and Protocol Definitions
+
+
+
+
+
+
+
+
+
+
+
+ Constructive Definition of a (resolvable) Concept that specifies how to resolve that Concept in some context or situation.
+Some definitions have conditional applicability, limiting the class of situations in which they can be used
+ operational concept definition
+
+
+
+
+ knowledge that allows to infer an otherwise unknown or not directly observable state or situation
+ assessment model
+
+
+
+
+ Assessment that is not formalized according to logical or mathematical principles
+ Non formal assessments may be informal, or formalizable
+ non-formal assessment model
+
+
+
+
+
+
+
+
+
+
+ Knowledge Asset that captures how information is processed internally by an intelligent agent
+ cognitive process model
+
+
+
+
+
+ Definition used to classify patients into classes defined by some common characteristic
+ patient cohort definition
+
+
+
+
+ Decision Model that includes an explicit specification of its decision making logic, suitable to be faithfully expressed in a computable language
+ computable decision model
+
+
+
+
+
+ decision model capturing the knowledge used in the assessment of a patient's health status, or choice of intervention
+ clinical decision model
+
+
+
+
+ decision model capturing how people make decisions in real life
+ naturalistic decision model
+
+
+
+
+ Abstraction of the structure and/or behavior of the entities in a given domain
+ Conceptual (Domain) Model
+ domain conceptualization
+
+
+
+
+
+ Knowledge that is held to be a faithful description of the state of affairs in a given domain by all agents that share (and understand) it.
+ assertional knowledge
+
+
+
+
+ Assertional knowledge that is not completely ground, and can be specialized or adapted to a particular context
+ contextualizable knowledge
+
+
+
+
+ Assertional knowledge about specific individuals, entities and concepts
+ grounded knowledge
+
+
+
+
+ Assessment that can be abstracted by means of a question, which requires to select one out of a set of admissible options
+ decision model
+
+
+
+
+ specification of how to handle a case
+ case management model
+
+
+
+
+
+
+
+
+
+
+ Model of who, when, where and why a Decision is made, usually as part of a broader process. Also known as Decision Making Process Model, usually includes a Decision Model that specifies how to actually choose the optimal option
+ decision task model
+
+
+
+
+ An organized collection of determinable concepts, possibly associated to questions, which are meant to be resolved in a particular context
+ documentation template
+ more general than questionnaires, whose questions are meant to be answered by a human agent (possibly with computer aid), documentation templates can be used by software agents as well
+
+
+
+
+
+ Documentation template designed for human computer interaction, where the human fills a questionnaire, and a computer processes the gathered information to provide further insight to the human
+ interactive documentation template
+
+
+
+
+ A functional expression, defined in terms of two functional expressions connected by means of the well known equality operator.
+ equation
+
+
+
+
+
+ conceptual model that is based on formal principles, such as that allow to make inferences and/or verify the consistency of the model
+ formal ontology
+
+
+
+
+ Knowledge about the application of well-known information processing methods, possibly chained together, which are stateless, functional and idempotent in nature.
+ functional expression
+ 'mass' times the square of the speed of light
+
+
+
+
+ (Meta) model that defines which information should be captured about some kind of domain
+ information model
+ logical data model
+
+
+
+
+ The definition of how (and possibly when and where) to ask a question, following some kind of protocol, for the purpose of receiving a specific answer, with the goal of gaining information in the process
+ inquiry specification
+
+
+
+
+ Decision Task Model that requires the participation of two or more agents
+ multi-agent decision task model
+
+
+
+
+ assessment of some state that is unobservable due to being in the future
+ predictive model
+
+
+
+
+ A shared, endorsed, justified, imperative specification of the expected behavior of one or more agents in a specific situation
+
+ protocol
+
+
+
+
+ An organized collection of questions intended to solicit information from patients, providers or other individuals in the healthcare domain
+
+ questionnaire
+ First Visit Questionnaire
+
+
+
+
+ Decision Model that includes an unambiguous definition of every concept involved
+ semantic decision model
+
+
+
+
+
+
+
+
+
+
+ Information Model designed such that instances have one and only one interpretation
+ semantic information model
+
+
+
+
+ service description
+
+
+
+
+ Service Description that refines (by constraint), and thus depends on, some Service Description
+ service profile
+
+
+
+
+ Formal Service Description
+ service specification
+
+
+
+
+ Specification of a ReSTful service, i.e. one which exposes resources at endpoints
+ ReSTful service specification
+
+
+
+
+ Specification of a Operation-oriented service, i.e. one which exposes operations at endpoints
+ operation oriented service specification
+
+
+
+
+ A set of pairs of "codes", drawn from one or more code systems, and human-readable terms that represent clinical concepts (e.g. "diabetes type II")
+
+ value set
+ The Asthma Value Set
+
+
+
+
+ aggregate value set
+ value set that is defined in terms of the union of other value sets
+
+
+
+
+
+ care process model
+ CPM
+ adaptive specification of how to perform (complex) clinical activities, properly orchestrated over time, so to achieve certain objectives and goals
+ The Mayo Clinic Rectal Adenocarcinoma CPM
+ Includes AME Care Process Models (CPM)
+
+
+
+
+ case enrichment rule
+ clinical rule, or set thereof, that uses summarization, inference, guidance and contextualization logic to augment a patient's case, with respect to a disorder that the case is centered on
+
+
+
+
+ case summarization rule
+ clinical rule, or set thereof, that extracts salient 'features' from a patient case
+ A summarization rule does not generate new information, but rather selects information that is already present.
+
+
+
+
+ clinical calculation rule
+ clinical inference rule that determines a single, derived, 'observed' value
+
+
+
+
+ clinical contextualization rule
+ clinical inference rule that "projects" the patient's state around a set of (usually related) concepts, effectively creating a focused context
+
+
+
+
+ clinical eligibility rule
+ clinical rule that determines whether a treatment, or study thereof, is potentially administrable to a patient (cohort), based on the patient's characteristics
+
+
+
+
+ clinical enrollment rule
+ clinical rule that determines whether a patient will be administered care, as specified by a care process, pathway or protocol
+
+
+
+
+ clinical guidance rule
+ clinical rule, or set thereof, that uses a patient's (possibly summarized) case, to produce a recommendation, (i.e. a proposed strategy) to address a gap between the current and desired state
+ The information generated by guidance rules is generally meant to be a (partial) intervention plan, and thus drive an agent's action.
+
+
+
+
+ clinical inference rule
+ clinical rule, or set thereof, that uses a patient's (possibly summarized) case, to assess the patient's state, predict the case's course, and/or determine (contra)indicated intervention options
+ Inference rules generate new information based on the current state, and knowledge that dictates how to interpret that state. Inference rules, however, do not drive actions/interventions directly.
+
+
+
+
+
+ clinical practice guideline
+
+ clinical practice guideline
+ systematically developed statement(s) that assist provider decisions about appropriate healthcare for specific clinical situations
+ The Mayo Clinic Sternotomy Guideline
+
+
+
+
+
+ clinical protocol
+ protocol applicable in a clinical situation, such that it directs the behavior of patients and/or providers
+
+
+
+
+
+ clinical rule
+
+ computational logic to direct clinical interventions that are typically expressed as if/then statements but may also be represented by a diagram, decision table or other representation language
+ The 'HGB value prior to RBC transfusion' Recommendation Rule
+
+
+
+
+ clinical trial protocol
+ https://www.ncbi.nlm.nih.gov/pubmed/20815294
+ descriptions of the objectives, design, methodology, statistical considerations and aspects related to the organization of clinical trials
+ Trial protocols provide the background and rationale for conducting a study, highlighting specific research questions that are addressed, and taking into consideration ethical issues. Trial protocols must meet a standard that adheres to the principles of Good Clinical Practice, and are used to obtain ethics approval by local Ethics Committees or Institutional Review Boards.
+
+
+
+
+
+ cognitive care process model
+ knowledge whose primary subject covers the cognitive aspects of a care process
+
+
+
+
+ clinical pathway
+ specification of a possible, ideal course of action for the diagnosis or treatment of a condition
+
+
+
+
+
+ clinical case management model
+ knowledge of how to manage a person's diagnosis of a clinical condition
+
+
+
+
+
+
+ clinical decision support interaction
+ decision support interaction that delivers an alert, a reminder or a recommendation
+
+
+
+
+
+ nursing protocol
+ protocol that directs the behavior of nurses
+
+
+
+
+
+ order set
+ a standardized list of orders for a specific diagnosis
+ Verify the defintion that restricts the order sets to be developed by OSPAG, vs produced or endorsed
+ The Heart Failure Medication Titration Order Set
+
+
+
+
+
+ therapy plan
+ TODO composite orderset that spans over multiple encounters, aimed at the treatment of a specific disorder
+
+
+
+
+ quality measure
+ tool that helps measure or quantify healthcare processes, outcomes, patient perceptions and organizational structure and/or systems that are associated with the ability to provide high-quality healthcare and/or that relate to one or more quality goals
+
+
+
+
+
+ clinical quality measure
+ quality measure applied to patient cohorts
+
+
+
+
+
+ lexicon
+
+
+
+
+
+ grammar specification
+
+
+
+
+
+
+
+
+
+
+
+ explicit role knowledge asset
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ontologies/API4KP/v20210401/informative/api4kp-kmdo.rdf b/ontologies/API4KP/v20210401/informative/api4kp-kmdo.rdf
new file mode 100644
index 0000000..335ee62
--- /dev/null
+++ b/ontologies/API4KP/v20210401/informative/api4kp-kmdo.rdf
@@ -0,0 +1,1221 @@
+
+
+
+
+
+
+
+
+
+
+
+]>
+
+
+
+ API4KP Knowledge Delivery Management Ontology
+ The purpose of this ontology is to define 'knowledge' and the related concepts that play a role in managing and delivering that knowledge to different audiences.
+ Elisa Kendall (ekendall at thematix.com)
+ Davide Sottara (sottara.davide@mayo.edu)
+ Jane Shellum
+ Kris Pavek
+ Matthew Burton
+ Michael Panzer
+ Sivaram Arabandi
+ http://opensource.org/licenses/MIT
+ https://www.w3.org/TR/owl2-quick-reference/
+ Copyright (c) 2014-2021 Athan Services
+ Copyright (c) 2014-2021 Fraunhofer Gesellschaft
+ Copyright (c) 2014-2021 Freie Universität Berlin
+ Copyright (c) 2014-2021 Mayo Foundation for Medical Education and Research (MFMER)
+ Copyright (c) 2014-2021 Thematix Partners LLC
+ Copyright (c) 2015-2021 Object Management Group, Inc.
+ Copyright (c) 2019-2021 Universität Leipzig
+ Copyright (c) 2020-2021 Micro Focus
+ https://www.omg.org/spec/API4KP/api4kp/
+ https://www.omg.org/spec/LCC/
+ api4kp-kmdo
+ api4kp-kmdo.rdf
+
+
+
+
+
+
+
+
+ advanced knowledge
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ anonymous knowledge resource
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Knowledge Resource that is not identified by a an ID assigned by a central identification authority
+
+
+
+
+ approachable knowledge resource
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ available knowledge resource
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ There exists a repository where an agent is allowed to obtain a copy of (some artifact that carries) the knowledge resource
+ More specifically, an artifact that carries a representation of the expression of some (version of a) work of knowledge
+
+
+
+
+ body of knowledge
+ A complex corpus that encompasses the entirety of the knowledge about a specific Business Domain
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ broadly understandable knowledge resource
+ Knowledge Resource that is interpreted by an agent that possesses Common Knowledge, and can be interpreted by an agent even if Common Knowledge is all the Knowledge they possess
+ "Understandability' is defined at the concept level, so that an agent can (re)construct an internal representation of the knowledge, reconnecting the it to the related concepts that agent is expected to possess, and possibly make pragmatic use of it.
+
+The availability of a carrier, and the expression of the knowledge in a language that can be parsed by the agent are necessary, but not sufficient conditions.
+
+
+
+
+ business domain
+ A concept that synthesizes, abstracting and implying it, a functional complex of more granular concepts that define all the entities and relationships (actors, roles, activities and processes, resources, information, responsibilities, etc...) pertaining to a field or discipline
+ cooking
+ finance
+ healthcare
+
+
+
+
+ clinical business domain
+ A domain that includes concepts dealing with risk/cause, evaluation, diagnosis, treatment, prevention and management of health and wellness conditions, including methods for the appropriate application of tests, procedures, drugs, and treatments.
+ This is considered a class since there are multiple notions of 'Clinical Domain', varying e.g. by country or over time.
+
+
+
+
+ clinical knowledge resource
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Asset that is the realization of a Work of Knowledge, whose subject includes on one or more concepts from some Clinical Domain
+
+
+
+
+ common knowledge
+ Knowledge that everyone has, and everyone is known to have
+
+
+
+
+
+ (concretely realized) piece of content
+ PoC
+ Distributable, Concrete Expression of some Intellectual Work, in some Human Consumable Language
+
+
+
+
+
+
+
+
+
+
+ (concretely realized) piece of knowledge
+ PoK
+ A Piece of Knowledge is a Distributable, Concrete Expression of an Intellectual Work of Knowledge
+
+
+
+ (concretely realized) piece of knowledge content
+
+
+
+
+
+
+
+
+
+
+ PoCK
+ Piece of Content that is the expression of a Work of knowledge
+ Like any Piece of Content, a PoCK is expressed using some natural language, and formatted for consumption by a human audience (as opposed to be used for computation by a software)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ core knowledge asset
+
+
+
+
+
+
+
+
+
+
+
+
+ Asset such that Assets may be derived from it, but is not itself derived from any other Asset (although it could be a derivative of another Resource)
+
+
+
+
+ digital knowledge artifact
+ An artifact that carries some form of knowledge encoded by means of discretized signals
+
+
+
+
+ digital knowledge artifact directory
+ Function of a (software) agent that relies on a Knowledge Artifact Inventory that references Digital Knowledge Artifacts
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ digital knowledge artifact repository
+ Function served by an entity that stores Digital Knowledge Artifacts
+
+
+
+
+
+ digital knowledge asset surrogate
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ digital knowledge asset surrogate repository
+ a repository specialized in digital asset surrogates
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ digital knowledge management dervice provider
+ knowledge management service provider for digital knowledge artifacts
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ distributable expression
+ Concrete Expression that is realized by a self-contained knowledge artifact, and suitable to be used in a knowledge transfer activity
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ domain knowledge
+ Knowledge specifically about, and thus scoped by, some Business Domain (e.g. healthcare)
+
+
+
+
+ domain-specific knowledge resource
+
+
+
+
+
+
+
+
+
+
+
+
+ Knowledge resource that expresses a work of knowledge that captures a piece of domain specific knowledge
+
+
+
+ domain-specific work of knowledge
+
+
+
+
+
+
+
+
+
+
+
+
+ Knowledge Work that has subject some aspect of a single Business Domain
+
+
+
+
+ endorsed knowledge resource
+
+
+
+
+
+
+
+
+
+
+
+
+ Knowledge Resource that is endorsed by an agent / party.
+
+That agent is expected to have adequate subject matter expertise, must have the permission, and should have the authority to do so
+
+
+
+
+ experiential learning activity
+ activity where an agent gains knowledge through individual experience, as opposed to transfer from a different agent that already possesses that knowledge
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ expert knowledge
+ Domain Knowledge acquired by advanced certified training, practice and/or research
+
+
+
+
+ explicit knowledge
+
+ Knowledge that can be communicated from agent to agent
+
+
+
+
+
+
+
+
+
+
+ surrogate of externally catalogued resource
+ (Meta) Surrogate S that carries the description of a Surrogate T, and such that S and T are not stored in the same repository
+
+
+
+
+ surrogate of externally managed resource
+ a surrogate S that carries a resource description D about a resource R, and such that S is not stored in the same repository as the master copy of R
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ foundational knowledge
+ Knowledge that is acquired by means of formal training in a domain (e.g. equivalent to a MS level)
+
+
+
+
+
+
+
+
+
+
+ frontal delivery of instruction
+ A knowledge transfer activity that assumes the spatio-temporal co-location of two agents, where direct communication is used to transfer Knowlege from one to the other
+
+
+
+
+ delivery of graduate-level instruction
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ human consumable expression
+
+
+
+ identified knowledge resource
+
+
+
+
+
+
+
+
+
+
+
+
+ Knowledge Resource that is identified by a an ID assigned by a central identification authority
+
+
+
+
+ inlined knowledge resource description
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ A descriptor that is a proper sub-part of the (same) structured knowledge resource that has, as a proper sub-part, the resource the descriptor is providing information about
+
+
+
+
+ surrogate of internally managed resource
+ a surrogate S that carries a resource description D about a resource R, and such that S is stored in the same repository as the master copy of R
+
+
+
+
+
+
+
+
+
+
+ knowledge acquisition activity
+ An abstract activity that allows the agent performing it to gain some Knowledge. Concrete examples include learning, observing, experiencing, and combinations thereof.
+
+
+
+
+ knowledge approval activity
+ The act by which an designated party (a knowledge approval body) transfers their authority to a knowledge asset
+ approval
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ knowledge artifact directory
+ function of an agent that can be queried to resolve the identity and/or location of certain knowledge artifacts. The function is enabled by the agent's internal representation of an artifact inventory
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ knowledge artifact editor
+ function of a tool that is used in activities that involve the creation, editing and curation of knowledge artifacts, both from a content and form perspective
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ knowledge artifact inventory
+ A complex collection of references to one or more Knowledge Artifacts
+
+
+
+
+ knowledge asset
+ Identified Knowledge Resource, i.e. that is identified by an ID assigned by a central identification authority
+Assets are valuable to parties acting within that domain.
+
+
+
+
+
+ knowledge asset description
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ knowledge asset metadata
+ a Knowledge Asset that has another Asset as subject
+
+
+
+
+ knowledge authoring activity
+ The act of expressing a Work of Knowledge in some language
+ authoring
+
+
+
+
+ knowledge creation activity
+ An expert's act of creating a new Work of Knowledge
+ creation
+
+
+
+
+ knowledge editing activity
+ The act of formatting and typesetting a Knowledge Expression to fit a designated carrier
+ editing
+
+
+
+
+
+
+
+
+
+
+ knowledge endorsing party
+ Party that has the authority and the subject matter expertise to endorse some Work of Knowledge. The trust in the Party gets transferred to the Work of Knowledge
+
+
+
+
+ knowledge management activity
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ knowledge management service provider
+ The function of an entity that serves the role of Knowledge Manager, enabling the creation, maintenance, storage, cataloguing, and delivery/distribution of knowledge artifacts
+
+
+
+
+ knowledge meta-description
+
+
+
+
+
+
+
+
+
+
+
+
+ A knowledge resource description whose subject is another knowledge description
+ For the purpose of knowledge management, knowledge asset descriptions are assets that can be assembled into a knowledge base, and used for reasoning.
+Meta-descriptions can be materialized as needed for such knowledge bases, allowing to use a model-driven approach to knowledge management
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ knowledge publication activity
+ knowledge release activity
+ activity by which an endorsed knowledge resource is released to the public, to be used, making it possible for agents to acquire it
+ publication
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ knowledge representation embedding surrogate
+ A Surrogate that realizes a knowledge descriptor, and embeds a representation of either the knowledge resource it describes, or a derivative thereof.
+(This concept is defined at the manifestation/item level. The two expressions are realized independently and included in the same manifestation, with the surrogate being the primary entity the manifestation is realizing)
+
+
+
+
+ knowledge review activity
+ An expert's comparison of a knowledge asset with their subject matter expertise, to determine whether the work is still accurate, faithful and up to date
+ review
+
+
+
+
+ knowledge revision activity
+ A knowledge review that results in a new version of a knowledge asset
+ revision
+
+
+
+
+
+
+
+
+ 2
+
+
+ knowledge transfer activity
+ Activity with 2 or more participant agents. Before it is performed, there exists 2 participants A and B, such that A possesses some knowledge K, and B does not. After the activity is completed, B will possess that knowledge K.
+
+
+
+
+ mainstream knowledge resource
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Latest Published Version of a Knowledge Resource.
+i.e. Published Knowledge Resource such that there is no revision that is also Published.
+
+
+
+
+ master copy
+ TODO Deprecated. Moved to the core ONTOLOGY
+ master copies are usually stored in dedicated repositories, from where copies can be obtained
+ artifact that is used as the source in replication activities
+
+
+
+
+ medical business domain
+ domain that encompasses the science of health in general: including, but not limited to, the study the human body (anatomy and physiology), the practice of medicine as the prevention and treatment of diseaes, pharmacology as the science of substances that can affect the human body
+
+
+
+
+
+
+
+
+
+
+
+
+
+ original knowledge resource
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ The first (version of an) Knowledge Resource, such that there are no predecessor (expressions of previous) Works that have been used during its creation.
+
+
+
+ published knowledge resource
+
+
+
+
+
+
+
+
+
+
+
+
+ resource that has been published by means of a publication activity
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ sophisticated knowledge resource
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Knowledge Resource that can be interpreted only by an agent that possesses some Knowledge other than Common Knowledge, or that requires some (other) Knowledge Resource
+i.e.: not Standalone or not Broadly Understandable
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ specialist knowledge
+ Domain Knowledge acquired by advanced certified training
+
+
+
+ standalone knowledge resource
+ Such a Resource can be interpreted by an agent (that has the appropriate knowledge pre-requisites) without the need to look up any additional Knowledge Resources
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Knowledge Resource that does not depend on any other resource
+
+
+
+
+ tacit knowledge
+ Knowledge that can not be transfered to another agent by means of direct communication
+
+
+
+
+ delivery of undergraduate level instruction
+
+
+
+
+ archived in
+
+
+
+
+
+
+ archives
+ Archival is a kind of storage implying no immediate use. Archiving is scoped to artifacts only
+
+
+
+
+
+
+
+
+ endorsed by
+
+
+
+
+
+
+
+ endorses
+
+
+ An agent's endorsement of a knowledge endeavor implies (i) that the agent is able to understand the content of that endeavor, internally representing the knowledge (expressed by (the expression carried)) in the endeavor, (ii) that the agent transfers their reputation and trust to that endeavor
+
+
+
+
+ has focus
+
+
+
+ (knowledge) possessed by
+
+
+
+
+
+
+ possesses (knowledge)
+
+
+
+
+
+
+
+
+ An Agent possesses some Knowledge if they can conceptualize that Knowledge, and act based on that Knowledge
+ The possession of some Knowledge is the outcome of a Knowledge Acquisition Activity
+
+
+
+
+ has primary subject
+
+
+
+
+ replica of
+ An artifact that resulted from the copy of a 'master copy' is a replica of that copy
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ in terms of
+
+
+
+
+ defines
+
+
+
+
+ is about
+
+
+
+
+ represents
+
+
+
+
+
+
+
+
+
+
+
+
+
+ is applicable to
+ is pertinent and useful in the context of
+ restricted to Knowledge that is applicable to a Situation (type). Given an Agent in a Situation of that type, with Goal (types) that depend on that Situation (type): if the Agent possesses that piece of Knowledge, the Agent can devise a Plan that is more efficient and/or effective at achieving the Goals, compared to not having that Knowledge
+
+
+
+
+ is to be applied to
+ is applicable to, and there exist a moral, social and/or legal obligation to apply it to
+
+
+
+
+ is applied to
+ is applicable to, and there is evidence that it has been applied at least once
+
+
\ No newline at end of file
diff --git a/ontologies/API4KP/v20210401/informative/api4kp-kpc.rdf b/ontologies/API4KP/v20210401/informative/api4kp-kpc.rdf
new file mode 100644
index 0000000..964d472
--- /dev/null
+++ b/ontologies/API4KP/v20210401/informative/api4kp-kpc.rdf
@@ -0,0 +1,84 @@
+
+
+
+
+
+
+
+
+
+
+
+]>
+
+
+
+ API4KP Ontology of Known Platform Components
+ TODO
+ Elisa Kendall (ekendall at thematix.com)
+ Davide Sottara (sottara.davide at mayo.edu)
+ http://opensource.org/licenses/MIT
+ https://www.w3.org/TR/owl2-quick-reference/
+ Copyright (c) 2014-2021 Athan Services
+ Copyright (c) 2014-2021 Fraunhofer Gesellschaft
+ Copyright (c) 2014-2021 Freie Universität Berlin
+ Copyright (c) 2014-2021 Mayo Foundation for Medical Education and Research (MFMER)
+ Copyright (c) 2014-2021 Thematix Partners LLC
+ Copyright (c) 2015-2021 Object Management Group, Inc.
+ Copyright (c) 2019-2021 Universität Leipzig
+ Copyright (c) 2020-2021 Micro Focus
+ https://www.omg.org/spec/API4KP/api4kp-kp/
+ https://www.omg.org/spec/API4KP/api4kp/
+ api4kp-kpc
+ api4kp-kpc.rdf
+
+
+
+
+
+
+
+
+ Drools
+
+ production rules engine that provides a core business rules engine (BRE), a web authoring and rules management application (Drools Workbench), full runtime support for Decision Model and Notation (DMN) models at conformance level 3 and an Eclipse IDE plugin for core development
+
+
+
+
+ Drools 5.6
+
+
+
+
+ Drools 7.48.0.Final
+
+ Drools production release dated 2021-01-13
+
+
+
+
+ HermiT
+
+ description logic reasoner that is designed to support ontologies written using the Web Ontology Language (OWL)
+
+
+
+
+ HermiT 1.3.8.413
+
+ HermiT production release 1.3.8.413
+
+
+
\ No newline at end of file
diff --git a/ontologies/API4KP/v20210401/informative/api4kp-registry.rdf b/ontologies/API4KP/v20210401/informative/api4kp-registry.rdf
new file mode 100644
index 0000000..937ade3
--- /dev/null
+++ b/ontologies/API4KP/v20210401/informative/api4kp-registry.rdf
@@ -0,0 +1,1389 @@
+
+
+
+
+
+
+
+
+
+
+
+]>
+
+
+
+ API4KP Knowledge Asset Registry Ontology
+ TODO
+ Elisa Kendall (ekendall at thematix.com)
+ Davide Sottara (sottara.davide at mayo.edu)
+ http://opensource.org/licenses/MIT
+ https://www.w3.org/TR/owl2-quick-reference/
+ Copyright (c) 2014-2021 Athan Services
+ Copyright (c) 2014-2021 Fraunhofer Gesellschaft
+ Copyright (c) 2014-2021 Freie Universität Berlin
+ Copyright (c) 2014-2021 Mayo Foundation for Medical Education and Research (MFMER)
+ Copyright (c) 2014-2021 Thematix Partners LLC
+ Copyright (c) 2015-2021 Object Management Group, Inc.
+ Copyright (c) 2019-2021 Universität Leipzig
+ Copyright (c) 2020-2021 Micro Focus
+ https://www.omg.org/spec/API4KP/api4kp/
+ https://www.omg.org/spec/DOL/
+ api4kp-reg
+ api4kp-registry.rdf
+
+
+
+
+
+
+
+
+
+
+ SNOMED Compositional Grammar
+ SNOMED-CT Compositional Grammar
+ scg
+ http://snomed.org/scg
+
+ 2
+ SCG
+
+
+
+
+ SCG Syntax
+ SCG Syntax
+ scgs
+ http://snomed.org/scg
+ SNOMED Compositional Grammar Text Syntax
+
+
+
+
+
+
+ HL7 ELM
+ Clinical Quality Language, Expression Language Metamodel
+ elm
+ https://cql.hl7.org/ELM
+
+ v1
+ HL7 ELM
+
+
+
+
+
+ KNART 1.3
+ HL7 Knowledge Artifact Metamodel 1.3
+ knart
+ https://www.hl7.org/implement/standards/product_brief.cfm?product_id=337
+
+ v13
+ KNART 1.3
+
+
+
+
+ FHIR DSTU2 XML Syntax
+ FHIR DSTU2 XML Syntax
+ fhir2+xml
+ https://www.hl7.org/fhir/DSTU2/xml.html
+ FHIR DSTU2 XML Syntax
+
+
+
+
+
+
+ FHIR DSTU2
+ Fast Healthcare Interoperability Resources DSTU2
+ fhir
+ http://hl7.org/fhir/DSTU2
+
+
+
+ v2
+ FHIR DSTU2
+
+
+
+
+
+
+
+
+ FHIR R4
+ Fast Healthcare Interoperability Resources R4
+ fhir
+ http://hl7.org/fhir/R4
+ v4
+ FHIR R4
+
+
+
+
+
+
+
+
+ FHIR STU3
+ Fast Healthcare Interoperability Resources STU3
+ fhir
+ http://hl7.org/fhir/STU3
+ v3
+ FHIR STU3
+
+
+
+
+
+
+
+ FHIR DSTU2 JSON Syntax
+ FHIR DSTU2 JSON Syntax
+ fhir2+json
+ https://www.hl7.org/fhir/DSTU2/json.html
+ FHIR DSTU2 JSON Syntax
+
+
+
+
+
+ FHIR DSTU2 RDF Syntax
+ FHIR DSTU2 RDF Syntax
+ fhir2+rdf
+ https://www.hl7.org/fhir/DSTU2/rdf.html
+ FHIR DSTU2 RDF Syntax
+
+
+
+
+
+
+ FHIRPath STU1
+ FHIRPath Path Language
+ fhirpath
+ http://hl7.org/fhirpath/
+ v1
+ FHIRPath STU1
+
+
+
+
+ JSON
+ json
+ http://json.org/20171201
+ JSON
+
+
+
+
+ CQL Essentials
+ Essential elements of CQL, scoped to simple expressions, used to evalute context variables
+ cql-exx
+ http://cql.hl7.org
+
+ CQL Essentials
+
+
+
+
+
+ Clinical Concept Glossary
+ Clinical Concept Glossary Metamodel
+ ccg
+ v1
+ Clinical Concept Glossary
+
+
+
+
+
+
+ Cognitive Care Process Model
+ Cognitive Care Process Models Metamodel
+ ccpm
+ v1
+ Cognitive Care Process Model
+
+
+
+
+
+ Knowledge Asset Annotations XML Syntax
+ Knowledge Asset Surrogate - Annotations - XML Syntax
+ ann+xml
+ http://www.omg.org/spec/API4KP/1.0/
+ Knowledge Asset Annotations XML Syntax
+
+
+
+
+
+ Knowledge Asset Surrogate XML Syntax
+ Knowledge Asset Surrogate XML Syntax
+ surr+xml
+ http://www.omg.org/spec/API4KP/1.0/
+ Knowledge Asset Surrogate XML Syntax
+
+
+
+
+
+ Knowledge Asset Surrogate JSON Syntax
+ Knowledge Asset Surrogate JSON Syntax
+ surr+json
+ http://www.omg.org/spec/API4KP/1.0/
+ Knowledge Asset Surrogate JSON Syntax
+
+
+
+
+
+
+ Service Profile
+ Service Profile Metamodel
+ sp
+ v1
+ Service Profile
+
+
+
+
+
+ LOINC
+ Logical Observation Identifiers Names and Codes
+ lnc
+ LOINC
+
+
+
+
+ PCV
+ Mayo Clinic Propositional Concept Vocabulary
+ pcv
+ PCV
+
+
+
+
+
+ Reaction RuleML 1.2
+ Reaction RuleML 1.2
+ rruleml
+ http://reaction.ruleml.org/1.02/
+ v12
+ Reaction RuleML 1.2
+
+
+
+
+ SNOMED
+ Systematized Nomenclature of Medicine -- Clinical Terms
+ sct
+ SNOMED-CT
+
+
+
+
+ API4KP Service XML Syntax
+ API4KP XML Syntax
+ api+xml
+ http://www.omg.org/spec/API4KP/1.0/
+ API4KP Service XML Syntax
+
+
+
+
+
+ API4KP Service JSON Syntax
+ API4KP JSON Syntax
+ api+json
+ http://www.omg.org/spec/API4KP/1.0/
+ API4KP Service JSON Syntax
+
+
+
+
+
+ BPMN 2.0 XML Syntax
+ BPMN 2.0 XML Syntax
+ bpmn-v2+xml
+ https://www.omg.org/spec/BPMN/2.0/
+ BPMN 2.0 XML Syntax
+
+
+
+
+
+ CMMN 1.1 XML Syntax
+ CMMN 1.1 XML Syntax
+ cmmn-v11+xml
+ https://www.omg.org/spec/CMMN/1.1/
+ CMMN 1.1 XML Syntax
+
+
+
+
+
+ DMN 1.1 XML Syntax
+ DMN 1.1 XML Syntax
+ dmn-v11+xml
+ https://www.omg.org/spec/DMN/1.1/
+ DMN 1.1 XML Syntax
+
+
+
+
+
+ DMN 1.2 XML Syntax
+ DMN 1.2 XML Syntax
+ dmn-v12+xml
+ https://www.omg.org/spec/DMN/1.2/
+ DMN 1.2 XML Syntax
+
+
+
+
+
+ MVF 1.0 XML Syntax
+ MVF 1.0 XML Syntax
+ mvf-v10+xml
+ https://www.omg.org/spec/MVF/1.0/
+ MVF 1.0 XML Syntax
+
+
+
+
+
+
+
+
+
+ Provisional - TODO - fixme
+
+
+
+
+
+
+
+
+
+
+
+
+
+ XSD XML 1.1 Syntax
+ XSD XML 1.1 Syntax
+ xsd-v11+xml
+ https://www.w3.org/TR/xmlschema11-1/
+ XSD XML 1.1 Syntax
+
+
+
+
+
+ XML Schema Instance
+ XML Schema Instance
+ xsi
+ XML Schema Instance
+
+
+
+
+
+ OWL-2
+ Web Ontology Language 2
+ owl2
+ https://www.w3.org/TR/2012/REC-owl2-syntax-20121211/
+
+
+
+
+
+ v20121211
+ OWL-2
+
+
+
+
+ OWL XML Serialization
+ OWL XML Serialization
+ xml
+ https://www.w3.org/TR/owl2-xml-serialization/
+ OWL XML Serialization
+
+
+
+
+
+ SKOS
+ Simple Knowledge Organization Scheme
+ skos
+ SKOS
+
+
+
+
+ XML 1.1
+ xml
+ http://www.w3.org/TR/xml11
+ XML 1.1
+
+
+
+
+ XML Namespace
+ XML Namespace
+ xmlns
+ XML Namespace
+
+
+
+
+ OWL2 DL
+ OWL 2 Web Ontology Language, DL Profile
+ DL
+ https://www.w3.org/TR/owl2-profiles/#OWL_2_DL
+
+ OWL2 DL
+
+
+
+
+ OWL2 EL
+ OWL 2 Web Ontology Language, EL Profile
+ EL
+ https://www.w3.org/TR/owl2-profiles/#OWL_2_EL
+
+ OWL2 EL
+
+
+
+
+ OWL2 Full
+ OWL 2 Web Ontology Language, RDF Semantics
+ Full
+ https://www.w3.org/TR/owl2-syntax/
+
+ OWL2 Full
+
+
+
+
+ OWL2 QL
+ OWL 2 Web Ontology Language, QL Profile
+ QL
+ https://www.w3.org/TR/owl2-profiles/#OWL_2_QL
+
+ OWL2 QL
+
+
+
+
+ OWL2 RL
+ OWL 2 Web Ontology Language, RL Profile
+ RL
+ https://www.w3.org/TR/owl2-profiles/#OWL_2_RL
+
+ OWL2 RL
+
+
+
+
+ YAML 1.2
+ yaml
+ http://yaml.org/spec/1.2
+ YAML 1.2
+
+
+
+
+
+ HL7 CQL
+ Clinical Quality Language 1.5.0
+ cql
+ https://cql.hl7.org/
+
+
+ v150
+ HL7 CQL 1.5.0
+
+
+
+
+ CQL 1.5.0 Syntax
+ CQL 1.5.0 Syntax
+ cql+txt
+ https://cql.hl7.org/2020May/grammar.html
+ CQL 1.5.0 Syntax
+
+
+
+
+
+
+ HL7 CQL
+ Clinical Quality Language 1.3
+ cql
+ https://cql.hl7.org/
+
+
+ v130
+ HL7 CQL 1.3
+
+
+
+
+ CQL 1.3 Syntax
+ CQL 1.3 Syntax
+ cql+txt
+ https://cql.hl7.org/STU3/grammar.html
+ CQL 1.3 Syntax
+
+
+
+
+
+
+ HL7 CQL
+ Clinical Quality Language 1.4.1
+ cql
+ https://cql.hl7.org/
+
+
+ v141
+ HL7 CQL 1.4.1
+
+
+
+
+ CQL 1.4.1 Syntax
+ CQL 1.4.1 Syntax
+ cql+txt
+ https://cql.hl7.org/STU4/grammar.html
+ CQL 1.4.1 Syntax
+
+
+
+
+
+
+ GraphQL
+ GraphQL June 2018 Release
+ graphql
+ https://graphql.github.io/graphql-spec/June2018/
+
+ vJun2018
+ GraphQL 2018
+
+
+
+
+ GraphQL Syntax
+ GraphQL Syntax
+ graphql+txt
+ https://graphql.github.io/graphql-spec/June2018/#sec-Language
+ GraphQL Syntax
+
+
+
+
+
+ GraphQL Queries
+ GraphQL Schemas
+ Q
+ https://graphql.github.io/graphql-spec/queries
+
+ GraphQL Queries
+
+
+
+
+ GraphQL Schemas
+ GraphQL Schemas
+ S
+ https://graphql.github.io/graphql-spec/schemas
+
+ GraphQL Schemas
+
+
+
+
+ Java 8
+ Java 8
+ java
+ https://jcp.org/en/jsr/detail?id=337
+ v8
+ Java 8
+
+
+
+
+ Mustache
+ Mustache Templating Language
+ mustache
+ http://mustache.github.io
+ v1
+ Mustache
+
+
+
+
+ Parsing Level
+ Language Parsing Level
+ vertical
+ https://www.omg.org/spec/API4KP/api4kp/
+ Parsing Level
+
+
+
+
+ Natural Language
+ Natural Language (ISO 639-1 Standard)
+ langs
+ https://www.omg.org/spec/LCC/Languages/ISO639-1-LanguageCodes/
+ Natural Language
+
+
+
+
+ Knowledge Asset Category
+ Knowledge Asset Category
+ asset-cat
+ https://www.omg.org/spec/API4KP/api4kp/
+ Knowledge Asset Category
+
+
+
+
+ Knowledge Asset Type
+ Knowledge Asset Type
+ asset-type
+ https://www.omg.org/spec/API4KP/api4kp/
+ Knowledge Asset Type
+
+
+
+
+ KRR Technique
+ Knowledge Reasoning Technique
+ krtech
+ https://www.omg.org/spec/API4KP/api4kp/
+ KRR Technique
+
+
+
+
+ KRR Language Role
+ Knowledge Representation and Reasoning Language Role
+ lang-rol
+ https://www.omg.org/spec/API4KP/api4kp/
+ KRR Language Role
+
+
+
+
+ Asset Relationships - Citations
+ Knowledge Asset Relationships - Citations
+ cito
+ https://www.omg.org/spec/API4KP/api4kp/
+ Asset Relationships - Citations
+
+
+
+
+ Asset Relationships - Dependencies
+ Knowledge Asset Relationships - Dependencies
+ depend
+ https://www.omg.org/spec/API4KP/api4kp/
+ Asset Relationships - Dependencies
+
+
+
+
+ Asset Relationships - Derivations
+ Knowledge Asset Relationships - Derivations
+ deriv
+ https://www.omg.org/spec/API4KP/api4kp/
+ Asset Relationships - Derivations
+
+
+
+
+ Asset Relationships - Versions
+ Knowledge Asset Relationships - Versions
+ version
+ https://www.omg.org/spec/API4KP/api4kp/
+ Asset Relationships - Versions
+
+
+
+
+ Asset Relationships - Structural
+ Knowledge Asset Relationships - Structural
+ struct
+ https://www.omg.org/spec/API4KP/api4kp/
+ Asset Relationships - Structural
+
+
+
+
+ Asset Relationships - Summary
+ Knowledge Asset Relationships - Summary
+ summary
+ https://www.omg.org/spec/API4KP/api4kp/
+ Asset Relationships - Summary
+
+
+
+
+ Asset Relationships - Variants
+ Knowledge Asset Relationships - Variants
+ variant
+ https://www.omg.org/spec/API4KP/api4kp/
+ Asset Relationships - Variants
+
+
+
+
+ KRR MetaFormat
+ Knowledge Representation and Reasoning Serialization Format
+ krfmt
+ http://ontology.mayo.edu/KMDP/registry/
+ KRR MetaFormat
+
+
+
+
+ KRR Language
+ Knowledge Representation and Reasoning Language
+ krlang
+ http://ontology.mayo.edu/KMDP/registry/
+ KRR Language
+
+
+
+
+ KRR Profile
+ Knowledge Representation and Reasoning Language Profile
+ krprof
+ http://ontology.mayo.edu/KMDP/registry/
+ KRR Profile
+
+
+
+
+ KRR Serialization
+ Knowledge Representation and Reasoning Serialization
+ krser
+ http://ontology.mayo.edu/KMDP/registry/
+ KRR Serialization
+
+
+
+
+ KRR Lexicon
+ Knowledge Representation and Reasoning Lexicon
+ lexicon
+ http://ontology.mayo.edu/KMDP/registry/
+ KRR Lexicon
+
+
+
+
+
+ OpenAPI 2.x
+ OpenAPI / Swagger v2.x
+ openapi
+ https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md
+
+
+ v2
+ OpenAPI 2.x
+
+
+
+
+ OpenAPI 2 JSON Syntax
+ OpenAPI 2 JSON Syntax
+ openapi-v2+json
+ https://swagger.io/specification/#format
+ OpenAPI 2 JSON Syntax
+
+
+
+
+
+ OpenAPI 2 YAML Syntax
+ OpenAPI 2 YAML Syntax
+ openapi-v2+yaml
+ https://swagger.io/specification/#format
+ OpenAPI 2 YAML Syntax
+
+
+
+
+
+
+
+ OpenAPI 3.x
+ OpenAPI v3.x
+ oas
+ https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md
+
+
+ v3
+ OpenAPI 3.x
+
+
+
+
+ OpenAPI 3 JSON Syntax
+ OpenAPI 3 JSON Syntax
+ oas-v3+json
+ https://swagger.io/specification/#format
+ OpenAPI 3 JSON Syntax
+
+
+
+
+
+ OpenAPI 3 YAML Syntax
+ OpenAPI 3 YAML Syntax
+ oas-v3+yaml
+ https://swagger.io/specification/#format
+ OpenAPI 3 YAML Syntax
+
+
+
+
+
+ TXT
+ text
+ https://tools.ietf.org/html/rfc1341/7
+ TXT
+
+
+
+
+
+ Common Logic
+ Common Logic
+ cl
+ https://www.iso.org/standard/66249.html
+
+
+
+ v1
+ Common Logic
+
+
+
+
+ CGIF
+ Conceptual Graph Interchange Format
+ cgif
+ https://www.iso.org/standard/66249.html
+ CGIF
+
+
+
+
+
+ CLIF
+ Common Logic Interchange Format
+ clif
+ https://www.iso.org/standard/66249.html
+ CLIF
+
+
+
+
+
+ RxNORM
+ RxNorm
+ rxnorm
+ RxNORM
+
+
+
+
+
+ API4KP
+ API 4 Knowledge Platform Metamodel
+ api4kp
+ https://www.omg.org/spec/API4KP/1.0/
+ v1
+ API4KP
+
+
+
+
+
+
+
+
+
+
+
+
+ API4KP Datatypes
+ API4KP Datatypes
+ dtt
+ https://www.omg.org/spec/API4KP/1.0/
+
+ API4KP Datatypes
+
+
+
+
+ API4KP Identifiers
+ API4KP Identifiers
+ id
+ https://www.omg.org/spec/API4KP/1.0/
+
+ API4KP Identifiers
+
+
+
+
+ API4KP Service Descriptors
+ API4KP Service Descriptors
+ api
+ https://www.omg.org/spec/API4KP/1.0/
+
+
+
+ API4KP Service Descriptors
+
+
+
+
+
+ Knowledge Asset Surrogate
+ Knowledge Asset Surrogate Metamodel
+ surr
+ https://www.omg.org/spec/API4KP/1.0/
+
+
+ v1
+ Knowledge Asset Surrogate
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Knowledge Asset Surrogate Annotations
+ Knowledge Asset Surrogate Annotations
+ ann
+ https://www.omg.org/spec/API4KP/1.0/
+
+
+ Knowledge Asset Surrogate Annotations
+
+
+
+
+
+ Knowledge Asset Surrogate 2.0
+ Knowledge Asset Surrogate Metamodel 2.0
+ surr
+ https://www.omg.org/spec/API4KP/1.0/
+
+ v2
+ Knowledge Asset Surrogate 2.0
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Knowledge Asset Surrogate 2.0 XML Syntax
+ Knowledge Asset Surrogate 2.0 XML Syntax
+ surr-v2+xml
+ http://www.omg.org/spec/API4KP/1.0/
+ Knowledge Asset Surrogate 2.0 XML Syntax
+
+
+
+
+
+
+ ODM BAL 8.10.x
+ IBM ODM Business Action Language
+ odm_bal
+
+ v8_10_x
+
+
+
+
+
+ ODM BOM 8.10.x
+ IBM ODM Business Object Modeling Language
+ odm_bom
+ v8_10_x
+
+
+
+
+ ODM BRL Syntax
+ ODM BRL Syntax
+ brl
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ BPMN
+ Business Process Modelling Notation 2.0
+ bpmn
+ https://www.omg.org/spec/BPMN/2.0/
+
+ v2
+ BPMN 2.0
+
+
+
+
+
+ CMMN 1.1
+ Case Modelling and Management Notation 1.1
+ cmmn
+ https://www.omg.org/spec/CMMN/1.1/
+
+ v11
+ CMMN 1.1
+
+
+
+
+
+ DMN 1.1
+ Decision Modelling Notation 1.1
+ dmn
+ https://www.omg.org/spec/DMN/1.1/
+
+ v11
+ DMN 1.1
+
+
+
+
+
+ FEEL 1.1
+ Friendly Enough Expression Lanaguage 1.1
+ feel
+ https://www.omg.org/spec/DMN/1.1/
+ v11
+ FEEL 1.1
+
+
+
+
+
+ DMN 1.2
+ Decision Modelling Notation 1.2
+ dmn
+ https://www.omg.org/spec/DMN/1.2/
+
+ v12
+ DMN 1.2
+
+
+
+
+
+ FEEL 1.2
+ Friendly Enough Expression Lanaguage 1.2
+ feel
+ https://www.omg.org/spec/DMN/1.2/
+ v12
+ FEEL 1.2
+
+
+
+
+
+ MVF 1.0
+ Multiple Vocabulary Facility 1.0
+ mvf
+ https://www.omg.org/spec/MVF/1.0/
+
+ v10
+ MVF 1.0
+
+
+
+
+
+ UML 2.5
+ Unified Modelling Language 2.5
+ uml2
+ https://www.omg.org/spec/UML/2.5/
+ v25
+ UML 2.5
+
+
+
+
+ UML Resource
+ UML 2 Resource Profile
+ Res
+
+ UML Resource
+
+
+
+
+ RDF/XML Syntax
+ RDF/XML Syntax
+ rdf/xml
+ https://www.w3.org/TR/owl2-mapping-to-rdf/
+ RDF/XML Syntax
+
+
+
+
+
+ WSDL 2 XML Syntax
+ WSDL 2 XML Syntax
+ wsdl/xml
+ https://www.w3.org/2007/06/wsdl/wsdl20.xsd
+ WSDL 2 XML Syntax
+
+
+
+
+
+ RDF 1.1
+ rdf
+ https://www.w3.org/RDF/
+ RDF 1.1
+
+
+
+
+ OWL Functional Syntax
+ OWL Functional Syntax
+ ofn
+ https://www.w3.org/TR/2012/REC-owl2-syntax-20121211/
+ OWL Functional Syntax
+
+
+
+
+
+ HTML
+ HTML 5
+ html
+ https://www.w3.org/TR/html5/
+ v52
+ HTML
+
+
+
+
+ OWL Manchester Syntax
+ OWL Manchester Syntax
+ ms
+ https://www.w3.org/TR/owl2-manchester-syntax/
+ OWL Manchester Syntax
+
+
+
+
+
+
+ SPARQL 1.1
+ SPARQL Protocol and RDF Query Language
+ sparql
+ https://www.w3.org/TR/2013/REC-sparql11-query-20130321/
+
+ v11
+ SPARQL 1.1
+
+
+
+
+ SPARQL Syntax
+ SPARQL Syntax
+ sparql-query
+ https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#grammar
+ SPARQL Syntax
+
+
+
+
+
+ Turtle
+ Terse RDF Triple Language
+ ttl
+ https://www.w3.org/TR/turtle/
+ Turtle
+
+
+
+
+
+
+ WSDL 2.0
+ Web Service Description Language 2.0
+ WSDL
+ https://www.w3.org/TR/wsdl20/
+
+ v2
+ WSDL 2.0
+
+
+
+
+ XHTML
+ X-HTML
+ xhtml
+ https://www.w3.org/TR/xhtml1/
+ v1
+ XHTML
+
+
+
+
+
+ XSD 1.1
+ XML Schema Definition Language 1.1
+ xsd
+ https://www.w3.org/TR/xmlschema11-1/
+
+ v11
+ XSD 1.1
+
+
+
+
+
+ XSLT 3.0
+ Extensible Stylesheet Transformation 3.0
+ xslt
+ https://www.w3.org/TR/2017/REC-xslt-30-20170608/
+ v3
+ XSLT 3.0
+
+
+
+
+ XCL
+ Common Logic XML Syntax
+ xcl/xml
+ https://www.iso.org/standard/66249.html
+ XCL
+
+
+
+
+
+ CQL/ELM XML Syntax
+ CQL/ELM XML Syntax
+ cql+xml
+ https://cql.hl7.org/elm.html
+ CQL-ELM XML Syntax
+
+
+
+
+
+ KNART XML Syntax
+ KNART 1.3 XML Syntax
+ knart+xml
+ https://www.hl7.org/implement/standards/product_brief.cfm?product_id=337
+ KNART XML Syntax
+
+
+
+
+
+ DITA 1.3
+ DITA 1.3
+ dita
+ http://docs.oasis-open.org/dita/dita/v1.3/dita-v1.3-part3-all-inclusive.html
+ v13
+ DITA 1.3
+
+
+
+
+ LwDITA 1.0
+ LwDITA 1.0
+ lwdita
+ https://www.oasis-open.org/committees/tc_home.php?wg_abbrev=dita-lightweight-dita
+ v10
+ LwDITA 1.0
+
+
+
\ No newline at end of file
diff --git a/openapi/v2/org/omg/spec/api4kp/2.0.0/knowledgeArtifactRepository.yaml b/openapi/v2/org/omg/spec/api4kp/2.0.0/knowledgeArtifactRepository.yaml
deleted file mode 100644
index aaa8f62..0000000
--- a/openapi/v2/org/omg/spec/api4kp/2.0.0/knowledgeArtifactRepository.yaml
+++ /dev/null
@@ -1,868 +0,0 @@
-swagger: '2.0'
-
-info:
- version: "2.0.0"
- title: 'API4KP Knowledge Artifact Repository API'
- contact:
- name: Davide Sottara
- email: sottara.davide@mayo.edu
- license:
- name: Apache License, Version 2.0
- url: https://www.apache.org/licenses/LICENSE-2.0.html
- description: |
- API that expose the functional capabilities of a Knowledge Artifact Repository Service (KAR), as defined in the OMG API4KP specification.
-
- Knowledge Artifact Repositories allow to store and retrieve (copies of) Digital Knowledge Artifacts (KA). KARs treat KAs as black-box binary objects, so there is no limitation nor expectation on the nature of the content, or the requirements to consume it. However, identity and versioning must be supported.
-
- Identifiers must be universal, unique and opaque, so they MUST be UUID v4 compliant. Version tags can follow different patterns (semantic versioning, incremental numbering, date/time stamps, etc...).
-
- Special considerations involve the _deletion_ of an Artifact. For traceability and safety purposes, KARs SHOULD NOT allow Artifacts to be deleted in an unrecoverable way. Deletion itself is defined as making an Artifact no longer accessible to a client (i.e. status 404). A server SHOULD allow a deletion operation to be undone, e.g. using mechanisms conceptually similar to 'trash bins', and SHOULD at a minimum keep track of the IDs of Artifacts that were at some point managed in each Repository.
- For this reason, a two phase deletion is recommended. Deleted Artifacts transition into a 'deleted' status in which they cannot be discovered nor retrieved, unless a dedicated flag is set. Once in a deleted state, Artifacts MAY be deleted permanently.
-
- The API also supports the (logical) federation of Repositories. A server instance MAY expose different repositories to a client, who should expect each repository to be independent. Whether these repositories map to actual physical repositories (e.g. different DBs), folder-like structures or logic tags/collections is left to the implementation.
The same artifact (as defined by having the same ID) COULD be stored in more than one repository, but all copies MUST be identical to each other
-
- With adequate rights, and if supported by the implementation, repositories can be _enabled_ or _disabled_.
- Enabled (resp. disabled) repositories are (resp. not) available to a client, regardless of whether the (de)allocation of actual resources is involved at the implementation level.
-tags:
- - name: Knowledge Artifact
- description: |
- Store/Retrieve specific versions of specific Knowledge Artifacts.
-
- - name: Knowledge Artifact Series
- description: |
- Manage different versions of a given Knowledge Artifact.
-
- - name: Knowledge Artifact Repository
- description: |
- Discover/Administer federated Knowledge Artifact Repositories.
-
-# basePath: /www.omg.org/spec/API4KP/KnowledgeArtifactRepository/v1.2.1
-
-#schemas:
-# - http
-# - https
-
-paths:
-
-####################################################################################################
-#
-# Knowledge Artifact Repository
-#
-####################################################################################################
-
- /repos:
- get:
- tags:
- - Knowledge Artifact Repository
- summary: List federated Knowledge Artifact Repositories
- description: |
- Retrieves a browsable list of known Knowledge Artifact Repositories, federated under this manager.
-
- A KAR MUST always have at least one repository, which COULD be accessed under a 'DEFAULT' well known ID, in addition to the specific ID that the repository should have. This default repository MUST be enabled at startup. As a consequence, this operation SHOULD alway return at least one resource.
- operationId: listKnowledgeArtifactRepositories
- produces:
- - application/json
- - application/xml
- responses:
- 200:
- description: |
- A list of Resources describing each enabled repository is returned. The default repository SHOULD be the first element in the list.
- schema:
- type: array
- items:
- $ref: '#/definitions/KnowledgeArtifactRepository'
- 500:
- description: |
- No repository is available, including the 'default' repository that the server MUST provide.
- post:
- tags:
- - Knowledge Artifact Repository
- summary: Enable Knowledge Artifact Repository
- description: |
- Ensures that a new, empty Knowledge Artifact Repository is enabled, assigning an identifier in the process.
-
- A client may not be allowed to enable (additional) repositories, or the server may not support the dynamic enabling of new repositories altogether.
- operationId: initKnowledgeArtifactRepository
- responses:
- 201:
- description: |
- Repository successfully enabled. Returns a URL where the newly created repository can be accessed (e.g. to GET a repository descriptor), together with a descriptor of the current state.
- headers:
- Content-Location:
- type: string
- format: uri
- schema:
- $ref: '#/definitions/KnowledgeArtifactRepository'
- 403:
- description: |
- The client does not have the rights to enable additional repositories.
- 500:
- description: |
- Internal error.
- 501:
- description: |
- The server does not provide this capability.
-
-####################################################################################################
-
- /repos/{repositoryId}:
- get:
- tags:
- - Knowledge Artifact Repository
- summary: Describe Knowledge Artifact Respository
- description: |
- Retrieves the state, as known at the time the operation is invoked, of a specific Knowledge Artifact Repository.
-
- This operation is always expected to succeed if the 'DEFAULT' repository is addressed.
- operationId: getKnowledgeArtifactRepository
- produces:
- - application/json
- - application/xml
- parameters:
- - $ref: '#/parameters/repositoryId'
- responses:
- 200:
- description: |
- The given repository is enabled, and some information can be returned.
- schema:
- $ref: '#/definitions/KnowledgeArtifactRepository'
- 404:
- description: |
- No repository with the given ID is currently enabled
- 500:
- description: |
- Internal error
- put:
- tags:
- - Knowledge Artifact Repository
- summary: Configure a Knowledge Artifact Respository
- description: |
- Ensure a Knowledge Artifact Repository with the given identifier is enabled and accessible. If not, will attempt to create one. The identifier must be acceptable to the server. If optional descriptive information is provided, it will be used to initialize or update the state of the Repository.
-
- Clients may not be authorized, and servers may not support this operation.
- operationId: setKnowledgeArtifactRepository
- consumes:
- - application/json
- - application/xml
- parameters:
- - $ref: '#/parameters/repositoryId'
- - $ref: '#/parameters/repositoryDescr'
- responses:
- 201:
- description: |
- A repository has been enabled in the process. Returns the actual state of the repository
- schema:
- $ref: '#/definitions/KnowledgeArtifactRepository'
- 204:
- description: |
- The repository is enabled, and its state reflects the client-provided information
- 403:
- description: |
- Repositories cannot be enabled, or their status cannot be updated by the client.
- 405:
- description: |
- The target repository status cannot be updated
- 500:
- description: |
- Internal error
- 501:
- description: |
- Not implemented
- delete:
- tags:
- - Knowledge Artifact Repository
- summary: Disables an empty Knowledge Artifact Respository
- description: |
- Ensure a Knowledge Artifact Repository with the given identifier is no longer accessible.
- The Repository MUST be empty for this operation to succeed.
-
- The 'DEFAULT' repository CAN NOT be disabled.
- operationId: disableKnowledgeArtifactRepository
- parameters:
- - $ref: '#/parameters/repositoryId'
- responses:
- 204:
- description: |
- The repository was successfully disabled (or no repository was found).
- 403:
- description: |
- The repository is not empty and cannot be disabled.
- 500:
- description: |
- Internal error
- 501:
- description: |
- Not implemented
-
- head:
- tags:
- - Knowledge Artifact Repository
- summary: Check Knowledge Artifact Respository
- description: |
- Checks for the existence of a Knowledge Artifact Repository with the given identifier
- operationId: isKnowledgeArtifactRepository
- parameters:
- - $ref: '#/parameters/repositoryId'
- responses:
- 204:
- description: |
- Success
- 500:
- description: |
- Internal error
- 501:
- description: |
- Not implemented
-
-####################################################################################################
-
- /repos/{repositoryId}/artifacts:
- get:
- tags:
- - Knowledge Artifact Series
- summary: List stored Knowledge Artifacts
- description: |
- Retrieves a browsable list of references to the Knowledge Artifacts that are stored in a given Knowledge Artifact Repository.
- *If the repository is empty, the operation should still succeed, returning an empty list.
- *The returned references SHOULD, at a minimum, reference each Artifact's version series, and MUST also carry the identifier of the latest version.
-
- This operation should support paging.
- operationId: listKnowledgeArtifacts
- produces:
- - application/xml
- - application/json
- parameters:
- - $ref: '#/parameters/repositoryId'
- # pageable
- - $ref: '#/parameters/offset'
- - $ref: '#/parameters/limit'
- - $ref: '#/parameters/deleted'
- responses:
- 200:
- description: |
- Success
- schema:
- type: array
- items:
- $ref: '#/definitions/Pointer'
- 204:
- description: |
- Series is initialized, but no versions are available.
- (If deleted=true, this can only happen if there are no versions yet, or all are gone)
- 404:
- description: |
- Repository not found
- 403:
- description: |
- Client not authorized to browse this repository
- 500:
- description: |
- Internal error
-
- post:
- tags:
- - Knowledge Artifact Series
- summary: Initialize new Artifact series
- description: |
- Creates a new Knowledge Artifact.
- Assigns an ID to the Artifact in the process, and creates a new empty series."
- operationId: initKnowledgeArtifact
- produces:
- - application/json
- parameters:
- - $ref: '#/parameters/repositoryId'
- responses:
- 201:
- description: Success
- headers:
- Content-Location:
- type: string
- format: uri
- description: |
- URL where the new Knowledge Artifact Series can be accessed
- schema:
- description: |
- The identifier of the newly created Knowledge Artifact
- type: string
- format: uuid
- 403:
- description: |
- Client is not allowed to create new Artifacts
- 404:
- description: |
- Repository not found
- 405:
- description: |
- Not supported - Repository is read only
- 500:
- description: |
- Internal error
- 501:
- description: |
- Not implemented
- delete:
- tags:
- - Knowledge Artifact Series
- summary: Clear Knowledge Artifact Repository
- description: |
- Clears a Knowledge Artifact Repository, deleting each Artifact that is contained therein.
-
- Functionally equivalent to invoking, atomically,
- listKnowledgeArtifacts(repositoryId).forEach(x->deleteKnowledgeArtifactSeries(x,deleted))
- In particular, it must adhere to the constraints of deleteKnowledgeArtifact.
-
- This operation does not disable the Repository.
- After invoking this operation, listKnowledgeArtifacts MUST return an empty list.
-
- A client MUST have the appropriate privileges, which SHOULD only be granted to a super-user.
- In particular, the repository-scoped hard deletion (i.e. invoking this operation with deleted=true)
- MAY NOT be supported.
- operationId: clearKnowledgeRepository
- produces:
- - application/json
- parameters:
- - $ref: '#/parameters/repositoryId'
- - $ref: '#/parameters/deleted'
- responses:
- 204:
- description: |
- The repository content has been cleared
- 403:
- description: |
- Client does not have the privileges
- 404:
- description: |
- Repository not found
- 405:
- description: |
- Not supported by the Repository
- 500:
- description: |
- Internal error
- 501:
- description: |
- Not implemented
-
-####################################################################################################
-
-
- /repos/{repositoryId}/artifacts/{artifactId}:
- get:
- tags:
- - Knowledge Artifact Series
- summary: Retrieves the LATEST version of a Knowledge Artifact
- description: |
- Gets a copy of a (Digital) Knowledge Artifact, based on the LATEST version
- within the series identified by the given artifact ID.
-
- If invoked with 'deleted=true', it will access Artifacts that are current
- OR that have been soft-deleted.
- operationId: getLatestKnowledgeArtifact
- produces:
- - "*/*"
- parameters:
- - $ref: '#/parameters/repositoryId'
- - $ref: '#/parameters/artifactId'
- - $ref: '#/parameters/deleted'
- responses:
- 200:
- description: |
- Success
- schema:
- type: string
- format: binary
- 204:
- description: |
- Artifact known but either not available, or no versions are available.
- 403:
- description: |
- The client does not have the privileges to access the given Artifact
- 404:
- description: |
- Repository not found, or the Artifact is not resolvable within the given Repository.
- When invoked with 'deleted=true', it implies that the server does not recognize the ID,
- otherwise it may also be the case that the desired artifact has been deleted.
- 410:
- description: |
- The Artifact used to be known to this server, but has been deleted.
- Reversible deletions should return 410 if 'deleted=false' and 200 if 'deleted=true'
- Permanent deletions should return 410 in any case, leaving code 404 for Artifact IDs
- that are not recognized by the server
- 500:
- description: |
- Internal error
- delete:
- tags:
- - Knowledge Artifact Series
- summary: Removes a Knowledge Artifact from the Repository
- description: |
- Individual Knowledge Artifacts are considered removed from a Repository, if and only if any attempt to resolve that Artifact identifier within the given Knowledge Repository will not succeeed. Removing an Artifact that is not (any longer) in a Repository will result in a trivial success.
-
- This operation is functionally equivalent to invoking deleteKnowledgeArtifactSeries(repositoryId,artifactId,deleted),
- to clear the series, AND then removing the Artifact from the Repository.
-
- In any case, The server SHOULD keep a record of the artifactID.
- operationId: deleteKnowledgeArtifact
- parameters:
- - $ref: '#/parameters/repositoryId'
- - $ref: '#/parameters/artifactId'
- - $ref: '#/parameters/deleted'
- responses:
- 204:
- description: |
- Success
- This code is returned even if the artifact has already been (permanently) deleted,
- as long as the artifact ID is known to the server.
- 403:
- description: |
- The client does not have the necessary privileges
- 404:
- description: |
- No repository with the given ID can be found,
- or the Artifact is not known to this server
- 405:
- description: |
- The given Artifact cannot be deleted.
- 500:
- description: |
- Internal error
- 501:
- description: |
- Not implemented
- post:
- tags:
- - Knowledge Artifact Series
- summary: Enable Knowledge Artifact Series
- description: |
- Ensures a Knowledge Artifact (series) is available, even if the series may be empty.
- Will create a new series with the given ID if the Artifact is not known or GONE.
-
- May restore an unavailable Artifact, and/or all its unavailable versions.
- operationId: enableKnowledgeArtifact
- parameters:
- - $ref: '#/parameters/repositoryId'
- - $ref: '#/parameters/artifactId'
- responses:
- 201:
- description: |
- An artifact series with the given ID is now available.
- May have restored unavailable versions if 'deleted=true'
- 403:
- description: |
- The client does not have the necessary privileges
- 404:
- description: |
- No repository with the given ID can be found
- 405:
- description: |
- The given Artifact cannot be created/restored.
- 500:
- description: |
- Internal error
- 501:
- description: |
- Not implemented
- head:
- tags:
- - Knowledge Artifact Series
- summary: Check Knowledge Artifact
- description: |
- Checks for the existence of a Knowledge Artifact Series within the scope of a Repository.
-
- For the operation to succeeed, the Artifact must have been initialized but not deleted
- (permanently - if deleted is true), even if the version series is empty.
- operationId: isKnowledgeArtifactSeries
- parameters:
- - $ref: '#/parameters/repositoryId'
- - $ref: '#/parameters/artifactId'
- - $ref: '#/parameters/deleted'
- responses:
- 204:
- description: |
- The artifact is known to the Repository
- 404:
- description: |
- Repository or Artifact not found
- 500:
- description: |
- Internal error
- 501:
- description: |
- Not implemented
-
-
-####################################################################################################
-
- /repos/{repositoryId}/artifacts/{artifactId}/versions:
- # We do not allow raw DELETEs on entire collections. Should a strategy be standardized?, e.g. see
- # https://stackoverflow.com/questions/2421595/restful-way-for-deleting-a-bunch-of-items
- get:
- tags:
- - Knowledge Artifact Series
- summary: List versions of a Knowledge Artifact.
- description: |
- Provides access to an Artifact's historical series, i.e. the list of immutable versions of the Artifact maintained in the given Knowledge Artifact Repository. Optionally, allows to sort the series, filter by version range and supports pagination.
-
- The list may be empty, either because an Artifact series has been initialized without adding any particular version (see POST), or because all versions have been deleted, without deleting the artifact itself.
- operationId: getKnowledgeArtifactSeries
- produces:
- - application/json
- - application/xml
- parameters:
- - $ref: '#/parameters/repositoryId'
- - $ref: '#/parameters/artifactId'
- - $ref: '#/parameters/deleted'
- # pageable
- - $ref: '#/parameters/offset'
- - $ref: '#/parameters/limit'
- #series
- - $ref: '#/parameters/beforeTag'
- - $ref: '#/parameters/afterTag'
- #sortable
- - $ref: '#/parameters/sort'
- responses:
- 200:
- description: |
- Returns a possibly empty list of Pointers to each version of the given Artifact.
- By definition, all pointers must reference Artifacts with the same ArtifactID, and different version tags.
-
- The list may contain versions that have been deleted, if 'deleted=true'.
- schema:
- type: array
- items:
- $ref: '#/definitions/Pointer'
- 204:
- description: |
- Artifact known, but not available.
- 403:
- description: |
- The client does not have the necessary permissions
- 404:
- description: |
- Repository or Artifact not known
- 410:
- description: |
- The artifact has been permanently deleted
- 500:
- description: |
- Internal error
- post:
- tags:
- - Knowledge Artifact Series
- summary: Add a (new version) of a Knowledge Artifact.
- description: |
- Adds a new version of a given Artifact to the Artifact's series, making this version the LATEST. The client is required to provide the content, but the server is expected to provide the version tagging, according to the version scheme that is implemented internally. When successful, the server will return the URL where that version can be accessed."
- operationId: addKnowledgeArtifactVersion
- parameters:
- - $ref: '#/parameters/repositoryId'
- - $ref: '#/parameters/artifactId'
- - in: formData
- name: document
- required: true
- type: string
- format: binary
- description: |
- The binary serialization of the document that carries the new version of the Knowledge Artifact
- consumes:
- - multipart/form-data
- responses:
- 201:
- description: |
- The given document has been set as the latest version of the specified Knowledge Artifact,
- and is available at the returned URL. When possible, servers should actually return a URI that can be
- dereferenced to the URL where the new version can be retrieved.
- headers:
- Content-Location:
- type: string
- format: uri
- description: |
- URL where the new version of the Knowledge Artifact is accessible
- 403:
- description: |
- Client does not have the necessary privileges
- 404:
- description: |
- Repository or Artifact not found
- 405:
- description: |
- New versions cannot be created, e.g. because the Artifact or the Repository is read-only
- 500:
- description: |
- Internal error
- 501:
- description: |
- Not implemented
-
-####################################################################################################
-
- /repos/{repositoryId}/artifacts/{artifactId}/versions/{versionTag}:
- get:
- tags:
- - Knowledge Artifact
- summary: Retrieve a specific version of a Knowledge Artifact
- description: |
- Provides the client with a copy of a specific version of a Knowledge Artifact.
- May provide access to 'deleted' artifacts if the dedicated flag is set.
- operationId: getKnowledgeArtifactVersion
- produces:
- - "*/*"
- parameters:
- - $ref: '#/parameters/repositoryId'
- - $ref: '#/parameters/artifactId'
- - $ref: '#/parameters/versionTag'
- - $ref: '#/parameters/deleted'
- responses:
- 200:
- description: |
- A copy of the given artifact's version can be retrieved
- schema:
- type: string
- format: binary
- 204:
- description: |
- The version is known but currently unavailable.
- 403:
- description: |
- The client cannot access the artifact version
- 404:
- description: |
- Repository or Artifact Version not found
- 410:
- description: |
- The artifact has been deleted permanently
- 500:
- description: |
- Internal error
- delete:
- tags:
- - Knowledge Artifact
- summary: Remove a specific version of a Knowledge Artifact
- description: |
- Ensures that a specific version of a given Knowledge Artifact is not resolvable anymore within the Knowledge Artifact version series. If the version cannot be found, the operations succeeds trivially.
-
- If the deleted flag is set, this operation MAY delete a version permanently.
- operationId: deleteKnowledgeArtifactVersion
- parameters:
- - $ref: '#/parameters/repositoryId'
- - $ref: '#/parameters/artifactId'
- - $ref: '#/parameters/versionTag'
- - $ref: '#/parameters/deleted'
- responses:
- 204:
- description: |
- The given version is no longer available.
- 403:
- description: |
- The client does not have the necessary permissions.
- 404:
- description: |
- Repository not found, or the Artifact is not known to the Repository
- 500:
- description: |
- Internal error
- 501:
- description: |
- Not implemented
- post:
- tags:
- - Knowledge Artifact
- summary: Ensure a specific version of a Knowledge Artifact is available
- description: |
- Ensures that a specific version of a given Knowledge Artifact can be retrieved.
- Notice that the user is not required to provide the actual artifact payload. For this reason, the oepration will succeed if and only if the version is either already available, or in a soft deletion status. This operation may restore an unavailable version.
- operationId: enableKnowledgeArtifactVersion
- parameters:
- - $ref: '#/parameters/repositoryId'
- - $ref: '#/parameters/artifactId'
- - $ref: '#/parameters/versionTag'
- - $ref: '#/parameters/deleted'
- responses:
- 204:
- description: |
- The given version is available.
- 403:
- description: |
- The client does not have the necessary permissions.
- 404:
- description: |
- Repository not found, or the Artifact (and/or its version) is not known to the Repository
- 500:
- description: |
- Internal error
- 501:
- description: |
- Not implemented
- put:
- tags:
- - Knowledge Artifact
- summary: Sets a Version of a specific Knowledge Artifact
- description: |
- Ensures that a Knowledge Artifact is available in the given Repository, and that an attempt to resolve a version with the given tag will succeed, returning a copy of the provided payload.
-
- Creates an Artifact series if not present, and overwrites the stored copy for the given version if already present.
- This operation can reverse a deletion.
- operationId: setKnowledgeArtifactVersion
- consumes:
- - multipart/form-data
- parameters:
- - $ref: '#/parameters/repositoryId'
- - $ref: '#/parameters/artifactId'
- - $ref: '#/parameters/versionTag'
- - in: formData
- name: document
- required: true
- type: string
- format: binary
- description: |
- The version of the Knowledge Artifact to be set in the repository.
- responses:
- 204:
- description: |
- The given document has been set as the specific version of the specified Knowledge Artifact.
- 403:
- description: |
- The client does not have the adequate permissions
- 404:
- description: |
- Repository not found
- 500:
- description: |
- Internal error
- 501:
- description: |
- Not implemented
- head:
- tags:
- - Knowledge Artifact
- summary: Check Knowledge Artifact Version
- description: |
- Checks for the existence of a specific version of a Knowledge Artifact
- operationId: isKnowledgeArtifactVersion
- produces:
- - application/json
- parameters:
- - $ref: '#/parameters/repositoryId'
- - $ref: '#/parameters/artifactId'
- - $ref: '#/parameters/versionTag'
- - $ref: '#/parameters/deleted'
- responses:
- 204:
- description: |
- The given version of the given artifact is found within the given repository
- 403:
- description: |
- The client cannot access the artifact version
- 404:
- description: |
- Repository or Artifact Version not found
- 410:
- description: |
- The artifact has been deleted permanently
- 500:
- description: |
- Internal error
- 510:
- description: |
- Not implemented
-
-
-parameters:
- repositoryId:
- in: path
- name: repositoryId
- required: true
- type: string
- description: |
- The id of a Knowledge Artifact Repository, in the context of the server that provides operations on the Repository.
-
- In general, the ID is qualified and scoped by a scheme owned by the server. When the server guarantees to federate repositories from a single known namespace, and repository IDs are required to be scoped by that namespace, either the fully qualified name or the local part should be accepted as a valid repositoryId; otherwise, only the fully qualified ID will be acceptable."
-
- repositoryDescr:
- in: body
- name: repositoryDescr
- required: false
- schema:
- $ref: '#/definitions/KnowledgeArtifactRepository'
- description: |
- A representation of the current state of a given Knowledge Artifact Repository
-
- artifactId:
- in: path
- name: artifactId
- required: true
- type: string
- format: uuid
- description: |
- The (qualified) identifier of a Knowledge Artifact.
-
- The server stores a 'Master Copy', from which other Knowledge Artifacts are derived by replication. MUST be used in the context of a Knowledge Artifact Repository
-
- Since Master Copies can be mutable, unless further qualified, the identifier will denote a Series in general, and identify the LATEST version within the series.
-
- versionTag:
- in: path
- name: versionTag
- required: true
- type: string
- description: |
- The version tag of a Versioned Entity Identifier.
-
- Versioned Identifiers identify specific, Immutable Versions of Mutable Entities, which reflect the state of that Entity at a given point in time. Version(ed) identifier SHOULD be universal, but version Tags are not, and MUST always be interpreted within the context of their associated Entity (identifier).
-
- deleted:
- in: query
- name: deleted
- required: false
- type: boolean
- default: false
- description: |
- Flag that grants access to soft-deleted Artifacts, allowing to retrieve them, or even delete them permanently. To do so, the flag MUST be set explicitly to true.
-
- #TODO: The following are reusable parameters that should be moved to a common definition file
-
- beforeTag:
- in: query
- name: beforeTag
- required: false
- type: string
- description: "Restricts the series to include only versions before (included) a given version Tag. Assumes the underlying versioning scheme has at least a partial ordering defined."
- afterTag:
- in: query
- name: afterTag
- required: false
- type: string
- description: "Restricts the series to include only versions after (included) a given version Tag. Assumes the underlying versioning scheme has at least a partial ordering defined."
-
- sort:
- in: query
- name: sort
- required: false
- type: string
- default: "asc"
- description: "Allows to sort a collection by one ore more properties."
-
- offset:
- in: query
- name: offset
- type: integer
- required: false
- description: "Filters elements in a collection, returning all elements after the 'offset' index included, ignoring all previous elements."
- limit:
- in: query
- name: limit
- type: integer
- required: false
- description: "Returns up to the given number of elements in a collection."
-
-
-definitions:
- Pointer:
- type: object
-
- KnowledgeArtifactRepository:
- type: object
-# Added by API Auto Mocking Plugin
-host: virtserver.swaggerhub.com
-basePath: /mayo-clinic/KnowledgeArtifactRepository/2.0.0
-schemes:
- - https
\ No newline at end of file
diff --git a/openapi/v2/org/omg/spec/api4kp/2.0.0/knowledgeAssetRepository.yaml b/openapi/v2/org/omg/spec/api4kp/2.0.0/knowledgeAssetRepository.yaml
deleted file mode 100644
index b62e97e..0000000
--- a/openapi/v2/org/omg/spec/api4kp/2.0.0/knowledgeAssetRepository.yaml
+++ /dev/null
@@ -1,912 +0,0 @@
-swagger: '2.0'
-
-info:
- version: "2.0.0"
- title: 'Knowledge Asset Repository API'
- contact:
- name: Davide Sottara
- email: sottara.davide@mayo.edu
- license:
- name: Apache License, Version 2.0
- url: https://www.apache.org/licenses/LICENSE-2.0.html
- description: |
- APIs for a Semantic Knowledge Asset Repository.
-
- Knowledge Assets are immutable, versioned works of knowledge (aka 'Piece of Knowledge', or 'Piece of Content'), which are expressible in any form that is fit for consumption by a designated audience. Assets stored in an Asset Repository are more specifically _Enterprise_ Knowledge Assets, i.e. assets whose content is endorsed by some Subject Matter Expert, and whose identification and life cycle is managed by an Authority.
-
- Since Knowledge Assets are immaterial entities, an Asset Repository may not always have access to any concrete Carrier of that Knowledge. However, the Asset Repository MUST keep track of a minimum set of descriptive metadata for each Asset, including pointers to the actual Artifact(s). This metadata is accessible through a Knowledge Asset (Surrogate) Resource, which MUST follow a common schema for all Assets within a Repository, and SHOULD conform to a canonical yet extensible conceptual model across repositories.
- Collectively, the Surrogates of the Assets managed in a Repository constitute a Knowledge Asset Catalog.
-
- Unlike Knowledge Artifact Repositories, for which Artifacts are black boxes, Knowledge _Asset_ Repositories consider pieces of knowledge and/or content as gray boxes.
- A Knowledge Asset Repository SHOULD delegate to a Language Service the ability to parse, validate and otherwise analyze the content of a Knowledge Artifact associated to an Asset.
- A Knowledge Asset Repository MIGHT also interact with a Reasoning Service, which SHOULD treat the Knowledge Asset Catalog as a Knowledge Base, performing inferences ("enrichments") and answering queries.
- A Knowledge Asset Repository SHALL NOT, instead, leverage a Reasoning Service to reason _with_ the Artifacts' content for any other reason that the extraction/validation of the Asset metadata. This choice is motivated by the different SLA constraints (e.g.security, traffic/load) involved when knowledge is 'in motion' rather than 'at rest'.
-
-
- From a Surrogate (aka 'metadata') perspective, Semantic Asset Repositories categorize a Knowledge Artifact's content by means of known ontologies, recognize different forms of representation, and support descriptive knowledge management metadata (e.g. provenance, pedigree, applicability, usage, etc.).
- Asset Repositories are also expected to support and leverage relationships between Assets, including composition, dependency, derivation and variance, as well as domain-specific semantic "annotations".
-
- Assets (and their carrier Artifacts) should be searchable/retrievable based on a combinations of identifiers and metadata, including types/categories and annotations.
- Choice based on representation (language e.g. BPMN vs DMN, format e.g. JSON vs XML) among all the alternative Artifacts carrying the same Assets, aka "variants", is mediated through a specialized form of _content negotiation_. In particular, Asset Repositories SHOULD be able to provide Artifacts that are not materially stored, but such that can be derived on the fly at runtime, including using a Language service for translations and other transformations. Such "ephemeral" Artifacts SHOULD NOT have an explicit identifier themselves, but accessed referencing the parent Asset's id and their content type.
- Retrieval based on relationships is handled using the bundle/struct functions. Bundling is the act of packaging together several Assets (and/or Artifacts thereof) based on mutual relationships. Structuring is the Act of creating a "Structuring" Artifact that expresses the relationships between a set of Assets (e.g. an RDF graph of composite/components). A Structure can be bundled together with the Assets it refrences. The entire package can be flattened into a single Artifact under appropriate conditions.
- More advanced search/filtering/retrieval SHOULD be provided through GraphQL support.
-tags:
- - name: Knowledge Asset Catalog
- description: |
- A Knowledge Asset Catalog is an indexed collection of Knowledge Assets. A Catalog identifies, versions, types/categorizes, and relates Assets to each other.
- - name: Knowledge Asset Repository
- description: |
- A Semantic Knowledge Repository provides access to Knowledge Artifacts based on their Asset content and representation thereof.
- - name: Knowledge Asset Retrieval
- description: |
- A Knowledge Asset Retrieval faciilty offers query/search engines that treat the content of the Knowledge Asset Catalog itself as a Knowledge Base.
-
-
-
-#schemas:
-# - http
-
-# basePath: /www.omg.org/spec/API4KP/KnowledgeAssetRepository/v1.2
-
-
-paths:
-
-
-####################################################################################################
-#
-# Knowledge Asset Catalog
-#
-####################################################################################################
-
-
- /cat:
- get:
- tags:
- - Knowledge Asset Catalog
- #- core
- summary: Describe Knowledge Asset Catalog.
- description: |
- Returns a Knowledge Asset Catalog Resource that summarizes the current state of the Catalog available at this endpoint.
- operationId: getAssetCatalog
- produces:
- - application/json
- - application/xml
- responses:
- 200:
- description: Success
- schema:
- $ref: '#/definitions/KnowledgeAssetCatalog'
- 403:
- description: |
- The client cannot acces this repository
- 500:
- description: |
- Internal Error
-
-
-####################################################################################################
-
-
- /cat/assets:
- get:
- tags:
- - Knowledge Asset Catalog
- summary: List Knowledge Assets.
- description: |
- Returns a collection of resources that (summarily) describe the Assets managed under this Catalog, i.e. such that a Knowledge Asset Surrogate has been registered. The collection will be empty if the repository is empty.
-
- Basic Filtering is allowed on asset type and annotations.
- The collection should also not include any Asset that the client does not have the permissions to access (i.e. getKnowledgeAsset would fail with a 403 status code). If the client has access to the repository, but does not have access to any of the assets currently contained, the returned collection will be empty.
- operationId: listKnowledgeAssets
- produces:
- - application/json
- - application/xml
- parameters:
- - $ref: '#/parameters/assetType'
- - $ref: '#/parameters/assetAnnotation'
- # pageable # TODO inherit from common parameters shared across APIs
- - $ref: '#/parameters/offset'
- - $ref: '#/parameters/limit'
- responses:
- 200:
- description: |
- Returns a list of Pointers to Assets that the client has access to.
- schema:
- type: array
- items:
- $ref: '#/definitions/Pointer'
- 403:
- description: |
- The client cannot acces this repository
- 500:
- description: |
- Internal error
- post:
- tags:
- - Knowledge Asset Catalog
- summary: Create a new Knowledge Asset.
- description: |
- Creates a new empty Knowledge Asset Series, assigning an asset ID in the process.
- operationId: initKnowledgeAsset
- produces:
- - application/json
- responses:
- 201:
- description: Success
- headers:
- Content-Location:
- type: string
- format: uri
- description: |
- URL where the new Knowledge Asset Series can be accessed
- schema:
- description: |
- The identifier of the newly created Knowledge Asset
- type: string
- format: uuid
- 403:
- description: |
- Client is not allowed to create new Assets
- 405:
- description: |
- Not supported - Repository is read only
- 500:
- description: |
- Internal error
- 501:
- description: |
- Not implemented
-
-
-
-
-
-####################################################################################################
-
- /cat/assets/{assetId}:
- get:
- tags:
- - Knowledge Asset Catalog
- summary: Retrieve a Knowledge Asset.
- #TODO "published" state is not yet supported
- description: |
- Retrieves the most recently released version of a Knowledge Asset (Surrogate).
-
- Of all the versions in the series, several criteria concur to determine the LATEST, including the time at which a version was created, the (partial) ordering of the version tags, and the association of that version of the Asset with an Artifact in a "published" state. Unless otherwise specified, the server should return the top version that has a published manifestation, or the top version if no version has a published manifestation. If the versioning scheme does not have an absolute ordering (i.e. there is no clear top version), recency by timestamp should be considered.
- operationId: getKnowledgeAsset
- produces:
- - application/json
- parameters:
- - $ref: '#/parameters/assetId'
- responses:
- 200:
- description: Success
- schema:
- $ref: '#/definitions/KnowledgeAsset'
- 403:
- description: |
- Client is not allowed to access the Assets
- 404:
- description: |
- Asset not found
- 500:
- description: |
- Internal error
- 501:
- description: |
- Not implemented
-
-
-
-
-
-
-
-
-
-
-####################################################################################################
-
- /cat/assets/{assetId}/versions:
- get:
- tags:
- - Knowledge Asset Catalog
- summary: Get all versions of a Knowledge Asset Surrogate.
- description: |
- Returns a list of all the available versions of a Knowledge Asset that a user is allowed to access.
- An Asset Series may be empty if no versions have been established.
- operationId: getKnowledgeAssetVersions
- produces:
- - application/xml
- - application/json
- parameters:
- - $ref: '#/parameters/assetId'
- # pageable
- - $ref: '#/parameters/offset'
- - $ref: '#/parameters/limit'
- #series
- - $ref: '#/parameters/beforeTag'
- - $ref: '#/parameters/afterTag'
- #sortable
- - $ref: '#/parameters/sort'
- responses:
- 200:
- description: |
- Success
- schema:
- type: array
- items:
- $ref: '#/definitions/Pointer'
- 403:
- description: |
- Client is not allowed to access the Asset
- 404:
- description: |
- Asset not found
- 500:
- description: |
- Internal error
-
-
- /cat/assets/{assetId}/versions/{versionTag}:
- get:
- tags:
- - Knowledge Asset Catalog
- summary: Retrieves a specific version of a Knowledge Asset.
- description: |
- Retrieves a Surrogate that reflects the current state of (meta)knowledge about a specific version of a Knowledge Asset, including references to its Carrier Artifact(s).
- operationId: getVersionedKnowledgeAsset
- produces:
- - application/xml
- - application/json
- parameters:
- - $ref: '#/parameters/assetId'
- - $ref: '#/parameters/versionTag'
- responses:
- 200:
- description: |
- The Asset Version has been located and retrieved.
- schema:
- $ref: '#/definitions/KnowledgeAsset'
- 403:
- description: |
- Client is not allowed to access the Asset
- 404:
- description: |
- Asset or Asset Version not found
- 500:
- description: |
- Internal error
-
- put:
- tags:
- - Knowledge Asset Catalog
- summary: Set/Initialize a specific version of a Knowledge Asset
- description: |
- Populates/updates the Surrogate for a known (version of) a Knowledge Asset.
-
- The Client
- * MUST provide a Valid Surrogate
- * that Surrogate's declared Asset ID and version Tag MUST match the {assetId} and {versionTag} parameters
- * the Surrogate MUST have an explicit version tag
-
- The Server SHALL validate the Surrogate for syntactic and semantic correctness and consistency.
-
- If an Asset version with the given ID does not exist, it will be created in the process, otherwise it will be updated.
- operationId: setVersionedKnowledgeAsset
- consumes:
- - application/json
- - application/xml
- parameters:
- - $ref: '#/parameters/assetId'
- - $ref: '#/parameters/versionTag'
- - $ref: '#/parameters/assetSurrogate'
- responses:
- 204:
- description: |
- The given Surrogate has been set to provide metadata for a specific version of the given Knowledge Asset.
- 403:
- description: |
- The client does not have the adequate permissions
- 409:
- description: |
- The information contained in the Surrogate is invalid/inconsistent (including not matching the {assetId}/{versionTag}), or is incompatible with the Artifacts associated to the Asset.
- 500:
- description: |
- Internal error
- 501:
- description: |
- Not implemented
-
-
-
-
-
-
-####################################################################################################
- /cat/assets/{assetId}/versions/{versionTag}/carrier:
- get:
- tags:
- - Knowledge Asset Repository
- summary: Retrieve the Knowledge Artifact carrying the canonical Manifestation of a given Knowledge Asset.
- description: |
- The notion of "canonical" is defined by means of server-driven content negotiation.
-
- Note - OpenAPI 2 reserves the accept/produce headers, So an optional 'extAccept' parameter is added to
- this operation. As a side effect, as the parameter varies, different URLs for the different variants are defined.
- The extAccept parameter takes values in the 'models/' space, and follows the API4KP conventions, making it an extension rather than an alternative to the traditional Content-Type.
-
- For a given version of a Knowledge Asset,
- * looks up the associated Artifacts that are either stored in, or accessible to the Semantic Repository,
- * selects the one that matches the preferences of the client
- * returns a copy thereof.
-
- If the client does not specify any preference, or more than one variant can match the client's preferences,
- a 300 response is returned, offering the various options. If no variant satisfies the client' preferences, a
- 406 error code is returned. If no variant exists at all, 404 is returned.
- operationId: getCanonicalKnowledgeAssetCarrier
- produces:
- - application/xml
- - application/json
- parameters:
- - $ref: '#/parameters/assetId'
- - $ref: '#/parameters/versionTag'
- # negotiable
- - $ref: '#/parameters/extAccept'
- responses:
- 200:
- description: |
- A suitable Knowledge Artifact could be retrieved
- schema:
- $ref: '#/definitions/KnowledgeCarrier'
- 300:
- description: |
- Negotiation failed, but suitable alternatives are present
- schema:
- type: array
- items:
- $ref: '#/definitions/Pointer'
- 403:
- description: |
- The client does not have the adequate permissions
- 404:
- description: |
- Asset Version not found
- 406:
- description: |
- No suitable variant is available
- 500:
- description: |
- Internal error
- 501:
- description: |
- Not implemented
-
- /cat/assets/{assetId}/versions/{versionTag}/carriers:
- get:
- tags:
- - Knowledge Asset Repository
- summary: Lists the known Carriers for a given Knowledge Asset
- description: |
- Retrieves Pointers to all the Knowledge Artifacts that are known to carry at least one expression, in some language, of the given version of a Knowledge Asset.
- The list may be empty if no Artifact is known, or if the user does not have access to a given Artifact.
- The list should be transparent with respect to Artifacts physically stored, linked or generated dynamically at runtime.
- operationId: getKnowledgeAssetCarriers
- produces:
- - application/xml
- - application/json
- parameters:
- - $ref: '#/parameters/assetId'
- - $ref: '#/parameters/versionTag'
- responses:
- 200:
- description: |
- Success
- schema:
- type: array
- items:
- $ref: '#/definitions/Pointer'
- 403:
- description: |
- The client does not have the adequate permissions
- 404:
- description: |
- Asset Version not found
- 500:
- description: |
- Internal error
- 501:
- description: |
- Not implemented.
-
-
- post:
- tags:
- - Knowledge Asset Repository
- summary: Registers a new Carrier for a given Knowledge Asset
- description: |
- Registers a new Carrier for a given Knowledge Asset.
-
- An artifact ID and version SHALL be inferred from the artifact content, together with other representation metadata, and the links in the Asset surrogate will be updated.
- If not enough metadata can be inferred to instantiate a valid Knowledge Artifact Surrogate (part of a Knowledge Asset Surrogate), as defined by the Knowledge Asset Resource schema, the Carrier will be rejected.
- (Note - a client can still pre-populate the Surrogate, adding the appropriate Artifact section, then PUT the carrier itself)
- operationId: addKnowledgeAssetCarrier
- consumes:
- - application/octet-stream
- parameters:
- - $ref: '#/parameters/assetId'
- - $ref: '#/parameters/versionTag'
- - $ref: '#/parameters/exemplarCarrier'
- responses:
- 201:
- description: Success
- headers:
- Content-Location:
- type: string
- format: uri
- description: |
- URL where the new version of the Knowledge Asset Carrier is accessible
- 403:
- description: |
- The client does not have permissions to add Artifacts to this Asset
- 404:
- description: |
- Asset Version not found
- 405:
- description: |
- The repository is read-only
- 406:
- description: |
- The provided Carrier (Artifact) cannot be inspected properly
- 409:
- description: |
- Artifact already exists with a different ID
- 500:
- description: |
- Internal error
- 501:
- description: |
- Not implemented
-
- /cat/assets/{assetId}/versions/{versionTag}/carriers/{artifactId}/versions/{artifactVersionTag}:
- get:
- tags:
- - Knowledge Asset Repository
- summary: Retrieves a specific Carrier for a given Knowledge Asset
- description: |
- Retrieves (a copy of) a specific version of an Artifact. That Artifact must be known to the client to carry at least one expression, in some language, of the given Knowledge Asset.
- operationId: getKnowledgeAssetCarrierVersion
- produces:
- - application/*
- parameters:
- - $ref: '#/parameters/assetId'
- - $ref: '#/parameters/versionTag'
- - $ref: '#/parameters/artifactId'
- - $ref: '#/parameters/artifactVersionTag'
- responses:
- 200:
- description: |
- The identifiers can be resolved
- schema:
- $ref: '#/definitions/KnowledgeCarrier'
- 403:
- description: |
- The client does not have the necessary rights.
- 404:
- description: |
- Asset or Artifact Version not found
- 500:
- description: |
- Internal error
-
- put:
- tags:
- - Knowledge Asset Repository
- summary: Registers a (version of a) Carrier for a given Knowledge Asset
- description: |
- Registers a Knowledge Artifact as the Carrier of a Knowledge Asset.
- The Asset Surrogate SHOULD have been populated with metadata about the Artifact. As such, the Server SHOULD be aware of the Artifact ID. However, the Server MIGHT be able to infer additional metadata from the Artifact, as long as it is not inconsistent with the current state.
- As a consequence, the Server will also store a (master) copy of the provided carrier in some Knowledge Artifact Repository, and keep track of the URL from where the Artifact can later be retrieved.
- operationId: setKnowledgeAssetCarrierVersion
- consumes:
- - application/octet-stream
- produces:
- - application/xml
- - application/json
- parameters:
- - $ref: '#/parameters/assetId'
- - $ref: '#/parameters/versionTag'
- - $ref: '#/parameters/artifactId'
- - $ref: '#/parameters/artifactVersionTag'
- - $ref: '#/parameters/exemplarCarrier'
- responses:
- 204:
- description: |
- The Artifact has been uploaded correctly, and associated to the Knowledge Asset
- 403:
- description: |
- The user does not have the required permissions
- 404:
- description: |
- Asset and/or Artifact Version not found
- 409:
- description: |
- The provided Artifact is inconsistent with the current Asset metadata
- 500:
- description: |
- Internal error
- 501:
- description: |
- Not implemented
-
-
-####################################################################################################
-#TODO - Revision in progress
-
- /cat/assets/graphql:
- get:
- tags:
- - Knowledge Asset Retrieval
- operationId: queryKnowledgeAssets
- summary: GraphQL based retrieval
- description: |
- Queries the Knowledge Asset (Surrogate) Knowledge Base using GraphQL
- parameters:
- - $ref: '#/parameters/graphQLquery'
- responses:
- 200:
- description: |
- Success
-
- /cat/assets/{assetId}/versions/{versionTag}/bundle:
- get:
- tags:
- - Knowledge Asset Retrieval
- operationId: getKnowledgeAssetBundle
- summary: Retrieve a set of Knowledge Assets that includes the given asset, and its related assets.
- description: |
- Resolves the Asset for the given id and version, then resolves (recursively) all its related assets.
- The resolution can be filtered by relationship type, and/or limited by depth.
-
- The bundle SHALL inlcude the root Asset, but SHALL NOT include assets that the client cannot normally access, so the resulting colleciton may be empty.
- parameters:
- - $ref: '#/parameters/assetId'
- - $ref: '#/parameters/versionTag'
- - $ref: '#/parameters/assetRelationship'
- - $ref: '#/parameters/depth'
- produces:
- - "application/json"
- - "application/xml"
- responses:
- 200:
- description: Success
- schema:
- type: array
- items:
- $ref: '#/definitions/KnowledgeAsset'
- 403:
- description: |
- The client cannot access the Asset
- 404:
- description: |
- Asset Version not found
- 500:
- description: |
- Internal error
- 501:
- description: |
- Not implemented
-
- /cat/assets/{assetId}/versions/{versionTag}/bundle/carrier:
- get:
- tags:
- - Knowledge Asset Retrieval
- operationId: getKnowledgeArtifactBundle
- summary: Bundles the Knowledge Artifacts associated to an Asset.
- description: |
- Resolves the Asset for the given id and version, then resolves (recursively) all its related assets,
- then resolves an Artifact for each Asset.
- Effectively composes getKnowledgeAssetBundle and getCanonicalKnowledgeAssetCarrier server-side
- parameters:
- - $ref: '#/parameters/assetId'
- - $ref: '#/parameters/versionTag'
- - $ref: '#/parameters/assetRelationship'
- - $ref: '#/parameters/depth'
- - $ref: '#/parameters/extAccept'
- produces:
- - "application/json"
- - "application/xml"
- responses:
- 200:
- description: Success
- schema:
- type: array
- items:
- $ref: '#/definitions/KnowledgeCarrier'
- 403:
- description: |
- The client cannot access the Asset
- 404:
- description: |
- Asset Version not found
- 500:
- description: |
- Internal error
- 501:
- description: |
- Not implemented
-
-
- /cat/assets/{assetId}/versions/{versionTag}/struct:
- get:
- tags:
- - Knowledge Asset Retrieval
- summary: Retrieve the Structure of a Composite Knowledge Asset.
- description: |
- Retrieves a Knowledge Artifact that describes the structure (i.e. the Components and relationships thereof) of a Composite Knowledge Asset.
- The Server MAY generate the structure from the analysis of the relationships between Assets, or be configured explicitly.
- operationId: getCompositeKnowledgeAssetStructure
- parameters:
- - $ref: '#/parameters/assetId'
- - $ref: '#/parameters/versionTag'
- produces:
- - "application/json"
- - "application/xml"
- responses:
- 200:
- description: |
- Success
- schema:
- $ref: '#/definitions/KnowledgeCarrier'
- 403:
- description: |
- The client cannot access the Asset
- 404:
- description: |
- Asset Version not found
- 500:
- description: |
- Internal error
- 501:
- description: |
- Not implemented
-
- /cat/assets/{assetId}/versions/{versionTag}/struct/carrier:
- get:
- tags:
- - Knowledge Asset Retrieval
- #- core
- summary: Retrieve a Composite Knowledge Artifact, or the components thereof.
- description: |
- Bundles the Artifacts that correspond to the items in a Composite Asset Structure, including the Structure itself, using content negotiation to determine the most fitting representation of each Asset (the acceptable format(s) must account for all components).
- OR
- when 'flat=true', combines all the Artifacts into a single Artifact that is an equivalent, flat representation of the Composite Asset. In this case, content negotiation determines the representation of the flat form.
-
- The server is free to materialize and store either the flat or the decomposed representation(s), or both, but can also derive one from the other.
- operationId: getCompositeKnowledgeAsset
- parameters:
- - $ref: '#/parameters/assetId'
- - $ref: '#/parameters/versionTag'
- - $ref: '#/parameters/flat'
- - $ref: '#/parameters/extAccept'
- produces:
- - "application/json"
- - "application/xml"
- responses:
- 200:
- description: |
- Success
- schema:
- type: array
- items:
- $ref: '#/definitions/KnowledgeCarrier'
- 300:
- description: |
- The Composite Asset cannot be flattened in the desired format, but alternatives are available
- schema:
- type: array
- items:
- $ref: '#/definitions/Pointer'
- 403:
- description: |
- The client cannot access the Asset
- 404:
- description: |
- Asset Version not found
- 406:
- description: |
- The Artifact(s) cannot be delivered using the desired representation(s)
- 500:
- description: |
- Internal error
- 501:
- description: |
- Not implemented
-
-
-parameters:
-
- assetType:
- in: query
- name: assetType
- required: false
- type: string
- description: |
- A codified term that identifies a type, category or class of Knowledge Assets defined in some ontology or classification scheme known to the server. For this reason, the term does not need to be fully qualified.
-
- assetAnnotation:
- in: query
- name: assetAnnotation
- required: false
- type: string
- description: |
- A fully qualified (URI) term that denotes a concept that can be used to annotate assets.
-
- assetRelationship:
- in: query
- name: assetRelationship
- required: false
- type: string
- description: |
- A fully qualified (URI) term that denotes a relationship type that can be asserted between assets
-
- assetId:
- in: path
- name: assetId
- required: true
- type: string
- format: uuid
- description: |
- The id of the Knowledge Asset (Series).
-
- versionTag:
- in: path
- name: versionTag
- required: true
- type: string
- description: |
- The version tag of a Versioned Entity. \n Versioned Identifiers identify specific, Immutable Versions of Mutable Entities, which reflect the state of that Entity at a given point in time. Where a version(ed) identifier is universal, the Tag represents the local part of that identifier, under the scope of the identifier that denotes the Entity (series).
-
- artifactId:
- in: path
- name: artifactId
- required: true
- type: string
- format: uuid
- description: |
- The id of the Knowledge Artifact that carries a concrete expression of a Knowledge Asset.
-
- artifactVersionTag:
- in: path
- name: artifactVersionTag
- required: true
- type: string
- description: |
- The version tag a (version of a) Knowledge Artifact
-
- depth:
- in: query
- name: depth
- required: false
- type: integer
- description: |
- The maximum allowed relationship-induced distance between two assets. Two assets X and Y have distance N if there exist other N-1 distinct assets W such that A is related to W1, W1 is related to W2, .., Wn-1 is related to Y.
-
- flat:
- in: query
- name: flat
- required: false
- type: boolean
- description: |
- Determines whether a Composite Asset should be flattened into a single Asset, or its Component Assets should be maintained separate.
-
-
- extAccept:
- in: header
- name: X-Accept
- required: false
- type: string
- description: |
- A MIME Type that codifies the syntactic representation of a Knowledge Artifact, as accepted by the client in a content negotiation sense.
-
- assetSurrogate:
- in: body
- name: assetSurrogate
- required: false
- schema:
- $ref: '#/definitions/KnowledgeAsset'
- description: |
- The Surrogate of a Knowledge Asset.
-
- exemplarCarrier:
- in: body
- name: exemplar
- required: false
- schema:
- type: string
- format: binary
- description: |
- A Knowledge Artifact that carries an exemplar of a Knowledge Assets.
-
-
-#TODO - Should be moved to a common file
-
- graphQLquery:
- in: query
- name: query
- required: true
- type: string
- description: |
- The GraphQL query
-
- beforeTag:
- in: query
- name: beforeTag
- required: false
- type: string
- description: |
- Restricts the series to include only versions before (included) a given version Tag. Assumes the underlying versioning scheme has at least a partial ordering defined.
- afterTag:
- in: query
- name: afterTag
- required: false
- type: string
- description: |
- Restricts the series to include only versions after (included) a given version Tag. Assumes the underlying versioning scheme has at least a partial ordering defined.
-
- sort:
- in: query
- name: sort
- required: false
- type: string
- default: "asc"
- description: |
- Allows to sort a collection by one ore more properties.
-
- offset:
- in: query
- name: offset
- type: integer
- required: false
- description: |
- Filters elements in a collection, returning all elements after the 'offset' index included, ignoring all previous elements.
- limit:
- in: query
- name: limit
- type: integer
- required: false
- description: |
- Returns up to the given number of elements in a collection.
-
-
-
-definitions:
-
- Pointer:
- type: object
-
- KnowledgeCarrier:
- type: object
- description: |
- A Resource that wraps a Serialized, Encoded Knowledge Artifact
-
- KnowledgeAsset:
- title: Knowledge Asset Surrogate
- type: object
- description: |
- A Resource that contains descriptive information about a specific version of a Knowledge Asset, as well as its known Representations and/or Manifestations. The actual content model is implementation specific, so the adopted language specification must be manifested by the Knowledge Asset Catalog.
-
- KnowledgeAssetCatalog:
- title: Knowledge Asset Catalog
- type: object
- description: |
- A Resource that provides a summary of the features of a Catalog at a given point in time, including the categories and types of Assets it supports, and the model/schema used to represent Assets' descriptions.
-
-
-# Added by API Auto Mocking Plugin
-host: virtserver.swaggerhub.com
-# basePath: /mea-3d/KnowledgeRepository/1.0
-schemes:
- - https
-# Added by API Auto Mocking Plugin
-basePath: /mayo-clinic/KnowledgeAssetRepository/2.0.0
\ No newline at end of file
diff --git a/openapi/v2/org/omg/spec/api4kp/2.0.0/knowledgeTransrepresentation.yaml b/openapi/v2/org/omg/spec/api4kp/2.0.0/knowledgeTransrepresentation.yaml
deleted file mode 100644
index f2f0c9b..0000000
--- a/openapi/v2/org/omg/spec/api4kp/2.0.0/knowledgeTransrepresentation.yaml
+++ /dev/null
@@ -1,423 +0,0 @@
-swagger: '2.0'
-info:
- description: |
- This API will be leveraged to trans-represent between variant Expressions of the same Knowledge Assets.
- Supports API4KP transcriptions, translations, transcreations and other purely syntactic transformations that preserve the Knowledge Asset content.
- Implementations of this API are used to manipulate abstract and/or concrete expressions, impacting languages (as defined by metamodels, grammars and/or schemas), formats (aka serializations) and/or lexicons (aka terminology) used for representation.
- version: "2.0.0"
- title: Knowledge Asset Transrepresentation Service
-
-tags:
-- name: discovery
- description: Describe available cross-Language Trans^ion Capabilities.
-- name: transxion
- description: Apply available cross-Language Trans^ion Capabilities.
-- name: admin
- description: Server administration/configuration.
-- name: detect
- description: Detect Language(s) used in an Expression
-- name: validate
- description: Validate that an Expression conforms to a Language(s)
-- name: deserialize
- description: Lift (parse) or Lower (serialize) an Expression
-
-paths:
-
-###################################################################################################
-
-
- /transxors:
- get:
- tags:
- - transxion
- #- core
- summary: List public, static operators
- description: Enumerates the TransrepresentationOperators that are persistent and publicly available
- operationId: listOperators
- parameters:
- - $ref: '#/parameters/from'
- - $ref: '#/parameters/into'
- - $ref: '#/parameters/method'
- responses:
- 200:
- description: successful operation
- schema:
- type: array
- items:
- $ref: '#/definitions/TransrepresentationOperator'
-
-
- /transxors/{txId}:
- get:
- tags:
- - transxion
- #- declarative
- summary: Describes trans-representation operation.
- operationId: getTransrepresentation
- parameters:
- - $ref: '#/parameters/txId'
- responses:
- 200:
- description: The transformed artifact
- schema:
- $ref: '#/definitions/TransrepresentationOperator'
-
- post:
- tags:
- - transxion
- #- declarative
- summary: Applies a trans-representation operation.
- operationId: applyTransrepresentation
- description: Applies a trans-representation operation
- parameters:
- - $ref: '#/parameters/txId'
- - $ref: '#/parameters/carrier'
- - $ref: '#/parameters/params'
- responses:
- 200:
- description: The transformed artifact
- schema:
- $ref: '#/definitions/KnowledgeCarrier'
-
- /transxions/{txId}/into:
- get:
- tags:
- - transxion
- #- declarative
- summary: Describes trans-representation operation result.
- operationId: getTransrepresentationOutput
- parameters:
- - $ref: '#/parameters/txId'
- responses:
- 200:
- description: The type of output
- schema:
- $ref: '#/definitions/SyntacticRepresentation'
-
- /transxions/{txId}/acceptedParams:
- get:
- tags:
- - transxion
- #- declarative
- summary: Describes trans-representation operation result.
- operationId: getTransrepresentationAcceptedParameters
- parameters:
- - $ref: '#/parameters/txId'
- responses:
- 200:
- description: Accepable Parameters
- schema:
- $ref: '#/definitions/ParamDefinition'
-
-
-###################################################################################################
-
-
- /detectors:
- post:
- tags:
- - detect
- summary: Identifies the representation(s) used in a given Artifact, setting it
- description: Returns the detected informtation
- operationId: setDetectedRepresentation
- consumes:
- - multipart/form-data
- produces:
- - application/json
- - application/xml
- parameters:
- - $ref: '#/parameters/carrier'
- responses:
- 200:
- description: The detected Representations.
- schema:
- $ref: '#/definitions/KnowledgeCarrier'
-
- /detectors/supportedLanguages:
- get:
- tags:
- - detect
- summary: Returns a list of detectable languages
- description: Returns a list of detectable languages, such that there is at least one component capable.
- operationId: getDetectableLanguages
- produces:
- - application/json
- - application/xml
- responses:
- 200:
- description: The supported languages.
- schema:
- type: array
- items:
- $ref: '#/definitions/SyntacticRepresentation'
- post:
- tags:
- - detect
- summary: Identifies the representation(s) used in a given Artifact, returning it
- description: Returns the detected informtation
- operationId: getDetectedRepresentation
- consumes:
- - multipart/form-data
- produces:
- - application/json
- - application/xml
- parameters:
- - $ref: '#/parameters/carrier'
- responses:
- 200:
- description: The detected Representations.
- schema:
- $ref: '#/definitions/SyntacticRepresentation'
-
- /validators:
- post:
- tags:
- - validate
- summary: Determines if a given Artifact is a valid expression in a given Language
- description: "Attempts to establish whether the Expression(s) carried by a given Knowledge Artifact are valid sentences of a given language, profile, lexicon and/or serialization."
- operationId: validate
- consumes:
- - multipart/form-data
- produces:
- - application/json
- - application/xml
- parameters:
- - $ref: '#/parameters/carrier'
- - $ref: '#/parameters/into'
- responses:
- 200:
- description: "Succeeds if the artifact carries expressions that are valid according to the given language, profile, lexicon and/or serialization."
-
-###################################################################################################
-
- /deserializers:
- post:
- tags:
- - deserialize
- summary: Parses a Knowledge Artifact
- operationId: ensureRepresentation
- consumes:
- - multipart/form-data
- parameters:
- - $ref: '#/parameters/carrier'
- - $ref: '#/parameters/into'
- responses:
- 200:
- description: The (de)serialized carrier.
- schema:
- $ref: '#/definitions/KnowledgeCarrier'
-
- /deserializers/parsers:
- post:
- tags:
- - deserialize
- summary: Parses a Knowledge Artifact
- description: "Decodes, deserializes and/or parses a Knowledge Artifact. The Into parameter determines the extent of the parsing. If language, format and encoding are specified, an AST will be returned. If format and encoding are specified, a parse tree will be returned. If just an encoding is specified, a string will be returned. If nothing is specified, a binary stream will be returned. If the input carrier is already at a higher level of abstraction, the operation will fail."
- operationId: lift
- consumes:
- - multipart/form-data
- parameters:
- - $ref: '#/parameters/carrier'
- - $ref: '#/parameters/level'
- responses:
- 200:
- description: The (de)serialized carrier.
- schema:
- $ref: '#/definitions/KnowledgeCarrier'
-
- /deserializers/parsers/supportedLanguages:
- get:
- tags:
- - deserialize
- operationId: getParsableLanguages
- responses:
- 200:
- description: The supported languages.
- schema:
- type: array
- items:
- $ref: '#/definitions/SyntacticRepresentation'
- post:
- tags:
- - deserialize
- operationId: deserialize
- parameters:
- - $ref: '#/parameters/carrier'
- - $ref: '#/parameters/into'
- responses:
- 200:
- description: The deserialized carrier.
- schema:
- $ref: '#/definitions/KnowledgeCarrier'
-
- /deserializers/serializers:
- post:
- tags:
- - deserialize
- summary: Serialize a Knowledge Artifact
- description: "Serializes, encodes and/or streams a Knowledge Artifact. The Into parameter determines the extent of the serialization."
- operationId: lower
- consumes:
- - multipart/form-data
- parameters:
- - $ref: '#/parameters/carrier'
- - $ref: '#/parameters/level'
- responses:
- 200:
- description: The serialized carrier.
- schema:
- $ref: '#/definitions/KnowledgeCarrier'
-
- /deserializers/serializers/supportedLanguages:
- get:
- tags:
- - deserialize
- operationId: getSerializableLanguages
- responses:
- 200:
- description: The supported languages.
- schema:
- type: array
- items:
- $ref: '#/definitions/SyntacticRepresentation'
- post:
- tags:
- - deserialize
- operationId: serialize
- parameters:
- - $ref: '#/parameters/carrier'
- - $ref: '#/parameters/into'
- responses:
- 200:
- description: The serialized carrier.
- schema:
- $ref: '#/definitions/KnowledgeCarrier'
-
-###################################################################################################
-
-
-parameters:
-
- txId:
- in: path
- name: txId
- description: The id of a Trans-representation component (aka Transrepresentator). Transrepresentator (resources) describe a knowledge platform component that has been instantiated and deployed in the knowledge platform underlying this server.
- required: true
- type: string
-
- tx:
- in: body
- name: tx
- description: A Trans-representation exemplar resource, used to describe a class of components
- required: true
- schema:
- $ref: '#/definitions/Transrepresentation'
-
-
- txionId:
- in: path
- name: txionId
- description: The id of a Trans-representation operation. Operation (resources) describe a capability of the server, in terms of supported input and output representations (languages, formats, lexicon, etc.)
- required: true
- type: string
-
- carrier:
- name: sourceArtifact
- in: body
- schema:
- $ref: '#/definitions/KnowledgeCarrier'
-
- from:
- in: body
- name: from
- description: Additional information that precisely describes the representation language and/or format used in the source Knowledge Artifact
- required: false
- schema:
- $ref: '#/definitions/SyntacticRepresentation'
-
- into:
- in: body
- name: into
- description: Additional information that precisely describes the representation language and/or format used in the source Knowledge Artifact
- required: false
- schema:
- $ref: '#/definitions/SyntacticRepresentation'
-
- level:
- in: body
- name: level
- description: Additional information that describes the desired (acceptable) resulting representation(s)
- required: false
- schema:
- $ref: '#/definitions/ParsingLevel'
-
- method:
- in: query
- name: method
- description: Specifies the strategy by which a given operation is requested to be executed
- required: false
- type: string
-
-
- lambdaId:
- in: path
- name: lambdaId
- description: The identifier of a transrepresentation operator, configured to apply a transrepresentation operation to a given class of artifacts, to produce new artifacts carrying variant expressions of the content of the source artifact.
- required: true
- type: string
-
- params:
- in: body
- name: params
- required: false
- schema:
- $ref: '#/definitions/Parameters'
-
-
-
-
-definitions:
-
- KnowledgeCarrier:
- type: object
-
- Pointer:
- type: object
- description: TODO Reuse from Common
-
- ParsingLevel:
- type: string
- description: "A vertical level of absraction on the binary/string/parse tree/AST/ASG chain"
-
- SyntacticRepresentation:
- type: object
- description: "A data structure that describes a particular combination of (knowledge representation) language, format, lexicon (aka terminology) and locale used in the representation of a Knowledge Expression. Includes a summary coded value that is suitable both as a type identifier and a MIME type."
-
- Transrepresentator:
- type: object
- description: "A Knowledge Platform Component that possesses some syntactic manipulation capabilities, exposed as as service by means of this API. The resource provides descriptive information about this component, including the public ID of the software (library) that contains the binaries used to instantiate it."
-
- Transrepresentation:
- type: object
- description: "A resource that describes the capability of a Trans-representator comoponent to perform certain operations as a service. May include information about the method (e.g. algorithm) used, as well as the supported language(s) and format(s)."
-
- TransrepresentationMethod:
- type: object
- description: "A resource that describes the method by which a source representation can be trans-represented into a tareget one, as implemented by at least one transrepresentation operation supplied by a transrepresentator component."
-
- TransrepresentationOperator:
- type: object
- description: "A resource that describes a Lambda - a (possibly temporary) runtime context that is configured to apply a specific transrepresentation to a fully determined class of input artifacts, producing a predetermined kind of output artifact. The operator may be persistent, or temporary, e.g. because is the result of an exchange between the client and the server, including content negotiation (and possibly other aspects such as permission or QoS)."
-
- Parameters:
- type: object
- additionalProperties:
- type: string
-
- ParamDefinition:
- type: object
-# Added by API Auto Mocking Plugin
-host: virtserver.swaggerhub.com
-basePath: /mayo-clinic/KnowledgeTransrepresentation/2.0.0
-schemes:
- - https
\ No newline at end of file
diff --git a/openapi/v2/org/omg/spec/api4kp/3.0.0/inference.yaml b/openapi/v2/org/omg/spec/api4kp/3.0.0/inference.yaml
deleted file mode 100644
index 04f08b9..0000000
--- a/openapi/v2/org/omg/spec/api4kp/3.0.0/inference.yaml
+++ /dev/null
@@ -1,297 +0,0 @@
-swagger: '2.0'
-
-info:
- description: |
-
- ### Summary
-
- **Knowledge-Driven Reasoning (web) Service that supports the (stateless) execution of
- Inferences, Queries, and related information processing tasks on one or more Knowledge Bases
- (aka 'Models').**
-
- #### Identification
- In this context, a 'Model' is a Knowledge Base - regardless of whether it consists of a known,
- single Knowledge Asset, or is the result of an Assembly on-the-fly.
- Knowledge Bases have a unique identifier: in this server, deployed Knowledge Base
- (i.e. the instantiation of a Knowledge Base in some software) and possibly even deployments are
- tracked with different IDs.
-
-
- version: "3.0.0"
- title: "Model Evaluation Reasoning Service"
- contact:
- name: Davide Sottara
- email: Sottara.Davide@mayo.edu
-
- license:
- name: Apache 2.0
- url: http://www.apache.org/licenses/LICENSE-2.0.html
-
-tags:
- - name: Model
- description: "Endpoints that expose (metadata about) the deployed model itself"
- - name: Introspection
- description: "Extract Surrogates from Knowledge Artifacts"
- - name: Inference
- description: "Endpoints that expose a model's computation capabilities as a function"
- - name: Query
- description: "Query"
- #- name: asynch
- # description: "Endpoints that expose the model's asynchronous computation"
-
-paths:
-
- #TODO Harmonize Introspectors and Evaluators
-
-
- /introspectors:
- get:
- tags:
- - Introspection
- summary: 'List available introspectors'
- description: |
- Enumerates the currently available introspectors
- operationId: listIntrospectors
- responses:
- 200:
- description: The ID of the introspector function
- schema:
- $ref: '#/definitions/Pointer'
-
- post:
- tags:
- - Introspection
- summary: 'Initialize an Introspector'
- description: |
- Initializes an introspector with an optional piece of knowledge,
- which provides addotional context for the metadata extraction.
- Conceptually, the server will use that artifact to seed/augment a knowledgebase,
- which can be specific to the Artifact to be introspected
- (thus making the introspector artifact-specific), or shared.
- The process of metadata extraction, then, is conceptually an inference based
- on the context knowledge and the content of the artifact itself
- operationId: initIntrospector
- parameters:
- - $ref: '#/parameters/sourceArtifact'
- responses:
- 200:
- description: The ID of the introspector function
- schema:
- $ref: '#/definitions/KnowledgeCarrier'
-
-
- /introspectors/{lambdaId}:
- get:
- tags:
- - Introspection
- summary: 'Describes the Surrogate Extraction strategy'
- operationId: getIntrospector
- description: |
- Provides information about a specific metadata extractor
- parameters:
- - $ref: '#/parameters/lambdaId'
- responses:
- 200:
- description: OK
- # schema : TODO
-
- post:
- tags:
- - Introspection
- summary: 'Extract a Knowledge Asset Surrogate from a given Knowledge Artifact'
- description: |
- The operation abstracts the actual strategy, which can be initialized to be
- specific to an Artifact, or a class thereof, but is supposed to be stateless
- and idempotent.
- The operation is also independent of the actual metadata model used to carry
- the results, but the client SHOULD be able to use content negotiation to
- express their preference in terms of model, profile, serialization format, etc.
- operationId: introspect
- parameters:
- - $ref: '#/parameters/lambdaId'
- - $ref: '#/parameters/sourceArtifact'
- - $ref: '#/parameters/xAccept'
- responses:
- 200:
- description: The Surrogate that results from the application of the operator
- schema:
- $ref: '#/definitions/KnowledgeCarrier'
-
- delete:
- summary: 'Disables an introspector'
- tags:
- - Introspection
- description: |
- Disables an introspector, which will no longer be available for use
- parameters:
- - $ref: '#/parameters/lambdaId'
- responses:
- 200:
- description: OK
-
-
- /models:
- get:
- tags:
- - Model
- summary: List Models
- operationId: listModels
- description: "List the Models running on this server."
- produces:
- - application/json
- - application/xml
- # TODO: Apply the pagination trait
- # TODO: Apply the asset type filter trait - other search/filter parameters?
- responses:
- 200:
- description: "List of References to available Models"
- schema:
- type: array
- items:
- $ref: '#/definitions/Pointer'
-
- /models/{modelId}/versions/{versionTag}:
- get:
- tags:
- - Model
- summary: Describe Model
- operationId: getModel
- description: "Return descriptive metadata about a specific model"
- produces:
- - application/json
- - application/xml
- parameters:
- - $ref: '#/parameters/modelId'
- - $ref: '#/parameters/versionTag'
- responses:
- 200:
- description: "Information about the computable knowledge that is being executed
- as a service, including enough information to resolve the Knowledge Asset of
- which the model is an instantiation."
- schema:
- $ref: '#/definitions/KnowledgeCarrier'
-
- /models/{modelId}/versions/{versionTag}/logic:
- post:
- tags:
- - Inference
- summary: Evaluate / Infer
- operationId: infer
- description: "Submits a dataset for evaluation. The model will be applied to each item in
- the dataset, returning a new dataset with the inferred values. Each evaluation will be
- independent. The Dataset MUST contain all the FEATURES required for model evaluation, as
- the server will not attempt to resolve any, ignoring the CONTEXT. If both DATA and FEATURES
- are provided, the server MIGHT try to infer the FEATURES from the DATA; if, for a given data
- concept, the provided and inferred values are not identical, the server will respond with an
- exception. As a result of a successful evaluation, the server MUST respond with a DataSet that
- contains the computed output FEATURES, and SHOULD also include the output DATA Concepts."
- consumes:
- - application/json
- produces:
- - application/json
- parameters:
- - $ref: '#/parameters/modelId'
- - $ref: '#/parameters/versionTag'
- - in: body
- name: features
- required: true
- schema:
- $ref: '#/definitions/Map'
- responses:
- 200:
- description: "The results of the computation, returned synchronously"
- schema:
- $ref: '#/definitions/Map'
-
- ##########################################################################################
-
-
- /models/{modelId}/versions/{versionTag}/oracle:
- post:
- tags:
- - Query
- operationId: askQuery
- description: submits a query to a KnowledgeBase
- parameters:
- - $ref: '#/parameters/modelId'
- - $ref: '#/parameters/versionTag'
- - name: query
- in: body
- required: true
- schema:
- $ref: '#/definitions/KnowledgeCarrier'
- responses:
- 200:
- description: The bound expression
- schema:
- type: array
- items:
- $ref: '#/definitions/Bindings'
-
-parameters:
- modelId:
- in: path
- name: modelId
- type: string
- format: uuid
- required: true
- description: "The Identifier of a known Inferential Knowledge Asset (aka kao#Assessment) that
- is deployed and executed as a Service. This identifier SHOULD be an ID of the Asset itself,
- not of the manifestation of the Asset within the server."
-
- versionTag:
- in: path
- name: versionTag
- type: string
- required: true
- description: "The Identifier os a specific version of a Model, within the series identified
- by a modelId."
-
- lambdaId:
- in: path
- name: lambdaId
- description: TODO
- required: true
- type: string
- format: uuid
-
- sourceArtifact:
- name: sourceArtifact
- in: body
- required: true
- schema:
- $ref: '#/definitions/KnowledgeCarrier'
-
- xAccept:
- in: query
- name: xAccept
- description: |
- A formal MIME type used for content negotiation
- required: false
- type: string
-
-
-definitions:
- Pointer:
- type: object
- description: "Compact proxy object that carries references to another Resource. This object
- used in operations that browse and list collections."
-
- KnowledgeCarrier:
- type: object
- description: "A Resource that describes a particular representation of a Knowledge Asset."
-
- Map:
- type: object
- description: "A single table row, implemented by means of a map, where the 'column' keys
- SHALL correspond to either the names or the concept URIs of one or more Data Concepts,
- and the values is one array of uniform length."
-
-
- Bindings:
- type: object
-
-# Added by API Auto Mocking Plugin
-schemes:
- - https
-basePath: /kmdp.mayo.edu/reasoning/v3/
\ No newline at end of file
diff --git a/openapi/v2/org/omg/spec/api4kp/3.0.0/knowledgeArtifactRepository.yaml b/openapi/v2/org/omg/spec/api4kp/3.0.0/knowledgeArtifactRepository.yaml
deleted file mode 100644
index 09466cc..0000000
--- a/openapi/v2/org/omg/spec/api4kp/3.0.0/knowledgeArtifactRepository.yaml
+++ /dev/null
@@ -1,867 +0,0 @@
-swagger: '2.0'
-
-info:
- version: "3.0.0"
- title: 'API4KP Knowledge Artifact Repository API'
- contact:
- name: Davide Sottara
- email: sottara.davide@mayo.edu
- license:
- name: Apache License, Version 2.0
- url: https://www.apache.org/licenses/LICENSE-2.0.html
- description: |
- API that expose the functional capabilities of a Knowledge Artifact Repository Service (KAR), as defined in the OMG API4KP specification.
-
- Knowledge Artifact Repositories allow to store and retrieve (copies of) Digital Knowledge Artifacts (KA). KARs treat KAs as black-box binary objects, so there is no limitation nor expectation on the nature of the content, or the requirements to consume it. However, identity and versioning must be supported.
-
- Identifiers must be universal, unique and opaque, so they MUST be UUID v4 compliant. Version tags can follow different patterns (semantic versioning, incremental numbering, date/time stamps, etc...).
-
- Special considerations involve the _deletion_ of an Artifact. For traceability and safety purposes, KARs SHOULD NOT allow Artifacts to be deleted in an unrecoverable way. Deletion itself is defined as making an Artifact no longer accessible to a client (i.e. status 404). A server SHOULD allow a deletion operation to be undone, e.g. using mechanisms conceptually similar to 'trash bins', and SHOULD at a minimum keep track of the IDs of Artifacts that were at some point managed in each Repository.
- For this reason, a two phase deletion is recommended. Deleted Artifacts transition into a 'deleted' status in which they cannot be discovered nor retrieved, unless a dedicated flag is set. Once in a deleted state, Artifacts MAY be deleted permanently.
-
- The API also supports the (logical) federation of Repositories. A server instance MAY expose different repositories to a client, who should expect each repository to be independent. Whether these repositories map to actual physical repositories (e.g. different DBs), folder-like structures or logic tags/collections is left to the implementation.
The same artifact (as defined by having the same ID) COULD be stored in more than one repository, but all copies MUST be identical to each other
-
- With adequate rights, and if supported by the implementation, repositories can be _enabled_ or _disabled_.
- Enabled (resp. disabled) repositories are (resp. not) available to a client, regardless of whether the (de)allocation of actual resources is involved at the implementation level.
-tags:
- - name: Knowledge Artifact
- description: |
- Store/Retrieve specific versions of specific Knowledge Artifacts.
-
- - name: Knowledge Artifact Series
- description: |
- Manage different versions of a given Knowledge Artifact.
-
- - name: Knowledge Artifact Repository
- description: |
- Discover/Administer federated Knowledge Artifact Repositories.
-
-# basePath: /www.omg.org/spec/API4KP/KnowledgeArtifactRepository/v1.2.1
-
-#schemas:
-# - http
-# - https
-
-paths:
-
-####################################################################################################
-#
-# Knowledge Artifact Repository
-#
-####################################################################################################
-
- /repos:
- get:
- tags:
- - Knowledge Artifact Repository
- summary: List federated Knowledge Artifact Repositories
- description: |
- Retrieves a browsable list of known Knowledge Artifact Repositories, federated under this manager.
-
- A KAR MUST always have at least one repository, which COULD be accessed under a 'DEFAULT' well known ID, in addition to the specific ID that the repository should have. This default repository MUST be enabled at startup. As a consequence, this operation SHOULD alway return at least one resource.
- operationId: listKnowledgeArtifactRepositories
- produces:
- - application/json
- - application/xml
- responses:
- 200:
- description: |
- A list of Resources describing each enabled repository is returned. The default repository SHOULD be the first element in the list.
- schema:
- type: array
- items:
- $ref: '#/definitions/KnowledgeArtifactRepository'
- 500:
- description: |
- No repository is available, including the 'default' repository that the server MUST provide.
- post:
- tags:
- - Knowledge Artifact Repository
- summary: Enable Knowledge Artifact Repository
- description: |
- Ensures that a new, empty Knowledge Artifact Repository is enabled, assigning an identifier in the process.
-
- A client may not be allowed to enable (additional) repositories, or the server may not support the dynamic enabling of new repositories altogether.
- operationId: initKnowledgeArtifactRepository
- responses:
- 201:
- description: |
- Repository successfully enabled. Returns a URL where the newly created repository can be accessed (e.g. to GET a repository descriptor), together with a descriptor of the current state.
- headers:
- Content-Location:
- type: string
- format: uri
- schema:
- $ref: '#/definitions/KnowledgeArtifactRepository'
- 403:
- description: |
- The client does not have the rights to enable additional repositories.
- 500:
- description: |
- Internal error.
- 501:
- description: |
- The server does not provide this capability.
-
-####################################################################################################
-
- /repos/{repositoryId}:
- get:
- tags:
- - Knowledge Artifact Repository
- summary: Describe Knowledge Artifact Respository
- description: |
- Retrieves the state, as known at the time the operation is invoked, of a specific Knowledge Artifact Repository.
-
- This operation is always expected to succeed if the 'DEFAULT' repository is addressed.
- operationId: getKnowledgeArtifactRepository
- produces:
- - application/json
- - application/xml
- parameters:
- - $ref: '#/parameters/repositoryId'
- responses:
- 200:
- description: |
- The given repository is enabled, and some information can be returned.
- schema:
- $ref: '#/definitions/KnowledgeArtifactRepository'
- 404:
- description: |
- No repository with the given ID is currently enabled
- 500:
- description: |
- Internal error
- put:
- tags:
- - Knowledge Artifact Repository
- summary: Configure a Knowledge Artifact Respository
- description: |
- Ensure a Knowledge Artifact Repository with the given identifier is enabled and accessible. If not, will attempt to create one. The identifier must be acceptable to the server. If optional descriptive information is provided, it will be used to initialize or update the state of the Repository.
-
- Clients may not be authorized, and servers may not support this operation.
- operationId: setKnowledgeArtifactRepository
- consumes:
- - application/json
- - application/xml
- parameters:
- - $ref: '#/parameters/repositoryId'
- - $ref: '#/parameters/repositoryDescr'
- responses:
- 201:
- description: |
- A repository has been enabled in the process. Returns the actual state of the repository
- schema:
- $ref: '#/definitions/KnowledgeArtifactRepository'
- 204:
- description: |
- The repository is enabled, and its state reflects the client-provided information
- 403:
- description: |
- Repositories cannot be enabled, or their status cannot be updated by the client.
- 405:
- description: |
- The target repository status cannot be updated
- 500:
- description: |
- Internal error
- 501:
- description: |
- Not implemented
- delete:
- tags:
- - Knowledge Artifact Repository
- summary: Disables an empty Knowledge Artifact Respository
- description: |
- Ensure a Knowledge Artifact Repository with the given identifier is no longer accessible.
- The Repository MUST be empty for this operation to succeed.
-
- The 'DEFAULT' repository CAN NOT be disabled.
- operationId: disableKnowledgeArtifactRepository
- parameters:
- - $ref: '#/parameters/repositoryId'
- responses:
- 204:
- description: |
- The repository was successfully disabled (or no repository was found).
- 403:
- description: |
- The repository is not empty and cannot be disabled.
- 500:
- description: |
- Internal error
- 501:
- description: |
- Not implemented
-
- head:
- tags:
- - Knowledge Artifact Repository
- summary: Check Knowledge Artifact Respository
- description: |
- Checks for the existence of a Knowledge Artifact Repository with the given identifier
- operationId: isKnowledgeArtifactRepository
- parameters:
- - $ref: '#/parameters/repositoryId'
- responses:
- 204:
- description: |
- Success
- 500:
- description: |
- Internal error
- 501:
- description: |
- Not implemented
-
-####################################################################################################
-
- /repos/{repositoryId}/artifacts:
- get:
- tags:
- - Knowledge Artifact Series
- summary: List stored Knowledge Artifacts
- description: |
- Retrieves a browsable list of references to the Knowledge Artifacts that are stored in a given Knowledge Artifact Repository.
- *If the repository is empty, the operation should still succeed, returning an empty list.
- *The returned references SHOULD, at a minimum, reference each Artifact's version series, and MUST also carry the identifier of the latest version.
-
- This operation should support paging.
- operationId: listKnowledgeArtifacts
- produces:
- - application/xml
- - application/json
- parameters:
- - $ref: '#/parameters/repositoryId'
- # pageable
- - $ref: '#/parameters/offset'
- - $ref: '#/parameters/limit'
- - $ref: '#/parameters/deleted'
- responses:
- 200:
- description: |
- Success
- schema:
- type: array
- items:
- $ref: '#/definitions/Pointer'
- 204:
- description: |
- Series is initialized, but no versions are available.
- (If deleted=true, this can only happen if there are no versions yet, or all are gone)
- 404:
- description: |
- Repository not found
- 403:
- description: |
- Client not authorized to browse this repository
- 500:
- description: |
- Internal error
-
- post:
- tags:
- - Knowledge Artifact Series
- summary: Initialize new Artifact series
- description: |
- Creates a new Knowledge Artifact.
- Assigns an ID to the Artifact in the process, and creates a new empty series."
- operationId: initKnowledgeArtifact
- produces:
- - application/json
- parameters:
- - $ref: '#/parameters/repositoryId'
- responses:
- 201:
- description: Success
- headers:
- Content-Location:
- type: string
- format: uri
- description: |
- URL where the new Knowledge Artifact Series can be accessed
- schema:
- description: |
- The identifier of the newly created Knowledge Artifact
- type: string
- format: uuid
- 403:
- description: |
- Client is not allowed to create new Artifacts
- 404:
- description: |
- Repository not found
- 405:
- description: |
- Not supported - Repository is read only
- 500:
- description: |
- Internal error
- 501:
- description: |
- Not implemented
- delete:
- tags:
- - Knowledge Artifact Series
- summary: Clear Knowledge Artifact Repository
- description: |
- Clears a Knowledge Artifact Repository, deleting each Artifact that is contained therein.
-
- Functionally equivalent to invoking, atomically,
- listKnowledgeArtifacts(repositoryId).forEach(x->deleteKnowledgeArtifactSeries(x,deleted))
- In particular, it must adhere to the constraints of deleteKnowledgeArtifact.
-
- This operation does not disable the Repository.
- After invoking this operation, listKnowledgeArtifacts MUST return an empty list.
-
- A client MUST have the appropriate privileges, which SHOULD only be granted to a super-user.
- In particular, the repository-scoped hard deletion (i.e. invoking this operation with deleted=true)
- MAY NOT be supported.
- operationId: clearKnowledgeRepository
- produces:
- - application/json
- parameters:
- - $ref: '#/parameters/repositoryId'
- - $ref: '#/parameters/deleted'
- responses:
- 204:
- description: |
- The repository content has been cleared
- 403:
- description: |
- Client does not have the privileges
- 404:
- description: |
- Repository not found
- 405:
- description: |
- Not supported by the Repository
- 500:
- description: |
- Internal error
- 501:
- description: |
- Not implemented
-
-####################################################################################################
-
-
- /repos/{repositoryId}/artifacts/{artifactId}:
- get:
- tags:
- - Knowledge Artifact Series
- summary: Retrieves the LATEST version of a Knowledge Artifact
- description: |
- Gets a copy of a (Digital) Knowledge Artifact, based on the LATEST version
- within the series identified by the given artifact ID.
-
- If invoked with 'deleted=true', it will access Artifacts that are current
- OR that have been soft-deleted.
- operationId: getLatestKnowledgeArtifact
- produces:
- - "*/*"
- parameters:
- - $ref: '#/parameters/repositoryId'
- - $ref: '#/parameters/artifactId'
- - $ref: '#/parameters/deleted'
- responses:
- 200:
- description: |
- Success
- schema:
- type: string
- format: binary
- 204:
- description: |
- Artifact known but either not available, or no versions are available.
- 403:
- description: |
- The client does not have the privileges to access the given Artifact
- 404:
- description: |
- Repository not found, or the Artifact is not resolvable within the given Repository.
- When invoked with 'deleted=true', it implies that the server does not recognize the ID,
- otherwise it may also be the case that the desired artifact has been deleted.
- 410:
- description: |
- The Artifact used to be known to this server, but has been deleted.
- Reversible deletions should return 410 if 'deleted=false' and 200 if 'deleted=true'
- Permanent deletions should return 410 in any case, leaving code 404 for Artifact IDs
- that are not recognized by the server
- 500:
- description: |
- Internal error
- delete:
- tags:
- - Knowledge Artifact Series
- summary: Removes a Knowledge Artifact from the Repository
- description: |
- Individual Knowledge Artifacts are considered removed from a Repository, if and only if any attempt to resolve that Artifact identifier within the given Knowledge Repository will not succeeed. Removing an Artifact that is not (any longer) in a Repository will result in a trivial success.
-
- This operation is functionally equivalent to invoking deleteKnowledgeArtifactSeries(repositoryId,artifactId,deleted),
- to clear the series, AND then removing the Artifact from the Repository.
-
- In any case, The server SHOULD keep a record of the artifactID.
- operationId: deleteKnowledgeArtifact
- parameters:
- - $ref: '#/parameters/repositoryId'
- - $ref: '#/parameters/artifactId'
- - $ref: '#/parameters/deleted'
- responses:
- 204:
- description: |
- Success
- This code is returned even if the artifact has already been (permanently) deleted,
- as long as the artifact ID is known to the server.
- 403:
- description: |
- The client does not have the necessary privileges
- 404:
- description: |
- No repository with the given ID can be found,
- or the Artifact is not known to this server
- 405:
- description: |
- The given Artifact cannot be deleted.
- 500:
- description: |
- Internal error
- 501:
- description: |
- Not implemented
- post:
- tags:
- - Knowledge Artifact Series
- summary: Enable Knowledge Artifact Series
- description: |
- Ensures a Knowledge Artifact (series) is available, even if the series may be empty.
- Will create a new series with the given ID if the Artifact is not known or GONE.
-
- May restore an unavailable Artifact, and/or all its unavailable versions.
- operationId: enableKnowledgeArtifact
- parameters:
- - $ref: '#/parameters/repositoryId'
- - $ref: '#/parameters/artifactId'
- responses:
- 201:
- description: |
- An artifact series with the given ID is now available.
- May have restored unavailable versions if 'deleted=true'
- 403:
- description: |
- The client does not have the necessary privileges
- 404:
- description: |
- No repository with the given ID can be found
- 405:
- description: |
- The given Artifact cannot be created/restored.
- 500:
- description: |
- Internal error
- 501:
- description: |
- Not implemented
- head:
- tags:
- - Knowledge Artifact Series
- summary: Check Knowledge Artifact
- description: |
- Checks for the existence of a Knowledge Artifact Series within the scope of a Repository.
-
- For the operation to succeeed, the Artifact must have been initialized but not deleted
- (permanently - if deleted is true), even if the version series is empty.
- operationId: isKnowledgeArtifactSeries
- parameters:
- - $ref: '#/parameters/repositoryId'
- - $ref: '#/parameters/artifactId'
- - $ref: '#/parameters/deleted'
- responses:
- 204:
- description: |
- The artifact is known to the Repository
- 404:
- description: |
- Repository or Artifact not found
- 500:
- description: |
- Internal error
- 501:
- description: |
- Not implemented
-
-
-####################################################################################################
-
- /repos/{repositoryId}/artifacts/{artifactId}/versions:
- # We do not allow raw DELETEs on entire collections. Should a strategy be standardized?, e.g. see
- # https://stackoverflow.com/questions/2421595/restful-way-for-deleting-a-bunch-of-items
- get:
- tags:
- - Knowledge Artifact Series
- summary: List versions of a Knowledge Artifact.
- description: |
- Provides access to an Artifact's historical series, i.e. the list of immutable versions of the Artifact maintained in the given Knowledge Artifact Repository. Optionally, allows to sort the series, filter by version range and supports pagination.
-
- The list may be empty, either because an Artifact series has been initialized without adding any particular version (see POST), or because all versions have been deleted, without deleting the artifact itself.
- operationId: getKnowledgeArtifactSeries
- produces:
- - application/json
- - application/xml
- parameters:
- - $ref: '#/parameters/repositoryId'
- - $ref: '#/parameters/artifactId'
- - $ref: '#/parameters/deleted'
- # pageable
- - $ref: '#/parameters/offset'
- - $ref: '#/parameters/limit'
- #series
- - $ref: '#/parameters/beforeTag'
- - $ref: '#/parameters/afterTag'
- #sortable
- - $ref: '#/parameters/sort'
- responses:
- 200:
- description: |
- Returns a possibly empty list of Pointers to each version of the given Artifact.
- By definition, all pointers must reference Artifacts with the same ArtifactID, and different version tags.
-
- The list may contain versions that have been deleted, if 'deleted=true'.
- schema:
- type: array
- items:
- $ref: '#/definitions/Pointer'
- 204:
- description: |
- Artifact known, but not available.
- 403:
- description: |
- The client does not have the necessary permissions
- 404:
- description: |
- Repository or Artifact not known
- 410:
- description: |
- The artifact has been permanently deleted
- 500:
- description: |
- Internal error
- post:
- tags:
- - Knowledge Artifact Series
- summary: Add a (new version) of a Knowledge Artifact.
- description: |
- Adds a new version of a given Artifact to the Artifact's series, making this version the LATEST. The client is required to provide the content, but the server is expected to provide the version tagging, according to the version scheme that is implemented internally. When successful, the server will return the URL where that version can be accessed."
- operationId: addKnowledgeArtifactVersion
- parameters:
- - $ref: '#/parameters/repositoryId'
- - $ref: '#/parameters/artifactId'
- - in: formData
- name: document
- required: true
- type: string
- format: binary
- description: |
- The binary serialization of the document that carries the new version of the Knowledge Artifact
- consumes:
- - multipart/form-data
- responses:
- 201:
- description: |
- The given document has been set as the latest version of the specified Knowledge Artifact,
- and is available at the returned URL. When possible, servers should actually return a URI that can be
- dereferenced to the URL where the new version can be retrieved.
- headers:
- Content-Location:
- type: string
- format: uri
- description: |
- URL where the new version of the Knowledge Artifact is accessible
- 403:
- description: |
- Client does not have the necessary privileges
- 404:
- description: |
- Repository or Artifact not found
- 405:
- description: |
- New versions cannot be created, e.g. because the Artifact or the Repository is read-only
- 500:
- description: |
- Internal error
- 501:
- description: |
- Not implemented
-
-####################################################################################################
-
- /repos/{repositoryId}/artifacts/{artifactId}/versions/{versionTag}:
- get:
- tags:
- - Knowledge Artifact
- summary: Retrieve a specific version of a Knowledge Artifact
- description: |
- Provides the client with a copy of a specific version of a Knowledge Artifact.
- May provide access to 'deleted' artifacts if the dedicated flag is set.
- operationId: getKnowledgeArtifactVersion
- produces:
- - "*/*"
- parameters:
- - $ref: '#/parameters/repositoryId'
- - $ref: '#/parameters/artifactId'
- - $ref: '#/parameters/versionTag'
- - $ref: '#/parameters/deleted'
- responses:
- 200:
- description: |
- A copy of the given artifact's version can be retrieved
- schema:
- type: string
- format: binary
- 204:
- description: |
- The version is known but currently unavailable.
- 403:
- description: |
- The client cannot access the artifact version
- 404:
- description: |
- Repository or Artifact Version not found
- 410:
- description: |
- The artifact has been deleted permanently
- 500:
- description: |
- Internal error
- delete:
- tags:
- - Knowledge Artifact
- summary: Remove a specific version of a Knowledge Artifact
- description: |
- Ensures that a specific version of a given Knowledge Artifact is not resolvable anymore within the Knowledge Artifact version series. If the version cannot be found, the operations succeeds trivially.
-
- If the deleted flag is set, this operation MAY delete a version permanently.
- operationId: deleteKnowledgeArtifactVersion
- parameters:
- - $ref: '#/parameters/repositoryId'
- - $ref: '#/parameters/artifactId'
- - $ref: '#/parameters/versionTag'
- - $ref: '#/parameters/deleted'
- responses:
- 204:
- description: |
- The given version is no longer available.
- 403:
- description: |
- The client does not have the necessary permissions.
- 404:
- description: |
- Repository not found, or the Artifact is not known to the Repository
- 500:
- description: |
- Internal error
- 501:
- description: |
- Not implemented
- post:
- tags:
- - Knowledge Artifact
- summary: Ensure a specific version of a Knowledge Artifact is available
- description: |
- Ensures that a specific version of a given Knowledge Artifact can be retrieved.
- Notice that the user is not required to provide the actual artifact payload. For this reason, the oepration will succeed if and only if the version is either already available, or in a soft deletion status. This operation may restore an unavailable version.
- operationId: enableKnowledgeArtifactVersion
- parameters:
- - $ref: '#/parameters/repositoryId'
- - $ref: '#/parameters/artifactId'
- - $ref: '#/parameters/versionTag'
- - $ref: '#/parameters/deleted'
- responses:
- 204:
- description: |
- The given version is available.
- 403:
- description: |
- The client does not have the necessary permissions.
- 404:
- description: |
- Repository not found, or the Artifact (and/or its version) is not known to the Repository
- 500:
- description: |
- Internal error
- 501:
- description: |
- Not implemented
- put:
- tags:
- - Knowledge Artifact
- summary: Sets a Version of a specific Knowledge Artifact
- description: |
- Ensures that a Knowledge Artifact is available in the given Repository, and that an attempt to resolve a version with the given tag will succeed, returning a copy of the provided payload.
-
- Creates an Artifact series if not present, and overwrites the stored copy for the given version if already present.
- This operation can reverse a deletion.
- operationId: setKnowledgeArtifactVersion
- consumes:
- - multipart/form-data
- parameters:
- - $ref: '#/parameters/repositoryId'
- - $ref: '#/parameters/artifactId'
- - $ref: '#/parameters/versionTag'
- - in: formData
- name: document
- required: true
- type: string
- format: binary
- description: |
- The version of the Knowledge Artifact to be set in the repository.
- responses:
- 204:
- description: |
- The given document has been set as the specific version of the specified Knowledge Artifact.
- 403:
- description: |
- The client does not have the adequate permissions
- 404:
- description: |
- Repository not found
- 500:
- description: |
- Internal error
- 501:
- description: |
- Not implemented
- head:
- tags:
- - Knowledge Artifact
- summary: Check Knowledge Artifact Version
- description: |
- Checks for the existence of a specific version of a Knowledge Artifact
- operationId: isKnowledgeArtifactVersion
- produces:
- - application/json
- parameters:
- - $ref: '#/parameters/repositoryId'
- - $ref: '#/parameters/artifactId'
- - $ref: '#/parameters/versionTag'
- - $ref: '#/parameters/deleted'
- responses:
- 204:
- description: |
- The given version of the given artifact is found within the given repository
- 403:
- description: |
- The client cannot access the artifact version
- 404:
- description: |
- Repository or Artifact Version not found
- 410:
- description: |
- The artifact has been deleted permanently
- 500:
- description: |
- Internal error
- 510:
- description: |
- Not implemented
-
-
-parameters:
- repositoryId:
- in: path
- name: repositoryId
- required: true
- type: string
- description: |
- The id of a Knowledge Artifact Repository, in the context of the server that provides operations on the Repository.
-
- In general, the ID is qualified and scoped by a scheme owned by the server. When the server guarantees to federate repositories from a single known namespace, and repository IDs are required to be scoped by that namespace, either the fully qualified name or the local part should be accepted as a valid repositoryId; otherwise, only the fully qualified ID will be acceptable."
-
- repositoryDescr:
- in: body
- name: repositoryDescr
- required: false
- schema:
- $ref: '#/definitions/KnowledgeArtifactRepository'
- description: |
- A representation of the current state of a given Knowledge Artifact Repository
-
- artifactId:
- in: path
- name: artifactId
- required: true
- type: string
- format: uuid
- description: |
- The (qualified) identifier of a Knowledge Artifact.
-
- The server stores a 'Master Copy', from which other Knowledge Artifacts are derived by replication. MUST be used in the context of a Knowledge Artifact Repository
-
- Since Master Copies can be mutable, unless further qualified, the identifier will denote a Series in general, and identify the LATEST version within the series.
-
- versionTag:
- in: path
- name: versionTag
- required: true
- type: string
- description: |
- The version tag of a Versioned Entity Identifier.
-
- Versioned Identifiers identify specific, Immutable Versions of Mutable Entities, which reflect the state of that Entity at a given point in time. Version(ed) identifier SHOULD be universal, but version Tags are not, and MUST always be interpreted within the context of their associated Entity (identifier).
-
- deleted:
- in: query
- name: deleted
- required: false
- type: boolean
- default: false
- description: |
- Flag that grants access to soft-deleted Artifacts, allowing to retrieve them, or even delete them permanently. To do so, the flag MUST be set explicitly to true.
-
- #TODO: The following are reusable parameters that should be moved to a common definition file
-
- beforeTag:
- in: query
- name: beforeTag
- required: false
- type: string
- description: "Restricts the series to include only versions before (included) a given version Tag. Assumes the underlying versioning scheme has at least a partial ordering defined."
- afterTag:
- in: query
- name: afterTag
- required: false
- type: string
- description: "Restricts the series to include only versions after (included) a given version Tag. Assumes the underlying versioning scheme has at least a partial ordering defined."
-
- sort:
- in: query
- name: sort
- required: false
- type: string
- default: "asc"
- description: "Allows to sort a collection by one ore more properties."
-
- offset:
- in: query
- name: offset
- type: integer
- required: false
- description: "Filters elements in a collection, returning all elements after the 'offset' index included, ignoring all previous elements."
- limit:
- in: query
- name: limit
- type: integer
- required: false
- description: "Returns up to the given number of elements in a collection."
-
-
-definitions:
- Pointer:
- type: object
-
- KnowledgeArtifactRepository:
- type: object
-
-basePath: /kmdp.mayo.edu/repository/artifact/v3/
-schemes:
- - https
\ No newline at end of file
diff --git a/openapi/v2/org/omg/spec/api4kp/3.0.0/knowledgeAssetRepository.yaml b/openapi/v2/org/omg/spec/api4kp/3.0.0/knowledgeAssetRepository.yaml
deleted file mode 100644
index af13196..0000000
--- a/openapi/v2/org/omg/spec/api4kp/3.0.0/knowledgeAssetRepository.yaml
+++ /dev/null
@@ -1,917 +0,0 @@
-swagger: '2.0'
-
-info:
- version: "3.0.0"
- title: 'Knowledge Asset Repository API'
- contact:
- name: Davide Sottara
- email: sottara.davide@mayo.edu
- license:
- name: Apache License, Version 2.0
- url: https://www.apache.org/licenses/LICENSE-2.0.html
- description: |
- APIs for a Semantic Knowledge Asset Repository.
-
- Knowledge Assets are immutable, versioned works of knowledge (aka 'Piece of Knowledge', or 'Piece of Content'), which are expressible in any form that is fit for consumption by a designated audience. Assets stored in an Asset Repository are more specifically _Enterprise_ Knowledge Assets, i.e. assets whose content is endorsed by some Subject Matter Expert, and whose identification and life cycle is managed by an Authority.
-
- Since Knowledge Assets are immaterial entities, an Asset Repository may not always have access to any concrete Carrier of that Knowledge. However, the Asset Repository MUST keep track of a minimum set of descriptive metadata for each Asset, including pointers to the actual Artifact(s). This metadata is accessible through a Knowledge Asset (Surrogate) Resource, which MUST follow a common schema for all Assets within a Repository, and SHOULD conform to a canonical yet extensible conceptual model across repositories.
- Collectively, the Surrogates of the Assets managed in a Repository constitute a Knowledge Asset Catalog.
-
- Unlike Knowledge Artifact Repositories, for which Artifacts are black boxes, Knowledge _Asset_ Repositories consider pieces of knowledge and/or content as gray boxes.
- A Knowledge Asset Repository SHOULD delegate to a Language Service the ability to parse, validate and otherwise analyze the content of a Knowledge Artifact associated to an Asset.
- A Knowledge Asset Repository MIGHT also interact with a Reasoning Service, which SHOULD treat the Knowledge Asset Catalog as a Knowledge Base, performing inferences ("enrichments") and answering queries.
- A Knowledge Asset Repository SHALL NOT, instead, leverage a Reasoning Service to reason _with_ the Artifacts' content for any other reason that the extraction/validation of the Asset metadata. This choice is motivated by the different SLA constraints (e.g.security, traffic/load) involved when knowledge is 'in motion' rather than 'at rest'.
-
-
- From a Surrogate (aka 'metadata') perspective, Semantic Asset Repositories categorize a Knowledge Artifact's content by means of known ontologies, recognize different forms of representation, and support descriptive knowledge management metadata (e.g. provenance, pedigree, applicability, usage, etc.).
- Asset Repositories are also expected to support and leverage relationships between Assets, including composition, dependency, derivation and variance, as well as domain-specific semantic "annotations".
-
- Assets (and their carrier Artifacts) should be searchable/retrievable based on a combinations of identifiers and metadata, including types/categories and annotations.
- Choice based on representation (language e.g. BPMN vs DMN, format e.g. JSON vs XML) among all the alternative Artifacts carrying the same Assets, aka "variants", is mediated through a specialized form of _content negotiation_. In particular, Asset Repositories SHOULD be able to provide Artifacts that are not materially stored, but such that can be derived on the fly at runtime, including using a Language service for translations and other transformations. Such "ephemeral" Artifacts SHOULD NOT have an explicit identifier themselves, but accessed referencing the parent Asset's id and their content type.
- Retrieval based on relationships is handled using the bundle/struct functions. Bundling is the act of packaging together several Assets (and/or Artifacts thereof) based on mutual relationships. Structuring is the Act of creating a "Structuring" Artifact that expresses the relationships between a set of Assets (e.g. an RDF graph of composite/components). A Structure can be bundled together with the Assets it refrences. The entire package can be flattened into a single Artifact under appropriate conditions.
- More advanced search/filtering/retrieval SHOULD be provided through GraphQL support.
-tags:
- - name: Knowledge Asset Catalog
- description: |
- A Knowledge Asset Catalog is an indexed collection of Knowledge Assets. A Catalog identifies, versions, types/categorizes, and relates Assets to each other.
- - name: Knowledge Asset Repository
- description: |
- A Semantic Knowledge Repository provides access to Knowledge Artifacts based on their Asset content and representation thereof.
- - name: Knowledge Asset Retrieval
- description: |
- A Knowledge Asset Retrieval faciilty offers query/search engines that treat the content of the Knowledge Asset Catalog itself as a Knowledge Base.
-
-
-
-#schemas:
-# - http
-
-# basePath: /www.omg.org/spec/API4KP/KnowledgeAssetRepository/v1.2
-
-
-paths:
-
-
-####################################################################################################
-#
-# Knowledge Asset Catalog
-#
-####################################################################################################
-
-
- /cat:
- get:
- tags:
- - Knowledge Asset Catalog
- #- core
- summary: Describe Knowledge Asset Catalog.
- description: |
- Returns a Knowledge Asset Catalog Resource that summarizes the current state of the Catalog available at this endpoint.
- operationId: getAssetCatalog
- produces:
- - application/json
- - application/xml
- responses:
- 200:
- description: Success
- schema:
- $ref: '#/definitions/KnowledgeAssetCatalog'
- 403:
- description: |
- The client cannot acces this repository
- 500:
- description: |
- Internal Error
-
-
-####################################################################################################
-
-
- /cat/assets:
- get:
- tags:
- - Knowledge Asset Catalog
- summary: List Knowledge Assets.
- description: |
- Returns a collection of resources that (summarily) describe the Assets managed under this Catalog, i.e. such that a Knowledge Asset Surrogate has been registered. The collection will be empty if the repository is empty.
-
- Basic Filtering is allowed on asset type and annotations.
- The collection should also not include any Asset that the client does not have the permissions to access (i.e. getKnowledgeAsset would fail with a 403 status code). If the client has access to the repository, but does not have access to any of the assets currently contained, the returned collection will be empty.
- operationId: listKnowledgeAssets
- produces:
- - application/json
- - application/xml
- parameters:
- - $ref: '#/parameters/assetType'
- - $ref: '#/parameters/assetAnnotation'
- # pageable # TODO inherit from common parameters shared across APIs
- - $ref: '#/parameters/offset'
- - $ref: '#/parameters/limit'
- responses:
- 200:
- description: |
- Returns a list of Pointers to Assets that the client has access to.
- schema:
- type: array
- items:
- $ref: '#/definitions/Pointer'
- 403:
- description: |
- The client cannot acces this repository
- 500:
- description: |
- Internal error
- post:
- tags:
- - Knowledge Asset Catalog
- summary: Create a new Knowledge Asset.
- description: |
- Creates a new empty Knowledge Asset Series, assigning an asset ID in the process.
- operationId: initKnowledgeAsset
- produces:
- - application/json
- responses:
- 201:
- description: Success
- headers:
- Content-Location:
- type: string
- format: uri
- description: |
- URL where the new Knowledge Asset Series can be accessed
- schema:
- description: |
- The identifier of the newly created Knowledge Asset
- type: string
- format: uuid
- 403:
- description: |
- Client is not allowed to create new Assets
- 405:
- description: |
- Not supported - Repository is read only
- 500:
- description: |
- Internal error
- 501:
- description: |
- Not implemented
-
-
-
-
-
-####################################################################################################
-
- /cat/assets/{assetId}:
- get:
- tags:
- - Knowledge Asset Catalog
- summary: Retrieve a Knowledge Asset.
- #TODO "published" state is not yet supported
- description: |
- Retrieves the most recently released version of a Knowledge Asset (Surrogate).
-
- Of all the versions in the series, several criteria concur to determine the LATEST, including the time at which a version was created, the (partial) ordering of the version tags, and the association of that version of the Asset with an Artifact in a "published" state. Unless otherwise specified, the server should return the top version that has a published manifestation, or the top version if no version has a published manifestation. If the versioning scheme does not have an absolute ordering (i.e. there is no clear top version), recency by timestamp should be considered.
- operationId: getKnowledgeAsset
- produces:
- - application/json
- - application/xml
- - text/html
- parameters:
- - $ref: '#/parameters/assetId'
- - in: header
- name: X-Accept
- type: string
- required: false
- responses:
- 200:
- description: Success
- schema:
- $ref: '#/definitions/KnowledgeAsset'
- 403:
- description: |
- Client is not allowed to access the Assets
- 404:
- description: |
- Asset not found
- 500:
- description: |
- Internal error
- 501:
- description: |
- Not implemented
-
-
-
-
-
-
-
-
-
-
-####################################################################################################
-
- /cat/assets/{assetId}/versions:
- get:
- tags:
- - Knowledge Asset Catalog
- summary: Get all versions of a Knowledge Asset Surrogate.
- description: |
- Returns a list of all the available versions of a Knowledge Asset that a user is allowed to access.
- An Asset Series may be empty if no versions have been established.
- operationId: getKnowledgeAssetVersions
- produces:
- - application/xml
- - application/json
- parameters:
- - $ref: '#/parameters/assetId'
- # pageable
- - $ref: '#/parameters/offset'
- - $ref: '#/parameters/limit'
- #series
- - $ref: '#/parameters/beforeTag'
- - $ref: '#/parameters/afterTag'
- #sortable
- - $ref: '#/parameters/sort'
- responses:
- 200:
- description: |
- Success
- schema:
- type: array
- items:
- $ref: '#/definitions/Pointer'
- 403:
- description: |
- Client is not allowed to access the Asset
- 404:
- description: |
- Asset not found
- 500:
- description: |
- Internal error
-
-
- /cat/assets/{assetId}/versions/{versionTag}:
- get:
- tags:
- - Knowledge Asset Catalog
- summary: Retrieves a specific version of a Knowledge Asset.
- description: |
- Retrieves a Surrogate that reflects the current state of (meta)knowledge about a specific version of a Knowledge Asset, including references to its Carrier Artifact(s).
- operationId: getVersionedKnowledgeAsset
- produces:
- - application/xml
- - application/json
- parameters:
- - $ref: '#/parameters/assetId'
- - $ref: '#/parameters/versionTag'
- responses:
- 200:
- description: |
- The Asset Version has been located and retrieved.
- schema:
- $ref: '#/definitions/KnowledgeAsset'
- 403:
- description: |
- Client is not allowed to access the Asset
- 404:
- description: |
- Asset or Asset Version not found
- 500:
- description: |
- Internal error
-
- put:
- tags:
- - Knowledge Asset Catalog
- summary: Set/Initialize a specific version of a Knowledge Asset
- description: |
- Populates/updates the Surrogate for a known (version of) a Knowledge Asset.
-
- The Client
- * MUST provide a Valid Surrogate
- * that Surrogate's declared Asset ID and version Tag MUST match the {assetId} and {versionTag} parameters
- * the Surrogate MUST have an explicit version tag
-
- The Server SHALL validate the Surrogate for syntactic and semantic correctness and consistency.
-
- If an Asset version with the given ID does not exist, it will be created in the process, otherwise it will be updated.
- operationId: setVersionedKnowledgeAsset
- consumes:
- - application/json
- - application/xml
- parameters:
- - $ref: '#/parameters/assetId'
- - $ref: '#/parameters/versionTag'
- - $ref: '#/parameters/assetSurrogate'
- responses:
- 204:
- description: |
- The given Surrogate has been set to provide metadata for a specific version of the given Knowledge Asset.
- 403:
- description: |
- The client does not have the adequate permissions
- 409:
- description: |
- The information contained in the Surrogate is invalid/inconsistent (including not matching the {assetId}/{versionTag}), or is incompatible with the Artifacts associated to the Asset.
- 500:
- description: |
- Internal error
- 501:
- description: |
- Not implemented
-
-
-
-
-
-
-####################################################################################################
- /cat/assets/{assetId}/versions/{versionTag}/carrier:
- get:
- tags:
- - Knowledge Asset Repository
- summary: Retrieve the Knowledge Artifact carrying the canonical Manifestation of a given Knowledge Asset.
- description: |
- The notion of "canonical" is defined by means of server-driven content negotiation.
-
- Note - OpenAPI 2 reserves the accept/produce headers, So an optional 'extAccept' parameter is added to
- this operation. As a side effect, as the parameter varies, different URLs for the different variants are defined.
- The extAccept parameter takes values in the 'models/' space, and follows the API4KP conventions, making it an extension rather than an alternative to the traditional Content-Type.
-
- For a given version of a Knowledge Asset,
- * looks up the associated Artifacts that are either stored in, or accessible to the Semantic Repository,
- * selects the one that matches the preferences of the client
- * returns a copy thereof.
-
- If the client does not specify any preference, or more than one variant can match the client's preferences,
- a 300 response is returned, offering the various options. If no variant satisfies the client' preferences, a
- 406 error code is returned. If no variant exists at all, 404 is returned.
- operationId: getCanonicalKnowledgeAssetCarrier
- produces:
- - application/xml
- - application/json
- - text/html
- parameters:
- - $ref: '#/parameters/assetId'
- - $ref: '#/parameters/versionTag'
- # negotiable
- - $ref: '#/parameters/extAccept'
- responses:
- 200:
- description: |
- A suitable Knowledge Artifact could be retrieved
- schema:
- $ref: '#/definitions/KnowledgeCarrier'
- 300:
- description: |
- Negotiation failed, but suitable alternatives are present
- schema:
- type: array
- items:
- $ref: '#/definitions/Pointer'
- 403:
- description: |
- The client does not have the adequate permissions
- 404:
- description: |
- Asset Version not found
- 406:
- description: |
- No suitable variant is available
- 500:
- description: |
- Internal error
- 501:
- description: |
- Not implemented
-
- /cat/assets/{assetId}/versions/{versionTag}/carriers:
- get:
- tags:
- - Knowledge Asset Repository
- summary: Lists the known Carriers for a given Knowledge Asset
- description: |
- Retrieves Pointers to all the Knowledge Artifacts that are known to carry at least one expression, in some language, of the given version of a Knowledge Asset.
- The list may be empty if no Artifact is known, or if the user does not have access to a given Artifact.
- The list should be transparent with respect to Artifacts physically stored, linked or generated dynamically at runtime.
- operationId: getKnowledgeAssetCarriers
- produces:
- - application/xml
- - application/json
- parameters:
- - $ref: '#/parameters/assetId'
- - $ref: '#/parameters/versionTag'
- responses:
- 200:
- description: |
- Success
- schema:
- type: array
- items:
- $ref: '#/definitions/Pointer'
- 403:
- description: |
- The client does not have the adequate permissions
- 404:
- description: |
- Asset Version not found
- 500:
- description: |
- Internal error
- 501:
- description: |
- Not implemented.
-
-
- post:
- tags:
- - Knowledge Asset Repository
- summary: Registers a new Carrier for a given Knowledge Asset
- description: |
- Registers a new Carrier for a given Knowledge Asset.
-
- An artifact ID and version SHALL be inferred from the artifact content, together with other representation metadata, and the links in the Asset surrogate will be updated.
- If not enough metadata can be inferred to instantiate a valid Knowledge Artifact Surrogate (part of a Knowledge Asset Surrogate), as defined by the Knowledge Asset Resource schema, the Carrier will be rejected.
- (Note - a client can still pre-populate the Surrogate, adding the appropriate Artifact section, then PUT the carrier itself)
- operationId: addKnowledgeAssetCarrier
- consumes:
- - application/octet-stream
- parameters:
- - $ref: '#/parameters/assetId'
- - $ref: '#/parameters/versionTag'
- - $ref: '#/parameters/exemplarCarrier'
- responses:
- 201:
- description: Success
- headers:
- Content-Location:
- type: string
- format: uri
- description: |
- URL where the new version of the Knowledge Asset Carrier is accessible
- 403:
- description: |
- The client does not have permissions to add Artifacts to this Asset
- 404:
- description: |
- Asset Version not found
- 405:
- description: |
- The repository is read-only
- 406:
- description: |
- The provided Carrier (Artifact) cannot be inspected properly
- 409:
- description: |
- Artifact already exists with a different ID
- 500:
- description: |
- Internal error
- 501:
- description: |
- Not implemented
-
- /cat/assets/{assetId}/versions/{versionTag}/carriers/{artifactId}/versions/{artifactVersionTag}:
- get:
- tags:
- - Knowledge Asset Repository
- summary: Retrieves a specific Carrier for a given Knowledge Asset
- description: |
- Retrieves (a copy of) a specific version of an Artifact. That Artifact must be known to the client to carry at least one expression, in some language, of the given Knowledge Asset.
- operationId: getKnowledgeAssetCarrierVersion
- produces:
- - application/*
- parameters:
- - $ref: '#/parameters/assetId'
- - $ref: '#/parameters/versionTag'
- - $ref: '#/parameters/artifactId'
- - $ref: '#/parameters/artifactVersionTag'
- responses:
- 200:
- description: |
- The identifiers can be resolved
- schema:
- $ref: '#/definitions/KnowledgeCarrier'
- 403:
- description: |
- The client does not have the necessary rights.
- 404:
- description: |
- Asset or Artifact Version not found
- 500:
- description: |
- Internal error
-
- put:
- tags:
- - Knowledge Asset Repository
- summary: Registers a (version of a) Carrier for a given Knowledge Asset
- description: |
- Registers a Knowledge Artifact as the Carrier of a Knowledge Asset.
- The Asset Surrogate SHOULD have been populated with metadata about the Artifact. As such, the Server SHOULD be aware of the Artifact ID. However, the Server MIGHT be able to infer additional metadata from the Artifact, as long as it is not inconsistent with the current state.
- As a consequence, the Server will also store a (master) copy of the provided carrier in some Knowledge Artifact Repository, and keep track of the URL from where the Artifact can later be retrieved.
- operationId: setKnowledgeAssetCarrierVersion
- consumes:
- - application/octet-stream
- produces:
- - application/xml
- - application/json
- parameters:
- - $ref: '#/parameters/assetId'
- - $ref: '#/parameters/versionTag'
- - $ref: '#/parameters/artifactId'
- - $ref: '#/parameters/artifactVersionTag'
- - $ref: '#/parameters/exemplarCarrier'
- responses:
- 204:
- description: |
- The Artifact has been uploaded correctly, and associated to the Knowledge Asset
- 403:
- description: |
- The user does not have the required permissions
- 404:
- description: |
- Asset and/or Artifact Version not found
- 409:
- description: |
- The provided Artifact is inconsistent with the current Asset metadata
- 500:
- description: |
- Internal error
- 501:
- description: |
- Not implemented
-
-
-####################################################################################################
-#TODO - Revision in progress
-
- /cat/assets/graphql:
- get:
- tags:
- - Knowledge Asset Retrieval
- operationId: queryKnowledgeAssets
- summary: GraphQL based retrieval
- description: |
- Queries the Knowledge Asset (Surrogate) Knowledge Base using GraphQL
- parameters:
- - $ref: '#/parameters/graphQLquery'
- responses:
- 200:
- description: |
- Success
-
- /cat/assets/{assetId}/versions/{versionTag}/bundle:
- get:
- tags:
- - Knowledge Asset Retrieval
- operationId: getKnowledgeAssetBundle
- summary: Retrieve a set of Knowledge Assets that includes the given asset, and its related assets.
- description: |
- Resolves the Asset for the given id and version, then resolves (recursively) all its related assets.
- The resolution can be filtered by relationship type, and/or limited by depth.
-
- The bundle SHALL inlcude the root Asset, but SHALL NOT include assets that the client cannot normally access, so the resulting colleciton may be empty.
- parameters:
- - $ref: '#/parameters/assetId'
- - $ref: '#/parameters/versionTag'
- - $ref: '#/parameters/assetRelationship'
- - $ref: '#/parameters/depth'
- produces:
- - "application/json"
- - "application/xml"
- responses:
- 200:
- description: Success
- schema:
- type: array
- items:
- $ref: '#/definitions/KnowledgeAsset'
- 403:
- description: |
- The client cannot access the Asset
- 404:
- description: |
- Asset Version not found
- 500:
- description: |
- Internal error
- 501:
- description: |
- Not implemented
-
- /cat/assets/{assetId}/versions/{versionTag}/bundle/carrier:
- get:
- tags:
- - Knowledge Asset Retrieval
- operationId: getKnowledgeArtifactBundle
- summary: Bundles the Knowledge Artifacts associated to an Asset.
- description: |
- Resolves the Asset for the given id and version, then resolves (recursively) all its related assets,
- then resolves an Artifact for each Asset.
- Effectively composes getKnowledgeAssetBundle and getCanonicalKnowledgeAssetCarrier server-side
- parameters:
- - $ref: '#/parameters/assetId'
- - $ref: '#/parameters/versionTag'
- - $ref: '#/parameters/assetRelationship'
- - $ref: '#/parameters/depth'
- - $ref: '#/parameters/extAccept'
- produces:
- - "application/json"
- - "application/xml"
- responses:
- 200:
- description: Success
- schema:
- type: array
- items:
- $ref: '#/definitions/KnowledgeCarrier'
- 403:
- description: |
- The client cannot access the Asset
- 404:
- description: |
- Asset Version not found
- 500:
- description: |
- Internal error
- 501:
- description: |
- Not implemented
-
-
- /cat/assets/{assetId}/versions/{versionTag}/struct:
- get:
- tags:
- - Knowledge Asset Retrieval
- summary: Retrieve the Structure of a Composite Knowledge Asset.
- description: |
- Retrieves a Knowledge Artifact that describes the structure (i.e. the Components and relationships thereof) of a Composite Knowledge Asset.
- The Server MAY generate the structure from the analysis of the relationships between Assets, or be configured explicitly.
- operationId: getCompositeKnowledgeAssetStructure
- parameters:
- - $ref: '#/parameters/assetId'
- - $ref: '#/parameters/versionTag'
- produces:
- - "application/json"
- - "application/xml"
- responses:
- 200:
- description: |
- Success
- schema:
- $ref: '#/definitions/KnowledgeCarrier'
- 403:
- description: |
- The client cannot access the Asset
- 404:
- description: |
- Asset Version not found
- 500:
- description: |
- Internal error
- 501:
- description: |
- Not implemented
-
- /cat/assets/{assetId}/versions/{versionTag}/struct/carrier:
- get:
- tags:
- - Knowledge Asset Retrieval
- #- core
- summary: Retrieve a Composite Knowledge Artifact, or the components thereof.
- description: |
- Bundles the Artifacts that correspond to the items in a Composite Asset Structure, including the Structure itself, using content negotiation to determine the most fitting representation of each Asset (the acceptable format(s) must account for all components).
- OR
- when 'flat=true', combines all the Artifacts into a single Artifact that is an equivalent, flat representation of the Composite Asset. In this case, content negotiation determines the representation of the flat form.
-
- The server is free to materialize and store either the flat or the decomposed representation(s), or both, but can also derive one from the other.
- operationId: getCompositeKnowledgeAsset
- parameters:
- - $ref: '#/parameters/assetId'
- - $ref: '#/parameters/versionTag'
- - $ref: '#/parameters/flat'
- - $ref: '#/parameters/extAccept'
- produces:
- - "application/json"
- - "application/xml"
- responses:
- 200:
- description: |
- Success
- schema:
- type: array
- items:
- $ref: '#/definitions/KnowledgeCarrier'
- 300:
- description: |
- The Composite Asset cannot be flattened in the desired format, but alternatives are available
- schema:
- type: array
- items:
- $ref: '#/definitions/Pointer'
- 403:
- description: |
- The client cannot access the Asset
- 404:
- description: |
- Asset Version not found
- 406:
- description: |
- The Artifact(s) cannot be delivered using the desired representation(s)
- 500:
- description: |
- Internal error
- 501:
- description: |
- Not implemented
-
-
-parameters:
-
- assetType:
- in: query
- name: assetType
- required: false
- type: string
- description: |
- A codified term that identifies a type, category or class of Knowledge Assets defined in some ontology or classification scheme known to the server. For this reason, the term does not need to be fully qualified.
-
- assetAnnotation:
- in: query
- name: assetAnnotation
- required: false
- type: string
- description: |
- A fully qualified (URI) term that denotes a concept that can be used to annotate assets.
-
- assetRelationship:
- in: query
- name: assetRelationship
- required: false
- type: string
- description: |
- A fully qualified (URI) term that denotes a relationship type that can be asserted between assets
-
- assetId:
- in: path
- name: assetId
- required: true
- type: string
- format: uuid
- description: |
- The id of the Knowledge Asset (Series).
-
- versionTag:
- in: path
- name: versionTag
- required: true
- type: string
- description: |
- The version tag of a Versioned Entity. \n Versioned Identifiers identify specific, Immutable Versions of Mutable Entities, which reflect the state of that Entity at a given point in time. Where a version(ed) identifier is universal, the Tag represents the local part of that identifier, under the scope of the identifier that denotes the Entity (series).
-
- artifactId:
- in: path
- name: artifactId
- required: true
- type: string
- format: uuid
- description: |
- The id of the Knowledge Artifact that carries a concrete expression of a Knowledge Asset.
-
- artifactVersionTag:
- in: path
- name: artifactVersionTag
- required: true
- type: string
- description: |
- The version tag a (version of a) Knowledge Artifact
-
- depth:
- in: query
- name: depth
- required: false
- type: integer
- description: |
- The maximum allowed relationship-induced distance between two assets. Two assets X and Y have distance N if there exist other N-1 distinct assets W such that A is related to W1, W1 is related to W2, .., Wn-1 is related to Y.
-
- flat:
- in: query
- name: flat
- required: false
- type: boolean
- description: |
- Determines whether a Composite Asset should be flattened into a single Asset, or its Component Assets should be maintained separate.
-
-
- extAccept:
- in: header
- name: X-Accept
- required: false
- type: string
- description: |
- A MIME Type that codifies the syntactic representation of a Knowledge Artifact, as accepted by the client in a content negotiation sense.
-
- assetSurrogate:
- in: body
- name: assetSurrogate
- required: false
- schema:
- $ref: '#/definitions/KnowledgeAsset'
- description: |
- The Surrogate of a Knowledge Asset.
-
- exemplarCarrier:
- in: body
- name: exemplar
- required: false
- schema:
- type: string
- format: binary
- description: |
- A Knowledge Artifact that carries an exemplar of a Knowledge Assets.
-
-
-#TODO - Should be moved to a common file
-
- graphQLquery:
- in: query
- name: query
- required: true
- type: string
- description: |
- The GraphQL query
-
- beforeTag:
- in: query
- name: beforeTag
- required: false
- type: string
- description: |
- Restricts the series to include only versions before (included) a given version Tag. Assumes the underlying versioning scheme has at least a partial ordering defined.
- afterTag:
- in: query
- name: afterTag
- required: false
- type: string
- description: |
- Restricts the series to include only versions after (included) a given version Tag. Assumes the underlying versioning scheme has at least a partial ordering defined.
-
- sort:
- in: query
- name: sort
- required: false
- type: string
- default: "asc"
- description: |
- Allows to sort a collection by one ore more properties.
-
- offset:
- in: query
- name: offset
- type: integer
- required: false
- description: |
- Filters elements in a collection, returning all elements after the 'offset' index included, ignoring all previous elements.
- limit:
- in: query
- name: limit
- type: integer
- required: false
- description: |
- Returns up to the given number of elements in a collection.
-
-
-
-definitions:
-
- Pointer:
- type: object
-
- KnowledgeCarrier:
- type: object
- description: |
- A Resource that wraps a Serialized, Encoded Knowledge Artifact
-
- KnowledgeAsset:
- title: Knowledge Asset Surrogate
- type: object
- description: |
- A Resource that contains descriptive information about a specific version of a Knowledge Asset, as well as its known Representations and/or Manifestations. The actual content model is implementation specific, so the adopted language specification must be manifested by the Knowledge Asset Catalog.
-
- KnowledgeAssetCatalog:
- title: Knowledge Asset Catalog
- type: object
- description: |
- A Resource that provides a summary of the features of a Catalog at a given point in time, including the categories and types of Assets it supports, and the model/schema used to represent Assets' descriptions.
-
-
-
-schemes:
- - https
-# Added by API Auto Mocking Plugin
-basePath: /kmdp.mayo.edu/repository/asset/v3
\ No newline at end of file
diff --git a/openapi/v2/org/omg/spec/api4kp/3.0.0/knowledgeBase.yaml b/openapi/v2/org/omg/spec/api4kp/3.0.0/knowledgeBase.yaml
deleted file mode 100644
index cb68163..0000000
--- a/openapi/v2/org/omg/spec/api4kp/3.0.0/knowledgeBase.yaml
+++ /dev/null
@@ -1,368 +0,0 @@
-swagger: '2.0'
-info:
- description: |
- The Knowledge Base (KB) Construction APIs allow to compose one or more Knowledge Assets into
- Knowledge Bases that are suitable for processing/reasoning.
- The process, which is driven by metadata (surrogates), involves the retrieval, normalization,
- and structuring of Knowledge Artifacts that manifest the components of the Knowledge Base itself.
-
- As such, implementations of this API are likely to depend on the API4KP Knowledge Trans*ion APIs
- and, more loosely, on the API4KP Knowledge Asset Repository API.
- This API, in turn, is designed to be a dependency of the API4PK Reasoning/Inference APIs.
-
- The API is inspired by the State monad. Knowledge Bases are incubated within the server from their
- initialization, through their construction, until their finalization and retrieval.
- As operations are applied to manipulate the KB, new versions are constructed ensuring reproducibility
- and traceabiilty.
-
- Implementations, however, are not required nor guaranteed to be transactional.
- version: "3.0.0"
- title: KnowledgeBase API
-
- contact:
- email: Sottara.Davide@mayo.edu
-
- license:
- name: Apache 2.0
- url: http://www.apache.org/licenses/LICENSE-2.0.html
-
-tags:
-
- - name: Compositional
- description: |
- APIs for the manipulation of Composite Assets and Artifacts, including Knowledge Bases
- - name: KnowledgeBase
- description: |
- Construct KnowledgeBases
- - name: Binding
- description: |
- TODO - should this be Language? or KB?
-
-paths:
-
-
-##########################################################################################
-
- #/composers:
-
- /constructors:
- post:
- tags:
- - Compositional
- operationId: constructCompositeAsset
- summary: 'Constructs a Composite Knowledge Asset'
- description: |
- Creates a new Composite Knowledge Asset (with a new AssetID), which is manifested
- by means of its 'structure'.
- The client is responsible to provide a 'definition', expressed in some query language
- (e.g. SPARQL), which should cover both extensional (i.e. enumerated) and intensional
- (i.e. query proper) ways to select component assets and their relationships.
- The server is expected to run that definition against a substrate, such as a Knowledge
- Asset Repository.
- The server will return a KnowledgeCarrier, wrapping the graph that results from the
- application of the definition with minimal asset metadata (id, version) and information
- on how the graph itself is represented.
-
- The client can use the structure to assemble a Composite Asset Surrogate, or a Composite
- Artifact, which in turn could be fed to an Introspector to infer an overall Surrogate
- for the composite itself
- parameters:
- - $ref: '#/parameters/structDefinition'
- responses:
- 200:
- description: |
- A knowledge carrier that wraps a Structuring Artifact
- - a (manifestation of a) graph that describes how other Assets are
- organized and related to each other in a Composite Asset
- schema:
- $ref: '#/definitions/KnowledgeCarrier'
-
- /constructors/assemblers:
- post:
- tags:
- - Compositional
- operationId: assembleCompositeArtifact
- summary: 'Constructs a Composite Knowledge Artifact'
- description: |
- TODO
- parameters:
- - $ref: '#/parameters/struct'
- responses:
- 200:
- description: |
- TODO
- schema:
- $ref: '#/definitions/KnowledgeCarrier'
-
- /constructors/flatteners:
- post:
- tags:
- - Compositional
- operationId: flattenArtifact
- summary: 'Flattens a (Composite) Knowledge Artifact'
- description: |
- TODO
- parameters:
- - $ref: '#/parameters/kbaseComponent'
- - $ref: '#/parameters/rootAssetId'
- responses:
- 200:
- description: |
- TODO
- schema:
- $ref: '#/definitions/KnowledgeCarrier'
-
-
-
-##########################################################################################
-
- /knowledgebases:
- post:
- tags:
- - KnowledgeBase
- operationId: initKnowledgeBase
- summary: 'Create empty Knowledge Base'
- description: |
- Creates an empty knowledge base, returning a pointer to the new KB.
- Version tags are used by the server to denote the states of the KB
- at each construction stage.
- parameters:
- - $ref: '#/parameters/asset'
- responses:
- 200:
- description: A reference to a newly created knowledgebase
- schema:
- $ref: '#/definitions/Pointer'
-
-
- /knowledgebases/{kbaseId}:
- get:
- tags:
- - KnowledgeBase
- operationId: getKnowledgeBaseSeries
- summary: 'Get a history of the Knowledge Base'
- description: |
- Returns a trace of the history of a KB's construction process, by means of
- pointers to each state.
- parameters:
- - $ref: '#/parameters/kbaseId'
- responses:
- 200:
- description: The knowledgebase
- schema:
- type: array
- items:
- $ref: '#/definitions/Pointer'
- delete:
- tags:
- - KnowledgeBase
- operationId: deleteKnowledgeBase
- summary: 'Deletes Knowledge Base (history)'
- parameters:
- - $ref: '#/parameters/kbaseId'
- description: |
- Removes all the states of a KnowledgeBase from the server
- - usually after the client has obtained a desired snapshot.
- Can be invoked for 'cleanup' purposes.
- responses:
- 200:
- description: Success
-
-
- /knowledgebases/{kbaseId}/versions/{versionTag}:
- get:
- tags:
- - KnowledgeBase
- operationId: getKnowledgeBase
- summary: 'Get a snapshot of a Knowledge Base'
- description: |
- Returns the state of a KnowledgeBase, manifested as a (possibly composite)
- Knowledge Artifact.
- #TODO - Should the client be able to negotiate the language/format?
- parameters:
- - $ref: '#/parameters/kbaseId'
- - $ref: '#/parameters/versionTag'
- responses:
- 200:
- description: The knowledgebase
- schema:
- $ref: '#/definitions/KnowledgeBase'
- post:
- tags:
- - KnowledgeBase
- operationId: populateKnowledgeBase
- summary: 'Adds a component to a Knowledge Base'
- description: |
- Supports the initial, and subsequent incremental, population of a KnowledgeBase
- through the addition of components, one at a time.
- The server will determine the exact operational nature of the incremental composition,
- depending on the type of assets and languages involved.
- parameters:
- - $ref: '#/parameters/kbaseId'
- - $ref: '#/parameters/versionTag'
- - $ref: '#/parameters/kbaseComponent'
- responses:
- 200:
- description: The ID of the newly created knowledgebase
- schema:
- $ref: '#/definitions/Pointer'
-
- /knowledgebases/{kbaseId}/versions/{versionTag}/struct:
- get:
- tags:
- - KnowledgeBase
- operationId: getKnowledgeBaseStructure
- summary: 'Gets the Structure of a Knowledge Base'
- description: |
- Given a Knowledge Base (or a root asset that is interpreted as the 'seed' of a KB),
- returns a graph that describes the internal relationships
- parameters:
- - $ref: '#/parameters/kbaseId'
- - $ref: '#/parameters/versionTag'
- responses:
- 200:
- description: |
- A KnowledgeCarrier carrying the relationship graph
- schema:
- $ref: '#/definitions/KnowledgeCarrier'
-
-
-
- /knowledgebases/{kbaseId}/versions/{versionTag}/binders:
- post:
- tags:
- - Binding
- summary: 'Bind values to a formula with open variables'
- operationId: bind
- parameters:
- - $ref: '#/parameters/kbaseId'
- - $ref: '#/parameters/versionTag'
- - name: bindings
- in: body
- required: true
- schema:
- $ref: '#/definitions/Bindings'
- responses:
- 200:
- description: The bound expression
- schema:
- $ref: '#/definitions/Pointer'
-
- /knowledgebases/{kbaseId}/versions/{versionTag}/weavers:
- post:
- tags:
- - Binding
- summary: 'Weave (fragments of) and artifact into a KB'
- operationId: weave
- parameters:
- - $ref: '#/parameters/kbaseId'
- - $ref: '#/parameters/versionTag'
- - name: aspects
- in: body
- required: true
- schema:
- $ref: '#/definitions/KnowledgeCarrier'
- responses:
- 200:
- description: |
- The new Knowledge Base resulting from the weaving
- schema:
- $ref: '#/definitions/Pointer'
-
-definitions:
-
- KnowledgeAsset:
- type: object
-
- KnowledgeCarrier:
- type: object
-
- KnowledgeBase:
- type: object
-
- Bindings:
- type: object
-
- Pointer:
- type: object
-
-parameters:
-
- asset:
- in: body
- name: asset
- description: TODO
- required: false
- schema:
- $ref: '#/definitions/KnowledgeAsset'
-
-
- rootAssetId:
- in: query
- name: rootAssetid
- required: false
- type: string
- format: uuid
- description: "The id of a root Knowledge Asset in a tree-based composite."
-
-
- assetId:
- in: path
- name: assetId
- required: true
- type: string
- description: "The id of the Knowledge Asset (Series)."
-
- kbaseId:
- in: path
- name: kbaseId
- description: TODO
- required: true
- type: string
- format: uuid
-
- lambdaId:
- in: path
- name: lambdaId
- description: |
- The identifier of a specific function to be used for processing
- required: true
- type: string
- format: uuid
-
- kbaseComponent:
- name: kbaseComponent
- in: body
- required: true
- schema:
- $ref: '#/definitions/KnowledgeCarrier'
-
- structDefinition:
- name: structDefinition
- in: body
- required: true
- schema:
- $ref: '#/definitions/KnowledgeCarrier'
-
- struct:
- name: struct
- in: body
- required: true
- schema:
- $ref: '#/definitions/KnowledgeCarrier'
-
-
- versionTag:
- in: path
- name: versionTag
- required: true
- type: string
- description: "The version tag of a Versioned Entity. \n Versioned Identifiers identify specific,
- Immutable Versions of Mutable Entities, which reflect the state of that Entity at a given point
- in time. Where a version(ed) identifier is universal, the Tag represents the local part of that
- identifier, under the scope of the identifier that denotes the Entity (series)."
-
-
-schemes:
- - https
-basePath: /kmdp.mayo.edu/knowledgebase/v3/
\ No newline at end of file
diff --git a/openapi/v2/org/omg/spec/api4kp/3.0.0/knowledgeTransrepresentation.yaml b/openapi/v2/org/omg/spec/api4kp/3.0.0/knowledgeTransrepresentation.yaml
deleted file mode 100644
index 6fa7083..0000000
--- a/openapi/v2/org/omg/spec/api4kp/3.0.0/knowledgeTransrepresentation.yaml
+++ /dev/null
@@ -1,439 +0,0 @@
-swagger: '2.0'
-info:
- description: |
- This API will be leveraged to trans-represent between variant Expressions of the same Knowledge Assets.
- Supports API4KP transcriptions, translations, transcreations and other purely syntactic transformations that preserve the Knowledge Asset content.
- Implementations of this API are used to manipulate abstract and/or concrete expressions, impacting languages (as defined by metamodels, grammars and/or schemas), formats (aka serializations) and/or lexicons (aka terminology) used for representation.
- version: "3.0.0"
- title: Knowledge Asset Transrepresentation Service
-
-tags:
-- name: discovery
- description: Describe available cross-Language Trans^ion Capabilities.
-- name: transxion
- description: Apply available cross-Language Trans^ion Capabilities.
-- name: admin
- description: Server administration/configuration.
-- name: detect
- description: Detect Language(s) used in an Expression
-- name: validate
- description: Validate that an Expression conforms to a Language(s)
-- name: deserialize
- description: Lift (parse) or Lower (serialize) an Expression
-
-paths:
-
-###################################################################################################
-
-
- /transxors:
- get:
- tags:
- - transxion
- #- core
- summary: List public, static operators
- description: Enumerates the TransrepresentationOperators that are persistent and publicly available
- operationId: listOperators
- parameters:
- - $ref: '#/parameters/from'
- - $ref: '#/parameters/into'
- - $ref: '#/parameters/method'
- responses:
- 200:
- description: successful operation
- schema:
- type: array
- items:
- $ref: '#/definitions/TransrepresentationOperator'
-
- /transxors/into:
- post:
- tags:
- - transxion
- #- declarative
- summary: Applies a trans-representation operation.
- operationId: applyTransrepresentationInto
- description: Applies a trans-representation operation
- parameters:
- - $ref: '#/parameters/carrier'
- - $ref: '#/parameters/into'
- responses:
- 200:
- description: The transformed artifact
- schema:
- $ref: '#/definitions/KnowledgeCarrier'
-
-
- /transxors/txors/{txId}:
- get:
- tags:
- - transxion
- #- declarative
- summary: Describes trans-representation operation.
- operationId: getTransrepresentation
- parameters:
- - $ref: '#/parameters/txId'
- responses:
- 200:
- description: The transformed artifact
- schema:
- $ref: '#/definitions/TransrepresentationOperator'
-
- post:
- tags:
- - transxion
- #- declarative
- summary: Applies a trans-representation operation.
- operationId: applyTransrepresentation
- description: Applies a trans-representation operation
- parameters:
- - $ref: '#/parameters/txId'
- - $ref: '#/parameters/carrier'
- - $ref: '#/parameters/params'
- responses:
- 200:
- description: The transformed artifact
- schema:
- $ref: '#/definitions/KnowledgeCarrier'
-
- /transxions/txors/{txId}/into:
- get:
- tags:
- - transxion
- #- declarative
- summary: Describes trans-representation operation result.
- operationId: getTransrepresentationOutput
- parameters:
- - $ref: '#/parameters/txId'
- responses:
- 200:
- description: The type of output
- schema:
- $ref: '#/definitions/SyntacticRepresentation'
-
- /transxions/txors/{txId}/acceptedParams:
- get:
- tags:
- - transxion
- #- declarative
- summary: Describes trans-representation operation result.
- operationId: getTransrepresentationAcceptedParameters
- parameters:
- - $ref: '#/parameters/txId'
- responses:
- 200:
- description: Accepable Parameters
- schema:
- $ref: '#/definitions/ParamDefinition'
-
-
-###################################################################################################
-
-
- /detectors:
- post:
- tags:
- - detect
- summary: Identifies the representation(s) used in a given Artifact, setting it
- description: Returns the detected informtation
- operationId: setDetectedRepresentation
- consumes:
- - multipart/form-data
- produces:
- - application/json
- - application/xml
- parameters:
- - $ref: '#/parameters/carrier'
- responses:
- 200:
- description: The detected Representations.
- schema:
- $ref: '#/definitions/KnowledgeCarrier'
-
- /detectors/supportedLanguages:
- get:
- tags:
- - detect
- summary: Returns a list of detectable languages
- description: Returns a list of detectable languages, such that there is at least one component capable.
- operationId: getDetectableLanguages
- produces:
- - application/json
- - application/xml
- responses:
- 200:
- description: The supported languages.
- schema:
- type: array
- items:
- $ref: '#/definitions/SyntacticRepresentation'
- post:
- tags:
- - detect
- summary: Identifies the representation(s) used in a given Artifact, returning it
- description: Returns the detected informtation
- operationId: getDetectedRepresentation
- consumes:
- - multipart/form-data
- produces:
- - application/json
- - application/xml
- parameters:
- - $ref: '#/parameters/carrier'
- responses:
- 200:
- description: The detected Representations.
- schema:
- $ref: '#/definitions/SyntacticRepresentation'
-
- /validators:
- post:
- tags:
- - validate
- summary: Determines if a given Artifact is a valid expression in a given Language
- description: "Attempts to establish whether the Expression(s) carried by a given Knowledge Artifact are valid sentences of a given language, profile, lexicon and/or serialization."
- operationId: validate
- consumes:
- - multipart/form-data
- produces:
- - application/json
- - application/xml
- parameters:
- - $ref: '#/parameters/carrier'
- - $ref: '#/parameters/into'
- responses:
- 200:
- description: "Succeeds if the artifact carries expressions that are valid according to the given language, profile, lexicon and/or serialization."
-
-###################################################################################################
-
- /deserializers:
- post:
- tags:
- - deserialize
- summary: Parses a Knowledge Artifact
- operationId: ensureRepresentation
- consumes:
- - multipart/form-data
- parameters:
- - $ref: '#/parameters/carrier'
- - $ref: '#/parameters/into'
- responses:
- 200:
- description: The (de)serialized carrier.
- schema:
- $ref: '#/definitions/KnowledgeCarrier'
-
- /deserializers/parsers:
- post:
- tags:
- - deserialize
- summary: Parses a Knowledge Artifact
- description: "Decodes, deserializes and/or parses a Knowledge Artifact. The Into parameter determines the extent of the parsing. If language, format and encoding are specified, an AST will be returned. If format and encoding are specified, a parse tree will be returned. If just an encoding is specified, a string will be returned. If nothing is specified, a binary stream will be returned. If the input carrier is already at a higher level of abstraction, the operation will fail."
- operationId: lift
- consumes:
- - multipart/form-data
- parameters:
- - $ref: '#/parameters/carrier'
- - $ref: '#/parameters/level'
- responses:
- 200:
- description: The (de)serialized carrier.
- schema:
- $ref: '#/definitions/KnowledgeCarrier'
-
- /deserializers/parsers/supportedLanguages:
- get:
- tags:
- - deserialize
- operationId: getParsableLanguages
- responses:
- 200:
- description: The supported languages.
- schema:
- type: array
- items:
- $ref: '#/definitions/SyntacticRepresentation'
- post:
- tags:
- - deserialize
- operationId: deserialize
- parameters:
- - $ref: '#/parameters/carrier'
- - $ref: '#/parameters/into'
- responses:
- 200:
- description: The deserialized carrier.
- schema:
- $ref: '#/definitions/KnowledgeCarrier'
-
- /deserializers/serializers:
- post:
- tags:
- - deserialize
- summary: Serialize a Knowledge Artifact
- description: "Serializes, encodes and/or streams a Knowledge Artifact. The Into parameter determines the extent of the serialization."
- operationId: lower
- consumes:
- - multipart/form-data
- parameters:
- - $ref: '#/parameters/carrier'
- - $ref: '#/parameters/level'
- responses:
- 200:
- description: The serialized carrier.
- schema:
- $ref: '#/definitions/KnowledgeCarrier'
-
- /deserializers/serializers/supportedLanguages:
- get:
- tags:
- - deserialize
- operationId: getSerializableLanguages
- responses:
- 200:
- description: The supported languages.
- schema:
- type: array
- items:
- $ref: '#/definitions/SyntacticRepresentation'
- post:
- tags:
- - deserialize
- operationId: serialize
- parameters:
- - $ref: '#/parameters/carrier'
- - $ref: '#/parameters/into'
- responses:
- 200:
- description: The serialized carrier.
- schema:
- $ref: '#/definitions/KnowledgeCarrier'
-
-###################################################################################################
-
-
-parameters:
-
- txId:
- in: path
- name: txId
- description: The id of a Trans-representation component (aka Transrepresentator). Transrepresentator (resources) describe a knowledge platform component that has been instantiated and deployed in the knowledge platform underlying this server.
- required: true
- type: string
-
- tx:
- in: body
- name: tx
- description: A Trans-representation exemplar resource, used to describe a class of components
- required: true
- schema:
- $ref: '#/definitions/Transrepresentation'
-
-
- txionId:
- in: path
- name: txionId
- description: The id of a Trans-representation operation. Operation (resources) describe a capability of the server, in terms of supported input and output representations (languages, formats, lexicon, etc.)
- required: true
- type: string
-
- carrier:
- name: sourceArtifact
- in: body
- schema:
- $ref: '#/definitions/KnowledgeCarrier'
-
- from:
- in: body
- name: from
- description: Additional information that precisely describes the representation language and/or format used in the source Knowledge Artifact
- required: false
- schema:
- $ref: '#/definitions/SyntacticRepresentation'
-
- into:
- in: body
- name: into
- description: Additional information that precisely describes the representation language and/or format used in the source Knowledge Artifact
- required: false
- schema:
- $ref: '#/definitions/SyntacticRepresentation'
-
- level:
- in: body
- name: level
- description: Additional information that describes the desired (acceptable) resulting representation(s)
- required: false
- schema:
- $ref: '#/definitions/ParsingLevel'
-
- method:
- in: query
- name: method
- description: Specifies the strategy by which a given operation is requested to be executed
- required: false
- type: string
-
-
- lambdaId:
- in: path
- name: lambdaId
- description: The identifier of a transrepresentation operator, configured to apply a transrepresentation operation to a given class of artifacts, to produce new artifacts carrying variant expressions of the content of the source artifact.
- required: true
- type: string
-
- params:
- in: body
- name: params
- required: false
- schema:
- $ref: '#/definitions/Parameters'
-
-
-
-
-definitions:
-
- KnowledgeCarrier:
- type: object
-
- Pointer:
- type: object
- description: TODO Reuse from Common
-
- ParsingLevel:
- type: string
- description: "A vertical level of absraction on the binary/string/parse tree/AST/ASG chain"
-
- SyntacticRepresentation:
- type: object
- description: "A data structure that describes a particular combination of (knowledge representation) language, format, lexicon (aka terminology) and locale used in the representation of a Knowledge Expression. Includes a summary coded value that is suitable both as a type identifier and a MIME type."
-
- Transrepresentator:
- type: object
- description: "A Knowledge Platform Component that possesses some syntactic manipulation capabilities, exposed as as service by means of this API. The resource provides descriptive information about this component, including the public ID of the software (library) that contains the binaries used to instantiate it."
-
- Transrepresentation:
- type: object
- description: "A resource that describes the capability of a Trans-representator comoponent to perform certain operations as a service. May include information about the method (e.g. algorithm) used, as well as the supported language(s) and format(s)."
-
- TransrepresentationMethod:
- type: object
- description: "A resource that describes the method by which a source representation can be trans-represented into a tareget one, as implemented by at least one transrepresentation operation supplied by a transrepresentator component."
-
- TransrepresentationOperator:
- type: object
- description: "A resource that describes a Lambda - a (possibly temporary) runtime context that is configured to apply a specific transrepresentation to a fully determined class of input artifacts, producing a predetermined kind of output artifact. The operator may be persistent, or temporary, e.g. because is the result of an exchange between the client and the server, including content negotiation (and possibly other aspects such as permission or QoS)."
-
- Parameters:
- type: object
- additionalProperties:
- type: string
-
- ParamDefinition:
- type: object
-
-basePath: /kmdp.mayo.edu/tranx/v3
-schemes:
- - https
\ No newline at end of file
diff --git a/openapi/v2/org/omg/spec/api4kp/3.0.0/terminology.yaml b/openapi/v2/org/omg/spec/api4kp/3.0.0/terminology.yaml
deleted file mode 100644
index 2ee71bf..0000000
--- a/openapi/v2/org/omg/spec/api4kp/3.0.0/terminology.yaml
+++ /dev/null
@@ -1,88 +0,0 @@
-swagger: '2.0'
-info:
- description: |
- This is a demo terminology API built on top of the API4KP framework
- version: "3.0.0"
- title: Demo Terminology Server API
- # put the contact info for your development or API team
- contact:
- email: dsotty@gmail.com
-
- license:
- name: Apache 2.0
- url: http://www.apache.org/licenses/LICENSE-2.0.html
-
-# tags are used for organizing operations
-tags:
-- name: Terms
- description: Terminology related operations
-
-paths:
- /vocabularies:
- get:
- tags:
- - Terms
- summary: Lists available terminologies
- operationId: listTerminologies
- description: |
- Enumerates the terminologies currently managed by this server
- produces:
- - application/json
- - application/xml
- responses:
- 200:
- description: search results matching criteria
- schema:
- type: array
- items:
- $ref: '#/definitions/Pointer'
- /vocabularies/{vocabularyId}/versions/{versionTag}:
- get:
- tags:
- - Terms
- summary: Lists terms in a terminology system
- operationId: getTerms
- description: |
- Lists the terms in a given Vocabulary
- produces:
- - application/json
- - application/xml
- parameters:
- - name: vocabularyId
- in: path
- description: The id of the terminology system
- required: true
- type: string
- format: uuid
- - name: versionTag
- in: path
- description: The version of the terminology system
- required: true
- type: string
- - name: label
- in: query
- description: Filters by terms with matching label
- required: false
- type: string
-
- responses:
- 200:
- description: success
- schema:
- type: array
- items:
- $ref: '#/definitions/ConceptIdentifier'
- 400:
- description: vocabulary not found
-
-definitions:
- Pointer:
- type: object
- ConceptIdentifier:
- type: object
-
-# Added by API Auto Mocking Plugin
-host: virtserver.swaggerhub.com
-basePath: /kmdp.mayo.edu/terms/v3/
-schemes:
- - https
\ No newline at end of file
diff --git a/openapi/v2/org/omg/spec/api4kp/4.0.0/inference.yaml b/openapi/v2/org/omg/spec/api4kp/4.0.0/inference.yaml
deleted file mode 100644
index e8110e3..0000000
--- a/openapi/v2/org/omg/spec/api4kp/4.0.0/inference.yaml
+++ /dev/null
@@ -1,298 +0,0 @@
-swagger: '2.0'
-
-info:
- description: |
- Maturity - VERY LOW (highly subject to disruptive changes)
-
- ### Summary
-
- **Knowledge-Driven Reasoning (web) Service that supports the (stateless) execution of
- Inferences, Queries, and related information processing tasks on one or more Knowledge Bases
- (aka 'Models').**
-
- #### Identification
- In this context, a 'Model' is a Knowledge Base - regardless of whether it consists of a known,
- single Knowledge Asset, or is the result of an Assembly on-the-fly.
- Knowledge Bases have a unique identifier: in this server, deployed Knowledge Base
- (i.e. the instantiation of a Knowledge Base in some software) and possibly even deployments are
- tracked with different IDs.
-
-
- version: "4.0.0"
- title: "Model Evaluation Reasoning Service"
- contact:
- name: Davide Sottara
- email: Sottara.Davide@mayo.edu
-
- license:
- name: Apache 2.0
- url: http://www.apache.org/licenses/LICENSE-2.0.html
-
-tags:
- - name: Model
- description: "Endpoints that expose (metadata about) the deployed model itself"
- - name: Introspection
- description: "Extract Surrogates from Knowledge Artifacts"
- - name: Inference
- description: "Endpoints that expose a model's computation capabilities as a function"
- - name: Query
- description: "Query"
- #- name: asynch
- # description: "Endpoints that expose the model's asynchronous computation"
-
-paths:
-
- #TODO Harmonize Introspectors and Evaluators
-
-
- /introspectors:
- get:
- tags:
- - Introspection
- summary: 'List available introspectors'
- description: |
- Enumerates the currently available introspectors
- operationId: listIntrospectors
- responses:
- 200:
- description: The ID of the introspector function
- schema:
- $ref: '#/definitions/Pointer2'
-
- post:
- tags:
- - Introspection
- summary: 'Initialize an Introspector'
- description: |
- Initializes an introspector with an optional piece of knowledge,
- which provides additional context for the metadata extraction.
- Conceptually, the server will use that artifact to seed/augment a knowledgebase,
- which can be specific to the Artifact to be introspected
- (thus making the introspector artifact-specific), or shared.
- The process of metadata extraction, then, is conceptually an inference based
- on the context knowledge and the content of the artifact itself
- operationId: initIntrospector
- parameters:
- - $ref: '#/parameters/sourceArtifact'
- responses:
- 200:
- description: The ID of the introspector function
- schema:
- $ref: '#/definitions/KnowledgeCarrier'
-
-
- /introspectors/{lambdaId}:
- get:
- tags:
- - Introspection
- summary: 'Describes the Surrogate Extraction strategy'
- operationId: getIntrospector
- description: |
- Provides information about a specific metadata extractor
- parameters:
- - $ref: '#/parameters/lambdaId'
- responses:
- 200:
- description: OK
- # schema : TODO
-
- post:
- tags:
- - Introspection
- summary: 'Extract a Knowledge Asset Surrogate from a given Knowledge Artifact'
- description: |
- The operation abstracts the actual strategy, which can be initialized to be
- specific to an Artifact, or a class thereof, but is supposed to be stateless
- and idempotent.
- The operation is also independent of the actual metadata model used to carry
- the results, but the client SHOULD be able to use content negotiation to
- express their preference in terms of model, profile, serialization format, etc.
- operationId: introspect
- parameters:
- - $ref: '#/parameters/lambdaId'
- - $ref: '#/parameters/sourceArtifact'
- - $ref: '#/parameters/xAccept'
- responses:
- 200:
- description: The Surrogate that results from the application of the operator
- schema:
- $ref: '#/definitions/KnowledgeCarrier'
-
- delete:
- summary: 'Disables an introspector'
- tags:
- - Introspection
- description: |
- Disables an introspector, which will no longer be available for use
- parameters:
- - $ref: '#/parameters/lambdaId'
- responses:
- 200:
- description: OK
-
-
- /models:
- get:
- tags:
- - Model
- summary: List Models
- operationId: listModels
- description: "List the Models running on this server."
- produces:
- - application/json
- - application/xml
- # TODO: Apply the pagination trait
- # TODO: Apply the asset type filter trait - other search/filter parameters?
- responses:
- 200:
- description: "List of References to available Models"
- schema:
- type: array
- items:
- $ref: '#/definitions/Pointer2'
-
- /models/{modelId}/versions/{versionTag}:
- get:
- tags:
- - Model
- summary: Describe Model
- operationId: getModel
- description: "Return descriptive metadata about a specific model"
- produces:
- - application/json
- - application/xml
- parameters:
- - $ref: '#/parameters/modelId'
- - $ref: '#/parameters/versionTag'
- responses:
- 200:
- description: "Information about the computable knowledge that is being executed
- as a service, including enough information to resolve the Knowledge Asset of
- which the model is an instantiation."
- schema:
- $ref: '#/definitions/KnowledgeCarrier'
-
- /models/{modelId}/versions/{versionTag}/logic:
- post:
- tags:
- - Inference
- summary: Evaluate / Infer
- operationId: infer
- description: "Submits a dataset for evaluation. The model will be applied to each item in
- the dataset, returning a new dataset with the inferred values. Each evaluation will be
- independent. The Dataset MUST contain all the FEATURES required for model evaluation, as
- the server will not attempt to resolve any, ignoring the CONTEXT. If both DATA and FEATURES
- are provided, the server MIGHT try to infer the FEATURES from the DATA; if, for a given data
- concept, the provided and inferred values are not identical, the server will respond with an
- exception. As a result of a successful evaluation, the server MUST respond with a DataSet that
- contains the computed output FEATURES, and SHOULD also include the output DATA Concepts."
- consumes:
- - application/json
- produces:
- - application/json
- parameters:
- - $ref: '#/parameters/modelId'
- - $ref: '#/parameters/versionTag'
- - in: body
- name: features
- required: true
- schema:
- $ref: '#/definitions/Map'
- responses:
- 200:
- description: "The results of the computation, returned synchronously"
- schema:
- $ref: '#/definitions/Map'
-
- ##########################################################################################
-
-
- /models/{modelId}/versions/{versionTag}/oracle:
- post:
- tags:
- - Query
- operationId: askQuery
- description: submits a query to a KnowledgeBase
- parameters:
- - $ref: '#/parameters/modelId'
- - $ref: '#/parameters/versionTag'
- - name: query
- in: body
- required: true
- schema:
- $ref: '#/definitions/KnowledgeCarrier'
- responses:
- 200:
- description: The bound expression
- schema:
- type: array
- items:
- $ref: '#/definitions/Bindings'
-
-parameters:
- modelId:
- in: path
- name: modelId
- type: string
- format: uuid
- required: true
- description: "The Identifier of a known Inferential Knowledge Asset (aka kao#Assessment) that
- is deployed and executed as a Service. This identifier SHOULD be an ID of the Asset itself,
- not of the manifestation of the Asset within the server."
-
- versionTag:
- in: path
- name: versionTag
- type: string
- required: true
- description: "The Identifier os a specific version of a Model, within the series identified
- by a modelId."
-
- lambdaId:
- in: path
- name: lambdaId
- description: TODO
- required: true
- type: string
- format: uuid
-
- sourceArtifact:
- name: sourceArtifact
- in: body
- required: true
- schema:
- $ref: '#/definitions/KnowledgeCarrier'
-
- xAccept:
- in: query
- name: xAccept
- description: |
- A formal MIME type used for content negotiation
- required: false
- type: string
-
-
-definitions:
- Pointer2:
- type: object
- description: "Compact proxy object that carries references to another Resource. This object
- used in operations that browse and list collections."
-
- KnowledgeCarrier:
- type: object
- description: "A Resource that describes a particular representation of a Knowledge Asset."
-
- Map:
- type: object
- description: "A single table row, implemented by means of a map, where the 'column' keys
- SHALL correspond to either the names or the concept URIs of one or more Data Concepts,
- and the values is one array of uniform length."
-
-
- Bindings:
- type: object
-
-# Added by API Auto Mocking Plugin
-schemes:
- - https
-basePath: /omg.org/spec/API4KP/20200801/api/inference/v4
\ No newline at end of file
diff --git a/openapi/v2/org/omg/spec/api4kp/4.0.0/knowledgeArtifactRepository.yaml b/openapi/v2/org/omg/spec/api4kp/4.0.0/knowledgeArtifactRepository.yaml
deleted file mode 100644
index 82f1ead..0000000
--- a/openapi/v2/org/omg/spec/api4kp/4.0.0/knowledgeArtifactRepository.yaml
+++ /dev/null
@@ -1,869 +0,0 @@
-swagger: '2.0'
-
-info:
- version: "4.0.0"
- title: 'API4KP Knowledge Artifact Repository API'
- contact:
- name: Davide Sottara
- email: sottara.davide@mayo.edu
- license:
- name: Apache License, Version 2.0
- url: https://www.apache.org/licenses/LICENSE-2.0.html
- description: |
- Maturity - STABLE
-
- API that expose the functional capabilities of a Knowledge Artifact Repository Service (KAR), as defined in the OMG API4KP specification.
-
- Knowledge Artifact Repositories allow to store and retrieve (copies of) Digital Knowledge Artifacts (KA). KARs treat KAs as black-box binary objects, so there is no limitation nor expectation on the nature of the content, or the requirements to consume it. However, identity and versioning must be supported.
-
- Identifiers must be universal, unique and opaque, so they MUST be UUID v4 compliant. Version tags can follow different patterns (semantic versioning, incremental numbering, date/time stamps, etc...).
-
- Special considerations involve the _deletion_ of an Artifact. For traceability and safety purposes, KARs SHOULD NOT allow Artifacts to be deleted in an unrecoverable way. Deletion itself is defined as making an Artifact no longer accessible to a client (i.e. status 404). A server SHOULD allow a deletion operation to be undone, e.g. using mechanisms conceptually similar to 'trash bins', and SHOULD at a minimum keep track of the IDs of Artifacts that were at some point managed in each Repository.
- For this reason, a two phase deletion is recommended. Deleted Artifacts transition into a 'deleted' status in which they cannot be discovered nor retrieved, unless a dedicated flag is set. Once in a deleted state, Artifacts MAY be deleted permanently.
-
- The API also supports the (logical) federation of Repositories. A server instance MAY expose different repositories to a client, who should expect each repository to be independent. Whether these repositories map to actual physical repositories (e.g. different DBs), folder-like structures or logic tags/collections is left to the implementation.
The same artifact (as defined by having the same ID) COULD be stored in more than one repository, but all copies MUST be identical to each other
-
- With adequate rights, and if supported by the implementation, repositories can be _enabled_ or _disabled_.
- Enabled (resp. disabled) repositories are (resp. not) available to a client, regardless of whether the (de)allocation of actual resources is involved at the implementation level.
-tags:
- - name: Knowledge Artifact
- description: |
- Store/Retrieve specific versions of specific Knowledge Artifacts.
-
- - name: Knowledge Artifact Series
- description: |
- Manage different versions of a given Knowledge Artifact.
-
- - name: Knowledge Artifact Repository
- description: |
- Discover/Administer federated Knowledge Artifact Repositories.
-
-# basePath: /www.omg.org/spec/API4KP/KnowledgeArtifactRepository/v1.2.1
-
-#schemas:
-# - http
-# - https
-
-paths:
-
-####################################################################################################
-#
-# Knowledge Artifact Repository
-#
-####################################################################################################
-
- /repos:
- get:
- tags:
- - Knowledge Artifact Repository
- summary: List federated Knowledge Artifact Repositories
- description: |
- Retrieves a browsable list of known Knowledge Artifact Repositories, federated under this manager.
-
- A KAR MUST always have at least one repository, which COULD be accessed under a 'DEFAULT' well known ID, in addition to the specific ID that the repository should have. This default repository MUST be enabled at startup. As a consequence, this operation SHOULD alway return at least one resource.
- operationId: listKnowledgeArtifactRepositories
- produces:
- - application/json
- - application/xml
- responses:
- 200:
- description: |
- A list of Resources describing each enabled repository is returned. The default repository SHOULD be the first element in the list.
- schema:
- type: array
- items:
- $ref: '#/definitions/KnowledgeArtifactRepository'
- 500:
- description: |
- No repository is available, including the 'default' repository that the server MUST provide.
- post:
- tags:
- - Knowledge Artifact Repository
- summary: Enable Knowledge Artifact Repository
- description: |
- Ensures that a new, empty Knowledge Artifact Repository is enabled, assigning an identifier in the process.
-
- A client may not be allowed to enable (additional) repositories, or the server may not support the dynamic enabling of new repositories altogether.
- operationId: initKnowledgeArtifactRepository
- responses:
- 201:
- description: |
- Repository successfully enabled. Returns a URL where the newly created repository can be accessed (e.g. to GET a repository descriptor), together with a descriptor of the current state.
- headers:
- Content-Location:
- type: string
- format: uri
- schema:
- $ref: '#/definitions/KnowledgeArtifactRepository'
- 403:
- description: |
- The client does not have the rights to enable additional repositories.
- 500:
- description: |
- Internal error.
- 501:
- description: |
- The server does not provide this capability.
-
-####################################################################################################
-
- /repos/{repositoryId}:
- get:
- tags:
- - Knowledge Artifact Repository
- summary: Describe Knowledge Artifact Repository
- description: |
- Retrieves the state, as known at the time the operation is invoked, of a specific Knowledge Artifact Repository.
-
- This operation is always expected to succeed if the 'DEFAULT' repository is addressed.
- operationId: getKnowledgeArtifactRepository
- produces:
- - application/json
- - application/xml
- parameters:
- - $ref: '#/parameters/repositoryId'
- responses:
- 200:
- description: |
- The given repository is enabled, and some information can be returned.
- schema:
- $ref: '#/definitions/KnowledgeArtifactRepository'
- 404:
- description: |
- No repository with the given ID is currently enabled
- 500:
- description: |
- Internal error
- put:
- tags:
- - Knowledge Artifact Repository
- summary: Configure a Knowledge Artifact Repository
- description: |
- Ensure a Knowledge Artifact Repository with the given identifier is enabled and accessible. If not, will attempt to create one. The identifier must be acceptable to the server. If optional descriptive information is provided, it will be used to initialize or update the state of the Repository.
-
- Clients may not be authorized, and servers may not support this operation.
- operationId: setKnowledgeArtifactRepository
- consumes:
- - application/json
- - application/xml
- parameters:
- - $ref: '#/parameters/repositoryId'
- - $ref: '#/parameters/repositoryDescr'
- responses:
- 201:
- description: |
- A repository has been enabled in the process. Returns the actual state of the repository
- schema:
- $ref: '#/definitions/KnowledgeArtifactRepository'
- 204:
- description: |
- The repository is enabled, and its state reflects the client-provided information
- 403:
- description: |
- Repositories cannot be enabled, or their status cannot be updated by the client.
- 405:
- description: |
- The target repository status cannot be updated
- 500:
- description: |
- Internal error
- 501:
- description: |
- Not implemented
- delete:
- tags:
- - Knowledge Artifact Repository
- summary: Disables an empty Knowledge Artifact Repository
- description: |
- Ensure a Knowledge Artifact Repository with the given identifier is no longer accessible.
- The Repository MUST be empty for this operation to succeed.
-
- The 'DEFAULT' repository CAN NOT be disabled.
- operationId: disableKnowledgeArtifactRepository
- parameters:
- - $ref: '#/parameters/repositoryId'
- responses:
- 204:
- description: |
- The repository was successfully disabled (or no repository was found).
- 403:
- description: |
- The repository is not empty and cannot be disabled.
- 500:
- description: |
- Internal error
- 501:
- description: |
- Not implemented
-
- head:
- tags:
- - Knowledge Artifact Repository
- summary: Check Knowledge Artifact Repository
- description: |
- Checks for the existence of a Knowledge Artifact Repository with the given identifier
- operationId: isKnowledgeArtifactRepository
- parameters:
- - $ref: '#/parameters/repositoryId'
- responses:
- 204:
- description: |
- Success
- 500:
- description: |
- Internal error
- 501:
- description: |
- Not implemented
-
-####################################################################################################
-
- /repos/{repositoryId}/artifacts:
- get:
- tags:
- - Knowledge Artifact Series
- summary: List stored Knowledge Artifacts
- description: |
- Retrieves a browsable list of references to the Knowledge Artifacts that are stored in a given Knowledge Artifact Repository.
- *If the repository is empty, the operation should still succeed, returning an empty list.
- *The returned references SHOULD, at a minimum, reference each Artifact's version series, and MUST also carry the identifier of the latest version.
-
- This operation should support paging.
- operationId: listKnowledgeArtifacts
- produces:
- - application/xml
- - application/json
- parameters:
- - $ref: '#/parameters/repositoryId'
- # pageable
- - $ref: '#/parameters/offset'
- - $ref: '#/parameters/limit'
- - $ref: '#/parameters/deleted'
- responses:
- 200:
- description: |
- Success
- schema:
- type: array
- items:
- $ref: '#/definitions/Pointer2'
- 204:
- description: |
- Series is initialized, but no versions are available.
- (If deleted=true, this can only happen if there are no versions yet, or all are gone)
- 404:
- description: |
- Repository not found
- 403:
- description: |
- Client not authorized to browse this repository
- 500:
- description: |
- Internal error
-
- post:
- tags:
- - Knowledge Artifact Series
- summary: Initialize new Artifact series
- description: |
- Creates a new Knowledge Artifact.
- Assigns an ID to the Artifact in the process, and creates a new empty series."
- operationId: initKnowledgeArtifact
- produces:
- - application/json
- parameters:
- - $ref: '#/parameters/repositoryId'
- responses:
- 201:
- description: Success
- headers:
- Content-Location:
- type: string
- format: uri
- description: |
- URL where the new Knowledge Artifact Series can be accessed
- schema:
- description: |
- The identifier of the newly created Knowledge Artifact
- type: string
- format: uuid
- 403:
- description: |
- Client is not allowed to create new Artifacts
- 404:
- description: |
- Repository not found
- 405:
- description: |
- Not supported - Repository is read only
- 500:
- description: |
- Internal error
- 501:
- description: |
- Not implemented
- delete:
- tags:
- - Knowledge Artifact Series
- summary: Clear Knowledge Artifact Repository
- description: |
- Clears a Knowledge Artifact Repository, deleting each Artifact that is contained therein.
-
- Functionally equivalent to invoking, atomically,
- listKnowledgeArtifacts(repositoryId).forEach(x->deleteKnowledgeArtifactSeries(x,deleted))
- In particular, it must adhere to the constraints of deleteKnowledgeArtifact.
-
- This operation does not disable the Repository.
- After invoking this operation, listKnowledgeArtifacts MUST return an empty list.
-
- A client MUST have the appropriate privileges, which SHOULD only be granted to a super-user.
- In particular, the repository-scoped hard deletion (i.e. invoking this operation with deleted=true)
- MAY NOT be supported.
- operationId: clearKnowledgeRepository
- produces:
- - application/json
- parameters:
- - $ref: '#/parameters/repositoryId'
- - $ref: '#/parameters/deleted'
- responses:
- 204:
- description: |
- The repository content has been cleared
- 403:
- description: |
- Client does not have the privileges
- 404:
- description: |
- Repository not found
- 405:
- description: |
- Not supported by the Repository
- 500:
- description: |
- Internal error
- 501:
- description: |
- Not implemented
-
-####################################################################################################
-
-
- /repos/{repositoryId}/artifacts/{artifactId}:
- get:
- tags:
- - Knowledge Artifact Series
- summary: Retrieves the LATEST version of a Knowledge Artifact
- description: |
- Gets a copy of a (Digital) Knowledge Artifact, based on the LATEST version
- within the series identified by the given artifact ID.
-
- If invoked with 'deleted=true', it will access Artifacts that are current
- OR that have been soft-deleted.
- operationId: getLatestKnowledgeArtifact
- produces:
- - "*/*"
- parameters:
- - $ref: '#/parameters/repositoryId'
- - $ref: '#/parameters/artifactId'
- - $ref: '#/parameters/deleted'
- responses:
- 200:
- description: |
- Success
- schema:
- type: string
- format: binary
- 204:
- description: |
- Artifact known but either not available, or no versions are available.
- 403:
- description: |
- The client does not have the privileges to access the given Artifact
- 404:
- description: |
- Repository not found, or the Artifact is not resolvable within the given Repository.
- When invoked with 'deleted=true', it implies that the server does not recognize the ID,
- otherwise it may also be the case that the desired artifact has been deleted.
- 410:
- description: |
- The Artifact used to be known to this server, but has been deleted.
- Reversible deletions should return 410 if 'deleted=false' and 200 if 'deleted=true'
- Permanent deletions should return 410 in any case, leaving code 404 for Artifact IDs
- that are not recognized by the server
- 500:
- description: |
- Internal error
- delete:
- tags:
- - Knowledge Artifact Series
- summary: Removes a Knowledge Artifact from the Repository
- description: |
- Individual Knowledge Artifacts are considered removed from a Repository, if and only if any attempt to resolve that Artifact identifier within the given Knowledge Repository will not succeeed. Removing an Artifact that is not (any longer) in a Repository will result in a trivial success.
-
- This operation is functionally equivalent to invoking deleteKnowledgeArtifactSeries(repositoryId,artifactId,deleted),
- to clear the series, AND then removing the Artifact from the Repository.
-
- In any case, The server SHOULD keep a record of the artifactId.
- operationId: deleteKnowledgeArtifact
- parameters:
- - $ref: '#/parameters/repositoryId'
- - $ref: '#/parameters/artifactId'
- - $ref: '#/parameters/deleted'
- responses:
- 204:
- description: |
- Success
- This code is returned even if the artifact has already been (permanently) deleted,
- as long as the artifact ID is known to the server.
- 403:
- description: |
- The client does not have the necessary privileges
- 404:
- description: |
- No repository with the given ID can be found,
- or the Artifact is not known to this server
- 405:
- description: |
- The given Artifact cannot be deleted.
- 500:
- description: |
- Internal error
- 501:
- description: |
- Not implemented
- post:
- tags:
- - Knowledge Artifact Series
- summary: Enable Knowledge Artifact Series
- description: |
- Ensures a Knowledge Artifact (series) is available, even if the series may be empty.
- Will create a new series with the given ID if the Artifact is not known or GONE.
-
- May restore an unavailable Artifact, and/or all its unavailable versions.
- operationId: enableKnowledgeArtifact
- parameters:
- - $ref: '#/parameters/repositoryId'
- - $ref: '#/parameters/artifactId'
- responses:
- 201:
- description: |
- An artifact series with the given ID is now available.
- May have restored unavailable versions if 'deleted=true'
- 403:
- description: |
- The client does not have the necessary privileges
- 404:
- description: |
- No repository with the given ID can be found
- 405:
- description: |
- The given Artifact cannot be created/restored.
- 500:
- description: |
- Internal error
- 501:
- description: |
- Not implemented
- head:
- tags:
- - Knowledge Artifact Series
- summary: Check Knowledge Artifact
- description: |
- Checks for the existence of a Knowledge Artifact Series within the scope of a Repository.
-
- For the operation to succeeed, the Artifact must have been initialized but not deleted
- (permanently - if deleted is true), even if the version series is empty.
- operationId: isKnowledgeArtifactSeries
- parameters:
- - $ref: '#/parameters/repositoryId'
- - $ref: '#/parameters/artifactId'
- - $ref: '#/parameters/deleted'
- responses:
- 204:
- description: |
- The artifact is known to the Repository
- 404:
- description: |
- Repository or Artifact not found
- 500:
- description: |
- Internal error
- 501:
- description: |
- Not implemented
-
-
-####################################################################################################
-
- /repos/{repositoryId}/artifacts/{artifactId}/versions:
- # We do not allow raw DELETEs on entire collections. Should a strategy be standardized?, e.g. see
- # https://stackoverflow.com/questions/2421595/restful-way-for-deleting-a-bunch-of-items
- get:
- tags:
- - Knowledge Artifact Series
- summary: List versions of a Knowledge Artifact.
- description: |
- Provides access to an Artifact's historical series, i.e. the list of immutable versions of the Artifact maintained in the given Knowledge Artifact Repository. Optionally, allows to sort the series, filter by version range and supports pagination.
-
- The list may be empty, either because an Artifact series has been initialized without adding any particular version (see POST), or because all versions have been deleted, without deleting the artifact itself.
- operationId: getKnowledgeArtifactSeries
- produces:
- - application/json
- - application/xml
- parameters:
- - $ref: '#/parameters/repositoryId'
- - $ref: '#/parameters/artifactId'
- - $ref: '#/parameters/deleted'
- # pageable
- - $ref: '#/parameters/offset'
- - $ref: '#/parameters/limit'
- #series
- - $ref: '#/parameters/beforeTag'
- - $ref: '#/parameters/afterTag'
- #sortable
- - $ref: '#/parameters/sort'
- responses:
- 200:
- description: |
- Returns a possibly empty list of Pointers to each version of the given Artifact.
- By definition, all pointers must reference Artifacts with the same ArtifactID, and different version tags.
-
- The list may contain versions that have been deleted, if 'deleted=true'.
- schema:
- type: array
- items:
- $ref: '#/definitions/Pointer2'
- 204:
- description: |
- Artifact known, but not available.
- 403:
- description: |
- The client does not have the necessary permissions
- 404:
- description: |
- Repository or Artifact not known
- 410:
- description: |
- The artifact has been permanently deleted
- 500:
- description: |
- Internal error
- post:
- tags:
- - Knowledge Artifact Series
- summary: Add a (new version) of a Knowledge Artifact.
- description: |
- Adds a new version of a given Artifact to the Artifact's series, making this version the LATEST. The client is required to provide the content, but the server is expected to provide the version tagging, according to the version scheme that is implemented internally. When successful, the server will return the URL where that version can be accessed."
- operationId: addKnowledgeArtifactVersion
- parameters:
- - $ref: '#/parameters/repositoryId'
- - $ref: '#/parameters/artifactId'
- - in: formData
- name: document
- required: true
- type: string
- format: binary
- description: |
- The binary serialization of the document that carries the new version of the Knowledge Artifact
- consumes:
- - multipart/form-data
- responses:
- 201:
- description: |
- The given document has been set as the latest version of the specified Knowledge Artifact,
- and is available at the returned URL. When possible, servers should actually return a URI that can be
- dereferenced to the URL where the new version can be retrieved.
- headers:
- Content-Location:
- type: string
- format: uri
- description: |
- URL where the new version of the Knowledge Artifact is accessible
- 403:
- description: |
- Client does not have the necessary privileges
- 404:
- description: |
- Repository or Artifact not found
- 405:
- description: |
- New versions cannot be created, e.g. because the Artifact or the Repository is read-only
- 500:
- description: |
- Internal error
- 501:
- description: |
- Not implemented
-
-####################################################################################################
-
- /repos/{repositoryId}/artifacts/{artifactId}/versions/{versionTag}:
- get:
- tags:
- - Knowledge Artifact
- summary: Retrieve a specific version of a Knowledge Artifact
- description: |
- Provides the client with a copy of a specific version of a Knowledge Artifact.
- May provide access to 'deleted' artifacts if the dedicated flag is set.
- operationId: getKnowledgeArtifactVersion
- produces:
- - "*/*"
- parameters:
- - $ref: '#/parameters/repositoryId'
- - $ref: '#/parameters/artifactId'
- - $ref: '#/parameters/versionTag'
- - $ref: '#/parameters/deleted'
- responses:
- 200:
- description: |
- A copy of the given artifact's version can be retrieved
- schema:
- type: string
- format: binary
- 204:
- description: |
- The version is known but currently unavailable.
- 403:
- description: |
- The client cannot access the artifact version
- 404:
- description: |
- Repository or Artifact Version not found
- 410:
- description: |
- The artifact has been deleted permanently
- 500:
- description: |
- Internal error
- delete:
- tags:
- - Knowledge Artifact
- summary: Remove a specific version of a Knowledge Artifact
- description: |
- Ensures that a specific version of a given Knowledge Artifact is not resolvable anymore within the Knowledge Artifact version series. If the version cannot be found, the operations succeeds trivially.
-
- If the deleted flag is set, this operation MAY delete a version permanently.
- operationId: deleteKnowledgeArtifactVersion
- parameters:
- - $ref: '#/parameters/repositoryId'
- - $ref: '#/parameters/artifactId'
- - $ref: '#/parameters/versionTag'
- - $ref: '#/parameters/deleted'
- responses:
- 204:
- description: |
- The given version is no longer available.
- 403:
- description: |
- The client does not have the necessary permissions.
- 404:
- description: |
- Repository not found, or the Artifact is not known to the Repository
- 500:
- description: |
- Internal error
- 501:
- description: |
- Not implemented
- post:
- tags:
- - Knowledge Artifact
- summary: Ensure a specific version of a Knowledge Artifact is available
- description: |
- Ensures that a specific version of a given Knowledge Artifact can be retrieved.
- Notice that the user is not required to provide the actual artifact payload. For this reason, the oepration will succeed if and only if the version is either already available, or in a soft deletion status. This operation may restore an unavailable version.
- operationId: enableKnowledgeArtifactVersion
- parameters:
- - $ref: '#/parameters/repositoryId'
- - $ref: '#/parameters/artifactId'
- - $ref: '#/parameters/versionTag'
- - $ref: '#/parameters/deleted'
- responses:
- 204:
- description: |
- The given version is available.
- 403:
- description: |
- The client does not have the necessary permissions.
- 404:
- description: |
- Repository not found, or the Artifact (and/or its version) is not known to the Repository
- 500:
- description: |
- Internal error
- 501:
- description: |
- Not implemented
- put:
- tags:
- - Knowledge Artifact
- summary: Sets a Version of a specific Knowledge Artifact
- description: |
- Ensures that a Knowledge Artifact is available in the given Repository, and that an attempt to resolve a version with the given tag will succeed, returning a copy of the provided payload.
-
- Creates an Artifact series if not present, and overwrites the stored copy for the given version if already present.
- This operation can reverse a deletion.
- operationId: setKnowledgeArtifactVersion
- consumes:
- - multipart/form-data
- parameters:
- - $ref: '#/parameters/repositoryId'
- - $ref: '#/parameters/artifactId'
- - $ref: '#/parameters/versionTag'
- - in: formData
- name: document
- required: true
- type: string
- format: binary
- description: |
- The version of the Knowledge Artifact to be set in the repository.
- responses:
- 204:
- description: |
- The given document has been set as the specific version of the specified Knowledge Artifact.
- 403:
- description: |
- The client does not have the adequate permissions
- 404:
- description: |
- Repository not found
- 500:
- description: |
- Internal error
- 501:
- description: |
- Not implemented
- head:
- tags:
- - Knowledge Artifact
- summary: Check Knowledge Artifact Version
- description: |
- Checks for the existence of a specific version of a Knowledge Artifact
- operationId: isKnowledgeArtifactVersion
- produces:
- - application/json
- parameters:
- - $ref: '#/parameters/repositoryId'
- - $ref: '#/parameters/artifactId'
- - $ref: '#/parameters/versionTag'
- - $ref: '#/parameters/deleted'
- responses:
- 204:
- description: |
- The given version of the given artifact is found within the given repository
- 403:
- description: |
- The client cannot access the artifact version
- 404:
- description: |
- Repository or Artifact Version not found
- 410:
- description: |
- The artifact has been deleted permanently
- 500:
- description: |
- Internal error
- 510:
- description: |
- Not implemented
-
-
-parameters:
- repositoryId:
- in: path
- name: repositoryId
- required: true
- type: string
- description: |
- The id of a Knowledge Artifact Repository, in the context of the server that provides operations on the Repository.
-
- In general, the ID is qualified and scoped by a scheme owned by the server. When the server guarantees to federate repositories from a single known namespace, and repository IDs are required to be scoped by that namespace, either the fully qualified name or the local part should be accepted as a valid repositoryId; otherwise, only the fully qualified ID will be acceptable."
-
- repositoryDescr:
- in: body
- name: repositoryDescr
- required: false
- schema:
- $ref: '#/definitions/KnowledgeArtifactRepository'
- description: |
- A representation of the current state of a given Knowledge Artifact Repository
-
- artifactId:
- in: path
- name: artifactId
- required: true
- type: string
- format: uuid
- description: |
- The (qualified) identifier of a Knowledge Artifact.
-
- The server stores a 'Master Copy', from which other Knowledge Artifacts are derived by replication. MUST be used in the context of a Knowledge Artifact Repository
-
- Since Master Copies can be mutable, unless further qualified, the identifier will denote a Series in general, and identify the LATEST version within the series.
-
- versionTag:
- in: path
- name: versionTag
- required: true
- type: string
- description: |
- The version tag of a Versioned Entity Identifier.
-
- Versioned Identifiers identify specific, Immutable Versions of Mutable Entities, which reflect the state of that Entity at a given point in time. Version(ed) identifier SHOULD be universal, but version Tags are not, and MUST always be interpreted within the context of their associated Entity (identifier).
-
- deleted:
- in: query
- name: deleted
- required: false
- type: boolean
- default: false
- description: |
- Flag that grants access to soft-deleted Artifacts, allowing to retrieve them, or even delete them permanently. To do so, the flag MUST be set explicitly to true.
-
- #TODO: The following are reusable parameters that should be moved to a common definition file
-
- beforeTag:
- in: query
- name: beforeTag
- required: false
- type: string
- description: "Restricts the series to include only versions before (included) a given version Tag. Assumes the underlying versioning scheme has at least a partial ordering defined."
- afterTag:
- in: query
- name: afterTag
- required: false
- type: string
- description: "Restricts the series to include only versions after (included) a given version Tag. Assumes the underlying versioning scheme has at least a partial ordering defined."
-
- sort:
- in: query
- name: sort
- required: false
- type: string
- default: "asc"
- description: "Allows to sort a collection by one ore more properties."
-
- offset:
- in: query
- name: offset
- type: integer
- required: false
- description: "Filters elements in a collection, returning all elements after the 'offset' index included, ignoring all previous elements."
- limit:
- in: query
- name: limit
- type: integer
- required: false
- description: "Returns up to the given number of elements in a collection."
-
-
-definitions:
- Pointer2:
- type: object
-
- KnowledgeArtifactRepository:
- type: object
-
-basePath: /omg.org/spec/API4KP/20200801/api/repository/artifact/v4
-schemes:
- - https
\ No newline at end of file
diff --git a/openapi/v2/org/omg/spec/api4kp/4.0.0/knowledgeAssetRepository.yaml b/openapi/v2/org/omg/spec/api4kp/4.0.0/knowledgeAssetRepository.yaml
deleted file mode 100644
index 59a2e05..0000000
--- a/openapi/v2/org/omg/spec/api4kp/4.0.0/knowledgeAssetRepository.yaml
+++ /dev/null
@@ -1,1588 +0,0 @@
-swagger: '2.0'
-
-info:
- version: "4.0.1"
- title: 'Knowledge Asset Repository API'
- contact:
- name: Davide Sottara
- email: sottara.davide@mayo.edu
- license:
- name: Apache License, Version 2.0
- url: https://www.apache.org/licenses/LICENSE-2.0.html
- description: |
- Maturity - HIGH (possibly subject to extensions)
-
- APIs for a Semantic Knowledge Asset Repository.
-
- **Knowledge Assets**
- Knowledge Assets are immutable, versioned works of knowledge (aka 'Piece of Knowledge', or 'Piece of Content'), which are expressible in any form that is fit for consumption by a designated audience.
- Assets managed through a Knowledge Asset Catalog & Repository are usually, though not necessarily, _Enterprise_ Knowledge Assets, i.e. Assets whose content is endorsed by some Subject Matter Expert (party), and whose identification and life cycle is managed by an Authority.
-
- **Knowledge Resources** - Assets vs Carriers vs Surrogates
- Since Knowledge Assets themselves are immaterial entities, an Asset Repository can either store 'metadata' (Knowledge Asset Surrogates), or store/reference 'manifestations' (Knowledge Carriers). Both Surrogates and Carriers are actually Knowledge Artifacts, and differ in the role they play with respect to a given Asset.
- The Asset Repository MIGHT be built on top of a Knowledge Artifact Repository, and internalize the storage of Carriers and Surrogates. An Asset Repository COULD _also_ be federated, and point to Carriers and Surrogates stored in external systems e.g. by means of URLs.
- At a minimum, the Asset Repository MUST have direct access to at least one Surrogate, which is considered Canonical, and contains some core, mandatory information about the asset and its relationships to other assets and artifacts (including Carriers and other Surrogates), and some corollary information such as pedigree/provenance, policies, applicability.
- The Canonical Surrogate is a Resource that conforms to some standard adopted by the Repository, and is directly accessible through the Repository APIs.
- The Canonical Surrogate is such that there cannot exist two distinct Surrogates of the same Asset that use the canonical metamodel (Knowledge Representation Language, or profile thereof) supported by the server.
-
- Notice that all Carriers associated to an Asset MUST be iso-semantic, i.e. be _variant_ representation of the Asset knowledge content. Surrogates, on the other hand, can have different information content, as long as they refer to the same Asset, and are consistent with each other.
-
- **Series**
- All Resources are Versioned. Resources maintain a version-agnostic, (globally unique) ID, and a version tag which is implementation specific, even if semantic versioning is encouraged.
- Versions in a series SHOULD be ordered by version tag, based on the natural order of the tags themselves (e.g. incremental numbers vs semantic versioning). Versions SHALL also be ordered by the timestamp each version was established on.
- In particular, the LATEST version of a Resource SHALL be determined by tag ordering, and the timestamp will only be used to break any ties. (Implementations COULD use the timestamp itself as a version tag.)
-
- **Knowledge Graph**
- Collectively, the Canonical Surrogates constitute a Knowledge Base, of Graph-oriented nature, which is referre to as the Knowledge Asset Graph. The Graph, supports the indexing and querying of the Assets, and can be used to construct Knowledge Asset Catalogs.
-
- **Search and Retrieval**
- Assets (and their Carriers) MUST be discoverable through listing, and the individual Resources MUST be retrievable based on a combination of identifiers and version tags.
- Filtering SHOULD be supported based on a limited category of metadata, namely types and semantic annotations.
- Querying COULD be supported through the Knowledge Graph.
- Text based searching MIGHT be supported, but is currently outside of the scope of this specification.
-
- **Content Negotiation**
- Given an Asset, its Carriers and Surrogates can also be selected through Content Negotiation. A client can use a formal MIME code (see extAccept later in the documentation) to choose between (i) the Carriers or (ii) the Surrogates of a given Asset, when multiple alternatives are present.
- A client can also use Content Negotiation in combination with an Artifact identifier. In this case, the client declares their intent to access the information content of a specific Artifact (version), but asks that the Artifact be delivered in a certain format.
- To support Content Negotiation, Asset Repositories SHOULD be able to provide Artifacts even when they are not materially stored/referenced, but can be derived on the fly at runtime using a Language service API (which internally could further delegate to KB/reasoning services for complex tasks such as assembling or semantic trans*tion).
-
- Notice that the Asset Repository Content Negotiation is at a different level than the Content Negotiation provided by OpenAPI natively. (Formal) Content negotiation is applied _before_ a resulting Artifact (Carrier or Surrogate) is wrapped in a KnowledgeCarrier object and returned.
- Standard OpenAPI content negotiation is applied to any API return type, including KnowledgeCarriers, at a later stage.
-
- **Composites**
- A Composite Resource (Asset or Artifact) is a resource that consists in components, which are either Composite Resources of the same type, or regular atomic Resources. Composites are also defined by the relationships between the parts. For this reason, each Composite has a special Component, a Struct(ure), which is a graph-oriented Artifact which establishes types, roles and relationships and is normally a subset of the Knowledge Asset Graph.
- Composites are implicitly manifested through their identifier and Structure. The components can be resolved and assembled into a Composite Surrogate or into a Composite Artifact.
- The Composite is distinct from each of its components, even when one of the components has a prominent role with respect to the others.
- As such, Composites can have their own independent Canonical Surrogate, and have one or more variant Carriers.
- Notice that, in general, a Composite Asset can be carried by an atomic Carrier, and an atomic Asset can be carried by a Composite Artifact.
- Atomic Resources can be created from their Composite counterparts by means of _flattening_.
-
-
- **Service Boundaries**
- Unlike Knowledge Artifact Repositories, for which Artifacts are black boxes, Knowledge _Asset_ Repositories consider Assets and their Carriers as gray boxes.
- A Knowledge Asset Repository SHOULD delegate to a Language Service the ability to parse/serialize, validate and otherwise analyze the content of a Knowledge Carriers associated to an Asset. Language Trans*ion services SHOULD also be leveraged for Content Negotiation Purposes.
- A Knowledge Asset Repository SHOULD leverage a Knowledge Base Construction Service to manipulate artifacts, especially for the purpose of constructing, deconstructing, flattening and generating metadata.
- A Knowledge Asset Repository MIGHT also interact with a Reasoning Service, which SHOULD treat the Knowledge Asset Graph as a Knowledge Base, performing inferences and answering queries.
- A Knowledge Asset Repository SHALL NOT, instead, leverage a Reasoning Service to reason _with_ the Artifacts' content for any other reason that the extraction/validation of the Asset metadata. This choice is motivated by the different SLA constraints (e.g. security, traffic/load) involved when knowledge is 'in motion' rather than 'at rest'.
-
-
-tags:
- - name: Knowledge Asset Catalog
- description: |
- A Knowledge Asset Catalog is an indexed collection of Knowledge Assets. A Catalog identifies, versions, types/categorizes, and relates Assets to each other.
- - name: Knowledge Asset Repository
- description: |
- A Semantic Knowledge Repository provides access to Knowledge Artifacts based on their Asset content and representation thereof.
- - name: Knowledge Asset Retrieval
- description: |
- A Knowledge Asset Retrieval faciilty offers query/search engines that treat the content of the Knowledge Asset Catalog itself as a Knowledge Base.
-
-
-
-#schemas:
-# - http
-
-# basePath: /www.omg.org/spec/API4KP/KnowledgeAssetRepository/v1.2
-
-
-paths:
-
-
- ####################################################################################################
- #
- # Knowledge Asset Catalog
- #
- ####################################################################################################
-
-
- /cat:
- get:
- tags:
- - Knowledge Asset Catalog
- #- core
- summary: Describe Knowledge Asset Catalog.
- description: |
- Returns a Knowledge Asset Catalog Resource that summarizes the capabilities of the Asset Repository.
- Dynamic information, such as the number of stored Assets, can be obtained querying the Knowledge Graph
- operationId: getKnowledgeAssetCatalog
- produces:
- - application/json
- - application/xml
- responses:
- 200:
- description: Success
- schema:
- $ref: '#/definitions/KnowledgeAssetCatalog'
- 403:
- description: |
- The client cannot access this repository
- 500:
- description: |
- Internal Error
-
-
- ####################################################################################################
-
-
- /cat/graph:
- get:
- tags:
- - Knowledge Asset Catalog
- summary: Get Knowledge Graph
- description: |
- Returns a copy of the graph that indexes the known Assets, Artifacts, their relationships, and semantic annotations, reflecting the state of the Repository at the moment the call is made.
-
- The native representation of the Graph (e.g. RDF) is server specific, but can be negotiated.
- operationId: getKnowledgeGraph
- produces:
- - application/json
- - application/xml
- parameters:
- - $ref: '#/parameters/extAccept'
- responses:
- 200:
- description: |
- A Knowledge Carrier that wrap the Knowledge Graph, as a Knowledge Artifact, with representation metadata.
- schema:
- $ref: '#/definitions/KnowledgeCarrier'
- 403:
- description: |
- The client does not have the necessary permissions
- 500:
- description: |
- Internal Error
- post:
- tags:
- - Knowledge Asset Catalog
- operationId: queryKnowledgeAssetGraph
- summary: Query Knowledge Graph
- description: |
- Allows the client to submit a query to the Knowledge Asset Graph using a query language supported by the server (e.g. GraphQL, SPARQL)
- parameters:
- - $ref: '#/parameters/graphQuery'
- responses:
- 200:
- description: |
- The query was executed successfully.
- Does not imply that any result will be returned
- schema:
- type: array
- items:
- $ref: '#/definitions/Bindings'
- 400:
- description: |
- The query contains errors
- 403:
- description: |
- The client does not have the necessary permissions
- 500:
- description: |
- Internal Error
- 501:
- description: |
- Not implemented
-
-
- ####################################################################################################
-
-
- /cat/assets:
- get:
- tags:
- - Knowledge Asset Catalog
- summary: List Knowledge Assets.
- description: |
- Returns a collection of Pointers to the Assets managed under this Catalog,
- i.e. such that a Canonical Knowledge Asset Surrogate has been registered.
- The collection will be empty if the repository is empty, or if only empty Knowledge Asset series have been created.
-
- Basic Filtering is allowed on asset type and annotations.
- The collection should also not include any Asset that the client does not have the permissions to access (i.e. getKnowledgeAsset would fail with a 403 status code). If the client has access to the repository, but does not have access to any of the assets currently contained, the returned collection will be empty.
-
- Pagination parameters are optionally supported.
- operationId: listKnowledgeAssets
- produces:
- - application/json
- - application/xml
- parameters:
- - $ref: '#/parameters/assetTypeTag'
- - $ref: '#/parameters/assetAnnotationTag'
- - $ref: '#/parameters/assetAnnotationConcept'
- # pageable # TODO inherit from common parameters shared across APIs
- - $ref: '#/parameters/offset'
- - $ref: '#/parameters/limit'
- responses:
- 200:
- description: |
- Returns a list of Pointers to Assets that the client has access to.
- schema:
- type: array
- items:
- $ref: '#/definitions/Pointer2'
- 403:
- description: |
- The client cannot access this repository
- 500:
- description: |
- Internal error
- post:
- tags:
- - Knowledge Asset Catalog
- summary: Create a new Knowledge Asset.
- description: |
- Creates a new empty Knowledge Asset (Series), assigning an asset ID in the process.
- operationId: initKnowledgeAsset
- produces:
- - application/json
- responses:
- 201:
- description: Success
- headers:
- Content-Location:
- type: string
- format: uri
- description: |
- URL where the new Knowledge Asset Series can be accessed
- schema:
- description: |
- The identifier of the newly created Knowledge Asset
- type: string
- format: uuid
- 403:
- description: |
- Client is not allowed to create new Assets
- 405:
- description: |
- Not supported - Repository is read only
- 500:
- description: |
- Internal error
- 501:
- description: |
- Not implemented
-
-
-
-
-
- ####################################################################################################
-
- /cat/assets/{assetId}:
- get:
- tags:
- - Knowledge Asset Catalog
- summary: Retrieve a Knowledge Asset.
- #TODO "published" state is not yet supported
- description: |
- Retrieves the LATEST version of a Knowledge Asset.
-
- In particular, the server SHALL return the LATEST version of the Canonical Surrogate for the LATEST version of the Asset.
- Content negotiation SHALL be only supported for text/html variants of the Surrogate.
- Support for more general forms of Surrogates, and negotiation thereof, is provided by getKnowledgeAssetSurrogate and its related operations.
-
- operationId: getKnowledgeAsset
- produces:
- - application/json
- - application/xml
- - text/html
- parameters:
- - $ref: '#/parameters/assetId'
- # negotiable
- - $ref: '#/parameters/extAccept'
- responses:
- 200:
- description: Success
- schema:
- $ref: '#/definitions/KnowledgeAsset2'
- 303:
- description: |
- Redirects the client to a URL where the Canonical Surrogate,
- or its HTML variant, can be retrieved
- headers:
- Location:
- type: string
- 403:
- description: |
- Client is not allowed to access the Assets
- 404:
- description: |
- Asset not found
- 406:
- description: |
- The requested format is not supported
- 500:
- description: |
- Internal error
- 501:
- description: |
- Not implemented
-
-
-
-
-
-
-
-
-
-
- ####################################################################################################
-
- /cat/assets/{assetId}/versions:
- get:
- tags:
- - Knowledge Asset Catalog
- summary: Get all versions of a Knowledge Asset Surrogate.
- description: |
- Returns a list of all the available versions of a Knowledge Asset that a user is allowed to access.
- An Asset Series may be empty if no versions have been established.
-
- For each Asset version, returns a pointer to the LATEST Canonical Surrogate for that Asset version
- operationId: listKnowledgeAssetVersions
- produces:
- - application/json
- - application/xml
- parameters:
- - $ref: '#/parameters/assetId'
- # pageable
- - $ref: '#/parameters/offset'
- - $ref: '#/parameters/limit'
- #series
- - $ref: '#/parameters/beforeTag'
- - $ref: '#/parameters/afterTag'
- #sortable
- - $ref: '#/parameters/sort'
- responses:
- 200:
- description: |
- Success
- schema:
- type: array
- items:
- $ref: '#/definitions/Pointer2'
- 403:
- description: |
- Client is not allowed to access the Asset
- 404:
- description: |
- Asset not found
- 500:
- description: |
- Internal error
-
-
- /cat/assets/{assetId}/versions/{versionTag}:
- get:
- tags:
- - Knowledge Asset Catalog
- summary: Retrieves a specific version of a Knowledge Asset.
- description: |
- Retrieves the LATEST version of the Canonical Surrogate that describes the given version of a Knowledge Asset.
- operationId: getKnowledgeAssetVersion
- produces:
- - application/json
- - application/xml
- - text/html
- parameters:
- - $ref: '#/parameters/assetId'
- - $ref: '#/parameters/versionTag'
- # negotiable
- - $ref: '#/parameters/extAccept'
- responses:
- 200:
- description: |
- The Asset Version has been located and retrieved.
- schema:
- $ref: '#/definitions/KnowledgeAsset2'
- 403:
- description: |
- Client is not allowed to access the Asset
- 404:
- description: |
- Asset or Asset Version not found
- 500:
- description: |
- Internal error
-
- put:
- tags:
- - Knowledge Asset Catalog
- summary: Set/Initialize a specific version of a Knowledge Asset
- description: |
- Populates/updates the Canonical Surrogate for the given version of a Knowledge Asset.
-
- The Client
- * MUST provide a Valid Surrogate
- * that Surrogate's declared Asset ID and version Tag MUST match the {assetId} and {versionTag} parameters
- * the Surrogate MUST have an explicit version tag
-
- The Server SHALL validate the Surrogate for syntactic and semantic correctness and consistency.
-
- If an Asset version with the given ID does not exist, it will be created in the process, otherwise it will be updated.
- operationId: setKnowledgeAssetVersion
- consumes:
- - application/json
- - application/xml
- parameters:
- - $ref: '#/parameters/assetId'
- - $ref: '#/parameters/versionTag'
- - $ref: '#/parameters/assetSurrogate'
- responses:
- 204:
- description: |
- The given Surrogate has been set to provide metadata for a specific version of the given Knowledge Asset.
- 403:
- description: |
- The client does not have the adequate permissions
- 409:
- description: |
- The information contained in the Surrogate is invalid/inconsistent (including not matching the {assetId}/{versionTag}), or is incompatible with the Artifacts associated to the Asset.
- 500:
- description: |
- Internal error
- 501:
- description: |
- Not implemented
-
-
-
-
-
-
-
- ####################################################################################################
-
- /cat/assets/{assetId}/versions/{versionTag}/carrier:
- get:
- tags:
- - Knowledge Asset Repository
- summary: Retrieve the best Knowledge Carrier for a given Knowledge Asset.
- description: |
- Retrieves a Knowledge Artifact that is a Carrier of the given Asset, selecting between the variants using server-driven Content Negotiation.
-
- For a given version of a Knowledge Asset,
- * retrieves the LATEST Canonical surrogate for that version of the Asset
- * consults the representation metadata for each associated Carrier
- * selects the one that matches the preferences of the client
- * returns/redirects the client to a copy of the (LATEST version of the) chosen Artifact itself.
-
- operationId: getCanonicalKnowledgeAssetCarrier
- produces:
- - application/json
- - application/xml
- - text/html
- parameters:
- - $ref: '#/parameters/assetId'
- - $ref: '#/parameters/versionTag'
- # negotiable
- - $ref: '#/parameters/extAccept'
- responses:
- 200:
- description: |
- A suitable Knowledge Artifact could be retrieved
- schema:
- $ref: '#/definitions/KnowledgeCarrier'
- 300:
- description: |
- Negotiation failed, but suitable alternatives are present
- schema:
- type: array
- items:
- $ref: '#/definitions/Pointer2'
- 303:
- description: |
- Redirects the client to a URL where the chosen Artifact can be retrieved
- headers:
- Location:
- type: string
- 403:
- description: |
- The client does not have the adequate permissions
- 404:
- description: |
- Asset Version not found
- 406:
- description: |
- No suitable variant is available
- 500:
- description: |
- Internal error
- 501:
- description: |
- Not implemented
-
- /cat/assets/{assetId}/versions/{versionTag}/carriers:
- get:
- tags:
- - Knowledge Asset Repository
- summary: Lists the known Carriers for a given Knowledge Asset
- description: |
- Retrieves Pointers to all the (LATEST version of each) Knowledge Carriers of the given (version of) Knowledge Asset.
- The list may be empty if no Artifact is known, or if the user does not have access to a given Artifact.
-
- The list should be transparent with respect to Artifacts physically stored, linked or generated dynamically at runtime.
- operationId: listKnowledgeAssetCarriers
- produces:
- - application/json
- - application/xml
- parameters:
- - $ref: '#/parameters/assetId'
- - $ref: '#/parameters/versionTag'
- # pageable
- - $ref: '#/parameters/offset'
- - $ref: '#/parameters/limit'
- #series
- - $ref: '#/parameters/beforeTag'
- - $ref: '#/parameters/afterTag'
- #sortable
- - $ref: '#/parameters/sort'
- responses:
- 200:
- description: |
- Success
- schema:
- type: array
- items:
- $ref: '#/definitions/Pointer2'
- 403:
- description: |
- The client does not have the adequate permissions
- 404:
- description: |
- Asset Version not found
- 500:
- description: |
- Internal error
- 501:
- description: |
- Not implemented.
-
-
- post:
- tags:
- - Knowledge Asset Repository
- summary: Registers a new Carrier for a given Knowledge Asset
- description: |
- Registers a new Carrier for a given Knowledge Asset.
-
- The client-provided Carrier MUST match the Asset ID and version;
- The server SHALL use the Artifact ID and version provided by the client, which MUST not exist (the client should use setKnowledgeAssetCarrierVersion instead).
-
- The server MUST register the new Carrier in the Knowledge Graph, and update the Canonical
- Surrogate for the given Asset, incrementing the version of the Surrogate.
-
- The server COULD validate the new Carrier against the client-provided representation metadata.
-
- operationId: addKnowledgeAssetCarrier
- consumes:
- - application/json
- - application/xml
- parameters:
- - $ref: '#/parameters/assetId'
- - $ref: '#/parameters/versionTag'
- - $ref: '#/parameters/assetCarrier'
- responses:
- 201:
- description: Success
- headers:
- Content-Location:
- type: string
- format: uri
- description: |
- URL where the new version of the Knowledge Asset Carrier is accessible
- 403:
- description: |
- The client does not have permissions to add Artifacts to this Asset
- 404:
- description: |
- Asset Version not found
- 405:
- description: |
- The repository is read-only
- 406:
- description: |
- The provided Carrier (Artifact) cannot be inspected properly
- 409:
- description: |
- Artifact already exists with a different ID
- 500:
- description: |
- Internal error
- 501:
- description: |
- Not implemented
-
- /cat/assets/{assetId}/versions/{versionTag}/carriers/{artifactId}:
- get:
- tags:
- - Knowledge Asset Repository
- summary: Retrieves a specific Carrier for a given Knowledge Asset
- description: |
- Retrieves (a copy of) the LATEST version of the given Carrier of a given Asset.
-
- Content Negotiation can be used to drive transrepresentations of the specific Artifact,
- e.g. to ensure that the Artifact is transcribed between JSON and XML before being wrapped in the
- KnowledgeCarrier to be returned.
- operationId: getKnowledgeAssetCarrier
- produces:
- - application/json
- - application/xml
- parameters:
- - $ref: '#/parameters/assetId'
- - $ref: '#/parameters/versionTag'
- - $ref: '#/parameters/artifactId'
- # negotiable
- - $ref: '#/parameters/extAccept'
- responses:
- 200:
- description: |
- The identifiers can be resolved
- schema:
- $ref: '#/definitions/KnowledgeCarrier'
- 403:
- description: |
- The client does not have the necessary rights.
- 404:
- description: |
- Asset Version or Artifact not found
- 500:
- description: |
- Internal error
-
- /cat/assets/{assetId}/versions/{versionTag}/carriers/{artifactId}/versions:
- get:
- tags:
- - Knowledge Asset Repository
- summary: Lists the version history of the Knowledge Asset Carrier.
- description: |
- Returns Pointers to all the Versions of a Knowledge Asset Carrier, if any.
- operationId: listKnowledgeAssetCarrierVersions
- produces:
- - application/json
- - application/xml
- parameters:
- - $ref: '#/parameters/assetId'
- - $ref: '#/parameters/versionTag'
- - $ref: '#/parameters/artifactId'
- responses:
- 200:
- description: |
- Success
- schema:
- type: array
- items:
- $ref: '#/definitions/Pointer2'
- 403:
- description: |
- The client does not have the adequate permissions
- 404:
- description: |
- Asset Version or Carrier not found
- 500:
- description: |
- Internal error
- 501:
- description: |
- Not implemented.
-
- /cat/assets/{assetId}/versions/{versionTag}/carriers/{artifactId}/versions/{artifactVersionTag}:
- get:
- tags:
- - Knowledge Asset Repository
- summary: Retrieves a specific Carrier for a given Knowledge Asset
- description: |
- Retrieves (a copy of) a specific version of an Artifact that carries a specific version of a Knowledge Asset.
-
- Content Negotiation can be used to drive transrepresentations of the specific Artifact version,
- e.g. to ensure that the Artifact is transcribed between JSON and XML before being wrapped in the
- KnowledgeCarrier to be returned.
- operationId: getKnowledgeAssetCarrierVersion
- produces:
- - application/json
- - application/xml
- parameters:
- - $ref: '#/parameters/assetId'
- - $ref: '#/parameters/versionTag'
- - $ref: '#/parameters/artifactId'
- - $ref: '#/parameters/artifactVersionTag'
- # negotiable
- - $ref: '#/parameters/extAccept'
- responses:
- 200:
- description: |
- The identifiers can be resolved
- schema:
- $ref: '#/definitions/KnowledgeCarrier'
- 403:
- description: |
- The client does not have the necessary rights.
- 404:
- description: |
- Asset or Artifact Version not found
- 500:
- description: |
- Internal error
-
- /cat/assets/{assetId}/versions/{versionTag}/carriers/{artifactId}/versions/{artifactVersionTag}/content:
- put:
- tags:
- - Knowledge Asset Repository
- summary: Registers a (version of a) Carrier for a given Knowledge Asset
- description: |
- Registers a Knowledge Artifact as the Carrier of a Knowledge Asset, based on the raw content of the Artifact.
-
- The Canonical Asset Surrogate SHOULD have been populated with metadata about the Artifac, but the server
- COULD either validate or try to infer more metadata for the specific Artifact version.
- If (and only if) the Surrogate is updated in the process, its version MUST be incremented.
-
- operationId: setKnowledgeAssetCarrierVersion
- consumes:
- - application/octet-stream
- produces:
- - application/json
- - application/xml
- parameters:
- - $ref: '#/parameters/assetId'
- - $ref: '#/parameters/versionTag'
- - $ref: '#/parameters/artifactId'
- - $ref: '#/parameters/artifactVersionTag'
- - $ref: '#/parameters/exemplar'
- responses:
- 204:
- description: |
- The Artifact has been uploaded correctly, and associated to the Knowledge Asset
- 403:
- description: |
- The user does not have the required permissions
- 404:
- description: |
- Asset and/or Artifact Version not found
- 409:
- description: |
- The provided Artifact is inconsistent with the current Asset metadata
- 500:
- description: |
- Internal error
- 501:
- description: |
- Not implemented
-
-
-
-
- /cat/assets/{assetId}/versions/{versionTag}/surrogate:
- get:
- tags:
- - Knowledge Asset Repository
- summary: Retrieve the Canonical Knowledge Asset Surrogate, as a Knowledge Artifact.
- description: |
- Returns the LATEST version of the Canonical Surrogate of the referenced Asset (version), wrapped in a Knowledge Carrier, so that it can be consumed as a Knowledge Artifact.
-
- Supports content negotiation, allowing to retrieve this Surrogate in variant forms, if supported.
-
- If content negotiation is not used, the Surrogate in response Knowledge Carrier is identical to the Surrogate returned invoking getKnowledgeAssetVersion for the same Asset ID and version.
- operationId: getCanonicalKnowledgeAssetSurrogate
- produces:
- - application/json
- - application/xml
- - text/html
- parameters:
- - $ref: '#/parameters/assetId'
- - $ref: '#/parameters/versionTag'
- # negotiable
- - $ref: '#/parameters/extAccept'
- responses:
- 200:
- description: |
- A suitable representation of the Knowledge Surrogate could be retrieved
- schema:
- $ref: '#/definitions/KnowledgeCarrier'
- 300:
- description: |
- Negotiation failed, but suitable alternatives are present
- schema:
- type: array
- items:
- $ref: '#/definitions/Pointer2'
- 403:
- description: |
- The client does not have the adequate permissions
- 404:
- description: |
- Asset Version not found
- 406:
- description: |
- No suitable variant is available
- 500:
- description: |
- Internal error
- 501:
- description: |
- Not implemented
-
- post:
- tags:
- - Knowledge Asset Repository
- summary: Adds a (Composite) Knowledge Asset.
- description: |
- Allows a client to initialize a (Composite) Knowledge Asset, publishing metadata and registering relationships in the process.
-
- The client MUST provide a KnowledgeCarrier whose assetId coincides with the given Asset ID and version, and the Artifact MUST be a Canonical Knowledge Asset Surrogate for the given Asset.
-
- This operation is atomically equivalent to (initKnowledgeAsset o setKnowledgeAssetVersion).
-
- The operation MUST also supports Composite Assets. The client MUST provide a CompositeKnowledgeCarrier, which can be SET-based, TREE-based or GRAPH-based.
- The root of the (set/)tree/graph, if any, MUST NOT be the given Asset, to preserve
- the distinction between the Composite and its Components.
-
- If these conditions are met, the operation is invoked recursively on the components, which MUST all contain canonical Knowledge Asset Surrogates.
- The Struct MUST be merged with the repository's Knowledge Graph, and should not be inconsistent with any relationship that can be inferred from the individual Surrogates during their registration.
-
- Anonymous Composite Assets are treated like other Assets. The components, and relatioships thereof, will be persisted. However, the Composite itself, and the 'hasPart' relationship, will not.
-
- operationId: addCanonicalKnowledgeAssetSurrogate
- produces:
- - application/json
- parameters:
- - $ref: '#/parameters/assetId'
- - $ref: '#/parameters/versionTag'
- - $ref: '#/parameters/surrogateCarrier'
- responses:
- 201:
- description: Success
- 403:
- description: |
- Client is not allowed to create new Assets
- 405:
- description: |
- Not supported - Repository is read only
- 406:
- description: |
- The server cannot translate the Carrier into a canonical Surrogate
- 409:
- description: |
- The identifiers on the Carrier and the provided Surrogate do not match this asset
- 500:
- description: |
- Internal error
- 501:
- description: |
- Not implemented
-
- /cat/assets/{assetId}/versions/{versionTag}/surrogates:
- get:
- tags:
- - Knowledge Asset Repository
- summary: Lists the known Surrogates for a given Knowledge Asset
- description: |
- Retrieves Pointers to the various Surrogates for the given Asset version.
-
- The response MUST include the Canonical Knowledge Asset Surrogate, as returned by 'getCanonicalKnowledgeAssetSurrogate'
- operationId: listKnowledgeAssetSurrogates
- produces:
- - application/json
- - application/xml
- parameters:
- - $ref: '#/parameters/assetId'
- - $ref: '#/parameters/versionTag'
- # pageable
- - $ref: '#/parameters/offset'
- - $ref: '#/parameters/limit'
- #series
- - $ref: '#/parameters/beforeTag'
- - $ref: '#/parameters/afterTag'
- #sortable
- - $ref: '#/parameters/sort'
- responses:
- 200:
- description: |
- Success
- schema:
- type: array
- items:
- $ref: '#/definitions/Pointer2'
- 403:
- description: |
- The client does not have the adequate permissions
- 404:
- description: |
- Asset Version not found
- 500:
- description: |
- Internal error
- 501:
- description: |
- Not implemented.
-
- post:
- tags:
- - Knowledge Asset Repository
- summary: Registers a new Surrogate for a given Knowledge Asset
- description: |
- Registers a new, alternative (non-canonical) Surrogate for a given Knowledge Asset.
-
- The client-provided Carrier MUST match the Asset ID and version;
- The server SHALL use the Artifact ID and version provided by the client as a Surrogate Id,
- which MUST not exist, or a Conflict will be raised.
-
- In particular, this operation MUST not try to update the Canonical Surrogate,
- and will reject an alternative Surrogate that uses the canonical surrogate metamodel.
- (clients should use setKnowledgeAssetVersion instead)
-
- The server MUST register the new Surrogate in the Knowledge Graph, and update the Canonical
- Surrogate for the given Asset, incrementing the version of the Surrogate.
-
- operationId: addKnowledgeAssetSurrogate
- consumes:
- - application/json
- - application/xml
- parameters:
- - $ref: '#/parameters/assetId'
- - $ref: '#/parameters/versionTag'
- - $ref: '#/parameters/surrogateCarrier'
- responses:
- 201:
- description: Success
- headers:
- Content-Location:
- type: string
- format: uri
- description: |
- URL where the new version of the Knowledge Asset Surrogate is accessible
- 403:
- description: |
- The client does not have permissions to add Surrogates to this Asset
- 404:
- description: |
- Asset Version not found
- 405:
- description: |
- The repository is read-only
- 406:
- description: |
- The provided Carrier (Surrogate) cannot be inspected properly
- 409:
- description: |
- A different Surrogate with the same ID and version already exists
- 500:
- description: |
- Internal error
- 501:
- description: |
- Not implemented
-
- /cat/assets/{assetId}/versions/{versionTag}/surrogates/{surrogateId}/versions:
- get:
- tags:
- - Knowledge Asset Repository
- summary: Lists the version history of the Knowledge Asset Surrogate.
- description: |
- Returns Pointers to all the Versions of a given Knowledge Asset Surrogate, for a given Asset
- operationId: listKnowledgeAssetSurrogateVersions
- produces:
- - application/json
- - application/xml
- parameters:
- - $ref: '#/parameters/assetId'
- - $ref: '#/parameters/versionTag'
- - $ref: '#/parameters/surrogateId'
- # pageable
- - $ref: '#/parameters/offset'
- - $ref: '#/parameters/limit'
- #series
- - $ref: '#/parameters/beforeTag'
- - $ref: '#/parameters/afterTag'
- #sortable
- - $ref: '#/parameters/sort'
- responses:
- 200:
- description: |
- Success
- schema:
- type: array
- items:
- $ref: '#/definitions/Pointer2'
- 403:
- description: |
- The client does not have the adequate permissions
- 404:
- description: |
- Asset Version not found
- 500:
- description: |
- Internal error
- 501:
- description: |
- Not implemented.
-
- /cat/assets/{assetId}/versions/{versionTag}/surrogates/{surrogateId}/versions/{surrogateVersionTag}:
- get:
- tags:
- - Knowledge Asset Repository
- summary: Gets a specific version of the Knowledge Asset Surrogate.
- description: |
- Returns a copy of a specific version of a Knowledge Asset Surrogate for the given Asset.
-
- operationId: getKnowledgeAssetSurrogateVersion
- produces:
- - application/xml
- - application/json
- parameters:
- - $ref: '#/parameters/assetId'
- - $ref: '#/parameters/versionTag'
- - $ref: '#/parameters/surrogateId'
- - $ref: '#/parameters/surrogateVersionTag'
- # negotiable
- - $ref: '#/parameters/extAccept'
- responses:
- 200:
- description: |
- A suitable representation of the Knowledge Surrogate could be retrieved
- schema:
- $ref: '#/definitions/KnowledgeCarrier'
- 300:
- description: |
- Negotiation failed, but suitable alternatives are present
- schema:
- type: array
- items:
- $ref: '#/definitions/Pointer2'
- 403:
- description: |
- The client does not have the adequate permissions
- 404:
- description: |
- Asset Version not found
- 406:
- description: |
- No suitable variant is available
- 500:
- description: |
- Internal error
- 501:
- description: |
- Not implemented
-
-
-
- /cat/assets/{assetId}/versions/{versionTag}/composite/struct:
- get:
- tags:
- - Knowledge Asset Repository
- summary: Retrieve the Structure of a Composite Knowledge Asset.
- description: |
- Retrieves the Structure of the given Composite Knowledge Asset. The Structure is a Graph whose root node is a reference to the Composite Asset, and MUST contains 'has-part' relationships to other Assets.
- The structure SHOULD also contain 'depends-on' relationships, and the types and roles of the component Assets.
-
- All relationships in the Structure MUST reference specific versions of Knowledge Assets.
-
- The Graph itself is a Knowledge Artifact (e.g. expressed using some form of RDF) and, as such, is negotiable.
-
- If invoked on an atomic Knowledge Asset, returns a singleton Graph with one node corresponding to the Atomic Asset itself.
- operationId: getCompositeKnowledgeAssetStructure
- parameters:
- - $ref: '#/parameters/assetId'
- - $ref: '#/parameters/versionTag'
- # negotiable
- - $ref: '#/parameters/extAccept'
- produces:
- - application/json
- - application/xml
- responses:
- 200:
- description: |
- Success
- schema:
- $ref: '#/definitions/KnowledgeCarrier'
- 403:
- description: |
- The client cannot access the Asset
- 404:
- description: |
- Asset Version not found
- 500:
- description: |
- Internal error
- 501:
- description: |
- Not implemented
-
- post:
- tags:
- - Knowledge Asset Repository
- operationId: initCompositeKnowledgeAsset
- summary: Initializes a new Composite Knowledge Asset
- description: |
- Creates a new Composite Knowledge Asset, creating a new Structure using the given Asset and its relationships as a seed.
- More specifically, this operation behaves as follows
- (i) creates a brand new asset ID and version, as if initKnowledgeAsset had been invoked, to denote the new Composite Asset
- (ii) queries the Knowledge Asset Graph using the given Asset as a root, and traversing the transitive closure of the relationship type specified by the client (possibly up to a certain number of arcs)
- (iii) constructs a Struct graph from the result of the query, including the assertion of the 'part of' relationships
- (iv) assemble the Canonical Surrogates of the components into a result Composite Knowledge Carrier
- (v) optionally, use _introspection_ to generate a candidate Surrogate for the Composite Asset itself, which is also added to the CompositeKnowledgeCarrier
-
-
- Notice that this operation SHALL NOT persist the Surrogate for the new Composite Asset, nor update the Knowledge Asset Graph. Instead, it creates an empty Knowledge Asset Series (as per initKnowledgeAsset), and returns a candidate Composite Structure that the client can review and validate.
- If deemed adequate, the client can invoke 'addKnowledgeAssetVersion' to persist the results back
- parameters:
- - $ref: '#/parameters/assetId'
- - $ref: '#/parameters/versionTag'
- - $ref: '#/parameters/assetRelationshipTag'
- - $ref: '#/parameters/depth'
- produces:
- - "application/json"
- - "application/xml"
- responses:
- 200:
- description: Success
- schema:
- type: array
- items:
- $ref: '#/definitions/KnowledgeCarrier'
- 403:
- description: |
- The client cannot access the Asset
- 404:
- description: |
- Asset Version not found
- 500:
- description: |
- Internal error
- 501:
- description: |
- Not implemented
-
- /cat/assets/{assetId}/versions/{versionTag}/composite/surrogate:
- get:
- tags:
- - Knowledge Asset Repository
- summary: Assembles a Composite Knowledge Asset Surrogate using the Surrogates of the components
- description: |
- Given a Composite Knowledge Asset, the server SHALL consult the Structure to determine its Components,
- retrieve the Surrogate for each Component, and _assemble_ them into a Composite Knowledge Carrier.
-
- The Surrogate SHOULD be the Canonical surrogate, unless Content Negotiation is used, and better alternatives
- can fit the client's request. Content Negotiation can also be used to apply some trans*tion to the
- Canonical Surrogates before returning them (e.g. projection by profile, or transcription between JSON vs XML).
-
- The server MIGHT also support the _flattening_ of the Surrogates into a single Surrogate, if such an operation
- is defined for the retrieved Surrogates.
- operationId: getCompositeKnowledgeAssetSurrogate
- parameters:
- - $ref: '#/parameters/assetId'
- - $ref: '#/parameters/versionTag'
- - $ref: '#/parameters/flat'
- - $ref: '#/parameters/extAccept'
- produces:
- - application/json
- - application/xml
- responses:
- 200:
- description: |
- Success
- schema:
- $ref: '#/definitions/CompositeKnowledgeCarrier'
- 300:
- description: |
- The Composite Asset cannot be assembled in the desired format, but alternatives are available
- schema:
- type: array
- items:
- $ref: '#/definitions/Pointer2'
- 403:
- description: |
- The client cannot access the Asset
- 404:
- description: |
- Asset Version not found
- 406:
- description: |
- The Artifact(s) cannot be delivered using the desired representation(s), and no alternatives are available
- 500:
- description: |
- Internal error
- 501:
- description: |
- Not implemented
- post:
- tags:
- - Knowledge Asset Repository
- summary: Assembles an Anonymous Composite Knowledge Asset Surrogate using an Asset and its relationships as a seed
- description: |
- Given an existing Knowledge Asset, executes a query that selects one or more Assets
- based on a posted query.
- The query's result bindings are treated as Asset Ids, resolved, and used to construct
- an Anonymous Composite Knowledge Asset Surrogate
- operationId: getAnonymousCompositeKnowledgeAssetSurrogate
- parameters:
- - $ref: '#/parameters/assetId'
- - $ref: '#/parameters/versionTag'
- - $ref: '#/parameters/graphQuery'
- - $ref: '#/parameters/extAccept'
- produces:
- - application/json
- - application/xml
- responses:
- 200:
- description: |
- Success
- schema:
- $ref: '#/definitions/CompositeKnowledgeCarrier'
- 403:
- description: |
- The client cannot access the Asset
- 404:
- description: |
- Asset Version not found
- 500:
- description: |
- Internal error
- 501:
- description: |
- Not implemented
-
-
- /cat/assets/{assetId}/versions/{versionTag}/composite/carrier:
- get:
- tags:
- - Knowledge Asset Repository
- summary: Assembles a (Composite) Knowledge Artifact that is a manifestation of the given Composite Knowledge Asset.
- description: |
- Given a Composite Knowledge Asset, the server SHALL either
- (i) determine if there is a (flat) Carrier for that Composite Asset, or
- (ii) consult the Structure to determine the Components, retrieve a Carrier for each Component, and _assemble_ them into a Composite Knowledge Carrier.
-
- The choice between (i) and (ii) is dictated by the flat parameter.
- If true, (i) will be attempted first, then (ii), and finally a flattening will be attempted.
- If false, (ii) will be executed
-
- The server SHOULD honor Content Negotiation in the choice of artifacts, and respond with a 406 code if the client preferences (extAccept, flat) cannot be satisfied. The server MIGHT also be lenient, and fall back to either strategy if the other fails.
- operationId: getCompositeKnowledgeAssetCarrier
- parameters:
- - $ref: '#/parameters/assetId'
- - $ref: '#/parameters/versionTag'
- - $ref: '#/parameters/flat'
- - $ref: '#/parameters/extAccept'
- produces:
- - application/json
- - application/xml
- responses:
- 200:
- description: |
- Success
- schema:
- $ref: '#/definitions/CompositeKnowledgeCarrier'
- 300:
- description: |
- The Composite Artifact cannot be assembled in the desired format, but alternatives are available
- schema:
- type: array
- items:
- $ref: '#/definitions/Pointer2'
- 403:
- description: |
- The client cannot access the Asset
- 404:
- description: |
- Asset Version not found
- 406:
- description: |
- The Artifact(s) cannot be delivered using the desired representation(s), and no alternatives are available
- 500:
- description: |
- Internal error
- 501:
- description: |
- Not implemented
- post:
- tags:
- - Knowledge Asset Repository
- summary: Assembles an Anonymous Composite Knowledge Asset Carrier using an Asset and its relationships as a seed
- description: |
- Given an existing Knowledge Asset, executes a query that selects one or more Assets
- based on a posted query.
- The query's result bindings are treated as Asset Ids, resolved, mapped to a Carrier
- Artifact, and used to construct an Anonymous Composite Knowledge Artifact
- operationId: getAnonymousCompositeKnowledgeAssetCarrier
- parameters:
- - $ref: '#/parameters/assetId'
- - $ref: '#/parameters/versionTag'
- - $ref: '#/parameters/graphQuery'
- - $ref: '#/parameters/extAccept'
- produces:
- - application/json
- - application/xml
- responses:
- 200:
- description: |
- Success
- schema:
- $ref: '#/definitions/CompositeKnowledgeCarrier'
- 403:
- description: |
- The client cannot access the Asset
- 404:
- description: |
- Asset Version not found
- 500:
- description: |
- Internal error
- 501:
- description: |
- Not implemented
-
-
-
-parameters:
-
- assetTypeTag:
- in: query
- name: assetTypeTag
- required: false
- type: string
- description: |
- An unqualified, codified term ("tag") that identifies a type, category or class of Knowledge Assets defined in some ontology
- or classification scheme known to the server.
-
- assetAnnotationTag:
- in: query
- name: assetAnnotationTag
- required: false
- type: string
- description: |
- An unqualified, codified term ("tag") that identifies a relationship between a Knowledge Assets and a concept.
- The relationship must be defined in some ontology known to the server.
-
- assetAnnotationConcept:
- in: query
- name: assetAnnotationConcept
- required: false
- type: string
- format: uri
- description: |
- A fully qualified (URI) term that denotes a concept that can be used to annotate assets.
-
- assetRelationshipTag:
- in: query
- name: assetRelationshipTag
- required: false
- type: string
- description: |
- An unqualified, codified term ("tag") that identifies a relationship between two Knowledge Assets.
- The relationship must be defined in some ontology known to the server.
-
- assetId:
- in: path
- name: assetId
- required: true
- type: string
- format: uuid
- description: |
- The id of the Knowledge Asset (Series).
-
- versionTag:
- in: path
- name: versionTag
- required: true
- type: string
- description: |
- The version tag of a Versioned Entity. \n Versioned Identifiers identify specific, Immutable Versions of Mutable Entities, which reflect the state of that Entity at a given point in time. Where a version(ed) identifier is universal, the Tag represents the local part of that identifier, under the scope of the identifier that denotes the Entity (series).
-
- artifactId:
- in: path
- name: artifactId
- required: true
- type: string
- format: uuid
- description: |
- The id of the Knowledge Artifact that carries a concrete expression of a Knowledge Asset.
-
- surrogateId:
- in: path
- name: surrogateId
- required: true
- type: string
- format: uuid
- description: |
- The id of the Knowledge Artifact that carries a metadata record about a Knowledge Asset.
-
- artifactVersionTag:
- in: path
- name: artifactVersionTag
- required: true
- type: string
- description: |
- The version tag a (version of a) Knowledge Artifact
-
-
- surrogateVersionTag:
- in: path
- name: surrogateVersionTag
- required: true
- type: string
- description: |
- The version tag a (version of a) Knowledge Asset Surrogate
-
-
- depth:
- in: query
- name: depth
- required: false
- type: integer
- description: |
- The maximum allowed relationship-induced distance between two assets. Two assets X and Y have distance N if there exist other N-1 distinct assets W such that A is related to W1, W1 is related to W2, .., Wn-1 is related to Y.
-
- flat:
- in: query
- name: flat
- required: false
- type: boolean
- description: |
- Determines whether a Composite Asset should be flattened into a single Asset, or its Component Assets should be maintained separate.
-
-
- extAccept:
- in: header
- name: X-Accept
- required: false
- type: string
- description: |
- A MIME Type that codifies the syntactic representation of a Knowledge Artifact, as accepted by the client in a content negotiation sense.
-
- assetSurrogate:
- in: body
- name: assetSurrogate
- required: false
- schema:
- $ref: '#/definitions/KnowledgeAsset2'
- description: |
- The Surrogate of a Knowledge Asset.
-
- surrogateCarrier:
- in: body
- name: surrogateCarrier
- required: true
- schema:
- $ref: '#/definitions/KnowledgeCarrier'
- description: |
- The Surrogate of a Knowledge Asset, wrapped in a Knowledge Carrier.
-
- assetCarrier:
- in: body
- name: assetCarrier
- required: true
- schema:
- $ref: '#/definitions/KnowledgeCarrier'
- description: |
- The manifestation of a Knowledge Asset, wrapped as a Knowledge Carrier.
-
-
- exemplar:
- in: body
- name: exemplar
- required: false
- schema:
- type: string
- format: binary
- description: |
- A Knowledge Artifact that carries an exemplar of a Knowledge Assets.
-
-
- #TODO - Should be moved to a common file
-
- graphQuery:
- in: body
- name: graphQuery
- required: true
- schema:
- $ref: '#/definitions/KnowledgeCarrier'
- description: |
- The query, wrapped in a KnowledgeCarrier that must state in what language the query is expressed
-
- beforeTag:
- in: query
- name: beforeTag
- required: false
- type: string
- description: |
- Restricts the series to include only versions before (included) a given version Tag.
- Assumes the underlying versioning scheme has at least a partial ordering defined.
- afterTag:
- in: query
- name: afterTag
- required: false
- type: string
- description: |
- Restricts the series to include only versions after (included) a given version Tag.
- Assumes the underlying versioning scheme has at least a partial ordering defined.
-
- sort:
- in: query
- name: sort
- required: false
- type: string
- default: "asc"
- description: |
- Allows to sort a collection by one ore more properties.
-
- offset:
- in: query
- name: offset
- type: integer
- required: false
- description: |
- Filters elements in a collection, returning all elements after the 'offset' index included,
- ignoring all previous elements.
- limit:
- in: query
- name: limit
- type: integer
- required: false
- description: |
- Returns up to the given number of elements in a collection.
-
-
-
-definitions:
-
- Pointer2:
- type: object
-
- KnowledgeCarrier:
- type: object
- description: |
- A Resource that wraps a Serialized, Encoded Knowledge Artifact
-
- CompositeKnowledgeCarrier:
- type: object
- description: |
- A Specialized KnowledgeCarrier for composite Artifacts (Surrogates and Carriers)
-
-
- KnowledgeAsset2:
- title: Knowledge Asset Surrogate
- type: object
- description: |
- A Resource that contains descriptive information about a specific version of a
- Knowledge Asset, as well as its known Representations and/or Manifestations.
- The actual content model is implementation specific, so the adopted language specification
- must be manifested by the Knowledge Asset Catalog.
-
- KnowledgeAssetCatalog:
- title: Knowledge Asset Catalog
- type: object
- description: |
- A Resource that provides a summary of the features of a Catalog at a given point in time,
- including the categories and types of Assets it supports, and the model/schema used to represent Assets' descriptions.
-
- Bindings:
- title: Bindings
- type: object
- description: |
- A key/value pair map that binds the variables of a query to the result answer
-
-
-schemes:
- - https
-# Added by API Auto Mocking Plugin
-basePath: /omg.org/spec/API4KP/20200801/api/repository/asset/v4
\ No newline at end of file
diff --git a/openapi/v2/org/omg/spec/api4kp/4.0.0/knowledgeBase.yaml b/openapi/v2/org/omg/spec/api4kp/4.0.0/knowledgeBase.yaml
deleted file mode 100644
index af611fd..0000000
--- a/openapi/v2/org/omg/spec/api4kp/4.0.0/knowledgeBase.yaml
+++ /dev/null
@@ -1,370 +0,0 @@
-swagger: '2.0'
-info:
- description: |
- Maturity - VERY LOW (highly subject to disruptive changes)
-
- The Knowledge Base (KB) Construction APIs allow to compose one or more Knowledge Assets into
- Knowledge Bases that are suitable for processing/reasoning.
- The process, which is driven by metadata (surrogates), involves the retrieval, normalization,
- and structuring of Knowledge Artifacts that manifest the components of the Knowledge Base itself.
-
- As such, implementations of this API are likely to depend on the API4KP Knowledge Trans*ion APIs
- and, more loosely, on the API4KP Knowledge Asset Repository API.
- This API, in turn, is designed to be a dependency of the API4PK Reasoning/Inference APIs.
-
- The API is inspired by the State monad. Knowledge Bases are incubated within the server from their
- initialization, through their construction, until their finalization and retrieval.
- As operations are applied to manipulate the KB, new versions are constructed ensuring reproducibility
- and traceabiilty.
-
- Implementations, however, are not required nor guaranteed to be transactional.
- version: "4.0.0"
- title: KnowledgeBase API
-
- contact:
- email: Sottara.Davide@mayo.edu
-
- license:
- name: Apache 2.0
- url: http://www.apache.org/licenses/LICENSE-2.0.html
-
-tags:
-
- - name: Compositional
- description: |
- APIs for the manipulation of Composite Assets and Artifacts, including Knowledge Bases
- - name: KnowledgeBase
- description: |
- Construct KnowledgeBases
- - name: Binding
- description: |
- TODO - should this be Language? or KB?
-
-paths:
-
-
-##########################################################################################
-
- #/composers:
-
- /constructors:
- post:
- tags:
- - Compositional
- operationId: constructCompositeAsset
- summary: 'Constructs a Composite Knowledge Asset'
- description: |
- Creates a new Composite Knowledge Asset (with a new AssetID), which is manifested
- by means of its 'structure'.
- The client is responsible to provide a 'definition', expressed in some query language
- (e.g. SPARQL), which should cover both extensional (i.e. enumerated) and intensional
- (i.e. query proper) ways to select component assets and their relationships.
- The server is expected to run that definition against a substrate, such as a Knowledge
- Asset Repository.
- The server will return a KnowledgeCarrier, wrapping the graph that results from the
- application of the definition with minimal asset metadata (id, version) and information
- on how the graph itself is represented.
-
- The client can use the structure to assemble a Composite Asset Surrogate, or a Composite
- Artifact, which in turn could be fed to an Introspector to infer an overall Surrogate
- for the composite itself
- parameters:
- - $ref: '#/parameters/structDefinition'
- responses:
- 200:
- description: |
- A knowledge carrier that wraps a Structuring Artifact
- - a (manifestation of a) graph that describes how other Assets are
- organized and related to each other in a Composite Asset
- schema:
- $ref: '#/definitions/KnowledgeCarrier'
-
- /constructors/assemblers:
- post:
- tags:
- - Compositional
- operationId: assembleCompositeArtifact
- summary: 'Constructs a Composite Knowledge Artifact'
- description: |
- TODO
- parameters:
- - $ref: '#/parameters/struct'
- responses:
- 200:
- description: |
- TODO
- schema:
- $ref: '#/definitions/KnowledgeCarrier'
-
- /constructors/flatteners:
- post:
- tags:
- - Compositional
- operationId: flattenArtifact
- summary: 'Flattens a (Composite) Knowledge Artifact'
- description: |
- TODO
- parameters:
- - $ref: '#/parameters/kbaseComponent'
- - $ref: '#/parameters/rootAssetId'
- responses:
- 200:
- description: |
- TODO
- schema:
- $ref: '#/definitions/KnowledgeCarrier'
-
-
-
-##########################################################################################
-
- /knowledgebases:
- post:
- tags:
- - KnowledgeBase
- operationId: initKnowledgeBase
- summary: 'Create empty Knowledge Base'
- description: |
- Creates an empty knowledge base, returning a pointer to the new KB.
- Version tags are used by the server to denote the states of the KB
- at each construction stage.
- parameters:
- - $ref: '#/parameters/asset'
- responses:
- 200:
- description: A reference to a newly created knowledgebase
- schema:
- $ref: '#/definitions/Pointer2'
-
-
- /knowledgebases/{kbaseId}:
- get:
- tags:
- - KnowledgeBase
- operationId: getKnowledgeBaseSeries
- summary: 'Get a history of the Knowledge Base'
- description: |
- Returns a trace of the history of a KB's construction process, by means of
- pointers to each state.
- parameters:
- - $ref: '#/parameters/kbaseId'
- responses:
- 200:
- description: The knowledgebase
- schema:
- type: array
- items:
- $ref: '#/definitions/Pointer2'
- delete:
- tags:
- - KnowledgeBase
- operationId: deleteKnowledgeBase
- summary: 'Deletes Knowledge Base (history)'
- parameters:
- - $ref: '#/parameters/kbaseId'
- description: |
- Removes all the states of a KnowledgeBase from the server
- - usually after the client has obtained a desired snapshot.
- Can be invoked for 'cleanup' purposes.
- responses:
- 200:
- description: Success
-
-
- /knowledgebases/{kbaseId}/versions/{versionTag}:
- get:
- tags:
- - KnowledgeBase
- operationId: getKnowledgeBase
- summary: 'Get a snapshot of a Knowledge Base'
- description: |
- Returns the state of a KnowledgeBase, manifested as a (possibly composite)
- Knowledge Artifact.
- #TODO - Should the client be able to negotiate the language/format?
- parameters:
- - $ref: '#/parameters/kbaseId'
- - $ref: '#/parameters/versionTag'
- responses:
- 200:
- description: The knowledgebase
- schema:
- $ref: '#/definitions/KnowledgeBase'
- post:
- tags:
- - KnowledgeBase
- operationId: populateKnowledgeBase
- summary: 'Adds a component to a Knowledge Base'
- description: |
- Supports the initial, and subsequent incremental, population of a KnowledgeBase
- through the addition of components, one at a time.
- The server will determine the exact operational nature of the incremental composition,
- depending on the type of assets and languages involved.
- parameters:
- - $ref: '#/parameters/kbaseId'
- - $ref: '#/parameters/versionTag'
- - $ref: '#/parameters/kbaseComponent'
- responses:
- 200:
- description: The ID of the newly created knowledgebase
- schema:
- $ref: '#/definitions/Pointer2'
-
- /knowledgebases/{kbaseId}/versions/{versionTag}/struct:
- get:
- tags:
- - KnowledgeBase
- operationId: getKnowledgeBaseStructure
- summary: 'Gets the Structure of a Knowledge Base'
- description: |
- Given a Knowledge Base (or a root asset that is interpreted as the 'seed' of a KB),
- returns a graph that describes the internal relationships
- parameters:
- - $ref: '#/parameters/kbaseId'
- - $ref: '#/parameters/versionTag'
- responses:
- 200:
- description: |
- A KnowledgeCarrier carrying the relationship graph
- schema:
- $ref: '#/definitions/KnowledgeCarrier'
-
-
-
- /knowledgebases/{kbaseId}/versions/{versionTag}/binders:
- post:
- tags:
- - Binding
- summary: 'Bind values to a formula with open variables'
- operationId: bind
- parameters:
- - $ref: '#/parameters/kbaseId'
- - $ref: '#/parameters/versionTag'
- - name: bindings
- in: body
- required: true
- schema:
- $ref: '#/definitions/Bindings'
- responses:
- 200:
- description: The bound expression
- schema:
- $ref: '#/definitions/Pointer2'
-
- /knowledgebases/{kbaseId}/versions/{versionTag}/weavers:
- post:
- tags:
- - Binding
- summary: 'Weave (fragments of) and artifact into a KB'
- operationId: weave
- parameters:
- - $ref: '#/parameters/kbaseId'
- - $ref: '#/parameters/versionTag'
- - name: aspects
- in: body
- required: true
- schema:
- $ref: '#/definitions/KnowledgeCarrier'
- responses:
- 200:
- description: |
- The new Knowledge Base resulting from the weaving
- schema:
- $ref: '#/definitions/Pointer2'
-
-definitions:
-
- KnowledgeAsset2:
- type: object
-
- KnowledgeCarrier:
- type: object
-
- KnowledgeBase:
- type: object
-
- Bindings:
- type: object
-
- Pointer2:
- type: object
-
-parameters:
-
- asset:
- in: body
- name: asset
- description: TODO
- required: false
- schema:
- $ref: '#/definitions/KnowledgeAsset2'
-
-
- rootAssetId:
- in: query
- name: rootAssetid
- required: false
- type: string
- format: uuid
- description: "The id of a root Knowledge Asset in a tree-based composite."
-
-
- assetId:
- in: path
- name: assetId
- required: true
- type: string
- description: "The id of the Knowledge Asset (Series)."
-
- kbaseId:
- in: path
- name: kbaseId
- description: TODO
- required: true
- type: string
- format: uuid
-
- lambdaId:
- in: path
- name: lambdaId
- description: |
- The identifier of a specific function to be used for processing
- required: true
- type: string
- format: uuid
-
- kbaseComponent:
- name: kbaseComponent
- in: body
- required: true
- schema:
- $ref: '#/definitions/KnowledgeCarrier'
-
- structDefinition:
- name: structDefinition
- in: body
- required: true
- schema:
- $ref: '#/definitions/KnowledgeCarrier'
-
- struct:
- name: struct
- in: body
- required: true
- schema:
- $ref: '#/definitions/KnowledgeCarrier'
-
-
- versionTag:
- in: path
- name: versionTag
- required: true
- type: string
- description: "The version tag of a Versioned Entity. \n Versioned Identifiers identify specific,
- Immutable Versions of Mutable Entities, which reflect the state of that Entity at a given point
- in time. Where a version(ed) identifier is universal, the Tag represents the local part of that
- identifier, under the scope of the identifier that denotes the Entity (series)."
-
-
-schemes:
- - https
-basePath: /omg.org/spec/API4KP/20200801/api/knowledgebase/v4
\ No newline at end of file
diff --git a/openapi/v2/org/omg/spec/api4kp/4.0.0/knowledgeTransrepresentation.yaml b/openapi/v2/org/omg/spec/api4kp/4.0.0/knowledgeTransrepresentation.yaml
deleted file mode 100644
index 9bde357..0000000
--- a/openapi/v2/org/omg/spec/api4kp/4.0.0/knowledgeTransrepresentation.yaml
+++ /dev/null
@@ -1,747 +0,0 @@
-swagger: '2.0'
-info:
- description: |
- Maturity - MEDIUM (subject to extensions)
-
- This API defines "syntactic" manipulations of Knowledge Artifacts, based on the stratified representational aspects
- of the Artifacts themselves (Language, profile, syntax/serialization, meta-format, encoding).
-
- Supports both 'vertical' operations (parsing/serialization), which preserve the Asset and the Langauge,
- and 'horizontal' operations (transrepresentations) which preserve the aspects up to a certain level,
- but map across variants at the same level.
-
- The API specializes the Knowledge Platform pattern. Components include one or more Operators, and each Operator
- supports an API4KP Operation.
- The Operator is the primary entity. For a given Operation type (detect, translate, etc), the server is expected
- to index one more operators. If multiple operators of the same kind exist, the server will play a broker role and
- use content negotiation to select the operator that is best fitting to satisfy a client's request.
- The Operators can also be discovered, directly or through the Components. The APIs are overloaded so that
- the client can interact with a specific Operator.
-
- Syntactic Operations are curried to consume a Knowledge Artifact (wrapped in a Knowledge Carrier),
- and return a wrapped KnowledgeCarrier, effectively behaving as functors in the functional programming sense.
-
- The Operators can be addressed by identifier, or by pattern matching on the Syntactic Representations they consume or produce.
- Patterns on the input will select operators that can process more equal or more general representations;
- patterns on the output will select operators that can produce equal or more specific representations than the pattern itself.
- Where necessary (e.g. as query/filter parameters), Syntactic Representations are encoded using formal MIME types.
-
- version: "4.0.0"
- title: Knowledge Asset Transrepresentation Service
-
-tags:
- - name: discovery
- description: Describe Server Capability
- - name: transxion
- description: Apply available cross-Language Transrepresentation Capabilities.
- - name: detect
- description: Detect Language(s) used in an Expression
- - name: validate
- description: Validate that an Expression conforms to a Language(s)
- - name: deserialize
- description: Lift (parse) or Lower (serialize) an Expression
-
-paths:
-
- ###################################################################################################
-
-
- /tranx/components:
- get:
- tags:
- - discovery
- summary: List available Transrepresentation Components
- description: |
- Enumerates the Transrepresentation Components that are supported by this server
- operationId: listTxComponents
- parameters:
- - $ref: '#/parameters/from'
- - $ref: '#/parameters/into'
- - $ref: '#/parameters/methodTag'
- responses:
- 200:
- description: Success
- schema:
- type: array
- items:
- $ref: '#/definitions/Transrepresentator'
-
- /tranx/components/{componentId}:
- get:
- tags:
- - discovery
- summary: Get Transrepresentation Component
- description: |
- Returns the description of a specific Transrepresentation Components,
- including the Operators it provides and the software library that
- this component is an instance of.
- operationId: getTxComponent
- parameters:
- - $ref: '#/parameters/componentId'
- responses:
- 200:
- description: Success
- schema:
- $ref: '#/definitions/Transrepresentator'
-
- /tranx/transxor:
- post:
- tags:
- - transxion
- summary: Applies a trans-representation operation.
- operationId: applyTransrepresent
- description: |
- Applies a trans-representation operation to a KnowledgeCarrier,
- selecting an Operator that supports the carrier's representation
- parameters:
- - $ref: '#/parameters/sourceArtifact'
- - $ref: '#/parameters/extAccept'
- - $ref: '#/parameters/params'
- responses:
- 200:
- description: The transformed artifact
- schema:
- $ref: '#/definitions/KnowledgeCarrier'
-
-
- /tranx/transxors:
- get:
- tags:
- - transxion
- summary: List available Transrepresentation Operators
- description: |
- Enumerates the Transrepresentation Operators that are supported by this server
- operationId: listTxionOperators
- parameters:
- - $ref: '#/parameters/from'
- - $ref: '#/parameters/into'
- responses:
- 200:
- description: Success
- schema:
- type: array
- items:
- $ref: '#/definitions/TransrepresentationOperator'
-
-
-
- /tranx/transxors/{operatorId}:
- get:
- tags:
- - transxion
- summary: Get Transrepresentation operator.
- operationId: getTxionOperator
- description: |
- Returns the description of a specific Transrepresentation Operator,
- including the kind of operation it provides, the representations
- (consumed and produced) and the accepted parameters
- parameters:
- - $ref: '#/parameters/operatorId'
- responses:
- 200:
- description: Success
- schema:
- $ref: '#/definitions/TransrepresentationOperator'
- post:
- tags:
- - transxion
- summary: Applies a trans-representation operation.
- operationId: applyNamedTransrepresent
- description: |
- Applies a known trans-representation operation to a KnowledgeCarrier
- parameters:
- - $ref: '#/parameters/operatorId'
- - $ref: '#/parameters/sourceArtifact'
- - $ref: '#/parameters/extAccept'
- - $ref: '#/parameters/params'
- responses:
- 200:
- description: The transformed artifact
- schema:
- $ref: '#/definitions/KnowledgeCarrier'
-
-
-
-
- ###################################################################################################
-
-
- /detect/components:
- get:
- tags:
- - discovery
- summary: List available Detector Components
- description: |
- Enumerates the Detection Components that are supported by this server
- operationId: listDetectComponents
- parameters:
- - $ref: '#/parameters/into'
- - $ref: '#/parameters/methodTag'
- responses:
- 200:
- description: Success
- schema:
- type: array
- items:
- $ref: '#/definitions/Detector'
-
- /detect/components/{componentId}:
- get:
- tags:
- - discovery
- summary: Get Detector Component
- description: |
- Returns the description of a specific Detector Components,
- including the Operators it provides and the software library that
- this component is an instance of.
- operationId: getDetectComponent
- parameters:
- - $ref: '#/parameters/componentId'
- responses:
- 200:
- description: Success
- schema:
- $ref: '#/definitions/Detector'
-
- /detect/detector:
- post:
- tags:
- - detect
- summary: Sets the representation(s) used in a given Artifact
- description: |
- Detects various aspects of the representation used in a Knowledge Artifact,
- and sets it on the Carrier itself. Will not attempt to re-evaluate any
- representation information that is already present on the input Carrier.
- operationId: applyDetect
- produces:
- - application/json
- - application/xml
- parameters:
- - $ref: '#/parameters/sourceArtifact'
- - $ref: '#/parameters/params'
- responses:
- 200:
- description: |
- A Knowledge Carrier that contains the same as, or an identical copy of,
- the input Artifact, enriched with the detected representation information
- schema:
- $ref: '#/definitions/KnowledgeCarrier'
-
- /detect/detectors:
- get:
- tags:
- - detect
- summary: List available Detection Operators
- description: |
- Enumerates the Detection Operators that are supported by this server
- operationId: listDetectionOperators
- parameters:
- - $ref: '#/parameters/into'
- responses:
- 200:
- description: Success
- schema:
- type: array
- items:
- $ref: '#/definitions/DetectionOperator'
-
- /detect/detectors/{operatorId}:
- get:
- tags:
- - detect
- summary: Get Detection operator.
- operationId: getDetectionOperator
- description: |
- Returns the description of a specific Transrepresentation Operator,
- including the kind of operation it provides, the representations
- (consumed and produced) and the accepted parameters
- parameters:
- - $ref: '#/parameters/operatorId'
- responses:
- 200:
- description: Success
- schema:
- $ref: '#/definitions/DetectionOperator'
- post:
- tags:
- - detect
- summary: Applies a trans-representation operation.
- operationId: applyNamedDetect
- description: |
- Applies a known detection operation to a KnowledgeCarrier
- parameters:
- - $ref: '#/parameters/operatorId'
- - $ref: '#/parameters/sourceArtifact'
- - $ref: '#/parameters/params'
- responses:
- 200:
- description: The transformed artifact
- schema:
- $ref: '#/definitions/KnowledgeCarrier'
-
- ###################################################################################################
-
-
- /valid/components:
- get:
- tags:
- - discovery
- summary: List available Validator Components
- description: |
- Enumerates the Validator Components that are supported by this server
- operationId: listValidationComponents
- parameters:
- - $ref: '#/parameters/from'
- - $ref: '#/parameters/methodTag'
- responses:
- 200:
- description: Success
- schema:
- type: array
- items:
- $ref: '#/definitions/Validator'
-
- /valid/components/{componentId}:
- get:
- tags:
- - discovery
- summary: Get Validator Component
- description: |
- Returns the description of a specific Validator Components,
- including the Operators it provides and the software library that
- this component is an instance of.
- operationId: getValidationComponent
- parameters:
- - $ref: '#/parameters/componentId'
- responses:
- 200:
- description: Success
- schema:
- $ref: '#/definitions/Validator'
-
- /valid/validator:
- post:
- tags:
- - validate
- summary: Determines if a given Artifact conforms to a given representation
- description: |
- Attempts to establish whether a given Knowledge Artifact is a valid expression
- of a given language, profile, lexicon and/or serialization"
- operationId: applyValidate
- produces:
- - application/json
- - application/xml
- parameters:
- - $ref: '#/parameters/sourceArtifact'
- - $ref: '#/parameters/params'
- responses:
- 200:
- description: |
- Success, if the validation succeeds
-
-
- /valid/validators:
- get:
- tags:
- - validate
- summary: List available Validation Operators
- description: |
- Enumerates the Validation Operators that are supported by this server
- operationId: listValidationOperators
- parameters:
- - $ref: '#/parameters/from'
- responses:
- 200:
- description: Success
- schema:
- type: array
- items:
- $ref: '#/definitions/ValidationOperator'
-
- /valid/validators/{operatorId}:
- get:
- tags:
- - validate
- summary: Get Validation operator.
- operationId: getValidationOperator
- description: |
- Returns the description of a specific Validation Operator,
- including the kind of operation it provides, the representations
- (consumed and produced) and the accepted parameters
- parameters:
- - $ref: '#/parameters/operatorId'
- responses:
- 200:
- description: Success
- schema:
- $ref: '#/definitions/ValidationOperator'
- post:
- tags:
- - validate
- summary: Applies a Validation operation.
- operationId: applyNamedValidate
- description: |
- Applies a known validation operation to a KnowledgeCarrier
- parameters:
- - $ref: '#/parameters/operatorId'
- - $ref: '#/parameters/sourceArtifact'
- - $ref: '#/parameters/params'
- responses:
- 200:
- description: |
- Success, if the validation succeeds
-
-
- ###################################################################################################
-
- /deser/components:
- get:
- tags:
- - discovery
- summary: List available Deserialization Components
- description: |
- Enumerates the Deserialization Components that are supported by this server
- operationId: listDeserializationComponents
- parameters:
- - $ref: '#/parameters/from'
- - $ref: '#/parameters/into'
- - $ref: '#/parameters/methodTag'
- responses:
- 200:
- description: Success
- schema:
- type: array
- items:
- $ref: '#/definitions/Deserializer'
-
- /deser/components/{componentId}:
- get:
- tags:
- - discovery
- summary: Get Deserialization Component
- description: |
- Returns the description of a specific Deserialization Components,
- including the Operators it provides and the software library that
- this component is an instance of.
- operationId: getDeserializationComponent
- parameters:
- - $ref: '#/parameters/componentId'
- responses:
- 200:
- description: Success
- schema:
- $ref: '#/definitions/Deserializer'
-
- /deser/lifter:
- post:
- tags:
- - deserialize
- summary: Parses a Knowledge Artifact
- description: |
- Decodes, deserializes and/or parses a Knowledge Artifact, ensuring that
- the resulting artifact is at the desired level.
-
- The optional extAccept parameter further constrains the extent and details of the parsing
- when multiple lifting alternatives are possible.
-
- If the input artifact is already at the desired level, the same artifact will be returned.
- If the input artifact is at a higher level, the operation will fail
- operationId: applyLift
- parameters:
- - $ref: '#/parameters/sourceArtifact'
- - $ref: '#/parameters/levelTag'
- - $ref: '#/parameters/extAccept'
- - $ref: '#/parameters/params'
- responses:
- 200:
- description: A Knowledge Artifact that is the deserialized version of the source artifact.
- schema:
- $ref: '#/definitions/KnowledgeCarrier'
-
- /deser/lifters:
- get:
- tags:
- - deserialize
- summary: List available Lifting Operators
- description: |
- Enumerates the Lifting Operators that are supported by this server
- operationId: listLiftOperators
- parameters:
- - $ref: '#/parameters/from'
- - $ref: '#/parameters/into'
- responses:
- 200:
- description: Success
- schema:
- type: array
- items:
- $ref: '#/definitions/DeserializationOperator'
-
- /deser/lifters/{operatorId}:
- get:
- tags:
- - deserialize
- summary: Get Lifting operator.
- operationId: getLiftOperator
- description: |
- Returns the description of a specific Lift Operator,
- including the kind of operation it provides, the representations
- (consumed and produced) and the accepted parameters
- parameters:
- - $ref: '#/parameters/operatorId'
- responses:
- 200:
- description: Success
- schema:
- $ref: '#/definitions/DeserializationOperator'
- post:
- tags:
- - deserialize
- summary: Parses a Knowledge Artifact
- description: |
- Decodes, deserializes and/or parses a Knowledge Artifact, ensuring that
- the resulting artifact is at the desired level.
-
- The optional extAccept parameter further constrains the extent and details of the parsing
- when multiple lifting alternatives are possible.
-
- If the input artifact is already at the desired level, the same artifact will be returned.
- If the input artifact is at a higher level, the operation will fail
- operationId: applyNamedLift
- parameters:
- - $ref: '#/parameters/operatorId'
- - $ref: '#/parameters/sourceArtifact'
- - $ref: '#/parameters/levelTag'
- - $ref: '#/parameters/extAccept'
- - $ref: '#/parameters/params'
- responses:
- 200:
- description: A Knowledge Artifact that is the deserialized version of the source artifact.
- schema:
- $ref: '#/definitions/KnowledgeCarrier'
-
-
- /deser/lowerer:
- post:
- tags:
- - deserialize
- summary: Serializes a Knowledge Artifact
- description: |
- Serializes and/or encodes a Knowledge Artifact, ensuring that
- the resulting artifact is at the desired level.
-
- The optional extAccept parameter further constrains the extent and details of the serialization
- when multiple lifting alternatives are possible.
-
- If the input artifact is already at the desired level, the same artifact will be returned.
- If the input artifact is at a lower level, the operation will fail
- operationId: applyLower
- parameters:
- - $ref: '#/parameters/sourceArtifact'
- - $ref: '#/parameters/levelTag'
- - $ref: '#/parameters/extAccept'
- - $ref: '#/parameters/params'
- responses:
- 200:
- description: A Knowledge Artifact that is the serialized version of the source artifact.
- schema:
- $ref: '#/definitions/KnowledgeCarrier'
-
- /deser/lowerers:
- get:
- tags:
- - deserialize
- summary: List available Lowering Operators
- description: |
- Enumerates the Lowering Operators that are supported by this server
- operationId: listLowerOperators
- parameters:
- - $ref: '#/parameters/from'
- - $ref: '#/parameters/into'
- responses:
- 200:
- description: Success
- schema:
- type: array
- items:
- $ref: '#/definitions/DeserializationOperator'
-
- /deser/lowerers/{operatorId}:
- get:
- tags:
- - deserialize
- summary: Get Lowering operator.
- operationId: getLowerOperator
- description: |
- Returns the description of a specific Lowering Operator,
- including the kind of operation it provides, the representations
- (consumed and produced) and the accepted parameters
- parameters:
- - $ref: '#/parameters/operatorId'
- responses:
- 200:
- description: Success
- schema:
- $ref: '#/definitions/DeserializationOperator'
- post:
- tags:
- - deserialize
- summary: Parses a Knowledge Artifact
- description: |
- Serializes and/or encodes a Knowledge Artifact, ensuring that
- the resulting artifact is at the desired level.
-
- The optional extAccept parameter further constrains the extent and details of the serialization
- when multiple lifting alternatives are possible.
-
- If the input artifact is already at the desired level, the same artifact will be returned.
- If the input artifact is at a lower level, the operation will fail
- operationId: applyNamedLower
- parameters:
- - $ref: '#/parameters/operatorId'
- - $ref: '#/parameters/sourceArtifact'
- - $ref: '#/parameters/levelTag'
- - $ref: '#/parameters/extAccept'
- - $ref: '#/parameters/params'
- responses:
- 200:
- description: A Knowledge Artifact that is the deserialized version of the source artifact.
- schema:
- $ref: '#/definitions/KnowledgeCarrier'
-
-
-
-
- ###################################################################################################
-
-
-
-parameters:
-
- componentId:
- in: path
- name: componentId
- description: |
- The id of a Platform component that supports one or more operations.
- required: true
- type: string
- format: uuid
-
- operatorId:
- in: path
- name: operatorId
- description: |
- The id of an Operator, implementing one of the operations
- offered by a Component.
- required: true
- type: string
- format: uuid
-
- sourceArtifact:
- in: body
- name: sourceArtifact
- description: |
- The Carrier of a Source Knowledge Artifact, which is generally expected to
- provide information about the representation of the Artifact itself
- required: true
- schema:
- $ref: '#/definitions/KnowledgeCarrier'
-
- extAccept:
- in: header
- name: X-Accept
- required: false
- type: string
- description: |
- A MIME Type that codifies the client's desired representation as the output
- of a syntactic operation
-
- levelTag:
- in: body
- name: levelTag
- description: Additional information that describes the desired (acceptable) resulting representation(s)
- required: true
- schema:
- $ref: '#/definitions/ParsingLevel'
-
- from:
- in: query
- name: from
- description: |
- formal MIME encoding of a Syntactic Representation pattern used to filter
- components and operators that can consume specific representations
- required: false
- type: string
-
- into:
- in: query
- name: into
- description: |
- formal MIME encoding of a Syntactic Representation pattern used to filter
- components and operators that can produce specific representations
- required: false
- type: string
-
- methodTag:
- in: query
- name: methodTag
- description: |
- Specifies the strategy by which a given operation is requested to be executed
- required: false
- type: string
-
- params:
- in: header
- name: X-params
- description: |
- Additional, operation-specific parameter
- required: false
- type: string
-
-definitions:
-
-
- KnowledgeCarrier:
- type: object
-
- ParsingLevel:
- type: string
- description: "A vertical level of absraction on the binary/string/parse tree/AST/ASG chain"
-
-
- Transrepresentator:
- type: object
- description: "A (descriptor of a) Knowledge Platform Component that supports Transrepresentation Operators"
-
- TransrepresentationOperator:
- type: object
- description: "A (descriptor of an) Operator that provides Transrepresentation Operations"
-
- Detector:
- type: object
- description: "A (descriptor of a) Knowledge Platform Component that supports Detect Operators"
-
- DetectionOperator:
- type: object
- description: "A (descriptor of an) Operator that provides Syntactic Detection Operations"
-
- Validator:
- type: object
- description: "A (descriptor of a) Knowledge Platform Component that supports Validation Operators"
-
- ValidationOperator:
- type: object
- description: "A (descriptor of an) Operator that provides Syntactic Validation Operations"
-
- Deserializer:
- type: object
- description: "A (descriptor of a) Knowledge Platform Component that supports Deserialization Operators"
-
- DeserializationOperator:
- type: object
- description: "A (descriptor of an) Operator that provides Deserialization Operations"
-
-
-basePath: /omg.org/spec/API4KP/20200801/api/transrepresentation/v4
-schemes:
- - https
\ No newline at end of file
diff --git a/openapi/v2/org/omg/spec/api4kp/4.0.0/terminology.yaml b/openapi/v2/org/omg/spec/api4kp/4.0.0/terminology.yaml
deleted file mode 100644
index fcbbd50..0000000
--- a/openapi/v2/org/omg/spec/api4kp/4.0.0/terminology.yaml
+++ /dev/null
@@ -1,283 +0,0 @@
-swagger: '2.0'
-info:
- description: |
- This is a Terminology API built on top of the API4KP framework that provides
- access to Terminologies and Concepts.
-
- In this context,
-
- Terminologies are loosely defined as sets of Concepts, e.g. in the sense
- of SKOS ConceptSchemes or Collections, or OWL Ontology Documents.
- Concepts are atomic units of knowledge that can be described/defined, can
- be related to each other, and can be evoked by means of linguistic terms.
-
- Implementations of this API can be more formal in their definition, e.g.
- by enforcing the separation of Class and Concept.
-
- This API is designed for Knowledge-Based implementations
-
- version: "4.0.0"
- title: Terminology Server API
- # put the contact info for your development or API team
- contact:
- email: dsotty@gmail.com
-
- license:
- name: Apache 2.0
- url: http://www.apache.org/licenses/LICENSE-2.0.html
-
-# tags are used for organizing operations
-tags:
-- name: Terms
- description: Terminology related operations
-
-#TODO revisit the path naming strategy
-
-paths:
- /terminologies:
- get:
- tags:
- - Terms
- summary: Lists available terminologies
- operationId: listTerminologies
- description: |
- Enumerates the Terminologies currently managed by this server
- produces:
- - application/json
- - application/xml
- responses:
- 200:
- description: |
- Returns a list of Pointers to the known Terminologies
- schema:
- type: array
- items:
- $ref: '#/definitions/Pointer2'
- 501:
- description: |
- Internal error
-
-
-
- /terminologies/{vocabularyId}/versions/{versionTag}:
- get:
- # priority: medium-low
- tags:
- - Terms
- summary: Retrieves some representation of a terminology system
- description: |
- Returns a representation of a specific version of the given terminology.
- The terminology is supposed to define
- Supports content negotiation to handle e.g. RDF vs FHIR
- operationId: getVocabulary
- produces:
- - application/json
- - application/xml
- parameters:
- - $ref: '#/parameters/vocabularyId'
- - $ref: '#/parameters/versionTag'
- - $ref: '#/parameters/xAccept'
- responses:
- 200:
- description: success
- schema:
- $ref: '#/definitions/KnowledgeCarrier'
- 400:
- description: vocabulary not found
-
- post:
- # priority: high for concept ids, low for post-coordinated expressions
- tags:
- - Terms
- summary: Resolves a concept (expression) within a terminology system
- operationId: isMember
- description: |
- Determines is a concept is a member of this vocabulary.
- Implementations depend on whether the vocabulary is enumerated, vs having
- a computable definition.
- The client can provide either a concept identifier, or a post-coordinated expression
- produces:
- - application/json
- - application/xml
- parameters:
- - $ref: '#/parameters/vocabularyId'
- - $ref: '#/parameters/versionTag'
- - $ref: '#/parameters/conceptExpression'
- responses:
- 200:
- description: success
- 400:
- description: vocabulary not found
-
- /terminologies/{vocabularyId}/versions/{versionTag}/terms:
- get:
- # priority: high
- tags:
- - Terms
- summary: Lists terms in a terminology system
- operationId: getTerms
- description: |
- Lists the terms in a given Vocabulary. Supports simple search by filtering
- produces:
- - application/json
- - application/xml
- parameters:
- - $ref: '#/parameters/vocabularyId'
- - $ref: '#/parameters/versionTag'
- - name: label
- in: query
- description: Filters by terms with matching label
- required: false
- type: string
-
- responses:
- 200:
- description: success
- schema:
- type: array
- items:
- $ref: '#/definitions/ConceptDescriptor'
- 400:
- description: vocabulary not found
-
- /terminologies/{vocabularyId}/versions/{versionTag}/terms/{conceptId}:
- get:
- # priority: high
- tags:
- - Terms
- summary: Describes a concept
- operationId: getTerm
- produces:
- - application/json
- - application/xml
- parameters:
- - $ref: '#/parameters/vocabularyId'
- - $ref: '#/parameters/versionTag'
- - $ref: '#/parameters/conceptId'
- responses:
- 200:
- description: success
- schema:
- $ref: '#/definitions/ConceptDescriptor'
- 400:
- description: vocabulary or concept not found
-
-
- /terminologies/{vocabularyId}/versions/{versionTag}/terms/{conceptId}/ancestors:
-
- get:
- # priority: low
- tags:
- - Terms
- summary: List the ancestor(s) of the selected concept
- operationId: listAncestors
- produces:
- - application/json
- - application/xml
- parameters:
- - $ref: '#/parameters/vocabularyId'
- - $ref: '#/parameters/versionTag'
- - $ref: '#/parameters/conceptId'
- responses:
- 200:
- description: The query was executed successfully. Does not imply that any result will be returned.
- schema:
- type: array
- items:
- $ref: '#/definitions/ConceptDescriptor'
- 400:
- description: vocabulary not found
- post:
- # priority: low
- tags:
- - Terms
- summary: Determines the target concept is an ancestor of the selected concept
- operationId: isAncestor
- produces:
- - application/json
- - application/xml
- parameters:
- - $ref: '#/parameters/vocabularyId'
- - $ref: '#/parameters/versionTag'
- - $ref: '#/parameters/conceptId'
-
- - $ref: '#/parameters/testConceptId'
- responses:
- 200:
- description: success
- schema:
- $ref: '#/definitions/boolean'
- 400:
- description: vocabulary not found
-
-
-parameters:
-
- vocabularyId:
- name: vocabularyId
- in: path
- description: The id of the terminology system
- required: true
- type: string
- format: uuid
-
- conceptId:
- name: conceptId
- in: path
- description: The id of a concept
- required: true
- type: string
-
-
- testConceptId:
- name: testConceptId
- in: query
- description: The id of a concept
- required: true
- type: string
-
-
-
- conceptExpression:
- name: conceptExpression
- in: query
- description: The id of a concept
- required: true
- type: string
-
- relationshipId:
- name: relationshipId
- in: query
- description: The id of a concept relationship
- required: false
- type: string
-
- versionTag:
- name: versionTag
- in: path
- description: The version of the terminology system
- required: true
- type: string
-
- xAccept:
- name: xAccept
- in: query
- description: A formal MIME type that express the client's preferences during content negotiation
- required: false
- type: string
-
-
-
-definitions:
- Pointer2:
- type: object
- ConceptDescriptor:
- type: object
- KnowledgeCarrier:
- type: object
-
-# Added by API Auto Mocking Plugin
-host: virtserver.swaggerhub.com
-basePath: /omg.org/spec/API4KP/20200801/api/terminology/v4
-schemes:
- - https
\ No newline at end of file
diff --git a/openapi/v2/org/omg/spec/api4kp/4.1.0/inference.yaml b/openapi/v2/org/omg/spec/api4kp/4.1.0/inference.yaml
deleted file mode 100644
index fc35294..0000000
--- a/openapi/v2/org/omg/spec/api4kp/4.1.0/inference.yaml
+++ /dev/null
@@ -1,364 +0,0 @@
-swagger: '2.0'
-
-info:
- description: |
- Maturity - VERY LOW (highly subject to disruptive changes)
-
- ### Summary
-
- **Knowledge-Driven Reasoning (web) Service that supports the (stateless) execution of
- Inferences, Queries, and related information processing tasks on one or more Knowledge Bases
- (aka 'Models').**
-
- #### Identification
- In this context, a 'Model' is a Knowledge Base - regardless of whether it consists of a known,
- single Knowledge Asset, or is the result of an Assembly on-the-fly.
- Knowledge Bases have a unique identifier: in this server, deployed Knowledge Base
- (i.e. the instantiation of a Knowledge Base in some software) and possibly even deployments are
- tracked with different IDs.
-
-
- version: 4.1.0
- title: "Model Evaluation Reasoning Service"
- contact:
- name: Davide Sottara
- email: Sottara.Davide@mayo.edu
-
- license:
- name: Apache 2.0
- url: http://www.apache.org/licenses/LICENSE-2.0.html
-
-tags:
- - name: Model
- description: "Endpoints that expose (metadata about) the deployed model itself"
- - name: Reasoning
- description: "Endpoints that expose a model's computation capabilities as a function"
- #- name: asynch
- # description: "Endpoints that expose the model's asynchronous computation"
-
-paths:
-
- /models:
- get:
- tags:
- - Model
- summary: List Models
- operationId: listModels
- description: "List the Models running on this server."
- produces:
- - application/json
- - application/xml
- # TODO: Apply the pagination trait
- # TODO: Apply the asset type filter trait - other search/filter parameters?
- responses:
- 200:
- description: "List of References to available Models"
- schema:
- type: array
- items:
- $ref: '#/definitions/Pointer'
-
- /models/{modelId}/versions/{versionTag}:
- get:
- tags:
- - Model
- summary: Describe Model
- operationId: getModel
- description: "Return descriptive metadata about a specific model"
- produces:
- - application/json
- - application/xml
- parameters:
- - $ref: '#/parameters/modelId'
- - $ref: '#/parameters/versionTag'
- responses:
- 200:
- description: "Information about the computable knowledge that is being executed
- as a service, including enough information to resolve the Knowledge Asset of
- which the model is an instantiation."
- schema:
- $ref: '#/definitions/KnowledgeCarrier'
-
-
- ##########################################################################################
-
- /models/{modelId}/versions/{versionTag}/reasoners/inferences:
- post:
- tags:
- - Reasoning
- operationId: infer
- summary: performs an inference, deriving all logical consequences of the KB
- consumes:
- - application/json
- produces:
- - application/json
- parameters:
- - $ref: '#/parameters/modelId'
- - $ref: '#/parameters/versionTag'
- - in: body
- name: features
- required: true
- schema:
- $ref: '#/definitions/Bindings'
- responses:
- 200:
- description: "The results of the computation, returned synchronously"
- schema:
- $ref: '#/definitions/KnowledgeCarrier'
-
-
- /models/{modelId}/versions/{versionTag}/reasoners/inferences/consequents:
- post:
- tags:
- - Reasoning
- operationId: evaluate
- summary: performs an inference, and returns the derived facts as bound variables
- consumes:
- - application/json
- produces:
- - application/json
- parameters:
- - $ref: '#/parameters/modelId'
- - $ref: '#/parameters/versionTag'
- - in: body
- name: features
- required: true
- schema:
- $ref: '#/definitions/Bindings'
- responses:
- 200:
- description: "The results of the computation, returned synchronously"
- schema:
- $ref: '#/definitions/Bindings'
-
-
- /models/{modelId}/versions/{versionTag}/reasoners/inferences/entailments:
- post:
- tags:
- - Reasoning
- operationId: entails
- summary: performs an inference, testing whether a set of statements is derived in the process
- consumes:
- - application/json
- produces:
- - application/json
- parameters:
- - $ref: '#/parameters/modelId'
- - $ref: '#/parameters/versionTag'
- - in: body
- name: potentialConsequence
- required: true
- schema:
- $ref: '#/definitions/KnowledgeCarrier'
- responses:
- 200:
- description: "The results of the computation, returned synchronously"
-
-
-
- /models/{modelId}/versions/{versionTag}/reasoners/queryanswers:
- post:
- tags:
- - Reasoning
- operationId: askQuery
- summary: queries the KB, returning bindings to the query's variables
- parameters:
- - $ref: '#/parameters/modelId'
- - $ref: '#/parameters/versionTag'
- - name: query
- in: body
- required: true
- schema:
- $ref: '#/definitions/KnowledgeCarrier'
- responses:
- 200:
- description: The bound expression
- schema:
- type: array
- items:
- $ref: '#/definitions/Bindings'
-
-
-
- /models/{modelId}/versions/{versionTag}/reasoners/checks:
- post:
- tags:
- - Reasoning
- operationId: checkConsistency
- summary: determines whether the KB is internally logically consistent
- parameters:
- - $ref: '#/parameters/modelId'
- - $ref: '#/parameters/versionTag'
- responses:
- 200:
- description: The bound expression
-
-
- /models/{modelId}/versions/{versionTag}/reasoners/sats:
- post:
- tags:
- - Reasoning
- operationId: checkSatisfiability
- description: determines whether the KB is satisfiable
- parameters:
- - $ref: '#/parameters/modelId'
- - $ref: '#/parameters/versionTag'
- responses:
- 200:
- description: The bound expression
- schema:
- type: array
- items:
- $ref: '#/definitions/Bindings'
-
-
- /models/{modelId}/versions/{versionTag}/reasoners/classifiers/individuals/{entityId}:
- get:
- tags:
- - Reasoning
- operationId: listMembership
- description: lists all the classes that an individual is member of
- parameters:
- - $ref: '#/parameters/modelId'
- - $ref: '#/parameters/versionTag'
- - $ref: '#/parameters/entityId'
- responses:
- 200:
- description: The bound expression
- schema:
- type: array
- items:
- $ref: '#/definitions/Pointer'
- post:
- tags:
- - Reasoning
- operationId: checkMembership
- description: determines if an individual is member of a class
- parameters:
- - $ref: '#/parameters/modelId'
- - $ref: '#/parameters/versionTag'
- - $ref: '#/parameters/entityId'
- - $ref: '#/parameters/classId'
- responses:
- 200:
- description: Success
-
- /models/{modelId}/versions/{versionTag}/reasoners/classifiers/classes/{entityId}:
- get:
- tags:
- - Reasoning
- operationId: listSubsumptions
- description: lists all the superclasses of a given Class
- parameters:
- - $ref: '#/parameters/modelId'
- - $ref: '#/parameters/versionTag'
- - $ref: '#/parameters/entityId'
- responses:
- 200:
- description: The bound expression
- schema:
- type: array
- items:
- $ref: '#/definitions/Pointer'
- post:
- tags:
- - Reasoning
- operationId: checkSubsumption
- description: determines if a Class is a subclass of another class
- parameters:
- - $ref: '#/parameters/modelId'
- - $ref: '#/parameters/versionTag'
- - $ref: '#/parameters/entityId'
- - $ref: '#/parameters/classId'
- responses:
- 200:
- description: Success
-
-
-
-
-
-parameters:
- modelId:
- in: path
- name: modelId
- type: string
- format: uuid
- required: true
- description: "The Identifier of a known Inferential Knowledge Asset (aka kao#Assessment) that
- is deployed and executed as a Service. This identifier SHOULD be an ID of the Asset itself,
- not of the manifestation of the Asset within the server."
-
-
-
- versionTag:
- in: path
- name: versionTag
- type: string
- required: true
- description: "The Identifier os a specific version of a Model, within the series identified
- by a modelId."
-
- entityId:
- in: path
- name: entityId
- type: string
- format: uuid
- required: true
-
- classId:
- in: query
- name: classId
- type: string
- format: uuid
- required: true
-
-
-
- lambdaId:
- in: path
- name: lambdaId
- description: TODO
- required: true
- type: string
- format: uuid
-
- sourceArtifact:
- name: sourceArtifact
- in: body
- required: true
- schema:
- $ref: '#/definitions/KnowledgeCarrier'
-
- xAccept:
- in: query
- name: xAccept
- description: |
- A formal MIME type used for content negotiation
- required: false
- type: string
-
-
-definitions:
- Pointer:
- type: object
- description: "Compact proxy object that carries references to another Resource. This object
- used in operations that browse and list collections."
-
- KnowledgeCarrier:
- type: object
- description: "A Resource that describes a particular representation of a Knowledge Asset."
-
- Map:
- type: object
- description: "A single table row, implemented by means of a map, where the 'column' keys
- SHALL correspond to either the names or the concept URIs of one or more Data Concepts,
- and the values is one array of uniform length."
-
- Bindings:
- type: object
-
-# Added by API Auto Mocking Plugin
-schemes:
- - https
-basePath: /omg.org/spec/API4KP/20200801/api/inference/v4
\ No newline at end of file
diff --git a/openapi/v2/org/omg/spec/api4kp/4.1.0/terminology.yaml b/openapi/v2/org/omg/spec/api4kp/4.1.0/terminology.yaml
deleted file mode 100644
index 854fa15..0000000
--- a/openapi/v2/org/omg/spec/api4kp/4.1.0/terminology.yaml
+++ /dev/null
@@ -1,307 +0,0 @@
-swagger: '2.0'
-info:
- description: |
- This is a Terminology API built on top of the API4KP framework that provides
- access to Terminologies and Concepts.
-
- In this context,
-
- Terminologies are loosely defined as sets of Concepts, e.g. in the sense
- of SKOS ConceptSchemes or Collections, or OWL Ontology Documents.
- Concepts are atomic units of knowledge that can be described/defined, can
- be related to each other, and can be evoked by means of linguistic terms.
-
- Implementations of this API can be more formal in their definition, e.g.
- by enforcing the separation of Class and Concept.
-
- This API is designed for Knowledge-Based implementations
-
- version: "4.1.0"
- title: Terminology Server API
- # put the contact info for your development or API team
- contact:
- email: dsotty@gmail.com
-
- license:
- name: Apache 2.0
- url: http://www.apache.org/licenses/LICENSE-2.0.html
-
-# tags are used for organizing operations
-tags:
-- name: Terms
- description: Terminology related operations
-
-#TODO revisit the path naming strategy
-
-paths:
- /terminologies:
- get:
- tags:
- - Terms
- summary: Lists available terminologies
- operationId: listTerminologies
- description: |
- Enumerates the Terminologies currently managed by this server
- produces:
- - application/json
- - application/xml
- responses:
- 200:
- description: |
- Returns a list of Pointers to the known Terminologies
- schema:
- type: array
- items:
- $ref: '#/definitions/Pointer'
- 501:
- description: |
- Internal error
-
-
-
- /terminologies/{vocabularyId}/versions/{versionTag}:
- get:
- # priority: medium-low
- tags:
- - Terms
- summary: Retrieves some representation of a terminology system
- description: |
- Returns a representation of a specific version of the given terminology.
- The terminology is supposed to define
- Supports content negotiation to handle e.g. RDF vs FHIR
- operationId: getVocabulary
- produces:
- - application/json
- - application/xml
- parameters:
- - $ref: '#/parameters/vocabularyId'
- - $ref: '#/parameters/versionTag'
- - $ref: '#/parameters/xAccept'
- responses:
- 200:
- description: success
- schema:
- $ref: '#/definitions/KnowledgeCarrier'
- 400:
- description: vocabulary not found
-
- post:
- # priority: high for concept ids, low for post-coordinated expressions
- tags:
- - Terms
- summary: Resolves a concept (expression) within a terminology system
- operationId: isMember
- description: |
- Determines is a concept is a member of this vocabulary.
- Implementations depend on whether the vocabulary is enumerated, vs having
- a computable definition.
- The client can provide either a concept identifier, or a post-coordinated expression
- produces:
- - application/json
- - application/xml
- parameters:
- - $ref: '#/parameters/vocabularyId'
- - $ref: '#/parameters/versionTag'
- - $ref: '#/parameters/conceptExpression'
- responses:
- 200:
- description: success
- 400:
- description: vocabulary not found
-
- /terminologies/{vocabularyId}/versions/{versionTag}/terms:
- get:
- # priority: high
- tags:
- - Terms
- summary: Lists terms in a terminology system
- operationId: getTerms
- description: |
- Lists the terms in a given Vocabulary. Supports simple search by filtering
- produces:
- - application/json
- - application/xml
- parameters:
- - $ref: '#/parameters/vocabularyId'
- - $ref: '#/parameters/versionTag'
- - name: label
- in: query
- description: Filters by terms with matching label
- required: false
- type: string
-
- responses:
- 200:
- description: success
- schema:
- type: array
- items:
- $ref: '#/definitions/ConceptDescriptor'
- 400:
- description: vocabulary not found
-
- /terminologies/{vocabularyId}/versions/{versionTag}/terms/{conceptId}:
- get:
- # priority: high
- tags:
- - Terms
- summary: Describes a concept
- operationId: getTerm
- produces:
- - application/json
- - application/xml
- parameters:
- - $ref: '#/parameters/vocabularyId'
- - $ref: '#/parameters/versionTag'
- - $ref: '#/parameters/conceptId'
- responses:
- 200:
- description: success
- schema:
- $ref: '#/definitions/ConceptDescriptor'
- 400:
- description: vocabulary or concept not found
-
-
- /terminologies/{vocabularyId}/versions/{versionTag}/terms/{conceptId}/ancestors:
-
- get:
- # priority: low
- tags:
- - Terms
- summary: List the ancestor(s) of the selected concept
- operationId: listAncestors
- produces:
- - application/json
- - application/xml
- parameters:
- - $ref: '#/parameters/vocabularyId'
- - $ref: '#/parameters/versionTag'
- - $ref: '#/parameters/conceptId'
- responses:
- 200:
- description: The query was executed successfully. Does not imply that any result will be returned.
- schema:
- type: array
- items:
- $ref: '#/definitions/ConceptDescriptor'
- 400:
- description: vocabulary not found
- post:
- # priority: low
- tags:
- - Terms
- summary: Determines the target concept is an ancestor of the selected concept
- operationId: isAncestor
- produces:
- - application/json
- - application/xml
- parameters:
- - $ref: '#/parameters/vocabularyId'
- - $ref: '#/parameters/versionTag'
- - $ref: '#/parameters/conceptId'
-
- - $ref: '#/parameters/testConceptId'
- responses:
- 200:
- description: success
- schema:
- $ref: '#/definitions/boolean'
- 400:
- description: vocabulary not found
-
- /terminologies/terms/{conceptId}:
- get:
- # priority: high
- tags:
- - Terms
- summary: Looks up a concept across terminology systems
- description: |
- Tries to resolve a concept, by id, across all known terminologies.
- Returns the most recent description of that concept, as represented by _any_ terminology
- in which the concept was (re)defined. If there are multiple definitions that cannot be sorted
- temporally, the server SHOULD validate that all the definitions are consistent.
- If not, the server MAY reconcile the descriptions, but COULD also
- return any one of the representations, non-deterministically
- operationId: lookupTerm
- produces:
- - application/json
- - application/xml
- parameters:
- - $ref: '#/parameters/conceptId'
- responses:
- 200:
- description: concept resolved in at least one terminology
- schema:
- $ref: '#/definitions/ConceptDescriptor'
- 400:
- description: concept not found in any terminology
-
-parameters:
-
- vocabularyId:
- name: vocabularyId
- in: path
- description: The id of the terminology system
- required: true
- type: string
- format: uuid
-
- conceptId:
- name: conceptId
- in: path
- description: The id of a concept
- required: true
- type: string
-
-
- testConceptId:
- name: testConceptId
- in: query
- description: The id of a concept
- required: true
- type: string
-
- conceptExpression:
- name: conceptExpression
- in: query
- description: The id of a concept
- required: true
- type: string
-
- relationshipId:
- name: relationshipId
- in: query
- description: The id of a concept relationship
- required: false
- type: string
-
- versionTag:
- name: versionTag
- in: path
- description: The version of the terminology system
- required: true
- type: string
-
- xAccept:
- name: xAccept
- in: query
- description: A formal MIME type that express the client's preferences during content negotiation
- required: false
- type: string
-
-
-
-definitions:
- Pointer:
- type: object
- ConceptDescriptor:
- type: object
- KnowledgeCarrier:
- type: object
-
-# Added by API Auto Mocking Plugin
-host: virtserver.swaggerhub.com
-basePath: /omg.org/spec/API4KP/20200801/api/terminology/v4
-schemes:
- - https
\ No newline at end of file
diff --git a/openapi/v2/org/omg/spec/api4kp/4.1.0/knowledgeArtifactRepository.yaml b/openapi/v2/org/omg/spec/api4kp/omg/v20210201/knowledgeArtifactRepository.swagger.yaml
similarity index 88%
rename from openapi/v2/org/omg/spec/api4kp/4.1.0/knowledgeArtifactRepository.yaml
rename to openapi/v2/org/omg/spec/api4kp/omg/v20210201/knowledgeArtifactRepository.swagger.yaml
index 636a256..2e5f75b 100644
--- a/openapi/v2/org/omg/spec/api4kp/4.1.0/knowledgeArtifactRepository.yaml
+++ b/openapi/v2/org/omg/spec/api4kp/omg/v20210201/knowledgeArtifactRepository.swagger.yaml
@@ -1,7 +1,7 @@
swagger: '2.0'
info:
- version: "4.1.0"
+ version: "5.0.0"
title: 'API4KP Knowledge Artifact Repository API'
contact:
name: Davide Sottara
@@ -10,21 +10,32 @@ info:
name: Apache License, Version 2.0
url: https://www.apache.org/licenses/LICENSE-2.0.html
description: |
- Maturity - STABLE
-
API that expose the functional capabilities of a Knowledge Artifact Repository Service (KAR), as defined in the OMG API4KP specification.
- Knowledge Artifact Repositories allow to store and retrieve (copies of) Digital Knowledge Artifacts (KA). KARs treat KAs as black-box binary objects, so there is no limitation nor expectation on the nature of the content, or the requirements to consume it. However, identity and versioning must be supported.
+ Knowledge Artifact Repositories allow to store and retrieve (copies of) Digital Knowledge Artifacts (KA).
+ KARs treat KAs as black-box binary objects, so there is no limitation nor expectation on the nature of the content, or the requirements to consume it.
+ However, identity and versioning must be supported.
- Identifiers must be universal, unique and opaque, so they MUST be UUID v4 compliant. Version tags can follow different patterns (semantic versioning, incremental numbering, date/time stamps, etc...).
+ Identifiers must be universal, unique and opaque, so they MUST be UUID v4 compliant.
+ Version tags can follow different patterns (semantic versioning, calendar versioning, incremental numbering, date/time stamps, etc...).
- Special considerations involve the _deletion_ of an Artifact. For traceability and safety purposes, KARs SHOULD NOT allow Artifacts to be deleted in an unrecoverable way. Deletion itself is defined as making an Artifact no longer accessible to a client (i.e. status 404). A server SHOULD allow a deletion operation to be undone, e.g. using mechanisms conceptually similar to 'trash bins', and SHOULD at a minimum keep track of the IDs of Artifacts that were at some point managed in each Repository.
- For this reason, a two phase deletion is recommended. Deleted Artifacts transition into a 'deleted' status in which they cannot be discovered nor retrieved, unless a dedicated flag is set. Once in a deleted state, Artifacts MAY be deleted permanently.
+ Special considerations involve the _deletion_ of an Artifact. For traceability and safety purposes,
+ KARs SHOULD NOT allow Artifacts to be deleted in an unrecoverable way. Deletion itself is defined as making an Artifact no longer accessible to a client (i.e. status 404).
+ A server SHOULD allow a deletion operation to be undone, e.g. using mechanisms conceptually similar to 'trash bins',
+ and SHOULD at a minimum keep track of the IDs of Artifacts that were at some point managed in each Repository.
+ For this reason, a two phase deletion is recommended. Deleted Artifacts transition into a 'deleted' status
+ in which they cannot be discovered nor retrieved, unless a dedicated flag is set. Once in a deleted state, Artifacts MAY be deleted permanently.
- The API also supports the (logical) federation of Repositories. A server instance MAY expose different repositories to a client, who should expect each repository to be independent. Whether these repositories map to actual physical repositories (e.g. different DBs), folder-like structures or logic tags/collections is left to the implementation.
The same artifact (as defined by having the same ID) COULD be stored in more than one repository, but all copies MUST be identical to each other
+ The API also supports the (logical) federation of Repositories. A server instance MAY expose different repositories to a client,
+ who should expect each repository to be independent. Whether these repositories map to actual physical repositories (e.g. different DBs),
+ folder-like structures or logic tags/collections is left to the implementation.
+ The same artifact (as defined by having the same ID) COULD be stored in more than one repository, but all copies MUST be identical to each other
With adequate rights, and if supported by the implementation, repositories can be _enabled_ or _disabled_.
Enabled (resp. disabled) repositories are (resp. not) available to a client, regardless of whether the (de)allocation of actual resources is involved at the implementation level.
+
+ **Maturity**
+ As of this version, this API is considered stable
tags:
- name: Knowledge Artifact
description: |
@@ -60,7 +71,9 @@ paths:
description: |
Retrieves a browsable list of known Knowledge Artifact Repositories, federated under this manager.
- A KAR MUST always have at least one repository, which COULD be accessed under a 'DEFAULT' well known ID, in addition to the specific ID that the repository should have. This default repository MUST be enabled at startup. As a consequence, this operation SHOULD alway return at least one resource.
+ A KAR MUST always have at least one repository, which COULD be accessed under a 'DEFAULT'
+ well known ID, in addition to the specific ID that the repository should have.
+ This default repository MUST be enabled at startup. As a consequence, this operation SHOULD alway return at least one resource.
operationId: listKnowledgeArtifactRepositories
produces:
- application/json
@@ -139,7 +152,9 @@ paths:
- Knowledge Artifact Repository
summary: Configure a Knowledge Artifact Repository
description: |
- Ensure a Knowledge Artifact Repository with the given identifier is enabled and accessible. If not, will attempt to create one. The identifier must be acceptable to the server. If optional descriptive information is provided, it will be used to initialize or update the state of the Repository.
+ Ensure a Knowledge Artifact Repository with the given identifier is enabled and accessible.
+ If not, will attempt to create one. The identifier must be acceptable to the server.
+ If optional descriptive information is provided, it will be used to initialize or update the state of the Repository.
Clients may not be authorized, and servers may not support this operation.
operationId: setKnowledgeArtifactRepository
@@ -398,7 +413,9 @@ paths:
- Knowledge Artifact Series
summary: Removes a Knowledge Artifact from the Repository
description: |
- Individual Knowledge Artifacts are considered removed from a Repository, if and only if any attempt to resolve that Artifact identifier within the given Knowledge Repository will not succeeed. Removing an Artifact that is not (any longer) in a Repository will result in a trivial success.
+ Individual Knowledge Artifacts are considered removed from a Repository, if and only if any
+ attempt to resolve that Artifact identifier within the given Knowledge Repository will not succeeed.
+ Removing an Artifact that is not (any longer) in a Repository will result in a trivial success.
This operation is functionally equivalent to invoking deleteKnowledgeArtifactSeries(repositoryId,artifactId,deleted),
to clear the series, AND then removing the Artifact from the Repository.
@@ -503,9 +520,11 @@ paths:
- Knowledge Artifact Series
summary: List versions of a Knowledge Artifact.
description: |
- Provides access to an Artifact's historical series, i.e. the list of immutable versions of the Artifact maintained in the given Knowledge Artifact Repository. Optionally, allows to sort the series, filter by version range and supports pagination.
+ Provides access to an Artifact's historical series, i.e. the list of immutable versions of
+ the Artifact maintained in the given Knowledge Artifact Repository. Optionally, allows to sort the series, filter by version range and supports pagination.
- The list may be empty, either because an Artifact series has been initialized without adding any particular version (see POST), or because all versions have been deleted, without deleting the artifact itself.
+ The list may be empty, either because an Artifact series has been initialized without adding
+ any particular version (see POST), or because all versions have been deleted, without deleting the artifact itself.
operationId: getKnowledgeArtifactSeries
produces:
- application/json
@@ -553,7 +572,9 @@ paths:
- Knowledge Artifact Series
summary: Add a (new version) of a Knowledge Artifact.
description: |
- Adds a new version of a given Artifact to the Artifact's series, making this version the LATEST. The client is required to provide the content, but the server is expected to provide the version tagging, according to the version scheme that is implemented internally. When successful, the server will return the URL where that version can be accessed."
+ Adds a new version of a given Artifact to the Artifact's series, making this version the LATEST.
+ The client is required to provide the content, but the server is expected to provide the version tagging,
+ according to the version scheme that is implemented internally. When successful, the server will return the URL where that version can be accessed."
operationId: addKnowledgeArtifactVersion
parameters:
- $ref: '#/parameters/repositoryId'
@@ -640,7 +661,8 @@ paths:
- Knowledge Artifact
summary: Remove a specific version of a Knowledge Artifact
description: |
- Ensures that a specific version of a given Knowledge Artifact is not resolvable anymore within the Knowledge Artifact version series. If the version cannot be found, the operations succeeds trivially.
+ Ensures that a specific version of a given Knowledge Artifact is not resolvable anymore
+ within the Knowledge Artifact version series. If the version cannot be found, the operations succeeds trivially.
If the deleted flag is set, this operation MAY delete a version permanently.
operationId: deleteKnowledgeArtifactVersion
@@ -671,7 +693,9 @@ paths:
summary: Ensure a specific version of a Knowledge Artifact is available
description: |
Ensures that a specific version of a given Knowledge Artifact can be retrieved.
- Notice that the user is not required to provide the actual artifact payload. For this reason, the oepration will succeed if and only if the version is either already available, or in a soft deletion status. This operation may restore an unavailable version.
+ Notice that the user is not required to provide the actual artifact payload.
+ For this reason, the oepration will succeed if and only if the version is either already available, or in a soft deletion status.
+ This operation may restore an unavailable version.
operationId: enableKnowledgeArtifactVersion
parameters:
- $ref: '#/parameters/repositoryId'
@@ -699,7 +723,8 @@ paths:
- Knowledge Artifact
summary: Sets a Version of a specific Knowledge Artifact
description: |
- Ensures that a Knowledge Artifact is available in the given Repository, and that an attempt to resolve a version with the given tag will succeed, returning a copy of the provided payload.
+ Ensures that a Knowledge Artifact is available in the given Repository, and that an attempt
+ to resolve a version with the given tag will succeed, returning a copy of the provided payload.
Creates an Artifact series if not present, and overwrites the stored copy for the given version if already present.
This operation can reverse a deletion.
@@ -777,7 +802,10 @@ parameters:
description: |
The id of a Knowledge Artifact Repository, in the context of the server that provides operations on the Repository.
- In general, the ID is qualified and scoped by a scheme owned by the server. When the server guarantees to federate repositories from a single known namespace, and repository IDs are required to be scoped by that namespace, either the fully qualified name or the local part should be accepted as a valid repositoryId; otherwise, only the fully qualified ID will be acceptable."
+ In general, the ID is qualified and scoped by a scheme owned by the server.
+ When the server guarantees to federate repositories from a single known namespace, and repository IDs
+ are required to be scoped by that namespace, either the fully qualified name or the local part should be accepted
+ as a valid repositoryId; otherwise, only the fully qualified ID will be acceptable."
repositoryDescr:
in: body
@@ -864,6 +892,6 @@ definitions:
KnowledgeArtifactRepository:
type: object
-basePath: /omg.org/spec/API4KP/20200801/api/repository/artifact/v4
+basePath: /omg.org/spec/API4KP/20200801/api/repository/artifact/v5
schemes:
- https
\ No newline at end of file
diff --git a/openapi/v2/org/omg/spec/api4kp/4.1.0/knowledgeAssetRepository.yaml b/openapi/v2/org/omg/spec/api4kp/omg/v20210201/knowledgeAssetRepository.swagger.yaml
similarity index 84%
rename from openapi/v2/org/omg/spec/api4kp/4.1.0/knowledgeAssetRepository.yaml
rename to openapi/v2/org/omg/spec/api4kp/omg/v20210201/knowledgeAssetRepository.swagger.yaml
index 095ff1d..8794646 100644
--- a/openapi/v2/org/omg/spec/api4kp/4.1.0/knowledgeAssetRepository.yaml
+++ b/openapi/v2/org/omg/spec/api4kp/omg/v20210201/knowledgeAssetRepository.swagger.yaml
@@ -1,8 +1,8 @@
swagger: '2.0'
info:
- version: "4.1.0"
- title: 'Knowledge Asset Repository API'
+ version: "5.0.0"
+ title: 'API4KP Knowledge Asset Repository API'
contact:
name: Davide Sottara
email: sottara.davide@mayo.edu
@@ -10,8 +10,6 @@ info:
name: Apache License, Version 2.0
url: https://www.apache.org/licenses/LICENSE-2.0.html
description: |
- Maturity - HIGH (possibly subject to extensions)
-
APIs for a Semantic Knowledge Asset Repository.
**Knowledge Assets**
@@ -65,7 +63,8 @@ info:
A Knowledge Asset Repository MIGHT also interact with a Reasoning Service, which SHOULD treat the Knowledge Asset Graph as a Knowledge Base, performing inferences and answering queries.
A Knowledge Asset Repository SHALL NOT, instead, leverage a Reasoning Service to reason _with_ the Artifacts' content for any other reason that the extraction/validation of the Asset metadata. This choice is motivated by the different SLA constraints (e.g. security, traffic/load) involved when knowledge is 'in motion' rather than 'at rest'.
-
+ **Maturity**
+ As of this version, this API is considered stable
tags:
- name: Knowledge Asset Catalog
description: |
@@ -77,8 +76,6 @@ tags:
description: |
A Knowledge Asset Retrieval faciilty offers query/search engines that treat the content of the Knowledge Asset Catalog itself as a Knowledge Base.
-
-
#schemas:
# - http
@@ -452,6 +449,124 @@ paths:
####################################################################################################
+ /cat/assets/{assetId}/carrier:
+ get:
+ tags:
+ - Knowledge Asset Repository
+ summary: Retrieve the best Knowledge Carrier for the LATEST version of a given Knowledge Asset.
+ description: |
+ Retrieves a Knowledge Artifact that is a Carrier of the given Asset, selecting between the variants using server-driven Content Negotiation.
+
+ For the given Knowledge Asset:
+ * retrieves the LATEST version of the Knowledge Asset
+ * retrieves the LATEST Canonical surrogate for that version of the Asset
+ * consults the representation metadata for each associated Carrier
+ * selects the one that matches the preferences of the client
+ * returns/redirects the client to a copy of the (LATEST version of the) chosen Artifact itself.
+
+ operationId: getKnowledgeAssetCanonicalCarrier
+ produces:
+ - application/json
+ - application/xml
+ - text/html
+ parameters:
+ - $ref: '#/parameters/assetId'
+ # negotiable
+ - $ref: '#/parameters/extAccept'
+ responses:
+ 200:
+ description: |
+ A suitable Knowledge Artifact could be retrieved
+ schema:
+ $ref: '#/definitions/KnowledgeCarrier'
+ 300:
+ description: |
+ Negotiation failed, but suitable alternatives are present
+ schema:
+ type: array
+ items:
+ $ref: '#/definitions/Pointer'
+ 303:
+ description: |
+ Redirects the client to a URL where the chosen Artifact can be retrieved
+ headers:
+ Location:
+ type: string
+ 403:
+ description: |
+ The client does not have the adequate permissions
+ 404:
+ description: |
+ Asset not found
+ 406:
+ description: |
+ No suitable variant is available
+ 500:
+ description: |
+ Internal error
+ 501:
+ description: |
+ Not implemented
+
+ /cat/assets/{assetId}/carrier/content:
+ get:
+ tags:
+ - Knowledge Asset Repository
+ summary: Retrieve the best Knowledge Carrier for the LATEST version of a given Knowledge Asset.
+ description: |
+ Retrieves a Knowledge Artifact that is a Carrier of the given Asset, selecting between the variants using server-driven Content Negotiation.
+
+ For the given Knowledge Asset:
+ * retrieves the LATEST version of the Knowledge Asset
+ * retrieves the LATEST Canonical surrogate for that version of the Asset
+ * consults the representation metadata for each associated Carrier
+ * selects the one that matches the preferences of the client
+ * returns/redirects the client to a copy of the (LATEST version of the) chosen Artifact itself.
+
+ operationId: getKnowledgeAssetCanonicalCarrierContent
+ produces:
+ - application/octet-stream
+ parameters:
+ - $ref: '#/parameters/assetId'
+ # negotiable
+ - $ref: '#/parameters/extAccept'
+ responses:
+ 200:
+ description: |
+ Success
+ schema:
+ type: string
+ format: binary
+ 300:
+ description: |
+ Negotiation failed, but suitable alternatives are present
+ schema:
+ type: array
+ items:
+ $ref: '#/definitions/Pointer'
+ 303:
+ description: |
+ Redirects the client to a URL where the chosen Artifact can be retrieved
+ headers:
+ Location:
+ type: string
+ 403:
+ description: |
+ The client does not have the adequate permissions
+ 404:
+ description: |
+ Asset not found
+ 406:
+ description: |
+ No suitable variant is available
+ 500:
+ description: |
+ Internal error
+ 501:
+ description: |
+ Not implemented
+
+
/cat/assets/{assetId}/versions/{versionTag}/carrier:
get:
tags:
@@ -466,7 +581,7 @@ paths:
* selects the one that matches the preferences of the client
* returns/redirects the client to a copy of the (LATEST version of the) chosen Artifact itself.
- operationId: getCanonicalKnowledgeAssetCarrier
+ operationId: getKnowledgeAssetVersionCanonicalCarrier
produces:
- application/json
- application/xml
@@ -511,6 +626,64 @@ paths:
description: |
Not implemented
+ /cat/assets/{assetId}/versions/{versionTag}/carrier/content:
+ get:
+ tags:
+ - Knowledge Asset Repository
+ summary: Retrieve the best Knowledge Carrier for a given Knowledge Asset.
+ description: |
+ Retrieves a Knowledge Artifact that is a Carrier of the given Asset, selecting between the variants using server-driven Content Negotiation.
+
+ For a given version of a Knowledge Asset,
+ * retrieves the LATEST Canonical surrogate for that version of the Asset
+ * consults the representation metadata for each associated Carrier
+ * selects the one that matches the preferences of the client
+ * returns/redirects the client to a copy of the (LATEST version of the) chosen Artifact itself.
+
+ operationId: getKnowledgeAssetVersionCanonicalCarrierContent
+ produces:
+ - application/octet-stream
+ parameters:
+ - $ref: '#/parameters/assetId'
+ - $ref: '#/parameters/versionTag'
+ # negotiable
+ - $ref: '#/parameters/extAccept'
+ responses:
+ 200:
+ description: |
+ Success
+ schema:
+ type: string
+ format: binary
+ 300:
+ description: |
+ Negotiation failed, but suitable alternatives are present
+ schema:
+ type: array
+ items:
+ $ref: '#/definitions/Pointer'
+ 303:
+ description: |
+ Redirects the client to a URL where the chosen Artifact can be retrieved
+ headers:
+ Location:
+ type: string
+ 403:
+ description: |
+ The client does not have the adequate permissions
+ 404:
+ description: |
+ Asset Version not found
+ 406:
+ description: |
+ No suitable variant is available
+ 500:
+ description: |
+ Internal error
+ 501:
+ description: |
+ Not implemented
+
/cat/assets/{assetId}/versions/{versionTag}/carriers:
get:
tags:
@@ -726,6 +899,47 @@ paths:
Internal error
/cat/assets/{assetId}/versions/{versionTag}/carriers/{artifactId}/versions/{artifactVersionTag}/content:
+ get:
+ tags:
+ - Knowledge Asset Repository
+ summary: Retrieves a specific Carrier for a given Knowledge Asset in binary form
+ description: |
+ Retrieves (a copy of) a specific version of an Artifact that carries a specific version of a Knowledge Asset, in binary form.
+ This method must return the same data as getKnowledgeAssetCarrierVersionContent, unwrapped
+ operationId: getKnowledgeAssetCarrierVersionContent
+ consumes:
+ - application/octet-stream
+ produces:
+ - application/octet-stream
+ parameters:
+ - $ref: '#/parameters/assetId'
+ - $ref: '#/parameters/versionTag'
+ - $ref: '#/parameters/artifactId'
+ - $ref: '#/parameters/artifactVersionTag'
+ # negotiable
+ - $ref: '#/parameters/extAccept'
+ responses:
+ 200:
+ description: |
+ Success
+ schema:
+ type: string
+ format: binary
+ 403:
+ description: |
+ The user does not have the required permissions
+ 404:
+ description: |
+ Asset and/or Artifact Version not found
+ 409:
+ description: |
+ The provided Artifact is inconsistent with the current Asset metadata
+ 500:
+ description: |
+ Internal error
+ 501:
+ description: |
+ Not implemented
put:
tags:
- Knowledge Asset Repository
@@ -770,6 +984,54 @@ paths:
Not implemented
+ /cat/assets/{assetId}/surrogate:
+ get:
+ tags:
+ - Knowledge Asset Repository
+ summary: Retrieve the Canonical Knowledge Asset Surrogate, for the latest version of an Asset, as a Knowledge Artifact.
+ description: |
+ Returns the LATEST version of the Canonical Surrogate of the LATEST referenced Asset, wrapped in a Knowledge Carrier, so that it can be consumed as a Knowledge Artifact.
+
+ Supports content negotiation, allowing to retrieve this Surrogate in variant forms, if supported.
+
+ If content negotiation is not used, the Surrogate in response Knowledge Carrier is identical to the Surrogate returned invoking getKnowledgeAssetVersion for the same Asset ID and version.
+ operationId: getKnowledgeAssetCanonicalSurrogate
+ produces:
+ - application/json
+ - application/xml
+ - text/html
+ parameters:
+ - $ref: '#/parameters/assetId'
+ # negotiable
+ - $ref: '#/parameters/extAccept'
+ responses:
+ 200:
+ description: |
+ A suitable representation of the Knowledge Surrogate could be retrieved
+ schema:
+ $ref: '#/definitions/KnowledgeCarrier'
+ 300:
+ description: |
+ Negotiation failed, but suitable alternatives are present
+ schema:
+ type: array
+ items:
+ $ref: '#/definitions/Pointer'
+ 403:
+ description: |
+ The client does not have the adequate permissions
+ 404:
+ description: |
+ Asset not found
+ 406:
+ description: |
+ No suitable variant is available
+ 500:
+ description: |
+ Internal error
+ 501:
+ description: |
+ Not implemented
/cat/assets/{assetId}/versions/{versionTag}/surrogate:
@@ -783,7 +1045,7 @@ paths:
Supports content negotiation, allowing to retrieve this Surrogate in variant forms, if supported.
If content negotiation is not used, the Surrogate in response Knowledge Carrier is identical to the Surrogate returned invoking getKnowledgeAssetVersion for the same Asset ID and version.
- operationId: getCanonicalKnowledgeAssetSurrogate
+ operationId: getKnowledgeAssetVersionCanonicalSurrogate
produces:
- application/json
- application/xml
@@ -879,7 +1141,7 @@ paths:
description: |
Retrieves Pointers to the various Surrogates for the given Asset version.
- The response MUST include the Canonical Knowledge Asset Surrogate, as returned by 'getCanonicalKnowledgeAssetSurrogate'
+ The response MUST include the Canonical Knowledge Asset Surrogate, as returned by 'getKnowledgeAssetCanonicalSurrogate'
operationId: listKnowledgeAssetSurrogates
produces:
- application/json
@@ -1113,25 +1375,17 @@ paths:
post:
tags:
- Knowledge Asset Repository
- operationId: initCompositeKnowledgeAsset
- summary: Initializes a new Composite Knowledge Asset
+ operationId: getAnonymousCompositeKnowledgeAssetStructure
+ summary: Initializes a new Composite Knowledge Asset Struct
description: |
- Creates a new Composite Knowledge Asset, creating a new Structure using the given Asset and its relationships as a seed.
- More specifically, this operation behaves as follows
- (i) creates a brand new asset ID and version, as if initKnowledgeAsset had been invoked, to denote the new Composite Asset
- (ii) queries the Knowledge Asset Graph using the given Asset as a root, and traversing the transitive closure of the relationship type specified by the client (possibly up to a certain number of arcs)
- (iii) constructs a Struct graph from the result of the query, including the assertion of the 'part of' relationships
- (iv) assemble the Canonical Surrogates of the components into a result Composite Knowledge Carrier
- (v) optionally, use _introspection_ to generate a candidate Surrogate for the Composite Asset itself, which is also added to the CompositeKnowledgeCarrier
-
-
- Notice that this operation SHALL NOT persist the Surrogate for the new Composite Asset, nor update the Knowledge Asset Graph. Instead, it creates an empty Knowledge Asset Series (as per initKnowledgeAsset), and returns a candidate Composite Structure that the client can review and validate.
- If deemed adequate, the client can invoke 'addKnowledgeAssetVersion' to persist the results back
+ Given an existing Knowledge Asset, executes a query that selects one or more Assets
+ based on the transitive closure of a (dependency) relationship.
+ The query's result triples are returned as the implicit structure of a (tree-based)
+ Anonymous Composite Knowledge Asset Surrogate
parameters:
- $ref: '#/parameters/assetId'
- $ref: '#/parameters/versionTag'
- - $ref: '#/parameters/assetRelationshipTag'
- - $ref: '#/parameters/depth'
+ - $ref: '#/parameters/extAccept'
produces:
- "application/json"
- "application/xml"
@@ -1139,9 +1393,7 @@ paths:
200:
description: Success
schema:
- type: array
- items:
- $ref: '#/definitions/KnowledgeCarrier'
+ $ref: '#/definitions/KnowledgeCarrier'
403:
description: |
The client cannot access the Asset
@@ -1213,14 +1465,13 @@ paths:
summary: Assembles an Anonymous Composite Knowledge Asset Surrogate using an Asset and its relationships as a seed
description: |
Given an existing Knowledge Asset, executes a query that selects one or more Assets
- based on a posted query.
+ based on the transitive closure of a (dependency) relationship.
The query's result bindings are treated as Asset Ids, resolved, and used to construct
an Anonymous Composite Knowledge Asset Surrogate
operationId: getAnonymousCompositeKnowledgeAssetSurrogate
parameters:
- $ref: '#/parameters/assetId'
- $ref: '#/parameters/versionTag'
- - $ref: '#/parameters/graphQuery'
- $ref: '#/parameters/extAccept'
produces:
- application/json
@@ -1303,14 +1554,13 @@ paths:
summary: Assembles an Anonymous Composite Knowledge Asset Carrier using an Asset and its relationships as a seed
description: |
Given an existing Knowledge Asset, executes a query that selects one or more Assets
- based on a posted query.
+ based on the transitive closure of a (dependency) relationship
The query's result bindings are treated as Asset Ids, resolved, mapped to a Carrier
Artifact, and used to construct an Anonymous Composite Knowledge Artifact
operationId: getAnonymousCompositeKnowledgeAssetCarrier
parameters:
- $ref: '#/parameters/assetId'
- $ref: '#/parameters/versionTag'
- - $ref: '#/parameters/graphQuery'
- $ref: '#/parameters/extAccept'
produces:
- application/json
@@ -1365,15 +1615,6 @@ parameters:
description: |
A fully qualified (URI) term that denotes a concept that can be used to annotate assets.
- assetRelationshipTag:
- in: query
- name: assetRelationshipTag
- required: false
- type: string
- description: |
- An unqualified, codified term ("tag") that identifies a relationship between two Knowledge Assets.
- The relationship must be defined in some ontology known to the server.
-
assetId:
in: path
name: assetId
@@ -1588,4 +1829,4 @@ definitions:
schemes:
- https
# Added by API Auto Mocking Plugin
-basePath: /omg.org/spec/API4KP/20200801/api/repository/asset/v4
\ No newline at end of file
+basePath: /omg.org/spec/API4KP/20200801/api/repository/asset/v5
\ No newline at end of file
diff --git a/openapi/v2/org/omg/spec/api4kp/4.1.0/knowledgeTransrepresentation.yaml b/openapi/v2/org/omg/spec/api4kp/omg/v20210201/knowledgeAssetTransrepresentation.swagger.yaml
similarity index 98%
rename from openapi/v2/org/omg/spec/api4kp/4.1.0/knowledgeTransrepresentation.yaml
rename to openapi/v2/org/omg/spec/api4kp/omg/v20210201/knowledgeAssetTransrepresentation.swagger.yaml
index 3953526..e023f19 100644
--- a/openapi/v2/org/omg/spec/api4kp/4.1.0/knowledgeTransrepresentation.yaml
+++ b/openapi/v2/org/omg/spec/api4kp/omg/v20210201/knowledgeAssetTransrepresentation.swagger.yaml
@@ -1,8 +1,14 @@
swagger: '2.0'
info:
+ version: "5.0.0"
+ title: 'API4KP Knowledge Asset Transrepresentation API'
+ contact:
+ name: Davide Sottara
+ email: sottara.davide@mayo.edu
+ license:
+ name: Apache License, Version 2.0
+ url: https://www.apache.org/licenses/LICENSE-2.0.html
description: |
- Maturity - MEDIUM (subject to extensions)
-
This API defines "syntactic" manipulations of Knowledge Artifacts, based on the stratified representational aspects
of the Artifacts themselves (Language, profile, syntax/serialization, meta-format, encoding).
@@ -26,8 +32,8 @@ info:
patterns on the output will select operators that can produce equal or more specific representations than the pattern itself.
Where necessary (e.g. as query/filter parameters), Syntactic Representations are encoded using formal MIME types.
- version: "4.1.0"
- title: Knowledge Asset Transrepresentation Service
+ **Maturity**
+ As of this version, this API is considered stable, but subject to extensions
tags:
- name: discovery
@@ -742,6 +748,6 @@ definitions:
description: "A (descriptor of an) Operator that provides Deserialization Operations"
-basePath: /omg.org/spec/API4KP/20200801/api/transrepresentation/v4
+basePath: /omg.org/spec/API4KP/20200801/api/transrepresentation/v5
schemes:
- https
\ No newline at end of file
diff --git a/openapi/v2/org/omg/spec/api4kp/4.1.0/knowledgeBase.yaml b/openapi/v2/org/omg/spec/api4kp/omg/v20210201/knowledgeBaseConstruction.swagger.yaml
similarity index 68%
rename from openapi/v2/org/omg/spec/api4kp/4.1.0/knowledgeBase.yaml
rename to openapi/v2/org/omg/spec/api4kp/omg/v20210201/knowledgeBaseConstruction.swagger.yaml
index c0903d3..44b697b 100644
--- a/openapi/v2/org/omg/spec/api4kp/4.1.0/knowledgeBase.yaml
+++ b/openapi/v2/org/omg/spec/api4kp/omg/v20210201/knowledgeBaseConstruction.swagger.yaml
@@ -1,29 +1,59 @@
swagger: '2.0'
info:
+ version: "5.0.0"
+ title: 'API4KP Knowledge Base Construction API'
+ contact:
+ name: Davide Sottara
+ email: sottara.davide@mayo.edu
+ license:
+ name: Apache License, Version 2.0
+ url: https://www.apache.org/licenses/LICENSE-2.0.html
description: |
- The Knowledge Base (KB) Construction APIs allow to compose one or more Knowledge Assets into
+ The KnowledgeBae APIs enable the transition between Knowledge _at rest_, i.e. Knowledge in the form
+ of Artifacts stored in a repository and not yet assembled into a Knowledge Base, and Knowledge
+ _in motion_, i.e. Knowledge Bases deployed/paired with a runtime engine/reasoner/execution platform
+ that is able to perform computations using that Knowledge.
+
+ The Knowledge Base Construction and Composition APIs allow to compose one or more Knowledge Assets into
Knowledge Bases that are suitable for processing/reasoning.
The process, which is driven by metadata (surrogates), involves the retrieval, normalization,
and structuring of Knowledge Artifacts that manifest the components of the Knowledge Base itself.
- As such, implementations of this API are likely to depend on the API4KP Knowledge Trans*ion APIs and, more loosely, on the API4KP Knowledge Asset Repository API.
- This API, in turn, is designed to be a dependency of the API4PK Reasoning/Inference APIs.
-
- The API is inspired by the State monad. Knowledge Bases are incubated within the server from their initialization, through their construction, until their finalization and retrieval.
+ ** Knowledge Base State **
+ The Knowledge Base Management API is inspired by the State monad. Knowledge Bases are incubated
+ within the server from their initialization, through their construction, until their deployment.
As operations are applied to manipulate the KB, new versions are constructed ensuring reproducibility and traceabiilty.
Implementations, however, are not required nor guaranteed to be transactional.
-
- version: "4.1.0"
- title: KnowledgeBase API
-
- contact:
- email: Sottara.Davide@mayo.edu
-
- license:
- name: Apache 2.0
- url: http://www.apache.org/licenses/LICENSE-2.0.html
+ ** Composition vs Transcreation (Mutation) Operators **
+ Composition Operators allw to construct, incrementally, a Knowledge Base starting from known
+ named (carriers of) Knowledge Assets.
+ Transcreation operators allow to mutate Knowledge Artifacts, usually to create transient
+ ephemeral versions which are used to prepare the KnowledgeBase for deployment, but would
+ not otherwise be treated as Assets.
+ Nevertheless, many Transcreation operations could be useful independently.
+ For this reason, Transcreation operators are exposed in two different modalities:
+
+ (i) a detached mode, where the operator is addressed independently and
+ (i.a) the client is either responsible for providing the KnowledgeBase as an input, or
+ (i.b) the operator is responsible for resolving the IDs provided by the client to a known KnowledgeBase,
+ usually by means of delegation to a KnowledgeBase API implementation
+ (ii) a connected mode, where an operator is attached to, and exposed in the context of a (client-managed)
+ Knowledge Base. That is, the operator is bound to KnowledgeBase(s) at construction time, and is
+ then invoked through the KnowledgeBase
+
+ ** Service Boundaries **
+ Implementations of KnowledgeBase API are likely to depend on the API4KP Knowledge Trans*ion APIs,
+ to provide the necessary lifting/lowering capabilities involved in the processing of Components
+ and Structures thereof.
+ Implementations of Knowledge Base providers may depend on Knowledge Asset Repository implementations
+ for attached operators to resolve Assets required during the processing.
+ Implementations of this API are usually paired with API4KP Reasoning APIs, to provide a runtime
+ for the constructed KnowledgeBases
+
+ ** Maturity **
+ As of this version, this API is considered experimental
tags:
@@ -32,10 +62,10 @@ tags:
APIs for the manipulation of Composite Assets and Artifacts, including Knowledge Bases
- name: KnowledgeBase
description: |
- Construct KnowledgeBases
+ APIs for the Management of KnowledgeBase State
- name: Transcreate
description: |
- TODO - should this be Language? or KB?
+ APIs that generate KnowledgeBase components via semantic manipulation
paths:
@@ -68,6 +98,7 @@ paths:
for the composite itself
parameters:
- $ref: '#/parameters/structDefinition'
+ - $ref: '#/parameters/params'
responses:
200:
description: |
@@ -82,15 +113,21 @@ paths:
tags:
- Compositional
operationId: assembleCompositeArtifact
- summary: 'Constructs a Composite Knowledge Artifact'
+ summary: 'Assembles a Composite Knowledge Artifact'
description: |
- TODO
+ Interprets a Structure, i.e. the Manifestation of a Structuring Knowledge Asset,
+ as the blueprint of a Composite Artifact, as the manifestation of a Composite Knowledge Asset.
+ The Structure must specify the identity, version, should specify the relationships,
+ and could specify the types and roles of the component Assets.
+ This information will be used to retrieve the proper manifestation (Surrogates and/or Carriers)
+ of the components, which will be combined and returned as a CompositeKnowledgeCarrier
parameters:
- $ref: '#/parameters/struct'
+ - $ref: '#/parameters/params'
responses:
200:
description: |
- TODO
+ A (Composite) KnowledgeCarrier that wraps the Artifacts and/or Surrogates referenced by the input Struct
schema:
$ref: '#/definitions/KnowledgeCarrier'
@@ -101,9 +138,15 @@ paths:
operationId: deconstructCompositeAsset
summary: 'Deconstructs a Knowledge Artifact into a Composite Knowledge Asset (structure)'
description: |
- TODO
+ Analyzes a Complex, possibly Composite Knowledge Artifact, identifies its components,
+ and returns a Structure that describes those components, and possibly describes their
+ types and mutual relationships.
+ This operation is not expected to actually return the individual components
+ (see disassembleCompositeArtifact). In particular, this operation may be applicable
+ even when the actual disassembly is not feasible in practice.
parameters:
- $ref: '#/parameters/artifact'
+ - $ref: '#/parameters/params'
responses:
200:
description: |
@@ -118,13 +161,20 @@ paths:
operationId: disassembleCompositeArtifact
summary: 'Deconstructs a (Composite) Knowledge Artifact into its component Artifacts'
description: |
- TODO
+ Consumes a Composite Knowledge Carrier that wraps a flat Knowledge Artifact
+ and a Structure, and follows the Structure blueprint to disassemble the Composite
+ into its distinct Components, which are returned separately.
+
+ The two operations assembleCompositeArtifact and disassembleCompositeArtifact
+ should be mutually inverse for a given artifact.
parameters:
- $ref: '#/parameters/artifact'
+ - $ref: '#/parameters/params'
responses:
200:
description: |
- A struct that defines a Composite Knowledge Asset
+ A collection of wrapped, individual Knowledge Artifacts, which are the Components of the
+ input Composite
schema:
type: array
items:
@@ -138,14 +188,22 @@ paths:
operationId: flattenArtifact
summary: 'Flattens a (Composite) Knowledge Artifact'
description: |
- TODO
+ Constructs a single, flat KnowledgeArtifact from one or more source Artifacts.
+ When applied to an Atomic Artifact, returns that Artifact.
+ Composite Artifacts are flattened, using the semantics of the representation language.
+
+ The flattening may require to super-impose a topology different than the one supported
+ by a Composite. The strategy is left to the implementation, but the client is allowed
+ to provide a hint in the form of the identifier of a 'root' component, which could be used
+ to extract a tree from a graph, or to linearize a collection
parameters:
- - $ref: '#/parameters/kbaseComponent'
+ - $ref: '#/parameters/artifact'
- $ref: '#/parameters/rootAssetId'
+ - $ref: '#/parameters/params'
responses:
200:
description: |
- TODO
+ An atomic, flat Knowledge Artifact
schema:
$ref: '#/definitions/KnowledgeCarrier'
@@ -171,6 +229,7 @@ paths:
required: false
schema:
$ref: '#/definitions/KnowledgeCarrier'
+ - $ref: '#/parameters/params'
responses:
200:
description: A reference to a newly created knowledgebase
@@ -189,6 +248,7 @@ paths:
pointers to each state.
parameters:
- $ref: '#/parameters/kbaseId'
+ - $ref: '#/parameters/params'
responses:
200:
description: The knowledgebase
@@ -203,6 +263,7 @@ paths:
summary: 'Deletes Knowledge Base (history)'
parameters:
- $ref: '#/parameters/kbaseId'
+ - $ref: '#/parameters/params'
description: |
Removes all the states of a KnowledgeBase from the server
- usually after the client has obtained a desired snapshot.
@@ -221,6 +282,7 @@ paths:
parameters:
- $ref: '#/parameters/kbaseId'
- $ref: '#/parameters/versionTag'
+ - $ref: '#/parameters/params'
responses:
200:
description: The knowledgebase
@@ -235,10 +297,10 @@ paths:
description: |
Returns the state of a KnowledgeBase, manifested as a (possibly composite)
Knowledge Artifact.
- #TODO - Should the client be able to negotiate the language/format?
parameters:
- $ref: '#/parameters/kbaseId'
- $ref: '#/parameters/versionTag'
+ - $ref: '#/parameters/params'
responses:
200:
description: The knowledgebase
@@ -257,7 +319,8 @@ paths:
parameters:
- $ref: '#/parameters/kbaseId'
- $ref: '#/parameters/versionTag'
- - $ref: '#/parameters/kbaseComponent'
+ - $ref: '#/parameters/artifact'
+ - $ref: '#/parameters/params'
responses:
200:
description: The ID of the newly created knowledgebase
@@ -271,10 +334,12 @@ paths:
operationId: nextKnowledgeBaseVersion
summary: 'Increments the version of a Knowledge Base'
description: |
- Clones a Knowledge Base, setting its version to the next, according to a versioning strategy determined by the server
+ Clones a Knowledge Base, setting its version to the next,
+ according to a versioning strategy determined by the server
parameters:
- $ref: '#/parameters/kbaseId'
- $ref: '#/parameters/versionTagRef'
+ - $ref: '#/parameters/params'
responses:
200:
description: The next version of the KnowledgeBase
@@ -289,11 +354,13 @@ paths:
operationId: getKnowledgeBaseStructure
summary: 'Gets the Structure of a Knowledge Base'
description: |
- Given a Knowledge Base (or a root asset that is interpreted as the 'seed' of a KB),
- returns a graph that describes the internal relationships
+ Given the id of a Knowledge Base,
+ returns a Structure that describes the internal relationships of the KB's components.
+ The Structure itself is a Knowledge Artifact, expressed in a suitable language
parameters:
- $ref: '#/parameters/kbaseId'
- $ref: '#/parameters/versionTag'
+ - $ref: '#/parameters/params'
responses:
200:
description: |
@@ -306,17 +373,30 @@ paths:
operationId: setKnowledgeBaseStructure
summary: 'Sets the Structure of a Knowledge Base'
description: |
- Imposes a Structure onto a KnowledgeBase
+ Imposes a Structure onto a KnowledgeBase.
+ Any existing Structure, if present, will be replaced.
+ The new Structure should be consistent with the KnowledgeBase: the Structure should
+ reference Components that are or are not prohibited from becoming part of the KnowledgeBase.
+ Likewise, the relationships imposed by the should be acceptable and consistent.
parameters:
- $ref: '#/parameters/kbaseId'
- $ref: '#/parameters/versionTag'
- $ref: '#/parameters/struct'
+ - $ref: '#/parameters/params'
responses:
200:
description: |
- A KnowledgeCarrier carrying the relationship graph
+ A Pointer to the updated KnowledgeBase. The Pointer must resolve to a KB
+ that manifests in the form of a CompositeKnowledgeCarrier whose Structuring Component
+ is the Structure provided as an input to this operation.
schema:
$ref: '#/definitions/Pointer'
+ 406:
+ description: |
+ The Structure is expressed in a language/form that cannot be interpreted.
+ 409:
+ description: |
+ The Structure is incompatible/inconsistent with the KnowledgeBase Components.
/knowledgebases/{kbaseId}/versions/{versionTag}/struct/components:
get:
@@ -324,9 +404,13 @@ paths:
- KnowledgeBase
operationId: getKnowledgeBaseComponents
summary: 'Gets the Components of a Knowledge Base'
+ description: |
+ Returns a list of Pointers to the individual Components of a Knowledge Base,
+ providing direct access
parameters:
- $ref: '#/parameters/kbaseId'
- $ref: '#/parameters/versionTag'
+ - $ref: '#/parameters/params'
responses:
200:
description: |
@@ -348,6 +432,7 @@ paths:
parameters:
- $ref: '#/parameters/kbaseId'
- $ref: '#/parameters/versionTag'
+ - $ref: '#/parameters/params'
responses:
200:
description: |
@@ -357,12 +442,19 @@ paths:
+ ###################################################################################################
+
+
/knowledgebases/{kbaseId}/versions/{versionTag}/transcreators/binders:
post:
tags:
- KnowledgeBase
summary: 'Bind values to a formula with open variables'
+ description: |
+ Returns a new version of a KnowledgeBase, which results from the assignment
+ of the client-provided values to the corresponding variable fragments in the Artifacts
+ that are included in the target KnowledgeBase
operationId: bind
parameters:
- $ref: '#/parameters/kbaseId'
@@ -375,7 +467,8 @@ paths:
- $ref: '#/parameters/params'
responses:
200:
- description: The bound expression
+ description: |
+ (A pointer to) the resulting KnowledgeBase
schema:
$ref: '#/definitions/Pointer'
@@ -385,6 +478,8 @@ paths:
tags:
- KnowledgeBase
summary: 'Bind values to a formula with open variables'
+ description: |
+ Requests that a bind operation is performed using a specific operator
operationId: namedBind
parameters:
- $ref: '#/parameters/kbaseId'
@@ -398,7 +493,8 @@ paths:
- $ref: '#/parameters/params'
responses:
200:
- description: The bound expression
+ description: |
+ (A pointer to) the resulting KnowledgeBase
schema:
$ref: '#/definitions/Pointer'
@@ -407,6 +503,9 @@ paths:
tags:
- KnowledgeBase
summary: 'Weave (fragments of) an artifact into a KB'
+ description: |
+ Applies a Weaving operator, such that fragments of a given 'aspects' Artifact
+ are extracted and bound to a target Knowledge Base.
operationId: weave
parameters:
- $ref: '#/parameters/kbaseId'
@@ -420,7 +519,7 @@ paths:
responses:
200:
description: |
- The new Knowledge Base resulting from the weaving
+ (A pointer to) the resulting KnowledgeBase
schema:
$ref: '#/definitions/Pointer'
@@ -429,6 +528,8 @@ paths:
tags:
- KnowledgeBase
summary: 'Weave (fragments of) an artifact into a KB'
+ description: |
+ Requests that a weave operation is performed using a specific operator
operationId: namedWeave
parameters:
- $ref: '#/parameters/kbaseId'
@@ -443,7 +544,7 @@ paths:
responses:
200:
description: |
- The new Knowledge Base resulting from the weaving
+ A pointer to the resulting KnowledgeBase
schema:
$ref: '#/definitions/Pointer'
@@ -452,6 +553,8 @@ paths:
tags:
- KnowledgeBase
summary: 'Projects a KnowledgeBase into a proper subset'
+ description: |
+ Requests that a select operation is performed using a specific operator
operationId: namedSelect
parameters:
- $ref: '#/parameters/kbaseId'
@@ -465,7 +568,8 @@ paths:
- $ref: '#/parameters/params'
responses:
200:
- description: The bound expression
+ description: |
+ (A pointer to) the resulting KnowledgeBase
schema:
$ref: '#/definitions/Pointer'
@@ -475,6 +579,11 @@ paths:
- KnowledgeBase
summary: 'Projects a KnowledgeBase into a proper subset, using a specific operator'
operationId: select
+ description: |
+ Applies a selection operator, which produces a new Knowledge Base
+ applying a 'selection' query to an existing KB.
+ More specifically, a selection query is a query that extracts existing fragments
+ without interpretation nor inference.
parameters:
- $ref: '#/parameters/kbaseId'
- $ref: '#/parameters/versionTag'
@@ -487,7 +596,7 @@ paths:
responses:
200:
description: |
- The new Knowledge Base resulting from the weaving
+ (A pointer to) the resulting KnowledgeBase
schema:
$ref: '#/definitions/Pointer'
@@ -499,6 +608,9 @@ paths:
- KnowledgeBase
summary: 'Reshapes a KB to a given subset'
operationId: namedExtract
+ description: |
+ Applies an extraction operator, which identifies specific concepts in a KnowledgeBase
+ and extracts a focused representation of those concepts
parameters:
- $ref: '#/parameters/kbaseId'
- $ref: '#/parameters/versionTag'
@@ -507,7 +619,8 @@ paths:
- $ref: '#/parameters/params'
responses:
200:
- description: The reshaped KB
+ description: |
+ (A pointer to) the resulting KnowledgeBase
schema:
$ref: '#/definitions/Pointer'
@@ -517,6 +630,9 @@ paths:
- KnowledgeBase
summary: 'Reshapes a KB to a given subset'
operationId: extract
+ description: |
+ Reshapes a KnowledgeBase, deriving a different Structure from the
+ existing Structure and/or Components
parameters:
- $ref: '#/parameters/kbaseId'
- $ref: '#/parameters/versionTag'
@@ -524,7 +640,8 @@ paths:
- $ref: '#/parameters/params'
responses:
200:
- description: The reshaped KB
+ description: |
+ (A pointer to) the resulting KnowledgeBase
schema:
$ref: '#/definitions/Pointer'
@@ -536,6 +653,8 @@ paths:
- KnowledgeBase
summary: Flattens a Knowledge Base using a component as a root
operationId: namedFlatten
+ description: |
+ Requests that a flatten operation is performed using a specific operator
parameters:
- $ref: '#/parameters/kbaseId'
- $ref: '#/parameters/versionTag'
@@ -560,7 +679,7 @@ paths:
responses:
200:
description: |
- The flat KnowledgeBase
+ (A pointer to) the resulting KnowledgeBase
schema:
$ref: '#/definitions/Pointer'
@@ -572,6 +691,8 @@ paths:
- KnowledgeBase
summary: Derives a metadata surrogate for (the root of) a given knowledgebase
operationId: namedIntrospect
+ description: |
+ Requests that a introspect operation is performed using a specific operator
parameters:
- $ref: '#/parameters/kbaseId'
- $ref: '#/parameters/versionTag'
@@ -589,6 +710,10 @@ paths:
tags:
- KnowledgeBase
summary: Derives a metadata surrogate for (the root of) a given knowledgebase
+ description: |
+ Applies introspection operator, which derives a Knowledge Asset Surrogate,
+ usually from an Artifact that carries that Asset, and/or related Artifacts,
+ and/or other Artifacts that provide context
operationId: introspect
parameters:
- $ref: '#/parameters/kbaseId'
@@ -597,7 +722,7 @@ paths:
responses:
200:
description: |
- The Surrogate Component
+ (A pointer to) the resulting KnowledgeBase, which contains the inferred Surrogate
schema:
$ref: '#/definitions/Pointer'
@@ -606,8 +731,10 @@ paths:
post:
tags:
- KnowledgeBase
- summary: Transforms the content of a KnowledgeBase (syntactically and/or semantically), possibly creating a new Asset
+ summary: Transforms the content of a KnowledgeBase (syntactically and/or semantically)
operationId: namedTransform
+ description: |
+ Requests that a transcreation operation is performed using a specific operator
parameters:
- $ref: '#/parameters/kbaseId'
- $ref: '#/parameters/versionTag'
@@ -616,7 +743,7 @@ paths:
responses:
200:
description: |
- The product of the transformation
+ (A pointer to) the resulting KnowledgeBase
schema:
$ref: '#/definitions/Pointer'
@@ -624,7 +751,10 @@ paths:
post:
tags:
- KnowledgeBase
- summary: Transforms the content of a KnowledgeBase (syntactically and/or semantically), possibly creating a new Asset
+ summary: Transforms the content of a KnowledgeBase (syntactically and/or semantically)
+ description: |
+ Applies a transcreation operator, which produces a new derivative Artifact, that
+ is the Carrier of a new, derivative Asset.
operationId: transform
parameters:
- $ref: '#/parameters/kbaseId'
@@ -633,12 +763,12 @@ paths:
responses:
200:
description: |
- The Surrogate Component
+ (A pointer to) the resulting KnowledgeBase
schema:
$ref: '#/definitions/Pointer'
-
+ #########################################################################
/transcreators/binders/{operatorId}/kbases:
post:
@@ -646,6 +776,8 @@ paths:
- Transcreate
summary: 'Bind values to a formula with open variables'
operationId: applyNamedBind
+ description: |
+ Applies a (detached) binding operator
parameters:
- $ref: '#/parameters/kbaseIdRef'
- $ref: '#/parameters/versionTagRef'
@@ -658,7 +790,7 @@ paths:
- $ref: '#/parameters/params'
responses:
200:
- description: The bound expression
+ description: The Artifact carrying the bound expression
schema:
$ref: '#/definitions/KnowledgeCarrier'
@@ -667,13 +799,16 @@ paths:
tags:
- Transcreate
summary: 'Bind values to a formula with open variables'
+ description: |
+ Applies a specific (detached) binding operator
operationId: applyNamedBindDirect
parameters:
- $ref: '#/parameters/operatorId'
- $ref: '#/parameters/artifact'
responses:
200:
- description: The bound expression
+ description: |
+ The Artifact carrying the bound expression
schema:
$ref: '#/definitions/KnowledgeCarrier'
@@ -683,6 +818,8 @@ paths:
- Transcreate
summary: 'Weave (fragments of) and artifact into a KB'
operationId: applyNamedWeave
+ description: |
+ Applies a (detached) weaving operator
parameters:
- $ref: '#/parameters/kbaseIdRef'
- $ref: '#/parameters/versionTagRef'
@@ -696,7 +833,7 @@ paths:
responses:
200:
description: |
- The new Knowledge Base resulting from the weaving
+ The Artifact carrying the woven expression
schema:
$ref: '#/definitions/KnowledgeCarrier'
@@ -706,6 +843,8 @@ paths:
- Transcreate
summary: 'Weave (fragments of) and artifact into a KB'
operationId: applyNamedWeaveDirect
+ description: |
+ Applies a specific (detached) weaving operator
parameters:
- $ref: '#/parameters/operatorId'
- $ref: '#/parameters/artifact'
@@ -718,7 +857,7 @@ paths:
responses:
200:
description: |
- The new Knowledge Base resulting from the weaving
+ The Artifact carrying the woven expression
schema:
$ref: '#/definitions/KnowledgeCarrier'
@@ -728,6 +867,8 @@ paths:
- Transcreate
summary: 'Projects a KnowledgeBase into a proper subset of content'
operationId: applyNamedSelect
+ description: |
+ Applies a (detached) selection operator
parameters:
- $ref: '#/parameters/kbaseIdRef'
- $ref: '#/parameters/versionTagRef'
@@ -741,7 +882,7 @@ paths:
responses:
200:
description: |
- The new Knowledge Base resulting from the selection
+ The Artifact carrying the expression resulting from the selection
schema:
$ref: '#/definitions/KnowledgeCarrier'
@@ -751,6 +892,8 @@ paths:
- Transcreate
summary: 'Projects a KnowledgeBase into a proper subset of content'
operationId: applyNamedSelectDirect
+ description: |
+ Applies a specific, (detached) selection operator
parameters:
- $ref: '#/parameters/operatorId'
- $ref: '#/parameters/artifact'
@@ -763,7 +906,7 @@ paths:
responses:
200:
description: |
- The new Knowledge Base resulting from the selection
+ The Artifact carrying the expression resulting from the selection
schema:
$ref: '#/definitions/KnowledgeCarrier'
@@ -772,6 +915,8 @@ paths:
tags:
- Transcreate
summary: 'Projects a KnowledgeBase into a proper subset of components'
+ description: |
+ Applies a (detached) extraction operator
operationId: applyNamedExtract
parameters:
- $ref: '#/parameters/kbaseIdRef'
@@ -782,7 +927,7 @@ paths:
responses:
200:
description: |
- The new Knowledge Base resulting from the selection
+ The Artifact carrying the expression resulting from the extraction
schema:
$ref: '#/definitions/KnowledgeCarrier'
@@ -792,6 +937,8 @@ paths:
- Transcreate
summary: 'Projects a KnowledgeBase into a proper subset of components'
operationId: applyNamedExtractDirect
+ description: |
+ Applies a specific, (detached) extraction operator
parameters:
- $ref: '#/parameters/operatorId'
- $ref: '#/parameters/artifact'
@@ -800,7 +947,7 @@ paths:
responses:
200:
description: |
- The new Knowledge Base resulting from the selection
+ The Artifact carrying the expression resulting from the extraction
schema:
$ref: '#/definitions/KnowledgeCarrier'
@@ -810,9 +957,7 @@ paths:
- Transcreate
summary: 'Extract a Knowledge Asset Surrogate from a given Knowledge Artifact'
description: |
- The operation abstracts the actual strategy, which can be initialized to be
- specific to an Artifact, or a class thereof, but is supposed to be stateless
- and idempotent.
+ Applies a (detached) introspection operator
operationId: applyNamedIntrospect
parameters:
- $ref: '#/parameters/kbaseIdRef'
@@ -821,7 +966,8 @@ paths:
- $ref: '#/parameters/params'
responses:
200:
- description: The Surrogate that results from the application of the operator
+ description: |
+ The resulting Surrogate
schema:
$ref: '#/definitions/KnowledgeCarrier'
@@ -831,9 +977,7 @@ paths:
- Transcreate
summary: 'Extract a Knowledge Asset Surrogate from a given Knowledge Artifact'
description: |
- The operation abstracts the actual strategy, which can be initialized to be
- specific to an Artifact, or a class thereof, but is supposed to be stateless
- and idempotent.
+ Applies a specific, (detached) introspection operator
operationId: applyNamedIntrospectDirect
parameters:
- $ref: '#/parameters/operatorId'
@@ -841,7 +985,8 @@ paths:
- $ref: '#/parameters/params'
responses:
200:
- description: The Surrogate that results from the application of the operator
+ description: |
+ The resulting Surrogate
schema:
$ref: '#/definitions/KnowledgeCarrier'
@@ -850,8 +995,10 @@ paths:
post:
tags:
- Transcreate
- summary: Transforms the content of a KnowledgeBase (syntactically and/or semantically), possibly creating a new Asset
+ summary: Transforms the content of a KnowledgeBase (syntactically and/or semantically)
operationId: applyNamedTransform
+ description: |
+ Applies a (detached) transcreation operator
parameters:
- $ref: '#/parameters/kbaseIdRef'
- $ref: '#/parameters/versionTagRef'
@@ -859,7 +1006,8 @@ paths:
- $ref: '#/parameters/params'
responses:
200:
- description: A Carrier of the result from the application of the operator
+ description: |
+ The resulting Artifact
schema:
$ref: '#/definitions/KnowledgeCarrier'
@@ -867,19 +1015,27 @@ paths:
post:
tags:
- Transcreate
- summary: Transforms the content of a KnowledgeBase (syntactically and/or semantically), possibly creating a new Asset
+ summary: Transforms the content of a KnowledgeBase (syntactically and/or semantically)
operationId: applyNamedTransformDirect
+ description: |
+ Applies a specific, (detached) transcreation operator
parameters:
- $ref: '#/parameters/operatorId'
- $ref: '#/parameters/artifact'
- $ref: '#/parameters/params'
responses:
200:
- description: A Carrier of the result from the application of the operator
+ description:
+ The resulting Artifact
schema:
$ref: '#/definitions/KnowledgeCarrier'
+ ###################################################################################################
+
+
+
+
definitions:
KnowledgeCarrier:
@@ -941,13 +1097,6 @@ parameters:
required: false
type: string
- kbaseComponent:
- name: kbaseComponent
- in: body
- required: true
- schema:
- $ref: '#/definitions/KnowledgeCarrier'
-
structDefinition:
name: structDefinition
in: body
@@ -992,4 +1141,4 @@ parameters:
schemes:
- https
-basePath: /omg.org/spec/API4KP/20200801/api/knowledgebase/v4
\ No newline at end of file
+basePath: /omg.org/spec/API4KP/20200801/api/knowledgebase/v5
\ No newline at end of file
diff --git a/openapi/v2/org/omg/spec/api4kp/omg/v20210201/knowledgeReasoning.swagger.yaml b/openapi/v2/org/omg/spec/api4kp/omg/v20210201/knowledgeReasoning.swagger.yaml
new file mode 100644
index 0000000..205ac47
--- /dev/null
+++ b/openapi/v2/org/omg/spec/api4kp/omg/v20210201/knowledgeReasoning.swagger.yaml
@@ -0,0 +1,456 @@
+swagger: '2.0'
+info:
+ version: "5.0.0"
+ title: 'API4KP Knowledge Reasoning API'
+ contact:
+ name: Davide Sottara
+ email: sottara.davide@mayo.edu
+ license:
+ name: Apache License, Version 2.0
+ url: https://www.apache.org/licenses/LICENSE-2.0.html
+ description: |
+
+ APIs that expose the information processing capabilities of Knowledge Platform Components,
+ usually known as engines or reasoners, which are able to apply "knowledge" to "data",
+ in order to derive new information.
+
+ Knowledge Reasoning APIs are likely to provide an abstraction layer for the proprietary
+ API of existing engines, but could also be used to expose engine-less microservices designed
+ to work with individual, named knowledge bases.
+
+ The APIs pivot on the notion of Knowledge Base _in motion_, and consider reasoners
+ as operators applied to the KBs.
+ In this context, Knowledge Bases prepared for Reasoning are also called Knowledge Models,
+ or "Models" for short, providing a connection to modern AI implementations.
+
+ The boundary between 'instance data' and 'universal knowledge' is fuzzy, and is abstracted
+ once the substrate Knowledge Base is bound to the reasoner. Knowledge Graphs are a primary example.
+ Some reasoning operations allow Clients to provide bindings for input variables.
+
+ ** Implementation patterns **
+ The binding between the Knowledge Base and the Reasoning service can be implemented in different ways.
+ Patterns include, but are not limited to,
+ (i) Knowledge Bases deployed within an engine backing the server; (ii) be implemented by the server directly,
+ through manual software development or trans-compilation process; (iii) references that can be
+ resolved by the server; (iv) support proxy/broker/adapter patterns where the server delegates
+ the execution to another service
+
+ ** Service Boundaries **
+ Reasoning APIs integrate with KnowledgeBase construction APIs to gather the knowledge,
+ and prepare it in a form that can be processed by the engine.
+ Reasoning APIs may produce Knowledge Base (components), and KnowledgeBase Construction APIs
+ can be used to construct augmented, inferred Knowledge Bases, which can be further processed using
+ the Reasoning APIs
+
+ **Maturity**
+ As of this version, this API is considered experimental.
+ Stateful, Incremental and/or Asynchronous reasoning APIs are not supported in this version
+
+tags:
+ - name: Reasoning
+ description: |
+ Endpoints that expose Reasoning capabilities as synchronous, stateless services
+ #- name: asynch
+ # description: "Endpoints that expose the model's asynchronous computation"
+
+paths:
+
+ /models:
+ get:
+ tags:
+ - Model
+ summary: List Models
+ operationId: listModels
+ description: |
+ Lists the Knowledge Bases that are available to this server for reasoning.
+ produces:
+ - application/json
+ - application/xml
+ responses:
+ 200:
+ description: |
+ A List of pointers to the available Models
+ schema:
+ type: array
+ items:
+ $ref: '#/definitions/Pointer'
+
+ /models/{modelId}/versions/{versionTag}:
+ get:
+ tags:
+ - Model
+ summary: Describe Model
+ operationId: getModel
+ description: |
+ Return descriptive metadata about a Model.
+ This operation may return a Surrogate, including a canonical API4KP
+ Surrogate associated to the Knowledge Base, but could also return
+ a runtime-oriented Surrogate that describes the Knowledge Base as an executable artifact.
+ produces:
+ - application/json
+ - application/xml
+ parameters:
+ - $ref: '#/parameters/modelId'
+ - $ref: '#/parameters/versionTag'
+ responses:
+ 200:
+ description: |
+ A runtime surrogate
+ schema:
+ $ref: '#/definitions/KnowledgeCarrier'
+
+
+ ##########################################################################################
+
+ /models/{modelId}/versions/{versionTag}/reasoners/inferences:
+ post:
+ tags:
+ - Reasoning
+ operationId: infer
+ summary: Derives all logical consequences of a given KB
+ description: |
+ Derives the necessary, inferred consequences of a given (asserted) Knowledge Base,
+ by means of logical derivation.
+ The client may optionally provide some input Bindings
+ consumes:
+ - application/json
+ produces:
+ - application/json
+ parameters:
+ - $ref: '#/parameters/modelId'
+ - $ref: '#/parameters/versionTag'
+ - in: body
+ name: features
+ required: false
+ schema:
+ $ref: '#/definitions/Bindings'
+ - $ref: '#/parameters/params'
+ responses:
+ 200:
+ description: |
+ The inferred axioms
+ schema:
+ $ref: '#/definitions/KnowledgeCarrier'
+
+
+ /models/{modelId}/versions/{versionTag}/reasoners/inferences/consequents:
+ post:
+ tags:
+ - Reasoning
+ operationId: evaluate
+ summary: Derives inferred features, based on input bindings
+ description: |
+ Evaluates a 'model' against some user provided 'inputs'.
+ Binds the client-provided inputs to the proper Knowledge Base variables,
+ performs an inference (see: infer), and returns the values associated
+ to some output variables.
+ consumes:
+ - application/json
+ produces:
+ - application/json
+ parameters:
+ - $ref: '#/parameters/modelId'
+ - $ref: '#/parameters/versionTag'
+ - $ref: '#/parameters/features'
+ - $ref: '#/parameters/params'
+ responses:
+ 200:
+ description: |
+ The inferred values for the KB's output variables
+ schema:
+ $ref: '#/definitions/Bindings'
+
+
+ /models/{modelId}/versions/{versionTag}/reasoners/inferences/entailments:
+ post:
+ tags:
+ - Reasoning
+ operationId: entails
+ summary: tests whether a set of statements is a logical consequence of a KB
+ description: |
+ performs an inference using the given Knowledge Base as a substrate, then
+ verifies whether the client's provided Knowledge Base Component is a subset
+ of the substrate Knowledge Base, and/or its logical consequences.
+ consumes:
+ - application/json
+ produces:
+ - application/json
+ parameters:
+ - $ref: '#/parameters/modelId'
+ - $ref: '#/parameters/versionTag'
+ - in: body
+ name: potentialConsequence
+ required: true
+ schema:
+ $ref: '#/definitions/KnowledgeCarrier'
+ - $ref: '#/parameters/params'
+ responses:
+ 200:
+ description: |
+ Whether or not the target KB entails the client provided one
+ schema:
+ type: boolean
+
+
+ /models/{modelId}/versions/{versionTag}/reasoners/queryanswers:
+ post:
+ tags:
+ - Reasoning
+ operationId: askQuery
+ summary: queries the KB, returning bindings to the query's variables
+ description: |
+ applies the client's provided Query to the target Knowledge Base.
+ If the query specifies any output variable, this operation will
+ return the inferred bindings for those variables.
+ parameters:
+ - $ref: '#/parameters/modelId'
+ - $ref: '#/parameters/versionTag'
+ - name: query
+ in: body
+ required: true
+ schema:
+ $ref: '#/definitions/KnowledgeCarrier'
+ - $ref: '#/parameters/params'
+ responses:
+ 200:
+ description: |
+ The bindings of the query variables
+ schema:
+ type: array
+ items:
+ $ref: '#/definitions/Bindings'
+
+
+ /models/{modelId}/versions/{versionTag}/reasoners/checks:
+ post:
+ tags:
+ - Reasoning
+ operationId: checkConsistency
+ summary: determines whether the KB is internally logically consistent
+ description: |
+ Determines the consistency of a Knowledge Base, usually by determining
+ whether 'false' is a logical consequence of the KB
+ parameters:
+ - $ref: '#/parameters/modelId'
+ - $ref: '#/parameters/versionTag'
+ - $ref: '#/parameters/params'
+ responses:
+ 200:
+ description: |
+ Whether or not the target KB is logically consistent
+ schema:
+ type: boolean
+
+
+ /models/{modelId}/versions/{versionTag}/reasoners/sats:
+ post:
+ tags:
+ - Reasoning
+ operationId: checkSatisfiability
+ summary: determines whether the KB is satisfiable
+ description: |
+ Determines whether the Knowledge Base is satisfiable, i.e. whether the KB is not inconsistent
+ and, if the KB has open variables, there is at least one binding of those variables
+ that would result in a KB that is still consistent.
+ parameters:
+ - $ref: '#/parameters/modelId'
+ - $ref: '#/parameters/versionTag'
+ - $ref: '#/parameters/params'
+ responses:
+ 200:
+ description: |
+ A list of at least one Binding if the KB is satisfiable, or an empty list if the KB is not.
+ Notice that an empty list of Bindings denotes an unsatisfiable KB, while a list with
+ Bindings that are empty would denote a trivially satisfiable KB - a KB that is consistent
+ and has no free variables.
+ schema:
+ type: array
+ items:
+ $ref: '#/definitions/Bindings'
+
+
+ /models/{modelId}/versions/{versionTag}/reasoners/classifiers/individuals/{entityId}:
+ get:
+ tags:
+ - Reasoning
+ operationId: listMembership
+ summary: lists all the classes that an individual is member of
+ description: |
+ Given the id of an individual, and optional features that describe that individual,
+ returns all the classes that the individual is a member of, or all the types
+ that the individual is an instance of.
+
+ This operation supports both qualitative and quantitative classifications.
+ parameters:
+ - $ref: '#/parameters/modelId'
+ - $ref: '#/parameters/versionTag'
+ - $ref: '#/parameters/entityId'
+ - $ref: '#/parameters/features'
+ - $ref: '#/parameters/params'
+ responses:
+ 200:
+ description: |
+ References to the class(es) that the individual is a member of
+ schema:
+ type: array
+ items:
+ $ref: '#/definitions/Pointer'
+ post:
+ tags:
+ - Reasoning
+ operationId: checkMembership
+ summary: determines if an individual is member of a class
+ description: |
+ Given the id of an individual, some optional features that describe that individual,
+ and the id of a specific class, determines whether the individual is a member of that class
+ parameters:
+ - $ref: '#/parameters/modelId'
+ - $ref: '#/parameters/versionTag'
+ - $ref: '#/parameters/entityId'
+ - $ref: '#/parameters/classId'
+ - $ref: '#/parameters/params'
+ responses:
+ 200:
+ description: |
+ Whether or not the given individual is a member of the given class
+ schema:
+ type: boolean
+
+ /models/{modelId}/versions/{versionTag}/reasoners/classifiers/classes/{entityId}:
+ get:
+ tags:
+ - Reasoning
+ operationId: listSubsumptions
+ summary: lists all the superclasses of a given Class
+ description: |
+ Given the identifier of a class, returns all the classes that the given class is a subclass of.
+ parameters:
+ - $ref: '#/parameters/modelId'
+ - $ref: '#/parameters/versionTag'
+ - $ref: '#/parameters/entityId'
+ - $ref: '#/parameters/params'
+ responses:
+ 200:
+ description: |
+ References to the superclasses of the given class
+ schema:
+ type: array
+ items:
+ $ref: '#/definitions/Pointer'
+ post:
+ tags:
+ - Reasoning
+ operationId: checkSubsumption
+ summary: determines if a Class is a subclass of another class
+ description: |
+ Given the identifiers of two classes, returns true if and only if the former is a subclass of the latter.
+ parameters:
+ - $ref: '#/parameters/modelId'
+ - $ref: '#/parameters/versionTag'
+ - $ref: '#/parameters/entityId'
+ - $ref: '#/parameters/classId'
+ - $ref: '#/parameters/params'
+ responses:
+ 200:
+ description: |
+ Whether or not the given class (entity) is a subclass of the reference class
+ schema:
+ type: boolean
+
+
+
+parameters:
+ modelId:
+ in: path
+ name: modelId
+ type: string
+ format: uuid
+ required: true
+ description: |
+ The Identifier of a known Knowledge Base that is deployed and executed as a Service.
+ This identifier SHOULD be an ID of the Asset itself, not of the manifestation of the Asset within the server.
+
+ versionTag:
+ in: path
+ name: versionTag
+ type: string
+ required: true
+ description: "The Identifier os a specific version of a Model, within the series identified
+ by a modelId."
+
+ entityId:
+ in: path
+ name: entityId
+ type: string
+ format: uuid
+ required: true
+
+ classId:
+ in: query
+ name: classId
+ type: string
+ format: uuid
+ required: true
+
+ features:
+ in: body
+ name: features
+ required: false
+ schema:
+ $ref: '#/definitions/Bindings'
+
+ lambdaId:
+ in: path
+ name: lambdaId
+ description: TODO
+ required: true
+ type: string
+ format: uuid
+
+ sourceArtifact:
+ name: sourceArtifact
+ in: body
+ required: true
+ schema:
+ $ref: '#/definitions/KnowledgeCarrier'
+
+ xAccept:
+ in: query
+ name: xAccept
+ description: |
+ A formal MIME type used for content negotiation
+ required: false
+ type: string
+
+ params:
+ in: header
+ name: X-params
+ description: |
+ Additional, operation-specific parameter
+ required: false
+ type: string
+
+
+definitions:
+ Pointer:
+ type: object
+ description: "Compact proxy object that carries references to another Resource. This object
+ used in operations that browse and list collections."
+
+ KnowledgeCarrier:
+ type: object
+ description: "A Resource that describes a particular representation of a Knowledge Asset."
+
+ Map:
+ type: object
+ description: "A single table row, implemented by means of a map, where the 'column' keys
+ SHALL correspond to either the names or the concept URIs of one or more Data Concepts,
+ and the values is one array of uniform length."
+
+ Bindings:
+ type: object
+
+# Added by API Auto Mocking Plugin
+schemes:
+ - https
+basePath: /omg.org/spec/API4KP/20200801/api/inference/v5
\ No newline at end of file
diff --git a/openapi/v3/edu/mayo/kmdp/1.0.0/wemi.conceptual.plantuml b/openapi/v3/edu/mayo/kmdp/1.0.0/wemi.conceptual.plantuml
new file mode 100644
index 0000000..a186bd6
--- /dev/null
+++ b/openapi/v3/edu/mayo/kmdp/1.0.0/wemi.conceptual.plantuml
@@ -0,0 +1,111 @@
+@startuml
+
+skin rose
+
+title WEMI Coceptual Model
+
+
+enum WEMKind {
+ Work
+ Expression
+ Manifestation
+ Surrogate
+}
+
+
+
+class DID << (D,orchid) >>
+class ID << (D,orchid) >>
+class POCID << (D,orchid) >>
+class URI << (D,orchid) >>
+URI <|-down- DID
+ID <|-down- URI
+ID <|-down- POCID
+interface Primary << Role >>
+Primary <|-up- DID
+
+
+
+abstract class Concept << (D,orange) >> {
+ URI conceptId
+ String label
+ String code
+}
+class Language << (D,orange) >>
+class ContentType << (D,orange) >>
+class Format << (D,orange) >>
+Concept <|-down- Language
+Concept <|-up- ContentType
+Concept <|-down- Format
+
+
+
+class Designator << (D,orchid) >>
+class Code << (D,orchid) >>
+class MimeCode << (D,orchid) >>
+Code <|-down- MimeCode
+Designator <|-down- Code
+Designator <|-down- ID
+
+
+
+
+abstract class Endeavor {
+ String name
+ WEMKind kind
+}
+Primary <-- Endeavor: primaryId
+ID "*" <-- Endeavor: aliases
+ID "*" <-- Endeavor: tags
+
+
+
+class Work
+
+class Expression {
+ String title
+ Code languageCode
+}
+Work <-- Expression : realizes
+
+class Manifestation {
+ MimeCode format
+}
+Expression <-- Manifestation: embodies
+Work "content" <-- "carrier" Manifestation: /carries
+
+Endeavor <|-down- Work
+Endeavor <|-down- Expression
+Endeavor <|-down- Manifestation
+Manifestation <|-down- Surrogate
+
+class Surrogate
+Work <-- Surrogate: about
+
+
+Concept <.left. Work: subject
+ContentType <.. Work: contentType
+Language <.left. Expression: localization
+Format <.. Manifestation: form
+Manifestation <--> Manifestation: /variantOf
+
+
+
+abstract class Composite <> {
+}
+
+abstract class Versioned <> {
+ String versionTag
+}
+Versioned <|-down Endeavor
+Endeavor <-up- Versioned: versionOf
+
+Versioned <|-down Composite
+Versioned <-up- Composite: hasComponent
+Versioned <-up- Composite: hasStructure
+
+Endeavor <-- Endeavor: derivedFrom
+Endeavor <-- Endeavor: dependsOn
+
+
+@enduml
\ No newline at end of file
diff --git a/openapi/v3/edu/mayo/kmdp/1.0.0/wemi.conceptual.png b/openapi/v3/edu/mayo/kmdp/1.0.0/wemi.conceptual.png
new file mode 100644
index 0000000..98b475c
Binary files /dev/null and b/openapi/v3/edu/mayo/kmdp/1.0.0/wemi.conceptual.png differ
diff --git a/openapi/v3/edu/mayo/kmdp/1.0.0/wemi.oas.yaml b/openapi/v3/edu/mayo/kmdp/1.0.0/wemi.oas.yaml
new file mode 100644
index 0000000..732ea45
--- /dev/null
+++ b/openapi/v3/edu/mayo/kmdp/1.0.0/wemi.oas.yaml
@@ -0,0 +1,967 @@
+openapi: 3.0.1
+info:
+ title: Work/Expression/Manifestation Registry Interface
+ description: |
+
+ #### Introduction
+ This service provides the backbone capabilities of a semantic, Knowledge Graph-based catalog
+ of Content Assets.
+
+ The capabilities support Assets that vary in scope/subject (including clinical, medical but also
+ technical), audience (consumers, patients, medical professionals), origin (curated, acquired
+ or machine generated), and form (including media, models and software).
+
+ The capabilities provided by this service are focused on the identification, registration and
+ basic correlation of these Assets. While these functions imply a minimal view on a Knowledge
+ Graph, it is assumed that additional services will be used to augment that Graph, and provide
+ additional capabilities such as search/indexing, analytics/insights and visualization/presentation.
+
+ #### Design Principles
+ This service is built around the following principles
+
+ ###### Identification
+ In this context, iodentifiers (IDs) are unique sequences of characters that denote one entity.
+
+ As strings, identifiers conform to some scheme that provides the syntactic rules for the generation ("minting")
+ and validation of the identifiers themselves. Standard, well-known schemes include URI/URL/URN, UUID and OID.
+
+ Identifiers are assigned and subsequently registered to an entity, which becomes identified by that identifier.
+ Note that an entity may be identified by zero or more identifiers, while an identifier can identify
+ at most one entity - and exactly one once it is registered.
+
+ Among other characteristics, identifiers should be:
+ * globally unique
+ * persistent: once assigned, never reassigned
+ * distributed: registered centrally, but minted anywhere
+ * resolvable: the identifier can lead to the identified entity, or a description thereof
+ * transparent to location: independent of an entity's location at any point in time
+
+ ###### Work / Expression / Manifestation Primer
+
+ The 'Functional Requirements for Bibliographic Records' (FRBR) is a standard originated in
+ library science. In FRBR, distinctions are made between 'Works', 'Expressions', 'Manifestations'
+ and 'Items' - collectively called 'Endeavors'.
+ * (Intellectual) Works consist of pure subject matter, focused on a subject and arranged for a purpose.
+ Examples include: a lecture on the anatomy of the heart; an algorithm to extract the square root of an integer number;
+ the instructions on how to self care when diagnosed with the flu; a recipe for grilled fish
+ * Expressions are the realization of a Work in some language - natural, formal or combination thereof.
+ Examples include: the lecture in English; the algorithm in C++; the self-care instructions in Spanish;
+ the recipe in Italian, with HTML markup.
+ * Manifestations embody Expressions concretized in some form, such as text, audio or video.
+ Examples: a video of the lecture; the C++ source file, zipped; the instructions as a pamphlet;
+ the recipe as a web page.
+
+ Further, Manifestations are carriers of Works, where the Works are the content of the Manifestation.
+ Works can be classified according to Content Types, based on patterns of conceptual arrangements.
+ Expressions can conform to Content Models, which are patterns and/or constraints on the syntax and structure
+ of the Expression. Manifestations have forms and formats based on the medium, and techniques used
+ to imprint the Expression on the medium.
+ Example: 'Recipe' is a content type. A linguistic realization could follow a content model where
+ the ingredients are present first as a list, followed by the process as an algorithmic collection
+ of steps. The content model may also allow for a summary of the author's life, to be included before the ingredients.
+ The content may be narrated and recorded as voice media, encoded as an mp3 digital file.
+
+ The WEM framework applies to physical and digital artifacts, and generalizes to formal content
+ such as models and software.
+ Related WEM entities are tightly coupled, but distinct: for example, the Expression of a Work
+ realizes that Work, but is not the same as that Work. As a consequence, each entity can be assigned
+ an independent (primary) identifier, and the same identifier should not be used identify two or more entities.
+
+ 
+
+ ####### Versioning
+ WEM Entities can mutate over time while maintaining some level of identity or continuity.
+ Each mutation creates a new version: a distinct individual of the same type. The versions of an
+ entity can be organized into a 'series': the set of versions, ordered temporally.
+ Each versions can be assigned a primary identifier, and the versions can be related to each other.
+ Moreover, or in alternative, each version can be identified using the combination of a primary
+ identifier assigned to the series, plus a version 'tag'. Version tags are often structured identifiers
+ that conform to sequential numbers, semantic versions (SemVer), and/or calendar versions (CalVer)
+
+ ####### Composites, Components, Structures and Fragments
+ WEM Entities can be aggregated or decomposed into Entities of the same Kind. A Composite Work
+ consists of other distinct Works, which are the components of that composite. The same principle
+ applies to Expressions and Manifestations. However, heterogeneous composites are not allowed:
+ a Work cannot be part of an Expression nor a Manifestation, and vice versa.
+ While there is no theoretical limit to composition, decomposition is bounded. If an Entity is
+ decomposed to a degree where the parts are not independently viable, those parts will be considered Fragments.
+
+ Moreover, Composites are usually functional complexes: in addition to having their native types,
+ components play roles and have relationships to the other components of the same composite.
+ The identity, types, and mutual roles and relationships of the components defines the Structure
+ of the Composite.
+ Example: a DITA Map structures two or more DITA topics.
+
+ ####### Dependencies
+ Composition provides a way to reuse entire entities, according to design-time decisions.
+ Composition also assumes access and control over the components.
+ However, strong and complete reuse is not always necessary. A web page may contain a link to an
+ external video that is curated by a third party and is supplemental material to the page itself.
+ A software program may use one routine out of a different library, and only at runtime based on input values.
+ In these scenarios, the entities involved may not have been composed together into a higher order
+ composite, but would still be related one another through a relationship of dependency.
+
+ ####### Derivation (Pedigree)
+ Provenance (custodianship) and Pedigree (lineage) are important aspects used to establish trust
+ in a piece of content. Provenance is based on relationship between an Entity and one or more Parties:
+ while provenance information is part of a broader notion of metadata, and should be linked in the
+ underlying knowledge graph, it is outside the scope of this service.
+
+ Conversely, pedigree is based on derivation relationships between Entities. Derived entities are distinct
+ and, unlike composition and dependency, derivation usually implies independence.
+ Entities in a series might be such that a later version derives from a previous versions (and possibly
+ other entities), but derivation usually generates brand new entities.
+
+ ####### Variance
+ Defined only for Expressions and Manifestations, variance is a symmetric relationship between two
+ distinct Entities that realize or carry the same Work, but expressed in different combinations
+ of languages and forms.
+
+ Variants can originate from the same intellectual Work. More often, a variant is derived from a
+ previous Expression (or Manifestation thereof) of the work of interest. When the derivation
+ focuses primarily on the natural language elements of an expression, it is commonly called 'translation'.
+
+ Variance is also the underlying principle of content negotiation: instead of exchanging a known
+ manifestation (e.g. by identifier, or as the result of a search), client and server use a Work-level
+ identifier, and compare the languages and forms of the variants that the server has available,
+ vs the variants that the client can process.
+
+
+ #### Use Cases
+
+ ###### UC1
+ There is the need for a system to generate one or multiple (as a batch process) DIDs for
+ purposes of the local system. These purposes can be independent of creating content for any
+ catalog or library in the ecosystem, or it can be for content in early stages of development
+ that will enter the catalog at a later stage.
+
+ return mintMcDidIdentifier(n)
+
+
+ ###### UC2
+ When a new Expression of a piece of content (PoC) is created in a CMS, e.g. as a DITA topic or map,
+ there is a need to generate and obtain a DID as primary identifier, and register the new Expression
+ together with the full WEM set in the catalog, including new legacy PoC IDs required for compatibility.
+
+ The CMS is going to provide essential charateristics (title, content type, language, format),
+ together with the catalog in which the new work should be created.
+ Assuming that the Work does not exist yet, a Work needs to be created with the requested content
+ type, an Expression with the requested language, and a manifestation with the requested title and format.
+ Each of the entities will receive a DID as a primary ID, and legacy PoC ID will be created as needed.
+ The entities must be connected according to the appropriate semantic properties (realization, embodiment).
+ A representation of the newly asserted information is returned to the Client.
+
+ mid = mintMcDidIdentifier()
+ eid = mintMcDidIdentifier()
+ wid = mintMcDidIdentifier()
+ m = new M(mid, mainTitle, format, eid)
+ e = new E(eid, language, wid)
+ w = new W(wid, contentType)
+ wem = new W(w, new E(e, new M(m, poc)))
+ setEndeavor(wid, w)
+ setEndeavor(eid, e)
+ setEndeavor(mid, m)
+ poc = mintLegacyId(contentType)
+ addAlias(mid, poc)
+ return wem
+
+ ###### UC3
+ New Expressions for existing Works can be created in a CMS through translations of content.
+ These translations need to be created as new Expressions for the same Work.
+ When a translated DITA Map or Topic is created, the CMS provides the DID of the Work and
+ the DID of the originating Expression, together with metadata details of the newly generated Expression.
+
+ The Expression is created as an additional realization of the existing Work, with the requested
+ language, and needs to be connected to the originating Expression with the 'has translation'
+ relationship, which is a form of derivation. A new Manifestation will be created for the new Expression,
+ with the requested title. This new Manifestation could be inferred to be a variant of the Manifestation
+ of the source Expression.
+
+ The created Expression will receive a DID, and the created Manifestation will receive a DID and
+ a PoCID. A representation of the newly asserted information is returned to the Client.
+
+ hasEndeavor(workId)
+ eid = mintMcDidIdentifier()
+ mid = mintMcDidIdentifier()
+ m = new M(mid, mainTitle, eid)
+ e = new E(eid, language, workId)
+ addEndeavor(eid, e)
+ addEndeavor(mid, m)
+ poc = mintLegacyId(contentType)
+ addAlias(mid, poc)
+ addRelationship(eid, sourceExpression, 'isTranslationOf')
+ return new E(e, new M(m, poc)))
+
+
+
+ ###### UC4
+ Content creators, administrators and user/software agents thereof need to look up and map between primary and
+ secondary identifiers. An application needs to be able to search in the content catalog with a
+ full or truncated secondary identifier and receive the primary identifier (a DID) together with
+ basic metadata about the connected entities (e.g. titles, languages).
+
+ return getEndeavor(aliasPattern)
+
+
+
+ ###### UC50
+ As a client, I want to engage in content negotiation. Given a Work of interest, I want to know
+ what Expressions/Manifestations are available, including the ones that could be derived, but have
+ not been materialzed yet (e.g.: the ability to translate a piece of content into a different language on demand).
+ I may be interested in that information for use at a later time, or I may be trying to access a
+ certain form at that point time. Ultimately, I need to confirm my ability to process a given artifact,
+ especially when multiple alternatives exist, but not all of them are useful or usable by me.
+
+
+ ###### UC99 (out of scope)
+ Content creators, administrators and user/software agents thereof need to search, browse and/or query
+ the catalog records for discovery and/or analytics purposes, leveraging descriptive
+ metadata (e.g. title, description), technical metadata, semantic annotations (e.g. subject,
+ audience, applicability), provenance (e.g. creator, owner) and pedigree (e.g. derivation,
+ bibliography, dependencies).
+
+ This use case requires the broader Knowledge Graph, and the capabilities should be provided
+ by dedicated query APIs (e.g. SPARQL or GraphQL based), and a proper semantic/cognitive search engine.
+
+ contact:
+ email: Sottara.Davide@mayo.edu
+ license:
+ name: Apache 2.0
+ url: http://www.apache.org/licenses/LICENSE-2.0.html
+ version: 0.0.0
+
+tags:
+ - name: WEMI
+ description: WEMI Registry Services
+ - name: Mint
+ description: Identifier Generation Services
+
+paths:
+
+ # -------------------------------------------- Identifier Mint Service
+
+ /mint/did/mcid:
+ post:
+ tags:
+ - Mint
+ summary: Create MC DID
+ operationId: mintMcDidIdentifier
+ description: |
+ Creates one or more MC DID, as brand new URI that follow the pattern 'did:mcid:{id}',
+ where id is a UUIDv4 globally unique identifier, converted to string with hyphens removed,
+ then encoded in Base58.
+ DIDs are meant to be used as primary identifiers of Endeavors, but there is no other specific
+ connection
+
+ Note that this operation does not associate the new IDs to any entity - WEM or otherwise.
+ It is functional, not idempotent, and not cacheable: each invocation will generate new identifier(s).
+ parameters:
+ - in: query
+ name: num
+ description: Number of identifiers to generate
+ required: false
+ schema:
+ type: integer
+ default: 1
+ minimum: 1
+ responses:
+ 200:
+ description: |
+ On Success, returns a JSON list of strings, where each element is a newly minted UUIDv4 identifier, without hypens, encoded in Base58"
+ content:
+ application/json:
+ examples:
+ single:
+ value: '["did:mcid:4K1bvHYjzQGLreTPPGUQjrCmBUCstEKQ2RjHNGd4Bs8T"]'
+ summary: num = 1 (default)
+ multiple:
+ value:
+ '["did:mcid:4nP7jRJknV2ffrcwN12J84uZ6DaQKs7np2uyDwo7V5WQ",
+ "did:mcid:4eYYVH8go6rBTh5Fy6edJN2aNkrBB6ZcAKCzv4cvNW82"]'
+ summary: num > 1
+ schema:
+ type: array
+ minimum: 1
+ items:
+ type: string
+ 501:
+ description: |
+ Not implemented
+
+ /mint/legacy/pocid:
+ post:
+ tags:
+ - Mint
+ summary: Create Legacy POC ID
+ operationId: mintLegacyPocId
+ description: |
+ Creates a POC ID, for an Endeavor that has, realizes or carries a given Content Type.
+ POC IDs conform to the pattern '{code}-{num}', where code is a 3-letter code for a given content type,
+ and num is an 8 digit sequential number.
+
+ POC IDs are semi-transparent to the content type, and consequently not persistent with respect
+ to re-classification of an Endeavor, and/or re-codification of a content type. POC IDs are
+ sequential and scarce: their generation must be centralized to avoid clashes, and can only
+ be performed by authorized clients.
+
+ Note that, historically, POC IDs have been associated to endeavors as both identifiers proper,
+ but also as 'tags'. For example, two or more localized expressions sharing the same POC ID,
+ as the identifier of a common implicit Work.
+ For all these reasons, POC IDs should be used only for compatibility reasons, and their role
+ with respect to an Endeavor should be clarified.
+ parameters:
+ - in: query
+ name: contentTypeCode
+ description: |
+ A code that evokes a concept which, in turn, classifies an Endeavor's Content Type
+ required: true
+ schema:
+ type: string
+ responses:
+ 200:
+ description: |
+ On Success, returns a POC ID
+ content:
+ application/json:
+ example: XYZ-12345678
+ 403:
+ description: |
+ Forbidden, only selected clients can invoke this operation
+ 404:
+ description: |
+ Unknown Content Type
+ 500:
+ description: |
+ Internal Error
+ 501:
+ description: |
+ Not implemented
+
+
+ # -------------------------------------------- WEM Registry Service
+
+ /registry/backbone/endeavors:
+ get:
+ tags:
+ - WEMI
+ summary: List Existing Endeavors
+ operationId: listEndeavors
+ description: |
+ Returns a list of registered Endeavors, possibly filtered by Endeavor kind and/or content type
+ parameters:
+ - in: query
+ name: aliasPattern
+ description: |
+ if provided, returns only Endeavors that are identified by a (secondary) identifier
+ whose value matches the given regular expression
+ required: false
+ schema:
+ type: string
+ format: regex
+ - in: query
+ name: endeavorTypeFilter
+ description: |
+ if provided, only returns Endeavors of the given kind
+ required: false
+ schema:
+ $ref: '#/components/schemas/EndeavorKind'
+ - in: query
+ name: contentTypeCodeFilter
+ description: |
+ The Code of a concept that denotes a Content Type
+ If provided, only returns Endeavors that either are, realize, or embody the realization
+ of, a Work of the given type
+ required: false
+ schema:
+ type: string
+ format: uri
+ responses:
+ 200:
+ description: |
+ On Success, returns the registered Endeavors. If filtering criteria are provided, only
+ returns endeavors that match all the given criteria
+ content:
+ application/json:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/EndeavorReference'
+ links:
+ Get Endeavor:
+ operationId: getEndeavor
+ description: |
+ Retrieve details for a specific Endeavor
+ parameters:
+ primaryId: '$response.body#primaryId'
+
+ post:
+ tags:
+ - WEMI
+ summary: Create a new Endeavor
+ operationId: newEndeavor
+ description: |
+ Creates a new, individual Work, Expression or Manifestation, based on the provided kind,
+ registering a DID as its primary identifier in the process.
+
+ The client may provide a resource descriptor with essential property values to initialize the
+ new Endeavor's description in the graph. The descriptor kind must be consistent with the given
+ endeavorType, and must not have a primary identifier.
+ Assuming the preconditions are satisfied, the server will mint a new primary id, assign it
+ to the descriptor, and proceed as if 'setEndeavor' had been invoked with the provided descriptor
+ and the newly minted identifier.
+ parameters:
+ - $ref: '#/components/parameters/endeavorType'
+ requestBody:
+ required: false
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/WEM'
+ responses:
+ 201:
+ description: |
+ On Success, returns a descriptor of the created resource, as if 'getEndeavor' had been
+ invoked with the newly minted identifier.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/WEM'
+ links:
+ Get Endeavor:
+ operationId: getEndeavor
+ description: |
+ Retrieve details for a specific Endeavor
+ parameters:
+ primaryId: '$response.body#primaryId'
+ 400:
+ description: |
+ The request contains a primary identifier
+ 409:
+ description: |
+ The endeavor kind is not consistent with the provided descriptor
+ 501:
+ description: |
+ Not implemented
+
+
+
+ /registry/backbone/endeavors/{primaryId}:
+ head:
+ tags:
+ - WEMI
+ summary: Checks for the existence of an Endeavor
+ operationId: hasEndeavor
+ description: |
+ Determines whether the given ID matches a registered Endeavor
+ parameters:
+ - $ref: '#/components/parameters/primaryId'
+ responses:
+ 200:
+ description: Success, Endeavor exists
+ 404:
+ description: Not found
+
+ get:
+ tags:
+ - WEMI
+ summary: Get Existing Endeavor by primary identifier
+ operationId: getEndeavor
+ description: |
+ Retrieves the description of an endeavor, given its primary identifier.
+
+ To match the full identifiers, the server is expected to re-add the prefix 'did:mcid:', then
+ look up the named individual and its essential properties, in order to construct the descriptor.
+
+ Note that descriptors are expanded downward the WEM hierarchy (e.g. Work descriptors include
+ Expression descriptors, which in turn include Manifestation descriptors), while upward links
+ are only included by reference (e.g. a Manifestation descriptor for a given Work/Expression
+ may also contain references to other embodied Expressions/Works)
+ parameters:
+ - $ref: '#/components/parameters/primaryId'
+ responses:
+ 200:
+ description: Sucecss
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/WEM'
+ 404:
+ description: Not found
+
+
+ patch:
+ tags:
+ - WEMI
+ summary: Ensures a known Endeavor is registered and described
+ operationId: setEndeavor
+ description: |
+ Ensures that an Endeavor of the given type, with the given DID, is present in the Registry.
+ Uses the client-provided metadata to ensure that the underlying graph contains statements
+ about the essential properties of the Endeavor, as described below.
+
+ This operation is idempotent: it will (re)assert the triples inferred from the client payload,
+ as long as they are already existing and/or consistent with the current state of the graph.
+
+ Consistency is defined according to the following rules:
+ 1. The primary identifier must not identify an entity of a different WEM kind
+ 2. Secondary identifiers must not be associated to distinct Endeavors (see 'hasAlias')
+ 3. Tags must resolve to existing Endeavors, or aliases thereof, including Endeavors that
+ would be created as a consequence of this request
+ 4. Given the Work associated to the current Endeavor, that Work's content type must not be
+ inconsistent with the provided content type. Note that a Work may have multiple content type,
+ but some content types may be mutually exclusive (disjoint) according to the content type ontology.
+ 5. Labels are never inconsistent, and assumed to be in the given localization language
+ 6. For Manifestations and/or Expression Endeavors only, the language is inconsistent if none of the
+ associated Expressions are localized in the given language.
+ (Note: this definition considers that Works do not yet have a specific language, while covering
+ the edge case of multi-lingual Manifestations that contain various translations of the same content)
+ 7. For Manifestations only, format is inconsistent if a different format has already been
+ asserted for the same Manifestation.
+
+ When consistency is verified, the graph is updated as follows:
+ 1. Unless already existing, the Endeavor is created as an individual with the given primary identifier.
+ 2. Assertion of aliases is executed as if 'addAlias' had been invoked for each alias
+ 3. Tags are added if not already existing
+ 4. Associated Works are resolved (if the current Endeavor is not a Work, navigate the realizedBy/carriedBy
+ references). Non existent Works are created with the referenced primary ids. For each Work,
+ Content Type is asserted if not already present.
+ 5. Labels are added if not already existing
+ 6. Associated Expressions are resolved (does not apply if the current Endeavor is a Work. For Manifestations,
+ navigate the embodiedBy references). Non existent Expressions are created with the referenced primary ids.
+ For each Expresson, assert the language if not already present.
+ 7. For Manifestations only, format is asserted if not already present.
+ FUTURE: format may be decoded, and all the resulting triples are also assrted (TODO - discuss)
+ parameters:
+ - $ref: '#/components/parameters/primaryId'
+ requestBody:
+ required: true
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/WEM'
+ responses:
+ 200:
+ description: |
+ On Success, returns the newly created Endeavor
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/WEM'
+ 409:
+ description: |
+ Conflict
+ 501:
+ description: |
+ Not implemented
+
+ delete:
+ tags:
+ - WEMI
+ summary: Ensures an Endeavor is no longer registered
+ operationId: removeEndeavor
+ description: |
+ Ensures that an Endeavor is not registered in the graph, including any assertion involving
+ that Endeavor.
+
+ Note that this operation is defined to be idempotent, and consequently will not return 404
+ when clients provide identifiers that do not correspond to an actual Endeavor
+ parameters:
+ - $ref: '#/components/parameters/primaryId'
+ responses:
+ 200:
+ description: |
+ On Success, the Endeavor is not (anymore) registered
+ 403:
+ description: |
+ Forbidden, cannot unregister an Endeavor
+ 501:
+ description: |
+ Not implemented
+
+
+
+
+
+ #TODO: Revisit aliases; Need to work on 'relateds', maybe to include composite?
+ #TODO: Need to work versioning in.
+ #TODO: Figure out the 'added surrogate' part
+
+
+
+ /registry/backbone/endeavors/{primaryId}/aliases:
+ post:
+ tags:
+ - WEMI
+ summary: Ensures that an Endeavor is identified by a Secondary Identifier
+ operationId: addAlias
+ parameters:
+ - $ref: '#/components/parameters/primaryId'
+ requestBody:
+ required: true
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/parameters/secondaryId'
+ responses:
+ 200:
+ description: |
+ Alias is present
+ content:
+ { }
+ head:
+ tags:
+ - WEMI
+ summary: Checks whether an Endeavor is identified by the given secondary Identifier
+ operationId: hasAlias
+ parameters:
+ - $ref: '#/components/parameters/primaryId'
+ requestBody:
+ required: true
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/parameters/secondaryId'
+ responses:
+ 200:
+ description: |
+ Alias is present
+ content:
+ { }
+
+
+# /registry/backbone/endeavors/{primaryId}/Triples:
+# post:
+# tags:
+# - WEMI
+# summary: Adds a secondary Identifier to an Endeavor
+# operationId: addTriple
+# parameters:
+# - $ref: '#/components/parameters/primaryId'
+# requestBody:
+# required: true
+# content:
+# application/json:
+# schema:
+# $ref: '#/components/parameters/assertion'
+# responses:
+# 200:
+# description: |
+# On success, returns the Triple as materialized, as well as any additional Triple inferred in the process
+# content:
+# application/json:
+# schema:
+# type: array
+# items:
+# $ref: '#/components/schemas/Triple'
+
+components:
+
+ parameters:
+
+ primaryId:
+ in: path
+ name: primaryId
+ description: |
+ The primary identifier of the Endeavor to be processed.
+ More precisely, this is the value of the primary identifier, without the 'did:mcid:' prefix,
+ corresponding to a base58-encoded UUIDv4
+ required: true
+ schema:
+ $ref: '#/components/schemas/PrimaryIdentifier'
+
+ secondaryId:
+ in: body
+ name: secondaryId
+ description: An Identifier, possibly associated to an Endeavor as one of its secondary Identifiers
+ required: true
+ $ref: '#/components/schemas/SecondaryIdentifier'
+
+ # assertion:
+ # in: body
+ # name: assertion
+ # description: an asserted relationship between two Endeavors
+ # required: true
+ # $ref: '#/components/schemas/Quad'
+
+ endeavorType:
+ in: query
+ name: endeavorType
+ description: A code that discriminates the kind of Endeavor(s) to be processed
+ required: true
+ schema:
+ $ref: '#/components/schemas/EndeavorKind'
+
+ schemas:
+
+ EndeavorKind:
+ type: string
+ description: Discriminates between sub-types of Endeavor
+ enum:
+ - Work
+ - Expression
+ - Manifestation
+ - Surrogate
+
+ IdentifierKind:
+ type: string
+ description: |
+ Declares the identifier scheme that an identifier conforms to.
+
+ URIs, including URLs and URNs are defined in RFC3986; DIDs are specialized URIs described
+ in https://www.w3.org/TR/did-core/; OIDs are specialized URNs defined in RFC 3601; UUIDs are
+ defined in RFC 4122; POCID are legacy local identifiers.
+ enum:
+ - URI
+ - DID
+ - OID
+ - UUID
+ - POCID
+ - Other
+
+ LanguageCode:
+ type: string
+ description: |
+ An ISO-639 code that denotes a Natural language
+ example: en
+
+ MimeCode:
+ type: string
+ description: |
+ A MIME code that denotes the representational aspects of an Expression/Manifestation,
+ including markup/modeling/programming languages, and serializations thereof, used to represent
+ the Work content.
+
+ Common MIME codes can be deconstructed in three parts: a 'mime type', denoting content form;
+ a 'mime subtype' that codifies language/schema, serialization and (meta)format; extra parameters
+ that add details such as charset and transport encoding.
+ example: text/html;charset=UTF-8;encoding=base64
+
+ PrimaryIdentifier:
+ type: string
+ description: |
+ The primary Identifier of an Endeavor.
+ Primary IDs are universal, opaque, permanent identifiers that conform to the DID specification.
+ Moreover, primary IDs are expected to be Base58-encodings of the (UTF-16) string form of a UUIDv4
+ (RFC 4122), without the dashes.
+ format: did
+ example: did:mcid:4nP7jRJknV2ffrcwN12J84uZ6DaQKs7np2uyDwo7V5WQ
+
+ SecondaryIdentifier:
+ type: object
+ description: |
+ A secondary Identifier of an Entity. Secondary Identifiers are required to be functional
+ (the same Identifier cannot identify more than one entity), and have a String-based representation,
+ but are not otherwise constrained. In particular, secondary identifiers may be global or local,
+ opaque or transparent, and follow a variety of schemes such as URIs, URNs, URLs, OIDs, UUIDs, etc.
+ properties:
+ value:
+ description: the string-based representation of the Identifier
+ type: string
+ format:
+ description: |
+ A controlled term that denotes the format that the value conforms to
+ $ref: '#/components/schemas/IdentifierKind'
+ required:
+ - value
+ example:
+ format: uuid
+ value: 25d6a55f-19fe-43be-bcd5-74adc7bc5bf7
+
+ ContentType:
+ type: object
+ description: |
+ A Concept that denotes a universal classifier of a Work's content type
+ properties:
+ label:
+ type: string
+ code:
+ type: string
+ uri:
+ type: string
+ format: uri
+ required:
+ - uri
+ example:
+ uri: http://mock.edu/ontology/SomeType
+ label: 'Some Type'
+
+ # Quad:
+ # type: object
+ # description: |
+ # A Quad, in the RDF sense of a subject/predicate/object statement, plus an optional scoping graph
+ # properties:
+ # graph:
+ # description: The graph to assert the triple into
+ # type: string
+ # format: uri
+ # subject:
+ # description: The subject of the assertion
+ # type: string
+ # format: uri
+ # property:
+ # description: The property/relationship of the assertion
+ # type: string
+ # format: uri
+ # object:
+ # description: The object/target of the assertion
+ # type: string
+ # format: uri
+ # required:
+ # - subject
+ # - property
+ # - object
+ # example:
+ # subject: '#a'
+ # property: '#rel'
+ # object: '#b'
+
+
+ Endeavor:
+ type: object
+ description: |
+ A representation of the common, essential traits of Works, Expressions and Manifestations,
+ flattened to describe any one WEM entity
+ properties:
+ primaryId:
+ type: string
+ description: |
+ The primary identifier of the represented Endeavor, mapped to the URI of the NamedIndividual that
+ represents the Endeavor in the underlying Knowledge Graph.
+
+ Note: this is the Identifier of the Resource itself, not the id of 'this' instance of
+ (e.g. JSON) object that is involved in the API exchange
+ format: did
+ aliases:
+ type: array
+ description: |
+ Zero or more alternative identifiers of the represented Endeavor.
+ Given the primary id, for each alias, it holds that (alias owl:sameAs primaryId)
+ items:
+ type: string
+ minItems: 0
+ format: uri
+ tags:
+ type: array
+ description: |
+ Zero or more identifiers (primary or secondary) of other, distinct Endeavors associated
+ to this Endeavor by means of a realization, embodiment and/or carry relationship
+ items:
+ type: string
+ minItems: 0
+ format: uri
+ kind:
+ description: |
+ The kind of Endeavor
+ $ref: '#/components/schemas/EndeavorKind'
+ localization:
+ description: |
+ The (human) language used in the Endeavor
+ $ref: '#/components/schemas/LanguageCode'
+ contentType:
+ type: array
+ description: |
+ The classifiers of this Endeavor's content type.
+ For Works, it is that Work's content type. For Expressions, it is the content type of
+ the realized Work. For Manifestations, it is the type(s) of the Work(s) realized by the
+ embodied Expression(s)
+ minItems: 0
+ items:
+ $ref: '#/components/schemas/ContentType'
+ name:
+ description: |
+ A humman readable designator of this Endeavor.
+ Should bind to the first of dc:title, skos:prefLabel, rdfs:label, restricted to the value(s)
+ matching this Endeavor's language
+ type: string
+ required:
+ - kind
+ discriminator:
+ propertyName: kind
+
+ EndeavorReference:
+ type: object
+ description: |
+ A reference to a Work, Expression or Manifestation
+ properties:
+ primaryId:
+ type: string
+ description: |
+ The primary identifier of the referenced Endeavor
+ format: did
+ kind:
+ description: |
+ The kind of Endeavor
+ $ref: '#/components/schemas/EndeavorKind'
+ label:
+ description: |
+ A humman readable designator of the referenced Endeavor, as per rdfs:label
+ type: string
+ required:
+ - primaryId
+
+
+ Work:
+ description: |
+ (The descriptor of) An intellectual Work, as conceived by a subject matter expert.
+
+ Works are classified based on their Content Type, which depends on semantic aspects such as
+ subject, focus, scope and modality
+ allOf:
+ - $ref: '#/components/schemas/Endeavor'
+ - type: object
+ properties:
+ realizedBy:
+ type: array
+ items:
+ $ref: '#/components/schemas/Expression'
+
+ Expression:
+ description: |
+ (The descriptor of) The realization of a Work, using a commbination of natural and/or
+ technical language(s).
+ The primary natural language determines the localization of the expression.
+ Technical languages include markup, modeling and/or programming languages.
+
+ Expressions are associated to a Content Model, which corresponds to a specific way of
+ using the languages, in conformance with the languages grammar, for the purpose of expressing
+ information content of a given content type.
+ allOf:
+ - $ref: '#/components/schemas/Endeavor'
+ - type: object
+ properties:
+ realizes:
+ $ref: '#/components/schemas/EndeavorReference'
+ embodiedBy:
+ type: array
+ items:
+ $ref: '#/components/schemas/Manifestation'
+
+ Manifestation:
+ description: |
+ (The descriptor of) A class of replicable Artifacts, digital or physical, where each exemplar
+ embodies one or more expressions, carrying their realized work(s) as Content.
+
+ Manifestations are categorized by form (e.g. text, audio, etc.) and format, as a concretization
+ of the embodied expressions.
+ allOf:
+ - $ref: '#/components/schemas/Endeavor'
+ - type: object
+ properties:
+ format:
+ description: |
+ A structured MIME code that denotes the form and format of the manifestation
+ $ref: '#/components/schemas/MimeCode'
+ embodies:
+ type: array
+ items:
+ $ref: '#/components/schemas/EndeavorReference'
+ carries:
+ type: array
+ items:
+ $ref: '#/components/schemas/EndeavorReference'
+
+ WEM:
+ anyOf:
+ - $ref: '#/components/schemas/Work'
+ - $ref: '#/components/schemas/Expression'
+ - $ref: '#/components/schemas/Manifestation'
\ No newline at end of file
diff --git a/openapi/v3/edu/mayo/kmdp/3.0.0/conceptGlossaryLibrary.oas.yaml b/openapi/v3/edu/mayo/kmdp/3.0.0/conceptGlossaryLibrary.oas.yaml
new file mode 100644
index 0000000..d78dc2a
--- /dev/null
+++ b/openapi/v3/edu/mayo/kmdp/3.0.0/conceptGlossaryLibrary.oas.yaml
@@ -0,0 +1,383 @@
+openapi: 3.0.1
+info:
+ title: Glossary Library Service
+ description: Service that provides acccess to collections of Knowledge Assets, as Operational Definition of resolvable Concepts, organized into collections called Glossaries, and grouped by defined Concept.
+ contact:
+ email: Sottara.Davide@mayo.edu
+ license:
+ name: Apache 2.0
+ url: http://www.apache.org/licenses/LICENSE-2.0.html
+ version: 3.0.0
+servers:
+ - url: /ccg/library/v3/
+ - url: /ccg/library/v3/
+tags:
+ - name: GlossaryLibrary
+
+paths:
+
+ /glossaries:
+ get:
+ tags:
+ - GlossaryLibrary
+ summary: Enumerates the Glossaries
+ description: Lists the Glossaries available to this server.
+ operationId: listGlossaries
+ responses:
+ 200:
+ description: "Success"
+ content:
+ application/json:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/Glossary'
+ 500:
+ description: "Internal error"
+ content: { }
+
+ /glossaries/{glossaryId}:
+ get:
+ tags:
+ - GlossaryLibrary
+ summary: Retrieves a Glossary
+ description: Retrieves information about a specific Glossary.
+ operationId: getGlossary
+ parameters:
+ - $ref: '#/components/parameters/glossaryId'
+ responses:
+ 200:
+ description: Success
+ content:
+ application/json:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/Glossary'
+ links:
+ entries:
+ $ref: '#/components/links/glossaryEntries'
+ 404:
+ description: "Not found"
+ content: { }
+ 500:
+ description: "Internal error"
+ content: { }
+
+
+ /glossaries/{glossaryId}/entries:
+ get:
+ tags:
+ - GlossaryLibrary
+ summary: Enumerates the Entries in this Glossary
+ description: Returns all the Entries, as Concept to Definition mappings, currently available in a Given Glossary. The Operational Definitions in each Entry may be filtered semantically by applicability, technically by computational method, or by management criteria such as publication status and version precedence. The entries may also include an inlined representation of the definitions, in a form that can be content negotiated.
+ operationId: listGlossaryEntries
+ parameters:
+ - $ref: '#/components/parameters/glossaryId'
+ - $ref: '#/components/parameters/scopingConceptId'
+ - $ref: '#/components/parameters/processingMethod'
+ - $ref: '#/components/parameters/publishedOnly'
+ - $ref: '#/components/parameters/greatestOnly'
+ - $ref: '#/components/parameters/qAccept'
+ responses:
+ 200:
+ description: Success
+ content:
+ application/json:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/GlossaryEntry'
+ 500:
+ description: "Internal error"
+ content: { }
+ post:
+ tags:
+ - GlossaryLibrary
+ summary: Selects the Entries in this Glossary
+ description: Returns the chosen the Entries, as Concept to Definition mappings, currently available in a Given Glossary. The Operational Definitions in each Entry may be filtered semantically by applicability, technically by computational method, or by management criteria such as publication status and version precedence. The entries may also include an inlined representation of the definitions, in a form that can be content negotiated.
+ operationId: pickGlossaryEntries
+ parameters:
+ - $ref: '#/components/parameters/glossaryId'
+ - $ref: '#/components/parameters/scopingConceptId'
+ - $ref: '#/components/parameters/processingMethod'
+ - $ref: '#/components/parameters/publishedOnly'
+ - $ref: '#/components/parameters/greatestOnly'
+ - $ref: '#/components/parameters/qAccept'
+ requestBody:
+ required: true
+ content:
+ application/json:
+ schema:
+ type: array
+ items:
+ type: string
+ format: uuid
+ responses:
+ 200:
+ description: Success
+ content:
+ application/json:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/GlossaryEntry'
+ 500:
+ description: "Internal error"
+ content: { }
+
+ /glossaries/{glossaryId}/entries/{definedConceptId}:
+ get:
+ tags:
+ - GlossaryLibrary
+ summary: Looks up an Entry by Concept
+ description: Retrieves a specific Entry, as all and only the Operational Definitions of a specific concept that are listed in a given Glossary. The Operational definitions can be filtered semantically by applicability, technically by computational method, or by management criteria such as publication status and version precedence. The entry may also include an inlined representation of the definitions, in a form that can be content negotiated.
+ operationId: getGlossaryEntry
+ parameters:
+ - $ref: '#/components/parameters/glossaryId'
+ - $ref: '#/components/parameters/definedConceptId'
+ - $ref: '#/components/parameters/scopingConceptId'
+ - $ref: '#/components/parameters/processingMethod'
+ - $ref: '#/components/parameters/publishedOnly'
+ - $ref: '#/components/parameters/greatestOnly'
+ - $ref: '#/components/parameters/qAccept'
+ responses:
+ 200:
+ description: Success
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/GlossaryEntry'
+ 404:
+ description: "Not found"
+ content: { }
+ 500:
+ description: "Internal error"
+ content: { }
+
+
+components:
+ links:
+ glossaryEntries:
+ operationId: getEntriesForGlossary
+ parameters:
+ glossaryId: $response.body#/glossaryId
+
+
+ parameters:
+ glossaryId:
+ name: glossaryId
+ description: The unique idenntifier of a Glossary. May be global, or server scoped.
+ in: path
+ required: true
+ schema:
+ type: array
+ items:
+ type: string
+ definedConceptId:
+ name: definedConceptId
+ description: The UUID associated to a defined Concept, i.e. a Concept for which Operational Definitions may be available in a Glossary.
+ in: path
+ required: true
+ schema:
+ type: string
+ format: uuid
+ scopingConceptId:
+ name: scopingConceptId
+ description: The UUID of a concept associated to an Operational Definition, with the intent to capture the applicability criteria of that definition, semantically.
+ in: query
+ schema:
+ type: string
+ format: uuid
+
+ processingMethod:
+ name: processingMethod
+ description: A code that denotes the high level categorization of an Operational Definition, hinting at the computatonal capabilities required by any processor of the Definition.
+ in: query
+ schema:
+ type: string
+ qAccept:
+ name: qAccept
+ description: a formal MIME code used to negotiate the form of an Operational Definition, if inlined into a Glossary Entry.
+ in: query
+ schema:
+ type: string
+
+ publishedOnly:
+ name: publishedOnly
+ description: Flag. When true, will restrict the Operational Definitions to the ones with publication status of Published.
+ in: query
+ required: false
+ schema:
+ type: boolean
+
+ greatestOnly:
+ name: greatestOnly
+ description: Flag. When true, if multiple versions of the same Operational Definition exists, only the greatest version will be included, according to the versioning scheme ordering.
+ in: query
+ required: false
+ schema:
+ type: boolean
+
+
+ schemas:
+ Glossary:
+ type: object
+ description: The representation of a Glossary, as a collection of Entries
+ properties:
+ glossaryId:
+ type: string
+ description: the unique identifier of the Glossary
+ name:
+ type: string
+ description: a human oriented designator of the Glossary
+ description:
+ type: string
+ description: human orienteed general information about the Glossary, used when browsing
+ vocabulary:
+ type: string
+ description: the default namespace of the defined Concepts in this Glossary
+ format: uri
+ entries:
+ minItems: 0
+ type: array
+ description: the Glossary Entries included in this Glossary
+ items:
+ $ref: '#/components/schemas/GlossaryEntry'
+ required:
+ - glossaryId
+
+ GlossaryEntry:
+ type: object
+ description: A Glossary Entry, which maps a single defined Concept to one or more Operational Definitions of that Concept.
+ properties:
+ id:
+ type: string
+ description: the internal id of a glossary entry
+ format: uuid
+ defines:
+ type: string
+ description: the URI that uniquely denotes the defined Concept
+ format: uri
+ focus:
+ type: string
+ description: the URI that denotes a focal aka subject concept associated with the defined Concept
+ format: uri
+ semanticDefinition:
+ type: string
+ description: a URI that is exppected to dereference to a semantic, e.g. ontology based, definition of the defined Concept
+ format: uri
+ def:
+ minItems: 0
+ description: the Operational Definitions grouped by this Glossary Entry
+ type: array
+ items:
+ $ref: '#/components/schemas/OperationalDefinition'
+ relatedEntries:
+ minItems: 0
+ description: references to other related Glossary Entries
+ type: array
+ items:
+ $ref: '#/components/schemas/Link'
+ required:
+ - id
+ - defines
+
+ OperationalDefinition:
+ type: object
+ description: the descriptor of the semantic interface of a piece of knowledge that defines a given Concept
+ properties:
+ id:
+ type: string
+ description: the internal id of the OperationalDefinition
+ name:
+ type: string
+ description: a human oriented designator of the Operational Definition
+ description:
+ type: string
+ description: a human oriented description of the Operational Definition, used for browsing
+ declaringGlossaries:
+ type: array
+ description: the Glossary(s) of which this Operational Definition is a member
+ items:
+ type: string
+ defines:
+ type: string
+ format: uuid
+ description: a unique UUID associated to the defined concept, which must be the same as, or closely related in a hierarchical sense, to the concept defeined by the Glossary Entry of which this OperationalDefinition is part of
+ inTermsOf:
+ type: array
+ description: the URIs of the Concepts defined by the inputs of this OperationalDefinition, if any
+ items:
+ type: string
+ format: uri
+ applicabilityScope:
+ type: array
+ description: the URI of any Concepts that provide applicability context for this OperationalDefinition
+ items:
+ type: string
+ format: uri
+ processingMethod:
+ type: array
+ description: Tags associated with the KnowledgeAssetProcessingTechnique category concepts that hint at the required capabilities of an agent trying to use this OperationalDefinition
+ items:
+ type: string
+ computableSpec:
+ $ref: '#/components/schemas/KnowledgeResourceRef'
+ includes:
+ minItems: 0
+ type: array
+ description: collection of sub-definitions which are included by this OperationalDefinition
+ items:
+ $ref: '#/components/schemas/OperationalDefinition'
+ effectuates:
+ description: a reference to the schema, shape or grammar that describes the format of the OperationalDefinition output
+ type: string
+ format: uri
+ asCollection:
+ description: flag, when true denotes an OperationalDefinition that returns zero or more instances of the effectuated type
+ type: boolean
+
+
+ KnowledgeResourceRef:
+ type: object
+ description: the descriptor of a formal specification of an OperationalDefinition
+ properties:
+ assetId:
+ description: the asset Id of the OperationalDefinition
+ type: string
+ artifactId:
+ description: the artifact Id of the OperationalDefinition
+ type: string
+ href:
+ type: string
+ description: a URL that allows to retrieve the specification
+ format: uri
+ publicationStatus:
+ description: the publication status of the specification, as an asset
+ type: string
+ assetType:
+ type: array
+ description: Tags associated to the KnowledgeAssetType categorizations of the specification
+ items:
+ type: string
+ mimeCode:
+ description: a formal MIME code that summarizes the representation of the specification
+ type: string
+ inlinedExpr:
+ description: an inlined copy of the specification
+ type: string
+
+ Link:
+ type: object
+ description: a typed relationsthip between two Glossary Entries
+ properties:
+ rel:
+ type: string
+ description: the relationship type
+ format: uri
+ href:
+ type: string
+ description: the id of the referenced Glossary Entry
+
+
diff --git a/openapi/v3/edu/mayo/kmdp/5.0.0/terminology.oas.yaml b/openapi/v3/edu/mayo/kmdp/5.0.0/terminology.oas.yaml
new file mode 100644
index 0000000..64fe05d
--- /dev/null
+++ b/openapi/v3/edu/mayo/kmdp/5.0.0/terminology.oas.yaml
@@ -0,0 +1,511 @@
+openapi: 3.0.1
+info:
+ title: Terminology Server API
+ description: "This is a Terminology API built on top of the API4KP framework that\
+ \ provides \naccess to Terminologies and Concepts.\n\nIn this context, \n\nTerminologies\
+ \ are loosely defined as sets of Concepts, e.g. in the sense \nof SKOS ConceptSchemes\
+ \ or Collections, or OWL Ontology Documents.\nConcepts are atomic units of knowledge\
+ \ that can be described/defined, can\nbe related to each other, and can be evoked\
+ \ by means of linguistic terms.\n\nImplementations of this API can be more formal\
+ \ in their definition, e.g.\nby enforcing the separation of Class and Concept.\n\
+ \nThis API is designed for Knowledge-Based implementations\n"
+ contact:
+ email: dsotty@gmail.com
+ license:
+ name: Apache 2.0
+ url: http://www.apache.org/licenses/LICENSE-2.0.html
+ version: 4.1.0
+servers:
+ - url: https://virtserver.swaggerhub.com/omg.org/spec/API4KP/20200801/api/terminology/v4
+tags:
+ - name: Terms
+ description: Terminology related operations
+paths:
+ /terminologies:
+ get:
+ tags:
+ - Terms
+ summary: Lists available terminologies
+ description: |
+ Enumerates the Terminologies currently managed by this server
+ operationId: listTerminologies
+ responses:
+ 200:
+ description: |
+ Returns a list of Pointers to the known Terminologies
+ content:
+ application/json:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/Pointer'
+ application/xml:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/Pointer'
+ 500:
+ description: |
+ Internal error
+ content: {}
+ delete:
+ tags:
+ - Terms
+ summary: Clear the terminology content
+ description: |
+ Clears the server content.
+ For proxy-oriented servers, this request should invalidate the internal caches
+ operationId: clearTerminologies
+ responses:
+ 200:
+ description: |
+ Success
+ content: {}
+ 500:
+ description: |
+ Internal error
+ content: {}
+ 501:
+ description: "Not Implemented\n\n \n"
+ content: {}
+ /terminologies/{vocabularyId}/versions/{versionTag}:
+ get:
+ tags:
+ - Terms
+ summary: Retrieves some representation of a terminology system
+ description: |
+ Returns a representation of a specific version of the given terminology.
+ The terminology is supposed to define
+ Supports content negotiation to handle e.g. RDF vs FHIR
+ operationId: getVocabulary
+ parameters:
+ - name: vocabularyId
+ in: path
+ description: The id of the terminology system
+ required: true
+ schema:
+ type: string
+ format: uuid
+ - name: versionTag
+ in: path
+ description: The version of the terminology system
+ required: true
+ schema:
+ type: string
+ - name: X-Accept
+ in: header
+ description: A formal MIME type that express the client's preferences during
+ content negotiation
+ schema:
+ type: string
+ responses:
+ 200:
+ description: success
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/KnowledgeCarrier'
+ application/xml:
+ schema:
+ $ref: '#/components/schemas/KnowledgeCarrier'
+ text/html:
+ schema:
+ $ref: '#/components/schemas/KnowledgeCarrier'
+ 400:
+ description: vocabulary not found
+ content: {}
+ post:
+ tags:
+ - Terms
+ summary: Resolves a concept (expression) within a terminology system
+ description: |
+ Determines is a concept is a member of this vocabulary.
+ Implementations depend on whether the vocabulary is enumerated, vs having
+ a computable definition.
+ The client can provide either a concept identifier, or a post-coordinated expression
+ operationId: isMember
+ parameters:
+ - name: vocabularyId
+ in: path
+ description: The id of the terminology system
+ required: true
+ schema:
+ type: string
+ format: uuid
+ - name: versionTag
+ in: path
+ description: The version of the terminology system
+ required: true
+ schema:
+ type: string
+ - name: conceptExpression
+ in: query
+ description: The id of a concept
+ required: true
+ schema:
+ type: string
+ responses:
+ 200:
+ description: success
+ content: {}
+ 400:
+ description: vocabulary not found
+ content: {}
+ /terminologies/{vocabularyId}/versions/{versionTag}/terms:
+ get:
+ tags:
+ - Terms
+ summary: Lists terms in a terminology system
+ description: |
+ Lists the terms in a given Vocabulary. Supports simple search by filtering
+ operationId: getTerms
+ parameters:
+ - name: vocabularyId
+ in: path
+ description: The id of the terminology system
+ required: true
+ schema:
+ type: string
+ format: uuid
+ - name: versionTag
+ in: path
+ description: The version of the terminology system
+ required: true
+ schema:
+ type: string
+ - name: label
+ in: query
+ description: Filters by terms with matching label
+ schema:
+ type: string
+ responses:
+ 200:
+ description: success
+ content:
+ application/json:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/ConceptDescriptor'
+ application/xml:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/ConceptDescriptor'
+ 400:
+ description: vocabulary not found
+ content: {}
+ /terminologies/{vocabularyId}/versions/{versionTag}/terms/{conceptId}:
+ get:
+ tags:
+ - Terms
+ summary: Describes a concept
+ operationId: getTerm
+ parameters:
+ - name: vocabularyId
+ in: path
+ description: The id of the terminology system
+ required: true
+ schema:
+ type: string
+ format: uuid
+ - name: versionTag
+ in: path
+ description: The version of the terminology system
+ required: true
+ schema:
+ type: string
+ - name: conceptId
+ in: path
+ description: The id of a concept
+ required: true
+ schema:
+ type: string
+ responses:
+ 200:
+ description: success
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/ConceptDescriptor'
+ application/xml:
+ schema:
+ $ref: '#/components/schemas/ConceptDescriptor'
+ 400:
+ description: vocabulary or concept not found
+ content: {}
+ /terminologies/{vocabularyId}/versions/{versionTag}/terms/{conceptId}/ancestors:
+ get:
+ tags:
+ - Terms
+ summary: List the ancestor(s) of the selected concept
+ operationId: listAncestors
+ parameters:
+ - name: vocabularyId
+ in: path
+ description: The id of the terminology system
+ required: true
+ schema:
+ type: string
+ format: uuid
+ - name: versionTag
+ in: path
+ description: The version of the terminology system
+ required: true
+ schema:
+ type: string
+ - name: conceptId
+ in: path
+ description: The id of a concept
+ required: true
+ schema:
+ type: string
+ responses:
+ 200:
+ description: The query was executed successfully. Does not imply that any
+ result will be returned.
+ content:
+ application/json:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/ConceptDescriptor'
+ application/xml:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/ConceptDescriptor'
+ 400:
+ description: vocabulary not found
+ content: {}
+ post:
+ tags:
+ - Terms
+ summary: Determines the target concept is an ancestor of the selected concept
+ operationId: isAncestor
+ parameters:
+ - name: vocabularyId
+ in: path
+ description: The id of the terminology system
+ required: true
+ schema:
+ type: string
+ format: uuid
+ - name: versionTag
+ in: path
+ description: The version of the terminology system
+ required: true
+ schema:
+ type: string
+ - name: conceptId
+ in: path
+ description: The id of a concept
+ required: true
+ schema:
+ type: string
+ - name: testConceptId
+ in: query
+ description: The id of a concept
+ required: true
+ schema:
+ type: string
+ responses:
+ 200:
+ description: success
+ content:
+ application/json:
+ schema:
+ type: boolean
+ application/xml:
+ schema:
+ type: boolean
+ 400:
+ description: vocabulary not found
+ content: {}
+ /terminologies/terms:
+ post:
+ tags:
+ - Terms
+ summary: Searches for concepts by label
+ operationId: searchTerms
+ parameters:
+ - name: searchQuery
+ in: query
+ description: The search query
+ required: true
+ schema:
+ type: string
+ responses:
+ 200:
+ description: Matching terms
+ content:
+ application/json:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/Pointer'
+ application/xml:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/Pointer'
+ text/html:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/Pointer'
+ /terminologies/terms/{vocabularyTag}/{conceptId}:
+ get:
+ tags:
+ - Terms
+ summary: Looks up a concept in the context of a given vocabulary
+ operationId: lookupTermInVocabulary
+ parameters:
+ - name: vocabularyTag
+ in: path
+ description: The id of the terminology system
+ required: true
+ schema:
+ type: string
+ - name: conceptId
+ in: path
+ description: The id of a concept
+ required: true
+ schema:
+ type: string
+ - name: X-Accept
+ in: header
+ description: A formal MIME type that express the client's preferences during
+ content negotiation
+ schema:
+ type: string
+ responses:
+ 200:
+ description: concept resolved in at least one terminology
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/KnowledgeCarrier'
+ application/xml:
+ schema:
+ $ref: '#/components/schemas/KnowledgeCarrier'
+ text/html:
+ schema:
+ $ref: '#/components/schemas/KnowledgeCarrier'
+ 400:
+ description: concept not found in any terminology
+ content: {}
+ /terminologies/terms/{conceptId}:
+ get:
+ tags:
+ - Terms
+ summary: Looks up a concept across terminology systems
+ description: |
+ Tries to resolve a concept, by id, across all known terminologies.
+ Returns the most recent description of that concept, as represented by _any_ terminology
+ in which the concept was (re)defined. If there are multiple definitions that cannot be sorted
+ temporally, the server SHOULD validate that all the definitions are consistent.
+ If not, the server MAY reconcile the descriptions, but COULD also
+ return any one of the representations, non-deterministically
+ operationId: lookupTerm
+ parameters:
+ - name: conceptId
+ in: path
+ description: The id of a concept
+ required: true
+ schema:
+ type: string
+ - name: X-Accept
+ in: header
+ description: A formal MIME type that express the client's preferences during
+ content negotiation
+ schema:
+ type: string
+ responses:
+ 200:
+ description: concept resolved in at least one terminology
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/ConceptDescriptor'
+ application/xml:
+ schema:
+ $ref: '#/components/schemas/ConceptDescriptor'
+ text/html:
+ schema:
+ $ref: '#/components/schemas/ConceptDescriptor'
+ 400:
+ description: concept not found in any terminology
+ content: {}
+components:
+ schemas:
+ Pointer:
+ type: object
+ ConceptDescriptor:
+ type: object
+ KnowledgeCarrier:
+ type: object
+ parameters:
+ vocabularyId:
+ name: vocabularyId
+ in: path
+ description: The id of the terminology system
+ required: true
+ schema:
+ type: string
+ format: uuid
+ vocabularyTag:
+ name: vocabularyTag
+ in: path
+ description: The id of the terminology system
+ required: true
+ schema:
+ type: string
+ conceptId:
+ name: conceptId
+ in: path
+ description: The id of a concept
+ required: true
+ schema:
+ type: string
+ testConceptId:
+ name: testConceptId
+ in: query
+ description: The id of a concept
+ required: true
+ schema:
+ type: string
+ conceptExpression:
+ name: conceptExpression
+ in: query
+ description: The id of a concept
+ required: true
+ schema:
+ type: string
+ relationshipId:
+ name: relationshipId
+ in: query
+ description: The id of a concept relationship
+ schema:
+ type: string
+ versionTag:
+ name: versionTag
+ in: path
+ description: The version of the terminology system
+ required: true
+ schema:
+ type: string
+ searchQuery:
+ name: searchQuery
+ in: query
+ description: The search query
+ required: true
+ schema:
+ type: string
+ xAccept:
+ name: X-Accept
+ in: header
+ description: A formal MIME type that express the client's preferences during
+ content negotiation
+ schema:
+ type: string
diff --git a/openapi/v3/org/omg/spec/api4kp/5.0.0/knowledgeArtifactRepository.oas.yaml b/openapi/v3/org/omg/spec/api4kp/5.0.0/knowledgeArtifactRepository.oas.yaml
new file mode 100644
index 0000000..da76f00
--- /dev/null
+++ b/openapi/v3/org/omg/spec/api4kp/5.0.0/knowledgeArtifactRepository.oas.yaml
@@ -0,0 +1,1311 @@
+openapi: 3.0.1
+info:
+ title: API4KP Knowledge Artifact Repository API
+ description: "API that expose the functional capabilities of a Knowledge Artifact\
+ \ Repository Service (KAR), as defined in the OMG API4KP specification. \n\nKnowledge\
+ \ Artifact Repositories allow to store and retrieve (copies of) Digital Knowledge\
+ \ Artifacts (KA).\nKARs treat KAs as black-box binary objects, so there is no\
+ \ limitation nor expectation on the nature of the content, or the requirements\
+ \ to consume it.\nHowever, identity and versioning must be supported.\n\nIdentifiers\
+ \ must be universal, unique and opaque, so they MUST be UUID v4 compliant.\nVersion\
+ \ tags can follow different patterns (semantic versioning, calendar versioning,\
+ \ incremental numbering, date/time stamps, etc...).\n\nSpecial considerations\
+ \ involve the _deletion_ of an Artifact. For traceability and safety purposes,\n\
+ KARs SHOULD NOT allow Artifacts to be deleted in an unrecoverable way. Deletion\
+ \ itself is defined as making an Artifact no longer accessible to a client (i.e.\
+ \ status 404).\nA server SHOULD allow a deletion operation to be undone, e.g.\
+ \ using mechanisms conceptually similar to 'trash bins',\nand SHOULD at a minimum\
+ \ keep track of the IDs of Artifacts that were at some point managed in each Repository.\n\
+ For this reason, a two phase deletion is recommended. Deleted Artifacts transition\
+ \ into a 'deleted' status\nin which they cannot be discovered nor retrieved, unless\
+ \ a dedicated flag is set. Once in a deleted state, Artifacts MAY be deleted permanently.\n\
+ \nThe API also supports the (logical) federation of Repositories. A server instance\
+ \ MAY expose different repositories to a client,\nwho should expect each repository\
+ \ to be independent. Whether these repositories map to actual physical repositories\
+ \ (e.g. different DBs),\nfolder-like structures or logic tags/collections is left\
+ \ to the implementation.\nThe same artifact (as defined by having the same ID)\
+ \ COULD be stored in more than one repository, but all copies MUST be identical\
+ \ to each other\n\nWith adequate rights, and if supported by the implementation,\
+ \ repositories can be _enabled_ or _disabled_. \nEnabled (resp. disabled) repositories\
+ \ are (resp. not) available to a client, regardless of whether the (de)allocation\
+ \ of actual resources is involved at the implementation level.\n\n**Maturity**\n\
+ As of this version, this API is considered stable\n"
+ contact:
+ name: Davide Sottara
+ email: sottara.davide@mayo.edu
+ license:
+ name: Apache License, Version 2.0
+ url: https://www.apache.org/licenses/LICENSE-2.0.html
+ version: 5.0.0
+servers:
+ - url: /omg.org/spec/API4KP/20200801/api/repository/artifact/v5
+tags:
+ - name: Knowledge Artifact
+ description: |
+ Store/Retrieve specific versions of specific Knowledge Artifacts.
+ - name: Knowledge Artifact Series
+ description: "Manage different versions of a given Knowledge Artifact. \n"
+ - name: Knowledge Artifact Repository
+ description: |
+ Discover/Administer federated Knowledge Artifact Repositories.
+paths:
+ /repos:
+ get:
+ tags:
+ - Knowledge Artifact Repository
+ summary: List federated Knowledge Artifact Repositories
+ description: |
+ Retrieves a browsable list of known Knowledge Artifact Repositories, federated under this manager.
+
+ A KAR MUST always have at least one repository, which COULD be accessed under a 'DEFAULT'
+ well known ID, in addition to the specific ID that the repository should have.
+ This default repository MUST be enabled at startup. As a consequence, this operation SHOULD alway return at least one resource.
+ operationId: listKnowledgeArtifactRepositories
+ responses:
+ 200:
+ description: |
+ A list of Resources describing each enabled repository is returned. The default repository SHOULD be the first element in the list.
+ content:
+ application/json:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/KnowledgeArtifactRepository'
+ application/xml:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/KnowledgeArtifactRepository'
+ 500:
+ description: |
+ No repository is available, including the 'default' repository that the server MUST provide.
+ content: {}
+ post:
+ tags:
+ - Knowledge Artifact Repository
+ summary: Enable Knowledge Artifact Repository
+ description: "Ensures that a new, empty Knowledge Artifact Repository is enabled,\
+ \ assigning an identifier in the process. \n\nA client may not be allowed\
+ \ to enable (additional) repositories, or the server may not support the dynamic\
+ \ enabling of new repositories altogether.\n"
+ operationId: initKnowledgeArtifactRepository
+ responses:
+ 201:
+ description: |
+ Repository successfully enabled. Returns a URL where the newly created repository can be accessed (e.g. to GET a repository descriptor), together with a descriptor of the current state.
+ headers:
+ Content-Location:
+ schema:
+ type: string
+ format: uri
+ content:
+ '*/*':
+ schema:
+ $ref: '#/components/schemas/KnowledgeArtifactRepository'
+ 403:
+ description: |
+ The client does not have the rights to enable additional repositories.
+ content: {}
+ 500:
+ description: "Internal error. \n"
+ content: {}
+ 501:
+ description: |
+ The server does not provide this capability.
+ content: {}
+ /repos/{repositoryId}:
+ get:
+ tags:
+ - Knowledge Artifact Repository
+ summary: Describe Knowledge Artifact Repository
+ description: |
+ Retrieves the state, as known at the time the operation is invoked, of a specific Knowledge Artifact Repository.
+
+ This operation is always expected to succeed if the 'DEFAULT' repository is addressed.
+ operationId: getKnowledgeArtifactRepository
+ parameters:
+ - name: repositoryId
+ in: path
+ description: |
+ The id of a Knowledge Artifact Repository, in the context of the server that provides operations on the Repository. In general, the ID is qualified and scoped by a scheme owned by the server. When the server guarantees to federate repositories from a single known namespace, and repository IDs are required to be scoped by that namespace, either the fully qualified name or the local part should be accepted as a valid repositoryId; otherwise, only the fully qualified ID will be acceptable.
+ required: true
+ schema:
+ type: string
+ responses:
+ 200:
+ description: |
+ The given repository is enabled, and some information can be returned.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/KnowledgeArtifactRepository'
+ application/xml:
+ schema:
+ $ref: '#/components/schemas/KnowledgeArtifactRepository'
+ 404:
+ description: |
+ No repository with the given ID is currently enabled
+ content: {}
+ 500:
+ description: "Internal error \n"
+ content: {}
+ put:
+ tags:
+ - Knowledge Artifact Repository
+ summary: Configure a Knowledge Artifact Repository
+ description: |
+ Ensure a Knowledge Artifact Repository with the given identifier is enabled and accessible.
+ If not, will attempt to create one. The identifier must be acceptable to the server.
+ If optional descriptive information is provided, it will be used to initialize or update the state of the Repository.
+
+ Clients may not be authorized, and servers may not support this operation.
+ operationId: setKnowledgeArtifactRepository
+ parameters:
+ - name: repositoryId
+ in: path
+ description: |
+ The id of a Knowledge Artifact Repository, in the context of the server that provides operations on the Repository. In general, the ID is qualified and scoped by a scheme owned by the server. When the server guarantees to federate repositories from a single known namespace, and repository IDs are required to be scoped by that namespace, either the fully qualified name or the local part should be accepted as a valid repositoryId; otherwise, only the fully qualified ID will be acceptable.
+ required: true
+ schema:
+ type: string
+ requestBody:
+ description: A representation of the current state of a given Knowledge Artifact
+ Repository
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/KnowledgeArtifactRepository'
+ application/xml:
+ schema:
+ $ref: '#/components/schemas/KnowledgeArtifactRepository'
+ required: false
+ responses:
+ 201:
+ description: |
+ A repository has been enabled in the process. Returns the actual state of the repository
+ content:
+ '*/*':
+ schema:
+ $ref: '#/components/schemas/KnowledgeArtifactRepository'
+ 204:
+ description: |
+ The repository is enabled, and its state reflects the client-provided information
+ content: {}
+ 403:
+ description: |
+ Repositories cannot be enabled, or their status cannot be updated by the client.
+ content: {}
+ 405:
+ description: |
+ The target repository status cannot be updated
+ content: {}
+ 500:
+ description: |
+ Internal error
+ content: {}
+ 501:
+ description: |
+ Not implemented
+ content: {}
+ x-codegen-request-body-name: repositoryDescr
+ delete:
+ tags:
+ - Knowledge Artifact Repository
+ summary: Disables an empty Knowledge Artifact Repository
+ description: "Ensure a Knowledge Artifact Repository with the given identifier\
+ \ is no longer accessible. \nThe Repository MUST be empty for this operation\
+ \ to succeed. \n\nThe 'DEFAULT' repository CAN NOT be disabled.\n"
+ operationId: disableKnowledgeArtifactRepository
+ parameters:
+ - name: repositoryId
+ in: path
+ description: |
+ The id of a Knowledge Artifact Repository, in the context of the server that provides operations on the Repository. In general, the ID is qualified and scoped by a scheme owned by the server. When the server guarantees to federate repositories from a single known namespace, and repository IDs are required to be scoped by that namespace, either the fully qualified name or the local part should be accepted as a valid repositoryId; otherwise, only the fully qualified ID will be acceptable.
+ required: true
+ schema:
+ type: string
+ responses:
+ 204:
+ description: |
+ The repository was successfully disabled (or no repository was found).
+ content: {}
+ 403:
+ description: |
+ The repository is not empty and cannot be disabled.
+ content: {}
+ 500:
+ description: |
+ Internal error
+ content: {}
+ 501:
+ description: |
+ Not implemented
+ content: {}
+ head:
+ tags:
+ - Knowledge Artifact Repository
+ summary: Check Knowledge Artifact Repository
+ description: "Checks for the existence of a Knowledge Artifact Repository with\
+ \ the given identifier \n"
+ operationId: isKnowledgeArtifactRepository
+ parameters:
+ - name: repositoryId
+ in: path
+ description: |
+ The id of a Knowledge Artifact Repository, in the context of the server that provides operations on the Repository. In general, the ID is qualified and scoped by a scheme owned by the server. When the server guarantees to federate repositories from a single known namespace, and repository IDs are required to be scoped by that namespace, either the fully qualified name or the local part should be accepted as a valid repositoryId; otherwise, only the fully qualified ID will be acceptable.
+ required: true
+ schema:
+ type: string
+ responses:
+ 204:
+ description: |
+ Success
+ content: {}
+ 500:
+ description: "Internal error \n"
+ content: {}
+ 501:
+ description: "Not implemented \n"
+ content: {}
+ /repos/{repositoryId}/artifacts:
+ get:
+ tags:
+ - Knowledge Artifact Series
+ summary: List stored Knowledge Artifacts
+ description: "Retrieves a browsable list of references to the Knowledge Artifacts\
+ \ that are stored in a given Knowledge Artifact Repository. \n*If the repository\
+ \ is empty, the operation should still succeed, returning an empty list.\n\
+ *The returned references SHOULD, at a minimum, reference each Artifact's version\
+ \ series, and MUST also carry the identifier of the latest version. \n\nThis\
+ \ operation should support paging.\n"
+ operationId: listKnowledgeArtifacts
+ parameters:
+ - name: repositoryId
+ in: path
+ description: |
+ The id of a Knowledge Artifact Repository, in the context of the server that provides operations on the Repository. In general, the ID is qualified and scoped by a scheme owned by the server. When the server guarantees to federate repositories from a single known namespace, and repository IDs are required to be scoped by that namespace, either the fully qualified name or the local part should be accepted as a valid repositoryId; otherwise, only the fully qualified ID will be acceptable.
+ required: true
+ schema:
+ type: string
+ - name: offset
+ in: query
+ description: |
+ Filters elements in a collection, returning all elements after the 'offset' index included, ignoring all previous elements.
+ schema:
+ type: integer
+ - name: limit
+ in: query
+ description: |
+ Returns up to the given number of elements in a collection.
+ schema:
+ type: integer
+ - name: deleted
+ in: query
+ description: |
+ Flag that grants access to soft-deleted Artifacts, allowing to retrieve them, or even delete them permanently. To do so, the flag MUST be set explicitly to true.
+ schema:
+ type: boolean
+ default: false
+ responses:
+ 200:
+ description: |
+ Success
+ content:
+ application/json:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/Pointer'
+ application/xml:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/Pointer'
+ text/html:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/Pointer'
+ 204:
+ description: |
+ Series is initialized, but no versions are available.
+ (If deleted=true, this can only happen if there are no versions yet, or all are gone)
+ content: {}
+ 403:
+ description: |
+ Client not authorized to browse this repository
+ content: {}
+ 404:
+ description: |
+ Repository not found
+ content: {}
+ 500:
+ description: "Internal error \n"
+ content: {}
+ post:
+ tags:
+ - Knowledge Artifact Series
+ summary: Initialize new Artifact series
+ description: "Creates a new Knowledge Artifact. \nAssigns an ID to the Artifact\
+ \ in the process, and creates a new empty series.\"\n"
+ operationId: initKnowledgeArtifact
+ parameters:
+ - name: repositoryId
+ in: path
+ description: |
+ The id of a Knowledge Artifact Repository, in the context of the server that provides operations on the Repository. In general, the ID is qualified and scoped by a scheme owned by the server. When the server guarantees to federate repositories from a single known namespace, and repository IDs are required to be scoped by that namespace, either the fully qualified name or the local part should be accepted as a valid repositoryId; otherwise, only the fully qualified ID will be acceptable.
+ required: true
+ schema:
+ type: string
+ responses:
+ 201:
+ description: Success
+ headers:
+ Content-Location:
+ description: |
+ URL where the new Knowledge Artifact Series can be accessed
+ schema:
+ type: string
+ format: uri
+ content:
+ application/json:
+ schema:
+ type: string
+ description: |
+ The identifier of the newly created Knowledge Artifact
+ format: uuid
+ 403:
+ description: |
+ Client is not allowed to create new Artifacts
+ content: {}
+ 404:
+ description: |
+ Repository not found
+ content: {}
+ 405:
+ description: |
+ Not supported - Repository is read only
+ content: {}
+ 500:
+ description: "Internal error \n"
+ content: {}
+ 501:
+ description: "Not implemented \n"
+ content: {}
+ delete:
+ tags:
+ - Knowledge Artifact Series
+ summary: Clear Knowledge Artifact Repository
+ description: "Clears a Knowledge Artifact Repository, deleting each Artifact\
+ \ that is contained therein.\n\nFunctionally equivalent to invoking, atomically,\
+ \ \nlistKnowledgeArtifacts(repositoryId).forEach(x->deleteKnowledgeArtifactSeries(x,deleted))\n\
+ In particular, it must adhere to the constraints of deleteKnowledgeArtifact.\n\
+ \nThis operation does not disable the Repository. \nAfter invoking this operation,\
+ \ listKnowledgeArtifacts MUST return an empty list.\n\nA client MUST have\
+ \ the appropriate privileges, which SHOULD only be granted to a super-user.\n\
+ In particular, the repository-scoped hard deletion (i.e. invoking this operation\
+ \ with deleted=true) \nMAY NOT be supported. \n"
+ operationId: clearKnowledgeRepository
+ parameters:
+ - name: repositoryId
+ in: path
+ description: |
+ The id of a Knowledge Artifact Repository, in the context of the server that provides operations on the Repository. In general, the ID is qualified and scoped by a scheme owned by the server. When the server guarantees to federate repositories from a single known namespace, and repository IDs are required to be scoped by that namespace, either the fully qualified name or the local part should be accepted as a valid repositoryId; otherwise, only the fully qualified ID will be acceptable.
+ required: true
+ schema:
+ type: string
+ - name: deleted
+ in: query
+ description: |
+ Flag that grants access to soft-deleted Artifacts, allowing to retrieve them, or even delete them permanently. To do so, the flag MUST be set explicitly to true.
+ schema:
+ type: boolean
+ default: false
+ responses:
+ 204:
+ description: |
+ The repository content has been cleared
+ content: {}
+ 403:
+ description: |
+ Client does not have the privileges
+ content: {}
+ 404:
+ description: |
+ Repository not found
+ content: {}
+ 405:
+ description: |
+ Not supported by the Repository
+ content: {}
+ 500:
+ description: "Internal error \n"
+ content: {}
+ 501:
+ description: "Not implemented \n \n"
+ content: {}
+ /repos/{repositoryId}/artifacts/{artifactId}:
+ get:
+ tags:
+ - Knowledge Artifact Series
+ summary: Retrieves the LATEST version of a Knowledge Artifact
+ description: "Gets a copy of a (Digital) Knowledge Artifact, based on the LATEST\
+ \ version \nwithin the series identified by the given artifact ID.\n\nIf invoked\
+ \ with 'deleted=true', it will access Artifacts that are current \nOR that\
+ \ have been soft-deleted.\n"
+ operationId: getLatestKnowledgeArtifact
+ parameters:
+ - name: repositoryId
+ in: path
+ description: |
+ The id of a Knowledge Artifact Repository, in the context of the server that provides operations on the Repository. In general, the ID is qualified and scoped by a scheme owned by the server. When the server guarantees to federate repositories from a single known namespace, and repository IDs are required to be scoped by that namespace, either the fully qualified name or the local part should be accepted as a valid repositoryId; otherwise, only the fully qualified ID will be acceptable.
+ required: true
+ schema:
+ type: string
+ - name: artifactId
+ in: path
+ description: "The (qualified) identifier of a Knowledge Artifact. The server\
+ \ stores a 'Master Copy', from which other Knowledge Artifacts are derived\
+ \ by replication. MUST be used in the context of a Knowledge Artifact Repository\
+ \ Since Master Copies can be mutable, unless further qualified, the identifier\
+ \ will denote a Series in general, and identify the LATEST version within\
+ \ the series. \n"
+ required: true
+ schema:
+ type: string
+ format: uuid
+ - name: deleted
+ in: query
+ description: |
+ Flag that grants access to soft-deleted Artifacts, allowing to retrieve them, or even delete them permanently. To do so, the flag MUST be set explicitly to true.
+ schema:
+ type: boolean
+ default: false
+ responses:
+ 200:
+ description: |
+ Success
+ content:
+ '*/*':
+ schema:
+ type: string
+ format: byte
+ 204:
+ description: |
+ Artifact known but either not available, or no versions are available.
+ content: {}
+ 403:
+ description: |
+ The client does not have the privileges to access the given Artifact
+ content: {}
+ 404:
+ description: |
+ Repository not found, or the Artifact is not resolvable within the given Repository.
+ When invoked with 'deleted=true', it implies that the server does not recognize the ID,
+ otherwise it may also be the case that the desired artifact has been deleted.
+ content: {}
+ 410:
+ description: "The Artifact used to be known to this server, but has been\
+ \ deleted.\nReversible deletions should return 410 if 'deleted=false'\
+ \ and 200 if 'deleted=true'\nPermanent deletions should return 410 in\
+ \ any case, leaving code 404 for Artifact IDs \nthat are not recognized\
+ \ by the server \n"
+ content: {}
+ 500:
+ description: "Internal error \n"
+ content: {}
+ post:
+ tags:
+ - Knowledge Artifact Series
+ summary: Enable Knowledge Artifact Series
+ description: |
+ Ensures a Knowledge Artifact (series) is available, even if the series may be empty.
+ Will create a new series with the given ID if the Artifact is not known or GONE.
+
+ May restore an unavailable Artifact, and/or all its unavailable versions.
+ operationId: enableKnowledgeArtifact
+ parameters:
+ - name: repositoryId
+ in: path
+ description: |
+ The id of a Knowledge Artifact Repository, in the context of the server that provides operations on the Repository. In general, the ID is qualified and scoped by a scheme owned by the server. When the server guarantees to federate repositories from a single known namespace, and repository IDs are required to be scoped by that namespace, either the fully qualified name or the local part should be accepted as a valid repositoryId; otherwise, only the fully qualified ID will be acceptable.
+ required: true
+ schema:
+ type: string
+ - name: artifactId
+ in: path
+ description: "The (qualified) identifier of a Knowledge Artifact. The server\
+ \ stores a 'Master Copy', from which other Knowledge Artifacts are derived\
+ \ by replication. MUST be used in the context of a Knowledge Artifact Repository\
+ \ Since Master Copies can be mutable, unless further qualified, the identifier\
+ \ will denote a Series in general, and identify the LATEST version within\
+ \ the series. \n"
+ required: true
+ schema:
+ type: string
+ format: uuid
+ responses:
+ 201:
+ description: |
+ An artifact series with the given ID is now available.
+ May have restored unavailable versions if 'deleted=true'
+ content: {}
+ 403:
+ description: "The client does not have the necessary privileges \n"
+ content: {}
+ 404:
+ description: "No repository with the given ID can be found \n"
+ content: {}
+ 405:
+ description: |
+ The given Artifact cannot be created/restored.
+ content: {}
+ 500:
+ description: "Internal error \n"
+ content: {}
+ 501:
+ description: "Not implemented \n"
+ content: {}
+ delete:
+ tags:
+ - Knowledge Artifact Series
+ summary: Removes a Knowledge Artifact from the Repository
+ description: "Individual Knowledge Artifacts are considered removed from a Repository,\
+ \ if and only if any\nattempt to resolve that Artifact identifier within the\
+ \ given Knowledge Repository will not succeeed.\nRemoving an Artifact that\
+ \ is not (any longer) in a Repository will result in a trivial success.\n\n\
+ This operation is functionally equivalent to invoking deleteKnowledgeArtifactSeries(repositoryId,artifactId,deleted),\n\
+ to clear the series, AND then removing the Artifact from the Repository. \
+ \ \n\nIn any case, The server SHOULD keep a record of the artifactId.\n"
+ operationId: deleteKnowledgeArtifact
+ parameters:
+ - name: repositoryId
+ in: path
+ description: |
+ The id of a Knowledge Artifact Repository, in the context of the server that provides operations on the Repository. In general, the ID is qualified and scoped by a scheme owned by the server. When the server guarantees to federate repositories from a single known namespace, and repository IDs are required to be scoped by that namespace, either the fully qualified name or the local part should be accepted as a valid repositoryId; otherwise, only the fully qualified ID will be acceptable.
+ required: true
+ schema:
+ type: string
+ - name: artifactId
+ in: path
+ description: "The (qualified) identifier of a Knowledge Artifact. The server\
+ \ stores a 'Master Copy', from which other Knowledge Artifacts are derived\
+ \ by replication. MUST be used in the context of a Knowledge Artifact Repository\
+ \ Since Master Copies can be mutable, unless further qualified, the identifier\
+ \ will denote a Series in general, and identify the LATEST version within\
+ \ the series. \n"
+ required: true
+ schema:
+ type: string
+ format: uuid
+ - name: deleted
+ in: query
+ description: |
+ Flag that grants access to soft-deleted Artifacts, allowing to retrieve them, or even delete them permanently. To do so, the flag MUST be set explicitly to true.
+ schema:
+ type: boolean
+ default: false
+ responses:
+ 204:
+ description: "Success\nThis code is returned even if the artifact has already\
+ \ been (permanently) deleted, \nas long as the artifact ID is known to\
+ \ the server.\n"
+ content: {}
+ 403:
+ description: "The client does not have the necessary privileges \n"
+ content: {}
+ 404:
+ description: "No repository with the given ID can be found, \nor the Artifact\
+ \ is not known to this server \n"
+ content: {}
+ 405:
+ description: |
+ The given Artifact cannot be deleted.
+ content: {}
+ 500:
+ description: "Internal error \n"
+ content: {}
+ 501:
+ description: "Not implemented \n"
+ content: {}
+ head:
+ tags:
+ - Knowledge Artifact Series
+ summary: Check Knowledge Artifact
+ description: "Checks for the existence of a Knowledge Artifact Series within\
+ \ the scope of a Repository. \n\nFor the operation to succeeed, the Artifact\
+ \ must have been initialized but not deleted \n(permanently - if deleted is\
+ \ true), even if the version series is empty.\n"
+ operationId: isKnowledgeArtifactSeries
+ parameters:
+ - name: repositoryId
+ in: path
+ description: |
+ The id of a Knowledge Artifact Repository, in the context of the server that provides operations on the Repository. In general, the ID is qualified and scoped by a scheme owned by the server. When the server guarantees to federate repositories from a single known namespace, and repository IDs are required to be scoped by that namespace, either the fully qualified name or the local part should be accepted as a valid repositoryId; otherwise, only the fully qualified ID will be acceptable.
+ required: true
+ schema:
+ type: string
+ - name: artifactId
+ in: path
+ description: "The (qualified) identifier of a Knowledge Artifact. The server\
+ \ stores a 'Master Copy', from which other Knowledge Artifacts are derived\
+ \ by replication. MUST be used in the context of a Knowledge Artifact Repository\
+ \ Since Master Copies can be mutable, unless further qualified, the identifier\
+ \ will denote a Series in general, and identify the LATEST version within\
+ \ the series. \n"
+ required: true
+ schema:
+ type: string
+ format: uuid
+ - name: deleted
+ in: query
+ description: |
+ Flag that grants access to soft-deleted Artifacts, allowing to retrieve them, or even delete them permanently. To do so, the flag MUST be set explicitly to true.
+ schema:
+ type: boolean
+ default: false
+ responses:
+ 204:
+ description: |
+ The artifact is known to the Repository
+ content: {}
+ 404:
+ description: "Repository or Artifact not found \n"
+ content: {}
+ 500:
+ description: "Internal error \n"
+ content: {}
+ 501:
+ description: |
+ Not implemented
+ content: {}
+ /repos/{repositoryId}/artifacts/{artifactId}/versions:
+ get:
+ tags:
+ - Knowledge Artifact Series
+ summary: List versions of a Knowledge Artifact.
+ description: |
+ Provides access to an Artifact's historical series, i.e. the list of immutable versions of
+ the Artifact maintained in the given Knowledge Artifact Repository. Optionally, allows to sort the series, filter by version range and supports pagination.
+
+ The list may be empty, either because an Artifact series has been initialized without adding
+ any particular version (see POST), or because all versions have been deleted, without deleting the artifact itself.
+ operationId: getKnowledgeArtifactSeries
+ parameters:
+ - name: repositoryId
+ in: path
+ description: |
+ The id of a Knowledge Artifact Repository, in the context of the server that provides operations on the Repository. In general, the ID is qualified and scoped by a scheme owned by the server. When the server guarantees to federate repositories from a single known namespace, and repository IDs are required to be scoped by that namespace, either the fully qualified name or the local part should be accepted as a valid repositoryId; otherwise, only the fully qualified ID will be acceptable.
+ required: true
+ schema:
+ type: string
+ - name: artifactId
+ in: path
+ description: "The (qualified) identifier of a Knowledge Artifact. The server\
+ \ stores a 'Master Copy', from which other Knowledge Artifacts are derived\
+ \ by replication. MUST be used in the context of a Knowledge Artifact Repository\
+ \ Since Master Copies can be mutable, unless further qualified, the identifier\
+ \ will denote a Series in general, and identify the LATEST version within\
+ \ the series. \n"
+ required: true
+ schema:
+ type: string
+ format: uuid
+ - name: deleted
+ in: query
+ description: |
+ Flag that grants access to soft-deleted Artifacts, allowing to retrieve them, or even delete them permanently. To do so, the flag MUST be set explicitly to true.
+ schema:
+ type: boolean
+ default: false
+ - name: offset
+ in: query
+ description: |
+ Filters elements in a collection, returning all elements after the 'offset' index included, ignoring all previous elements.
+ schema:
+ type: integer
+ - name: limit
+ in: query
+ description: |
+ Returns up to the given number of elements in a collection.
+ schema:
+ type: integer
+ - name: beforeTag
+ in: query
+ description: |
+ Restricts the series to include only versions before (included) a given version Tag. Assumes the underlying versioning scheme has at least a partial ordering defined
+ schema:
+ type: string
+ - name: afterTag
+ in: query
+ description: |
+ Restricts the series to include only versions after (included) a given version Tag. Assumes the underlying versioning scheme has at least a partial ordering defined.
+ schema:
+ type: string
+ - name: sort
+ in: query
+ description: |
+ Allows to sort a collection by one ore more properties
+ schema:
+ type: string
+ default: asc
+ responses:
+ 200:
+ description: "Returns a possibly empty list of Pointers to each version\
+ \ of the given Artifact. \nBy definition, all pointers must reference\
+ \ Artifacts with the same ArtifactID, and different version tags.\n\n\
+ The list may contain versions that have been deleted, if 'deleted=true'.\n"
+ content:
+ application/json:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/Pointer'
+ application/xml:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/Pointer'
+ text/html:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/Pointer'
+ 204:
+ description: |
+ Artifact known, but not available.
+ content: {}
+ 403:
+ description: |
+ The client does not have the necessary permissions
+ content: {}
+ 404:
+ description: |
+ Repository or Artifact not known
+ content: {}
+ 410:
+ description: |
+ The artifact has been permanently deleted
+ content: {}
+ 500:
+ description: "Internal error \n"
+ content: {}
+ post:
+ tags:
+ - Knowledge Artifact Series
+ summary: Add a (new version) of a Knowledge Artifact.
+ description: |
+ Adds a new version of a given Artifact to the Artifact's series, making this version the LATEST.
+ The client is required to provide the content, but the server is expected to provide the version tagging,
+ according to the version scheme that is implemented internally. When successful, the server will return the URL where that version can be accessed."
+ operationId: addKnowledgeArtifactVersion
+ parameters:
+ - name: repositoryId
+ in: path
+ description: |
+ The id of a Knowledge Artifact Repository, in the context of the server that provides operations on the Repository. In general, the ID is qualified and scoped by a scheme owned by the server. When the server guarantees to federate repositories from a single known namespace, and repository IDs are required to be scoped by that namespace, either the fully qualified name or the local part should be accepted as a valid repositoryId; otherwise, only the fully qualified ID will be acceptable.
+ required: true
+ schema:
+ type: string
+ - name: artifactId
+ in: path
+ description: "The (qualified) identifier of a Knowledge Artifact. The server\
+ \ stores a 'Master Copy', from which other Knowledge Artifacts are derived\
+ \ by replication. MUST be used in the context of a Knowledge Artifact Repository\
+ \ Since Master Copies can be mutable, unless further qualified, the identifier\
+ \ will denote a Series in general, and identify the LATEST version within\
+ \ the series. \n"
+ required: true
+ schema:
+ type: string
+ format: uuid
+ requestBody:
+ content:
+ multipart/form-data:
+ schema:
+ required:
+ - document
+ properties:
+ document:
+ type: string
+ description: |
+ The binary serialization of the document that carries the new version of the Knowledge Artifact
+ format: byte
+ required: true
+ responses:
+ 201:
+ description: "The given document has been set as the latest version of the\
+ \ specified Knowledge Artifact, \nand is available at the returned URL.\
+ \ When possible, servers should actually return a URI that can be \ndereferenced\
+ \ to the URL where the new version can be retrieved.\n"
+ headers:
+ Content-Location:
+ description: |
+ URL where the new version of the Knowledge Artifact is accessible
+ schema:
+ type: string
+ format: uri
+ content: {}
+ 403:
+ description: "Client does not have the necessary privileges \n"
+ content: {}
+ 404:
+ description: "Repository or Artifact not found \n"
+ content: {}
+ 405:
+ description: |
+ New versions cannot be created, e.g. because the Artifact or the Repository is read-only
+ content: {}
+ 500:
+ description: "Internal error \n"
+ content: {}
+ 501:
+ description: "Not implemented \n"
+ content: {}
+ /repos/{repositoryId}/artifacts/{artifactId}/versions/{versionTag}:
+ get:
+ tags:
+ - Knowledge Artifact
+ summary: Retrieve a specific version of a Knowledge Artifact
+ description: "Provides the client with a copy of a specific version of a Knowledge\
+ \ Artifact. \nMay provide access to 'deleted' artifacts if the dedicated flag\
+ \ is set.\n"
+ operationId: getKnowledgeArtifactVersion
+ parameters:
+ - name: repositoryId
+ in: path
+ description: |
+ The id of a Knowledge Artifact Repository, in the context of the server that provides operations on the Repository. In general, the ID is qualified and scoped by a scheme owned by the server. When the server guarantees to federate repositories from a single known namespace, and repository IDs are required to be scoped by that namespace, either the fully qualified name or the local part should be accepted as a valid repositoryId; otherwise, only the fully qualified ID will be acceptable.
+ required: true
+ schema:
+ type: string
+ - name: artifactId
+ in: path
+ description: "The (qualified) identifier of a Knowledge Artifact. The server\
+ \ stores a 'Master Copy', from which other Knowledge Artifacts are derived\
+ \ by replication. MUST be used in the context of a Knowledge Artifact Repository\
+ \ Since Master Copies can be mutable, unless further qualified, the identifier\
+ \ will denote a Series in general, and identify the LATEST version within\
+ \ the series. \n"
+ required: true
+ schema:
+ type: string
+ format: uuid
+ - name: versionTag
+ in: path
+ description: "The version tag of a Versioned Entity Identifier. Versioned\
+ \ Identifiers identify specific, Immutable Versions of Mutable Entities,\
+ \ which reflect the state of that Entity at a given point in time. Version(ed)\
+ \ identifier SHOULD be universal, but version Tags are not, and MUST always\
+ \ be interpreted within the context of their associated Entity (identifier).\
+ \ \n"
+ required: true
+ schema:
+ type: string
+ - name: deleted
+ in: query
+ description: |
+ Flag that grants access to soft-deleted Artifacts, allowing to retrieve them, or even delete them permanently. To do so, the flag MUST be set explicitly to true.
+ schema:
+ type: boolean
+ default: false
+ responses:
+ 200:
+ description: |
+ A copy of the given artifact's version can be retrieved
+ content:
+ '*/*':
+ schema:
+ type: string
+ format: byte
+ 204:
+ description: |
+ The version is known but currently unavailable.
+ content: {}
+ 403:
+ description: |
+ The client cannot access the artifact version
+ content: {}
+ 404:
+ description: "Repository or Artifact Version not found \n"
+ content: {}
+ 410:
+ description: |
+ The artifact has been deleted permanently
+ content: {}
+ 500:
+ description: "Internal error \n"
+ content: {}
+ put:
+ tags:
+ - Knowledge Artifact
+ summary: Sets a Version of a specific Knowledge Artifact
+ description: |
+ Ensures that a Knowledge Artifact is available in the given Repository, and that an attempt
+ to resolve a version with the given tag will succeed, returning a copy of the provided payload.
+
+ Creates an Artifact series if not present, and overwrites the stored copy for the given version if already present.
+ This operation can reverse a deletion.
+ operationId: setKnowledgeArtifactVersion
+ parameters:
+ - name: repositoryId
+ in: path
+ description: |
+ The id of a Knowledge Artifact Repository, in the context of the server that provides operations on the Repository. In general, the ID is qualified and scoped by a scheme owned by the server. When the server guarantees to federate repositories from a single known namespace, and repository IDs are required to be scoped by that namespace, either the fully qualified name or the local part should be accepted as a valid repositoryId; otherwise, only the fully qualified ID will be acceptable.
+ required: true
+ schema:
+ type: string
+ - name: artifactId
+ in: path
+ description: "The (qualified) identifier of a Knowledge Artifact. The server\
+ \ stores a 'Master Copy', from which other Knowledge Artifacts are derived\
+ \ by replication. MUST be used in the context of a Knowledge Artifact Repository\
+ \ Since Master Copies can be mutable, unless further qualified, the identifier\
+ \ will denote a Series in general, and identify the LATEST version within\
+ \ the series. \n"
+ required: true
+ schema:
+ type: string
+ format: uuid
+ - name: versionTag
+ in: path
+ description: "The version tag of a Versioned Entity Identifier. Versioned\
+ \ Identifiers identify specific, Immutable Versions of Mutable Entities,\
+ \ which reflect the state of that Entity at a given point in time. Version(ed)\
+ \ identifier SHOULD be universal, but version Tags are not, and MUST always\
+ \ be interpreted within the context of their associated Entity (identifier).\
+ \ \n"
+ required: true
+ schema:
+ type: string
+ requestBody:
+ content:
+ multipart/form-data:
+ schema:
+ required:
+ - document
+ properties:
+ document:
+ type: string
+ description: |
+ The version of the Knowledge Artifact to be set in the repository.
+ format: byte
+ required: true
+ responses:
+ 204:
+ description: |
+ The given document has been set as the specific version of the specified Knowledge Artifact.
+ content: {}
+ 403:
+ description: |
+ The client does not have the adequate permissions
+ content: {}
+ 404:
+ description: "Repository not found \n"
+ content: {}
+ 500:
+ description: |
+ Internal error
+ content: {}
+ 501:
+ description: "Not implemented \n"
+ content: {}
+ post:
+ tags:
+ - Knowledge Artifact
+ summary: Ensure a specific version of a Knowledge Artifact is available
+ description: "Ensures that a specific version of a given Knowledge Artifact\
+ \ can be retrieved. \nNotice that the user is not required to provide the\
+ \ actual artifact payload.\nFor this reason, the oepration will succeed if\
+ \ and only if the version is either already available, or in a soft deletion\
+ \ status.\nThis operation may restore an unavailable version.\n"
+ operationId: enableKnowledgeArtifactVersion
+ parameters:
+ - name: repositoryId
+ in: path
+ description: |
+ The id of a Knowledge Artifact Repository, in the context of the server that provides operations on the Repository. In general, the ID is qualified and scoped by a scheme owned by the server. When the server guarantees to federate repositories from a single known namespace, and repository IDs are required to be scoped by that namespace, either the fully qualified name or the local part should be accepted as a valid repositoryId; otherwise, only the fully qualified ID will be acceptable.
+ required: true
+ schema:
+ type: string
+ - name: artifactId
+ in: path
+ description: "The (qualified) identifier of a Knowledge Artifact. The server\
+ \ stores a 'Master Copy', from which other Knowledge Artifacts are derived\
+ \ by replication. MUST be used in the context of a Knowledge Artifact Repository\
+ \ Since Master Copies can be mutable, unless further qualified, the identifier\
+ \ will denote a Series in general, and identify the LATEST version within\
+ \ the series. \n"
+ required: true
+ schema:
+ type: string
+ format: uuid
+ - name: versionTag
+ in: path
+ description: "The version tag of a Versioned Entity Identifier. Versioned\
+ \ Identifiers identify specific, Immutable Versions of Mutable Entities,\
+ \ which reflect the state of that Entity at a given point in time. Version(ed)\
+ \ identifier SHOULD be universal, but version Tags are not, and MUST always\
+ \ be interpreted within the context of their associated Entity (identifier).\
+ \ \n"
+ required: true
+ schema:
+ type: string
+ - name: deleted
+ in: query
+ description: |
+ Flag that grants access to soft-deleted Artifacts, allowing to retrieve them, or even delete them permanently. To do so, the flag MUST be set explicitly to true.
+ schema:
+ type: boolean
+ default: false
+ responses:
+ 204:
+ description: |
+ The given version is available.
+ content: {}
+ 403:
+ description: |
+ The client does not have the necessary permissions.
+ content: {}
+ 404:
+ description: |
+ Repository not found, or the Artifact (and/or its version) is not known to the Repository
+ content: {}
+ 500:
+ description: |
+ Internal error
+ content: {}
+ 501:
+ description: |
+ Not implemented
+ content: {}
+ delete:
+ tags:
+ - Knowledge Artifact
+ summary: Remove a specific version of a Knowledge Artifact
+ description: |
+ Ensures that a specific version of a given Knowledge Artifact is not resolvable anymore
+ within the Knowledge Artifact version series. If the version cannot be found, the operations succeeds trivially.
+
+ If the deleted flag is set, this operation MAY delete a version permanently.
+ operationId: deleteKnowledgeArtifactVersion
+ parameters:
+ - name: repositoryId
+ in: path
+ description: |
+ The id of a Knowledge Artifact Repository, in the context of the server that provides operations on the Repository. In general, the ID is qualified and scoped by a scheme owned by the server. When the server guarantees to federate repositories from a single known namespace, and repository IDs are required to be scoped by that namespace, either the fully qualified name or the local part should be accepted as a valid repositoryId; otherwise, only the fully qualified ID will be acceptable.
+ required: true
+ schema:
+ type: string
+ - name: artifactId
+ in: path
+ description: "The (qualified) identifier of a Knowledge Artifact. The server\
+ \ stores a 'Master Copy', from which other Knowledge Artifacts are derived\
+ \ by replication. MUST be used in the context of a Knowledge Artifact Repository\
+ \ Since Master Copies can be mutable, unless further qualified, the identifier\
+ \ will denote a Series in general, and identify the LATEST version within\
+ \ the series. \n"
+ required: true
+ schema:
+ type: string
+ format: uuid
+ - name: versionTag
+ in: path
+ description: "The version tag of a Versioned Entity Identifier. Versioned\
+ \ Identifiers identify specific, Immutable Versions of Mutable Entities,\
+ \ which reflect the state of that Entity at a given point in time. Version(ed)\
+ \ identifier SHOULD be universal, but version Tags are not, and MUST always\
+ \ be interpreted within the context of their associated Entity (identifier).\
+ \ \n"
+ required: true
+ schema:
+ type: string
+ - name: deleted
+ in: query
+ description: |
+ Flag that grants access to soft-deleted Artifacts, allowing to retrieve them, or even delete them permanently. To do so, the flag MUST be set explicitly to true.
+ schema:
+ type: boolean
+ default: false
+ responses:
+ 204:
+ description: |
+ The given version is no longer available.
+ content: {}
+ 403:
+ description: |
+ The client does not have the necessary permissions.
+ content: {}
+ 404:
+ description: |
+ Repository not found, or the Artifact is not known to the Repository
+ content: {}
+ 500:
+ description: |
+ Internal error
+ content: {}
+ 501:
+ description: |
+ Not implemented
+ content: {}
+ head:
+ tags:
+ - Knowledge Artifact
+ summary: Check Knowledge Artifact Version
+ description: "Checks for the existence of a specific version of a Knowledge\
+ \ Artifact \n"
+ operationId: isKnowledgeArtifactVersion
+ parameters:
+ - name: repositoryId
+ in: path
+ description: |
+ The id of a Knowledge Artifact Repository, in the context of the server that provides operations on the Repository. In general, the ID is qualified and scoped by a scheme owned by the server. When the server guarantees to federate repositories from a single known namespace, and repository IDs are required to be scoped by that namespace, either the fully qualified name or the local part should be accepted as a valid repositoryId; otherwise, only the fully qualified ID will be acceptable.
+ required: true
+ schema:
+ type: string
+ - name: artifactId
+ in: path
+ description: "The (qualified) identifier of a Knowledge Artifact. The server\
+ \ stores a 'Master Copy', from which other Knowledge Artifacts are derived\
+ \ by replication. MUST be used in the context of a Knowledge Artifact Repository\
+ \ Since Master Copies can be mutable, unless further qualified, the identifier\
+ \ will denote a Series in general, and identify the LATEST version within\
+ \ the series. \n"
+ required: true
+ schema:
+ type: string
+ format: uuid
+ - name: versionTag
+ in: path
+ description: "The version tag of a Versioned Entity Identifier. Versioned\
+ \ Identifiers identify specific, Immutable Versions of Mutable Entities,\
+ \ which reflect the state of that Entity at a given point in time. Version(ed)\
+ \ identifier SHOULD be universal, but version Tags are not, and MUST always\
+ \ be interpreted within the context of their associated Entity (identifier).\
+ \ \n"
+ required: true
+ schema:
+ type: string
+ - name: deleted
+ in: query
+ description: |
+ Flag that grants access to soft-deleted Artifacts, allowing to retrieve them, or even delete them permanently. To do so, the flag MUST be set explicitly to true.
+ schema:
+ type: boolean
+ default: false
+ responses:
+ 204:
+ description: |
+ The given version of the given artifact is found within the given repository
+ content: {}
+ 403:
+ description: |
+ The client cannot access the artifact version
+ content: {}
+ 404:
+ description: "Repository or Artifact Version not found \n"
+ content: {}
+ 410:
+ description: |
+ The artifact has been deleted permanently
+ content: {}
+ 500:
+ description: |
+ Internal error
+ content: {}
+ 510:
+ description: |
+ Not implemented
+ content: {}
+components:
+ schemas:
+ Pointer:
+ type: object
+ KnowledgeArtifactRepository:
+ type: object
+ parameters:
+ repositoryId:
+ name: repositoryId
+ in: path
+ description: |
+ The id of a Knowledge Artifact Repository, in the context of the server that provides operations on the Repository. In general, the ID is qualified and scoped by a scheme owned by the server. When the server guarantees to federate repositories from a single known namespace, and repository IDs are required to be scoped by that namespace, either the fully qualified name or the local part should be accepted as a valid repositoryId; otherwise, only the fully qualified ID will be acceptable.
+ required: true
+ schema:
+ type: string
+ artifactId:
+ name: artifactId
+ in: path
+ description: "The (qualified) identifier of a Knowledge Artifact. The server\
+ \ stores a 'Master Copy', from which other Knowledge Artifacts are derived\
+ \ by replication. MUST be used in the context of a Knowledge Artifact Repository\
+ \ Since Master Copies can be mutable, unless further qualified, the identifier\
+ \ will denote a Series in general, and identify the LATEST version within\
+ \ the series. \n"
+ required: true
+ schema:
+ type: string
+ format: uuid
+ versionTag:
+ name: versionTag
+ in: path
+ description: "The version tag of a Versioned Entity Identifier. Versioned\
+ \ Identifiers identify specific, Immutable Versions of Mutable Entities, which\
+ \ reflect the state of that Entity at a given point in time. Version(ed) identifier\
+ \ SHOULD be universal, but version Tags are not, and MUST always be interpreted\
+ \ within the context of their associated Entity (identifier). \n"
+ required: true
+ schema:
+ type: string
+ deleted:
+ name: deleted
+ in: query
+ description: |
+ Flag that grants access to soft-deleted Artifacts, allowing to retrieve them, or even delete them permanently. To do so, the flag MUST be set explicitly to true.
+ schema:
+ type: boolean
+ default: false
+ beforeTag:
+ name: beforeTag
+ in: query
+ description: |
+ Restricts the series to include only versions before (included) a given version Tag. Assumes the underlying versioning scheme has at least a partial ordering defined
+ schema:
+ type: string
+ afterTag:
+ name: afterTag
+ in: query
+ description: |
+ Restricts the series to include only versions after (included) a given version Tag. Assumes the underlying versioning scheme has at least a partial ordering defined.
+ schema:
+ type: string
+ sort:
+ name: sort
+ in: query
+ description: |
+ Allows to sort a collection by one ore more properties
+ schema:
+ type: string
+ default: asc
+ offset:
+ name: offset
+ in: query
+ description: |
+ Filters elements in a collection, returning all elements after the 'offset' index included, ignoring all previous elements.
+ schema:
+ type: integer
+ limit:
+ name: limit
+ in: query
+ description: |
+ Returns up to the given number of elements in a collection.
+ schema:
+ type: integer
+ requestBodies:
+ repositoryDescr:
+ description: A representation of the current state of a given Knowledge Artifact
+ Repository
+ content:
+ '*/*':
+ schema:
+ $ref: '#/components/schemas/KnowledgeArtifactRepository'
+ required: false
diff --git a/openapi/v3/org/omg/spec/api4kp/5.0.0/knowledgeAssetRepository.oas.yaml b/openapi/v3/org/omg/spec/api4kp/5.0.0/knowledgeAssetRepository.oas.yaml
new file mode 100644
index 0000000..02704be
--- /dev/null
+++ b/openapi/v3/org/omg/spec/api4kp/5.0.0/knowledgeAssetRepository.oas.yaml
@@ -0,0 +1,3138 @@
+openapi: 3.0.1
+info:
+ title: API4KP Knowledge Asset Repository API
+ description: |
+ APIs for a Semantic Knowledge Asset Repository.
+
+ **Knowledge Assets**
+ Knowledge Assets are immutable, versioned works of knowledge (aka 'Piece of Knowledge', or 'Piece of Content'), which are expressible in any form that is fit for consumption by a designated audience.
+ Assets managed through a Knowledge Asset Catalog & Repository are usually, though not necessarily, _Enterprise_ Knowledge Assets, i.e. Assets whose content is endorsed by some Subject Matter Expert (party), and whose identification and life cycle is managed by an Authority.
+
+ **Knowledge Resources** - Assets vs Carriers vs Surrogates
+ Since Knowledge Assets themselves are immaterial entities, an Asset Repository can either store 'metadata' (Knowledge Asset Surrogates), or store/reference 'manifestations' (Knowledge Carriers). Both Surrogates and Carriers are actually Knowledge Artifacts, and differ in the role they play with respect to a given Asset.
+ The Asset Repository MIGHT be built on top of a Knowledge Artifact Repository, and internalize the storage of Carriers and Surrogates. An Asset Repository COULD _also_ be federated, and point to Carriers and Surrogates stored in external systems e.g. by means of URLs.
+ At a minimum, the Asset Repository MUST have direct access to at least one Surrogate, which is considered Canonical, and contains some core, mandatory information about the asset and its relationships to other assets and artifacts (including Carriers and other Surrogates), and some corollary information such as pedigree/provenance, policies, applicability.
+ The Canonical Surrogate is a Resource that conforms to some standard adopted by the Repository, and is directly accessible through the Repository APIs.
+ The Canonical Surrogate is such that there cannot exist two distinct Surrogates of the same Asset that use the canonical metamodel (Knowledge Representation Language, or profile thereof) supported by the server.
+
+ Notice that all Carriers associated to an Asset MUST be iso-semantic, i.e. be _variant_ representation of the Asset knowledge content. Surrogates, on the other hand, can have different information content, as long as they refer to the same Asset, and are consistent with each other.
+
+ **Series**
+ All Resources are Versioned. Resources maintain a version-agnostic, (globally unique) ID, and a version tag which is implementation specific, even if semantic versioning is encouraged.
+ Versions in a series SHOULD be ordered by version tag, based on the natural order of the tags themselves (e.g. incremental numbers vs semantic versioning). Versions SHALL also be ordered by the timestamp each version was established on.
+ In particular, the LATEST version of a Resource SHALL be determined by tag ordering, and the timestamp will only be used to break any ties. (Implementations COULD use the timestamp itself as a version tag.)
+
+ **Knowledge Graph**
+ Collectively, the Canonical Surrogates constitute a Knowledge Base, of Graph-oriented nature, which is referre to as the Knowledge Asset Graph. The Graph, supports the indexing and querying of the Assets, and can be used to construct Knowledge Asset Catalogs.
+
+ **Search and Retrieval**
+ Assets (and their Carriers) MUST be discoverable through listing, and the individual Resources MUST be retrievable based on a combination of identifiers and version tags.
+ Filtering SHOULD be supported based on a limited category of metadata, namely types and semantic annotations.
+ Querying COULD be supported through the Knowledge Graph.
+ Text based searching MIGHT be supported, but is currently outside of the scope of this specification.
+
+ **Content Negotiation**
+ Given an Asset, its Carriers and Surrogates can also be selected through Content Negotiation. A client can use a formal MIME code (see extAccept later in the documentation) to choose between (i) the Carriers or (ii) the Surrogates of a given Asset, when multiple alternatives are present.
+ A client can also use Content Negotiation in combination with an Artifact identifier. In this case, the client declares their intent to access the information content of a specific Artifact (version), but asks that the Artifact be delivered in a certain format.
+ To support Content Negotiation, Asset Repositories SHOULD be able to provide Artifacts even when they are not materially stored/referenced, but can be derived on the fly at runtime using a Language service API (which internally could further delegate to KB/reasoning services for complex tasks such as assembling or semantic trans*tion).
+
+ Notice that the Asset Repository Content Negotiation is at a different level than the Content Negotiation provided by OpenAPI natively. (Formal) Content negotiation is applied _before_ a resulting Artifact (Carrier or Surrogate) is wrapped in a KnowledgeCarrier object and returned.
+ Standard OpenAPI content negotiation is applied to any API return type, including KnowledgeCarriers, at a later stage.
+
+ **Composites**
+ A Composite Resource (Asset or Artifact) is a resource that consists in components, which are either Composite Resources of the same type, or regular atomic Resources. Composites are also defined by the relationships between the parts. For this reason, each Composite has a special Component, a Struct(ure), which is a graph-oriented Artifact which establishes types, roles and relationships and is normally a subset of the Knowledge Asset Graph.
+ Composites are implicitly manifested through their identifier and Structure. The components can be resolved and assembled into a Composite Surrogate or into a Composite Artifact.
+ The Composite is distinct from each of its components, even when one of the components has a prominent role with respect to the others.
+ As such, Composites can have their own independent Canonical Surrogate, and have one or more variant Carriers.
+ Notice that, in general, a Composite Asset can be carried by an atomic Carrier, and an atomic Asset can be carried by a Composite Artifact.
+ Atomic Resources can be created from their Composite counterparts by means of _flattening_.
+
+
+ **Service Boundaries**
+ Unlike Knowledge Artifact Repositories, for which Artifacts are black boxes, Knowledge _Asset_ Repositories consider Assets and their Carriers as gray boxes.
+ A Knowledge Asset Repository SHOULD delegate to a Language Service the ability to parse/serialize, validate and otherwise analyze the content of a Knowledge Carriers associated to an Asset. Language Trans*ion services SHOULD also be leveraged for Content Negotiation Purposes.
+ A Knowledge Asset Repository SHOULD leverage a Knowledge Base Construction Service to manipulate artifacts, especially for the purpose of constructing, deconstructing, flattening and generating metadata.
+ A Knowledge Asset Repository MIGHT also interact with a Reasoning Service, which SHOULD treat the Knowledge Asset Graph as a Knowledge Base, performing inferences and answering queries.
+ A Knowledge Asset Repository SHALL NOT, instead, leverage a Reasoning Service to reason _with_ the Artifacts' content for any other reason that the extraction/validation of the Asset metadata. This choice is motivated by the different SLA constraints (e.g. security, traffic/load) involved when knowledge is 'in motion' rather than 'at rest'.
+
+ **Maturity**
+ As of this version, this API is considered stable
+ contact:
+ name: Davide Sottara
+ email: sottara.davide@mayo.edu
+ license:
+ name: Apache License, Version 2.0
+ url: https://www.apache.org/licenses/LICENSE-2.0.html
+ version: 5.0.0
+servers:
+ - url: /omg.org/spec/API4KP/20200801/api/repository/asset/v5
+tags:
+ - name: Knowledge Asset Catalog
+ description: |
+ A Knowledge Asset Catalog is an indexed collection of Knowledge Assets. A Catalog identifies, versions, types/categorizes, and relates Assets to each other.
+ - name: Knowledge Asset Repository
+ description: |
+ A Semantic Knowledge Repository provides access to Knowledge Artifacts based on their Asset content and representation thereof.
+ - name: Knowledge Asset Retrieval
+ description: |
+ A Knowledge Asset Retrieval faciilty offers query/search engines that treat the content of the Knowledge Asset Catalog itself as a Knowledge Base.
+paths:
+ /cat:
+ get:
+ tags:
+ - Knowledge Asset Catalog
+ summary: Describe Knowledge Asset Catalog.
+ description: |
+ Returns a Knowledge Asset Catalog Resource that summarizes the capabilities of the Asset Repository.
+ Dynamic information, such as the number of stored Assets, can be obtained querying the Knowledge Graph
+ operationId: getKnowledgeAssetCatalog
+ responses:
+ 200:
+ description: Success
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/KnowledgeAssetCatalog'
+ application/xml:
+ schema:
+ $ref: '#/components/schemas/KnowledgeAssetCatalog'
+ 403:
+ description: |
+ The client cannot access this repository
+ content: {}
+ 500:
+ description: |
+ Internal Error
+ content: {}
+ delete:
+ tags:
+ - Knowledge Asset Catalog
+ summary: Clear Knowledge Asset Catalog.
+ description: |
+ Clears the Knowledge Asset Catalog.
+ This operation may not implemented, enabled via configuration, or require higher privileges
+ operationId: clearKnowledgeAssetCatalog
+ responses:
+ 200:
+ description: Success
+ content: {}
+ 401:
+ description: |
+ Unauthenticated
+ content: {}
+ 403:
+ description: |
+ Unauthorized
+ content: {}
+ 500:
+ description: |
+ Internal Error
+ content: {}
+ 501:
+ description: |
+ Not Implemented
+ content: {}
+ /cat/graph:
+ get:
+ tags:
+ - Knowledge Asset Catalog
+ summary: Get Knowledge Graph
+ description: |
+ Returns a copy of the graph that indexes the known Assets, Artifacts, their relationships, and semantic annotations, reflecting the state of the Repository at the moment the call is made.
+
+ The native representation of the Graph (e.g. RDF) is server specific, but can be negotiated.
+ operationId: getKnowledgeGraph
+ parameters:
+ - name: X-Accept
+ in: header
+ description: |
+ A MIME Type that codifies the syntactic representation of a Knowledge Artifact, as accepted by the client in a content negotiation sense.
+ schema:
+ type: string
+ responses:
+ 200:
+ description: |
+ A Knowledge Carrier that wrap the Knowledge Graph, as a Knowledge Artifact, with representation metadata.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/KnowledgeCarrier'
+ application/xml:
+ schema:
+ $ref: '#/components/schemas/KnowledgeCarrier'
+ 403:
+ description: |
+ The client does not have the necessary permissions
+ content: {}
+ 500:
+ description: |
+ Internal Error
+ content: {}
+ post:
+ tags:
+ - Knowledge Asset Catalog
+ summary: Query Knowledge Graph
+ description: |
+ Allows the client to submit a query to the Knowledge Asset Graph using a query language supported by the server (e.g. GraphQL, SPARQL)
+ operationId: queryKnowledgeAssetGraph
+ requestBody:
+ description: The query, wrapped in a KnowledgeCarrier that must state in what
+ language the query is expressed
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/KnowledgeCarrier'
+ application/xml:
+ schema:
+ $ref: '#/components/schemas/KnowledgeCarrier'
+ required: true
+ responses:
+ 200:
+ description: |
+ The query was executed successfully.
+ Does not imply that any result will be returned
+ content:
+ application/json:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/Bindings'
+ application/xml:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/Bindings'
+ 400:
+ description: |
+ The query contains errors
+ content: {}
+ 403:
+ description: |
+ The client does not have the necessary permissions
+ content: {}
+ 500:
+ description: |
+ Internal Error
+ content: {}
+ 501:
+ description: |
+ Not implemented
+ content: {}
+ x-codegen-request-body-name: graphQuery
+ /cat/graph/content:
+ get:
+ tags:
+ - Knowledge Asset Catalog
+ summary: Get Knowledge Graph Content
+ description: |
+ Returns
+ operationId: getKnowledgeGraphContent
+ parameters:
+ - $ref: '#/components/parameters/qAccept'
+ responses:
+ 200:
+ description: |
+ A Knowledge Carrier that wrap the Knowledge Graph, as a Knowledge Artifact, with representation metadata.
+ content:
+ '*/*':
+ schema:
+ type: string
+ format: byte
+ /cat/assets:
+ get:
+ tags:
+ - Knowledge Asset Catalog
+ summary: List Knowledge Assets.
+ description: |
+ Returns a collection of Pointers to the Assets managed under this Catalog,
+ i.e. such that a Canonical Knowledge Asset Surrogate has been registered.
+ The collection will be empty if the repository is empty, or if only empty Knowledge Asset series have been created.
+
+ Basic Filtering is allowed on asset type and annotations.
+ The collection should also not include any Asset that the client does not have the permissions to access (i.e. getKnowledgeAsset would fail with a 403 status code). If the client has access to the repository, but does not have access to any of the assets currently contained, the returned collection will be empty.
+
+ Pagination parameters are optionally supported.
+ operationId: listKnowledgeAssets
+ parameters:
+ - name: assetTypeTag
+ in: query
+ description: |
+ An unqualified, codified term ("tag") that identifies a type, category or class of Knowledge Assets defined in some ontology or classification scheme known to the server.
+ schema:
+ type: string
+ - name: assetAnnotationTag
+ in: query
+ description: |
+ An unqualified, codified term ("tag") that identifies a relationship between a Knowledge Assets and a concept. The relationship must be defined in some ontology known to the server.
+ schema:
+ type: string
+ - name: assetAnnotationConcept
+ in: query
+ description: |
+ A fully qualified (URI) term that denotes a concept that can be used to annotate assets.
+ schema:
+ type: string
+ format: uri
+ - name: offset
+ in: query
+ description: |
+ Filters elements in a collection, returning all elements after the 'offset' index included, ignoring all previous elements.
+ schema:
+ type: integer
+ - name: limit
+ in: query
+ description: |
+ Returns up to the given number of elements in a collection.
+ schema:
+ type: integer
+ responses:
+ 200:
+ description: |
+ Returns a list of Pointers to Assets that the client has access to.
+ content:
+ application/json:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/Pointer'
+ application/xml:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/Pointer'
+ text/html:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/Pointer'
+ 403:
+ description: |
+ The client cannot access this repository
+ content: {}
+ 500:
+ description: |
+ Internal error
+ content: {}
+ post:
+ tags:
+ - Knowledge Asset Catalog
+ summary: Create a new Knowledge Asset.
+ description: |
+ Creates a new empty Knowledge Asset (Series), assigning an asset ID in the process.
+ operationId: initKnowledgeAsset
+ responses:
+ 201:
+ description: Success
+ headers:
+ Content-Location:
+ description: |
+ URL where the new Knowledge Asset Series can be accessed
+ schema:
+ type: string
+ format: uri
+ content:
+ application/json:
+ schema:
+ type: string
+ description: |
+ The identifier of the newly created Knowledge Asset
+ format: uuid
+ 403:
+ description: |
+ Client is not allowed to create new Assets
+ content: {}
+ 405:
+ description: |
+ Not supported - Repository is read only
+ content: {}
+ 500:
+ description: |
+ Internal error
+ content: {}
+ 501:
+ description: |
+ Not implemented
+ content: {}
+ delete:
+ tags:
+ - Knowledge Asset Catalog
+ summary: Removes Knowledge Assets.
+ description: |
+ Ensures that no Knowledge Assets, possibly filtered by asset type, are available in the Catalog.
+
+ Selects all (matching) Assets, and for each Asset, invokes the deleteKnowledgeAsset operation,
+ subject to the limitations and constraints of that operation.
+
+ The operation is not transactional but is idempotent: the deletion of an Asset is not subject
+ to the successful deletion of any other Asset, and an attempt to delete an Asset that does
+ not exist (anymore) will likewise succeed.
+
+ Aggregates the results returning the minimally successful of the outcomes across all impacted Assets.
+ operationId: deleteKnowledgeAssets
+ parameters:
+ - name: assetTypeTag
+ in: query
+ description: |
+ An unqualified, codified term ("tag") that identifies a type, category or class of Knowledge Assets defined in some ontology or classification scheme known to the server.
+ schema:
+ type: string
+ - name: assetAnnotationTag
+ in: query
+ description: |
+ An unqualified, codified term ("tag") that identifies a relationship between a Knowledge Assets and a concept. The relationship must be defined in some ontology known to the server.
+ schema:
+ type: string
+ - name: assetAnnotationConcept
+ in: query
+ description: |
+ A fully qualified (URI) term that denotes a concept that can be used to annotate assets.
+ schema:
+ type: string
+ format: uri
+ responses:
+ 200:
+ description: |
+ Success
+ content: {}
+ 401:
+ description: |
+ Client is not authorized to delete Assets
+ content: {}
+ 403:
+ description: |
+ Deletion is not enabled
+ content: {}
+ 500:
+ description: |
+ Internal error
+ content: {}
+ 501:
+ description: |
+ Deletion is not implemented
+ content: {}
+ /cat/assets/{assetId}:
+ get:
+ tags:
+ - Knowledge Asset Catalog
+ summary: Retrieve a Knowledge Asset.
+ description: |
+ Retrieves the LATEST version of a Knowledge Asset.
+
+ In particular, the server SHALL return the LATEST version of the Canonical Surrogate for the LATEST version of the Asset.
+ Content negotiation SHALL be only supported for text/html variants of the Surrogate.
+ Support for more general forms of Surrogates, and negotiation thereof, is provided by getKnowledgeAssetSurrogate and its related operations.
+ operationId: getKnowledgeAsset
+ parameters:
+ - name: assetId
+ in: path
+ description: |
+ The id of the Knowledge Asset (Series).
+ required: true
+ schema:
+ type: string
+ format: uuid
+ - name: X-Accept
+ in: header
+ description: |
+ A MIME Type that codifies the syntactic representation of a Knowledge Artifact, as accepted by the client in a content negotiation sense.
+ schema:
+ type: string
+ responses:
+ 200:
+ description: Success
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/KnowledgeAsset'
+ application/xml:
+ schema:
+ $ref: '#/components/schemas/KnowledgeAsset'
+ text/html:
+ schema:
+ $ref: '#/components/schemas/KnowledgeAsset'
+ 303:
+ description: |
+ Redirects the client to a URL where the Canonical Surrogate,
+ or its HTML variant, can be retrieved
+ headers:
+ Location:
+ schema:
+ type: string
+ content: {}
+ 403:
+ description: |
+ Client is not allowed to access the Assets
+ content: {}
+ 404:
+ description: |
+ Asset not found
+ content: {}
+ 406:
+ description: |
+ The requested format is not supported
+ content: {}
+ 500:
+ description: |
+ Internal error
+ content: {}
+ 501:
+ description: |
+ Not implemented
+ content: {}
+ delete:
+ tags:
+ - Knowledge Asset Catalog
+ summary: Removes all versions of a Knowledge Asset .
+ description: |
+ Ensures that no version of a given Knowledge Asset is available in the Catalog,
+ invoking deleteKnowledgeAssetVersion on each version of the Asset.
+ operationId: deleteKnowledgeAsset
+ parameters:
+ - name: assetId
+ in: path
+ description: |
+ The id of the Knowledge Asset (Series).
+ required: true
+ schema:
+ type: string
+ format: uuid
+ responses:
+ 200:
+ description: |
+ Success
+ content: {}
+ 401:
+ description: |
+ Client is not authorized to delete Assets
+ content: {}
+ 403:
+ description: |
+ Deletion is not enabled
+ content: {}
+ 500:
+ description: |
+ Internal error
+ content: {}
+ 501:
+ description: |
+ Deletion is not implemented
+ content: {}
+ /cat/assets/{assetId}/versions:
+ get:
+ tags:
+ - Knowledge Asset Catalog
+ summary: Get all versions of a Knowledge Asset Surrogate.
+ description: |
+ Returns a list of all the available versions of a Knowledge Asset that a user is allowed to access.
+ An Asset Series may be empty if no versions have been established.
+
+ For each Asset version, returns a pointer to the LATEST Canonical Surrogate for that Asset version
+ operationId: listKnowledgeAssetVersions
+ parameters:
+ - name: assetId
+ in: path
+ description: |
+ The id of the Knowledge Asset (Series).
+ required: true
+ schema:
+ type: string
+ format: uuid
+ - name: offset
+ in: query
+ description: |
+ Filters elements in a collection, returning all elements after the 'offset' index included, ignoring all previous elements.
+ schema:
+ type: integer
+ - name: limit
+ in: query
+ description: |
+ Returns up to the given number of elements in a collection.
+ schema:
+ type: integer
+ - name: beforeTag
+ in: query
+ description: |
+ Restricts the series to include only versions before (included) a given version Tag. Assumes the underlying versioning scheme has at least a partial ordering defined.
+ schema:
+ type: string
+ - name: afterTag
+ in: query
+ description: |
+ Restricts the series to include only versions after (included) a given version Tag. Assumes the underlying versioning scheme has at least a partial ordering defined.
+ schema:
+ type: string
+ - name: sort
+ in: query
+ description: |
+ Allows to sort a collection by one ore more properties.
+ schema:
+ type: string
+ default: asc
+ responses:
+ 200:
+ description: |
+ Success
+ content:
+ application/json:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/Pointer'
+ application/xml:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/Pointer'
+ text/html:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/Pointer'
+ 403:
+ description: |
+ Client is not allowed to access the Asset
+ content: {}
+ 404:
+ description: |
+ Asset not found
+ content: {}
+ 500:
+ description: |
+ Internal error
+ content: {}
+ /cat/assets/{assetId}/versions/{versionTag}:
+ get:
+ tags:
+ - Knowledge Asset Catalog
+ summary: Retrieves a specific version of a Knowledge Asset.
+ description: |
+ Retrieves the LATEST version of the Canonical Surrogate that describes the given version of a Knowledge Asset.
+ operationId: getKnowledgeAssetVersion
+ parameters:
+ - name: assetId
+ in: path
+ description: |
+ The id of the Knowledge Asset (Series).
+ required: true
+ schema:
+ type: string
+ format: uuid
+ - name: versionTag
+ in: path
+ description: |
+ The version tag of a Versioned Entity. \n Versioned Identifiers identify specific, Immutable Versions of Mutable Entities, which reflect the state of that Entity at a given point in time. Where a version(ed) identifier is universal, the Tag represents the local part of that identifier, under the scope of the identifier that denotes the Entity (series).
+ required: true
+ schema:
+ type: string
+ - name: X-Accept
+ in: header
+ description: |
+ A MIME Type that codifies the syntactic representation of a Knowledge Artifact, as accepted by the client in a content negotiation sense.
+ schema:
+ type: string
+ responses:
+ 200:
+ description: |
+ The Asset Version has been located and retrieved.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/KnowledgeAsset'
+ application/xml:
+ schema:
+ $ref: '#/components/schemas/KnowledgeAsset'
+ text/html:
+ schema:
+ $ref: '#/components/schemas/KnowledgeAsset'
+ 403:
+ description: |
+ Client is not allowed to access the Asset
+ content: {}
+ 404:
+ description: |
+ Asset or Asset Version not found
+ content: {}
+ 500:
+ description: |
+ Internal error
+ content: {}
+ put:
+ tags:
+ - Knowledge Asset Catalog
+ summary: Set/Initialize a specific version of a Knowledge Asset
+ description: |
+ Populates/updates the Canonical Surrogate for the given version of a Knowledge Asset.
+
+ The Client
+ * MUST provide a Valid Surrogate
+ * that Surrogate's declared Asset ID and version Tag MUST match the {assetId} and {versionTag} parameters
+ * the Surrogate MUST have an explicit version tag
+
+ The Server SHALL validate the Surrogate for syntactic and semantic correctness and consistency.
+
+ If an Asset version with the given ID does not exist, it will be created in the process, otherwise it will be updated.
+ operationId: setKnowledgeAssetVersion
+ parameters:
+ - name: assetId
+ in: path
+ description: |
+ The id of the Knowledge Asset (Series).
+ required: true
+ schema:
+ type: string
+ format: uuid
+ - name: versionTag
+ in: path
+ description: |
+ The version tag of a Versioned Entity. \n Versioned Identifiers identify specific, Immutable Versions of Mutable Entities, which reflect the state of that Entity at a given point in time. Where a version(ed) identifier is universal, the Tag represents the local part of that identifier, under the scope of the identifier that denotes the Entity (series).
+ required: true
+ schema:
+ type: string
+ requestBody:
+ description: The Surrogate of a Knowledge Asset.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/KnowledgeAsset'
+ application/xml:
+ schema:
+ $ref: '#/components/schemas/KnowledgeAsset'
+ required: false
+ responses:
+ 204:
+ description: |
+ The given Surrogate has been set to provide metadata for a specific version of the given Knowledge Asset.
+ content: {}
+ 403:
+ description: |
+ The client does not have the adequate permissions
+ content: {}
+ 409:
+ description: |
+ The information contained in the Surrogate is invalid/inconsistent (including not matching the {assetId}/{versionTag}), or is incompatible with the Artifacts associated to the Asset.
+ content: {}
+ 500:
+ description: |
+ Internal error
+ content: {}
+ 501:
+ description: |
+ Not implemented
+ content: {}
+ x-codegen-request-body-name: assetSurrogate
+ delete:
+ tags:
+ - Knowledge Asset Catalog
+ summary: Removes a specific version of a Knowledge Asset .
+ description: |
+ Removes a specific version of a Knowledge Asset.
+
+ Implementations may impose constraints on the semantics of a deletion, possibly leveraging
+ the soft-delete capabilities of an underlying Artifact Repository, on top of access control policies.
+ * Published Assets should not be deletable in PRODuction environments
+ * Archived Assets should be only soft-deletable in PRODuction environments
+ * Draft and Pre-published Assets should be deletable in pre-PRODuction environments
+
+ When the deletion of an Asset version is permitted and successful, all Surrogates and Carriers
+ associated to that version are removed from any internal Artifact Repository.
+ operationId: deleteKnowledgeAssetVersion
+ parameters:
+ - name: assetId
+ in: path
+ description: |
+ The id of the Knowledge Asset (Series).
+ required: true
+ schema:
+ type: string
+ format: uuid
+ - name: versionTag
+ in: path
+ description: |
+ The version tag of a Versioned Entity. \n Versioned Identifiers identify specific, Immutable Versions of Mutable Entities, which reflect the state of that Entity at a given point in time. Where a version(ed) identifier is universal, the Tag represents the local part of that identifier, under the scope of the identifier that denotes the Entity (series).
+ required: true
+ schema:
+ type: string
+ responses:
+ 200:
+ description: |
+ Success
+ content: {}
+ 401:
+ description: |
+ Client is not authorized to delete Assets
+ content: {}
+ 403:
+ description: |
+ Deletion is not enabled
+ content: {}
+ 500:
+ description: |
+ Internal error
+ content: {}
+ 501:
+ description: |
+ Deletion is not implemented
+ content: {}
+ /cat/assets/{assetId}/carrier:
+ get:
+ tags:
+ - Knowledge Asset Repository
+ summary: Retrieve the best Knowledge Carrier for the LATEST version of a given
+ Knowledge Asset.
+ description: |
+ Retrieves a Knowledge Artifact that is a Carrier of the given Asset, selecting between the variants using server-driven Content Negotiation.
+
+ For the given Knowledge Asset:
+ * retrieves the LATEST version of the Knowledge Asset
+ * retrieves the LATEST Canonical surrogate for that version of the Asset
+ * consults the representation metadata for each associated Carrier
+ * selects the one that matches the preferences of the client
+ * returns/redirects the client to a copy of the (LATEST version of the) chosen Artifact itself.
+ operationId: getKnowledgeAssetCanonicalCarrier
+ parameters:
+ - name: assetId
+ in: path
+ description: |
+ The id of the Knowledge Asset (Series).
+ required: true
+ schema:
+ type: string
+ format: uuid
+ - name: X-Accept
+ in: header
+ description: |
+ A MIME Type that codifies the syntactic representation of a Knowledge Artifact, as accepted by the client in a content negotiation sense.
+ schema:
+ type: string
+ responses:
+ 200:
+ description: |
+ A suitable Knowledge Artifact could be retrieved
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/KnowledgeCarrier'
+ application/xml:
+ schema:
+ $ref: '#/components/schemas/KnowledgeCarrier'
+ text/html:
+ schema:
+ $ref: '#/components/schemas/KnowledgeCarrier'
+ 300:
+ description: |
+ Negotiation failed, but suitable alternatives are present
+ content:
+ application/json:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/Pointer'
+ application/xml:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/Pointer'
+ text/html:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/Pointer'
+ 303:
+ description: |
+ Redirects the client to a URL where the chosen Artifact can be retrieved
+ headers:
+ Location:
+ schema:
+ type: string
+ content: {}
+ 403:
+ description: |
+ The client does not have the adequate permissions
+ content: {}
+ 404:
+ description: |
+ Asset not found
+ content: {}
+ 406:
+ description: |
+ No suitable variant is available
+ content: {}
+ 500:
+ description: |
+ Internal error
+ content: {}
+ 501:
+ description: |
+ Not implemented
+ content: {}
+ /cat/assets/{assetId}/carrier/content:
+ get:
+ tags:
+ - Knowledge Asset Repository
+ summary: Retrieve the best Knowledge Carrier for the LATEST version of a given
+ Knowledge Asset.
+ description: |
+ Retrieves a Knowledge Artifact that is a Carrier of the given Asset, selecting between the variants using server-driven Content Negotiation.
+
+ For the given Knowledge Asset:
+ * retrieves the LATEST version of the Knowledge Asset
+ * retrieves the LATEST Canonical surrogate for that version of the Asset
+ * consults the representation metadata for each associated Carrier
+ * selects the one that matches the preferences of the client
+ * returns/redirects the client to a copy of the (LATEST version of the) chosen Artifact itself.
+ operationId: getKnowledgeAssetCanonicalCarrierContent
+ parameters:
+ - name: assetId
+ in: path
+ description: |
+ The id of the Knowledge Asset (Series).
+ required: true
+ schema:
+ type: string
+ format: uuid
+ - $ref: '#/components/parameters/qAccept'
+ responses:
+ 200:
+ description: |
+ Success
+ content:
+ '*/*':
+ schema:
+ type: string
+ format: byte
+ 300:
+ description: |
+ Negotiation failed, but suitable alternatives are present
+ content:
+ '*/*':
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/Pointer'
+ 303:
+ description: |
+ Redirects the client to a URL where the chosen Artifact can be retrieved
+ headers:
+ Location:
+ schema:
+ type: string
+ content: {}
+ 403:
+ description: |
+ The client does not have the adequate permissions
+ content: {}
+ 404:
+ description: |
+ Asset not found
+ content: {}
+ 406:
+ description: |
+ No suitable variant is available
+ content: {}
+ 500:
+ description: |
+ Internal error
+ content: {}
+ 501:
+ description: |
+ Not implemented
+ content: {}
+ /cat/assets/{assetId}/versions/{versionTag}/carrier:
+ get:
+ tags:
+ - Knowledge Asset Repository
+ summary: Retrieve the best Knowledge Carrier for a given Knowledge Asset.
+ description: |
+ Retrieves a Knowledge Artifact that is a Carrier of the given Asset, selecting between the variants using server-driven Content Negotiation.
+
+ For a given version of a Knowledge Asset,
+ * retrieves the LATEST Canonical surrogate for that version of the Asset
+ * consults the representation metadata for each associated Carrier
+ * selects the one that matches the preferences of the client
+ * returns/redirects the client to a copy of the (LATEST version of the) chosen Artifact itself.
+ operationId: getKnowledgeAssetVersionCanonicalCarrier
+ parameters:
+ - name: assetId
+ in: path
+ description: |
+ The id of the Knowledge Asset (Series).
+ required: true
+ schema:
+ type: string
+ format: uuid
+ - name: versionTag
+ in: path
+ description: |
+ The version tag of a Versioned Entity. \n Versioned Identifiers identify specific, Immutable Versions of Mutable Entities, which reflect the state of that Entity at a given point in time. Where a version(ed) identifier is universal, the Tag represents the local part of that identifier, under the scope of the identifier that denotes the Entity (series).
+ required: true
+ schema:
+ type: string
+ - name: X-Accept
+ in: header
+ description: |
+ A MIME Type that codifies the syntactic representation of a Knowledge Artifact, as accepted by the client in a content negotiation sense.
+ schema:
+ type: string
+ responses:
+ 200:
+ description: |
+ A suitable Knowledge Artifact could be retrieved
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/KnowledgeCarrier'
+ application/xml:
+ schema:
+ $ref: '#/components/schemas/KnowledgeCarrier'
+ text/html:
+ schema:
+ $ref: '#/components/schemas/KnowledgeCarrier'
+ 300:
+ description: |
+ Negotiation failed, but suitable alternatives are present
+ content:
+ application/json:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/Pointer'
+ application/xml:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/Pointer'
+ text/html:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/Pointer'
+ 303:
+ description: |
+ Redirects the client to a URL where the chosen Artifact can be retrieved
+ headers:
+ Location:
+ schema:
+ type: string
+ content: {}
+ 403:
+ description: |
+ The client does not have the adequate permissions
+ content: {}
+ 404:
+ description: |
+ Asset Version not found
+ content: {}
+ 406:
+ description: |
+ No suitable variant is available
+ content: {}
+ 500:
+ description: |
+ Internal error
+ content: {}
+ 501:
+ description: |
+ Not implemented
+ content: {}
+ /cat/assets/{assetId}/versions/{versionTag}/carrier/content:
+ get:
+ tags:
+ - Knowledge Asset Repository
+ summary: Retrieve the best Knowledge Carrier for a given Knowledge Asset.
+ description: |
+ Retrieves a Knowledge Artifact that is a Carrier of the given Asset, selecting between the variants using server-driven Content Negotiation.
+
+ For a given version of a Knowledge Asset,
+ * retrieves the LATEST Canonical surrogate for that version of the Asset
+ * consults the representation metadata for each associated Carrier
+ * selects the one that matches the preferences of the client
+ * returns/redirects the client to a copy of the (LATEST version of the) chosen Artifact itself.
+ operationId: getKnowledgeAssetVersionCanonicalCarrierContent
+ parameters:
+ - name: assetId
+ in: path
+ description: |
+ The id of the Knowledge Asset (Series).
+ required: true
+ schema:
+ type: string
+ format: uuid
+ - name: versionTag
+ in: path
+ description: |
+ The version tag of a Versioned Entity. \n Versioned Identifiers identify specific, Immutable Versions of Mutable Entities, which reflect the state of that Entity at a given point in time. Where a version(ed) identifier is universal, the Tag represents the local part of that identifier, under the scope of the identifier that denotes the Entity (series).
+ required: true
+ schema:
+ type: string
+ - $ref: '#/components/parameters/qAccept'
+ responses:
+ 200:
+ description: |
+ Success
+ content:
+ '*/*':
+ schema:
+ type: string
+ format: byte
+ 300:
+ description: |
+ Negotiation failed, but suitable alternatives are present
+ content:
+ '*/*':
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/Pointer'
+ 303:
+ description: |
+ Redirects the client to a URL where the chosen Artifact can be retrieved
+ headers:
+ Location:
+ schema:
+ type: string
+ content: {}
+ 403:
+ description: |
+ The client does not have the adequate permissions
+ content: {}
+ 404:
+ description: |
+ Asset Version not found
+ content: {}
+ 406:
+ description: |
+ No suitable variant is available
+ content: {}
+ 500:
+ description: |
+ Internal error
+ content: {}
+ 501:
+ description: |
+ Not implemented
+ content: {}
+ /cat/assets/{assetId}/versions/{versionTag}/carriers:
+ get:
+ tags:
+ - Knowledge Asset Repository
+ summary: Lists the known Carriers for a given Knowledge Asset
+ description: |
+ Retrieves Pointers to all the (LATEST version of each) Knowledge Carriers of the given (version of) Knowledge Asset.
+ The list may be empty if no Artifact is known, or if the user does not have access to a given Artifact.
+
+ The list should be transparent with respect to Artifacts physically stored, linked or generated dynamically at runtime.
+ operationId: listKnowledgeAssetCarriers
+ parameters:
+ - name: assetId
+ in: path
+ description: |
+ The id of the Knowledge Asset (Series).
+ required: true
+ schema:
+ type: string
+ format: uuid
+ - name: versionTag
+ in: path
+ description: |
+ The version tag of a Versioned Entity. \n Versioned Identifiers identify specific, Immutable Versions of Mutable Entities, which reflect the state of that Entity at a given point in time. Where a version(ed) identifier is universal, the Tag represents the local part of that identifier, under the scope of the identifier that denotes the Entity (series).
+ required: true
+ schema:
+ type: string
+ - name: offset
+ in: query
+ description: |
+ Filters elements in a collection, returning all elements after the 'offset' index included, ignoring all previous elements.
+ schema:
+ type: integer
+ - name: limit
+ in: query
+ description: |
+ Returns up to the given number of elements in a collection.
+ schema:
+ type: integer
+ - name: beforeTag
+ in: query
+ description: |
+ Restricts the series to include only versions before (included) a given version Tag. Assumes the underlying versioning scheme has at least a partial ordering defined.
+ schema:
+ type: string
+ - name: afterTag
+ in: query
+ description: |
+ Restricts the series to include only versions after (included) a given version Tag. Assumes the underlying versioning scheme has at least a partial ordering defined.
+ schema:
+ type: string
+ - name: sort
+ in: query
+ description: |
+ Allows to sort a collection by one ore more properties.
+ schema:
+ type: string
+ default: asc
+ responses:
+ 200:
+ description: |
+ Success
+ content:
+ application/json:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/Pointer'
+ application/xml:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/Pointer'
+ text/html:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/Pointer'
+ 403:
+ description: |
+ The client does not have the adequate permissions
+ content: {}
+ 404:
+ description: |
+ Asset Version not found
+ content: {}
+ 500:
+ description: |
+ Internal error
+ content: {}
+ 501:
+ description: |
+ Not implemented.
+ content: {}
+ post:
+ tags:
+ - Knowledge Asset Repository
+ summary: Registers a new Carrier for a given Knowledge Asset
+ description: |
+ Registers a new Carrier for a given Knowledge Asset.
+
+ The client-provided Carrier MUST match the Asset ID and version;
+ The server SHALL use the Artifact ID and version provided by the client, which MUST not exist (the client should use setKnowledgeAssetCarrierVersion instead).
+
+ The server MUST register the new Carrier in the Knowledge Graph, and update the Canonical
+ Surrogate for the given Asset, incrementing the version of the Surrogate.
+
+ The server COULD validate the new Carrier against the client-provided representation metadata.
+ operationId: addKnowledgeAssetCarrier
+ parameters:
+ - name: assetId
+ in: path
+ description: |
+ The id of the Knowledge Asset (Series).
+ required: true
+ schema:
+ type: string
+ format: uuid
+ - name: versionTag
+ in: path
+ description: |
+ The version tag of a Versioned Entity. \n Versioned Identifiers identify specific, Immutable Versions of Mutable Entities, which reflect the state of that Entity at a given point in time. Where a version(ed) identifier is universal, the Tag represents the local part of that identifier, under the scope of the identifier that denotes the Entity (series).
+ required: true
+ schema:
+ type: string
+ requestBody:
+ description: The manifestation of a Knowledge Asset, wrapped as a Knowledge
+ Carrier.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/KnowledgeCarrier'
+ application/xml:
+ schema:
+ $ref: '#/components/schemas/KnowledgeCarrier'
+ required: true
+ responses:
+ 201:
+ description: Success
+ headers:
+ Content-Location:
+ description: |
+ URL where the new version of the Knowledge Asset Carrier is accessible
+ schema:
+ type: string
+ format: uri
+ content: {}
+ 403:
+ description: |
+ The client does not have permissions to add Artifacts to this Asset
+ content: {}
+ 404:
+ description: |
+ Asset Version not found
+ content: {}
+ 405:
+ description: |
+ The repository is read-only
+ content: {}
+ 406:
+ description: |
+ The provided Carrier (Artifact) cannot be inspected properly
+ content: {}
+ 409:
+ description: |
+ Artifact already exists with a different ID
+ content: {}
+ 500:
+ description: |
+ Internal error
+ content: {}
+ 501:
+ description: |
+ Not implemented
+ content: {}
+ x-codegen-request-body-name: assetCarrier
+ /cat/assets/{assetId}/versions/{versionTag}/carriers/{artifactId}:
+ get:
+ tags:
+ - Knowledge Asset Repository
+ summary: Retrieves a specific Carrier for a given Knowledge Asset
+ description: |
+ Retrieves (a copy of) the LATEST version of the given Carrier of a given Asset.
+
+ Content Negotiation can be used to drive transrepresentations of the specific Artifact,
+ e.g. to ensure that the Artifact is transcribed between JSON and XML before being wrapped in the
+ KnowledgeCarrier to be returned.
+ operationId: getKnowledgeAssetCarrier
+ parameters:
+ - name: assetId
+ in: path
+ description: |
+ The id of the Knowledge Asset (Series).
+ required: true
+ schema:
+ type: string
+ format: uuid
+ - name: versionTag
+ in: path
+ description: |
+ The version tag of a Versioned Entity. \n Versioned Identifiers identify specific, Immutable Versions of Mutable Entities, which reflect the state of that Entity at a given point in time. Where a version(ed) identifier is universal, the Tag represents the local part of that identifier, under the scope of the identifier that denotes the Entity (series).
+ required: true
+ schema:
+ type: string
+ - name: artifactId
+ in: path
+ description: |
+ The id of the Knowledge Artifact that carries a concrete expression of a Knowledge Asset.
+ required: true
+ schema:
+ type: string
+ format: uuid
+ - name: X-Accept
+ in: header
+ description: |
+ A MIME Type that codifies the syntactic representation of a Knowledge Artifact, as accepted by the client in a content negotiation sense.
+ schema:
+ type: string
+ responses:
+ 200:
+ description: |
+ The identifiers can be resolved
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/KnowledgeCarrier'
+ application/xml:
+ schema:
+ $ref: '#/components/schemas/KnowledgeCarrier'
+ text/html:
+ schema:
+ $ref: '#/components/schemas/KnowledgeCarrier'
+ 403:
+ description: |
+ The client does not have the necessary rights.
+ content: {}
+ 404:
+ description: |
+ Asset Version or Artifact not found
+ content: {}
+ 500:
+ description: |
+ Internal error
+ content: {}
+ /cat/assets/{assetId}/versions/{versionTag}/carriers/{artifactId}/versions:
+ get:
+ tags:
+ - Knowledge Asset Repository
+ summary: Lists the version history of the Knowledge Asset Carrier.
+ description: |
+ Returns Pointers to all the Versions of a Knowledge Asset Carrier, if any.
+ operationId: listKnowledgeAssetCarrierVersions
+ parameters:
+ - name: assetId
+ in: path
+ description: |
+ The id of the Knowledge Asset (Series).
+ required: true
+ schema:
+ type: string
+ format: uuid
+ - name: versionTag
+ in: path
+ description: |
+ The version tag of a Versioned Entity. \n Versioned Identifiers identify specific, Immutable Versions of Mutable Entities, which reflect the state of that Entity at a given point in time. Where a version(ed) identifier is universal, the Tag represents the local part of that identifier, under the scope of the identifier that denotes the Entity (series).
+ required: true
+ schema:
+ type: string
+ - name: artifactId
+ in: path
+ description: |
+ The id of the Knowledge Artifact that carries a concrete expression of a Knowledge Asset.
+ required: true
+ schema:
+ type: string
+ format: uuid
+ responses:
+ 200:
+ description: |
+ Success
+ content:
+ application/json:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/Pointer'
+ application/xml:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/Pointer'
+ text/html:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/Pointer'
+ 403:
+ description: |
+ The client does not have the adequate permissions
+ content: {}
+ 404:
+ description: |
+ Asset Version or Carrier not found
+ content: {}
+ 500:
+ description: |
+ Internal error
+ content: {}
+ 501:
+ description: |
+ Not implemented.
+ content: {}
+ /cat/assets/{assetId}/versions/{versionTag}/carriers/{artifactId}/versions/{artifactVersionTag}:
+ get:
+ tags:
+ - Knowledge Asset Repository
+ summary: Retrieves a specific Carrier for a given Knowledge Asset
+ description: |
+ Retrieves (a copy of) a specific version of an Artifact that carries a specific version of a Knowledge Asset.
+
+ Content Negotiation can be used to drive transrepresentations of the specific Artifact version,
+ e.g. to ensure that the Artifact is transcribed between JSON and XML before being wrapped in the
+ KnowledgeCarrier to be returned.
+ operationId: getKnowledgeAssetCarrierVersion
+ parameters:
+ - name: assetId
+ in: path
+ description: |
+ The id of the Knowledge Asset (Series).
+ required: true
+ schema:
+ type: string
+ format: uuid
+ - name: versionTag
+ in: path
+ description: |
+ The version tag of a Versioned Entity. \n Versioned Identifiers identify specific, Immutable Versions of Mutable Entities, which reflect the state of that Entity at a given point in time. Where a version(ed) identifier is universal, the Tag represents the local part of that identifier, under the scope of the identifier that denotes the Entity (series).
+ required: true
+ schema:
+ type: string
+ - name: artifactId
+ in: path
+ description: |
+ The id of the Knowledge Artifact that carries a concrete expression of a Knowledge Asset.
+ required: true
+ schema:
+ type: string
+ format: uuid
+ - name: artifactVersionTag
+ in: path
+ description: |
+ The version tag a (version of a) Knowledge Artifact
+ required: true
+ schema:
+ type: string
+ - name: X-Accept
+ in: header
+ description: |
+ A MIME Type that codifies the syntactic representation of a Knowledge Artifact, as accepted by the client in a content negotiation sense.
+ schema:
+ type: string
+ responses:
+ 200:
+ description: |
+ The identifiers can be resolved
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/KnowledgeCarrier'
+ application/xml:
+ schema:
+ $ref: '#/components/schemas/KnowledgeCarrier'
+ text/html:
+ schema:
+ $ref: '#/components/schemas/KnowledgeCarrier'
+ 403:
+ description: |
+ The client does not have the necessary rights.
+ content: {}
+ 404:
+ description: |
+ Asset or Artifact Version not found
+ content: {}
+ 500:
+ description: |
+ Internal error
+ content: {}
+ /cat/assets/{assetId}/versions/{versionTag}/carriers/{artifactId}/versions/{artifactVersionTag}/content:
+ get:
+ tags:
+ - Knowledge Asset Repository
+ summary: Retrieves a specific Carrier for a given Knowledge Asset in binary
+ form
+ description: |
+ Retrieves (a copy of) a specific version of an Artifact that carries a specific version of a Knowledge Asset, in binary form.
+ This method must return the same data as getKnowledgeAssetCarrierVersionContent, unwrapped
+ operationId: getKnowledgeAssetCarrierVersionContent
+ parameters:
+ - name: assetId
+ in: path
+ description: |
+ The id of the Knowledge Asset (Series).
+ required: true
+ schema:
+ type: string
+ format: uuid
+ - name: versionTag
+ in: path
+ description: |
+ The version tag of a Versioned Entity. \n Versioned Identifiers identify specific, Immutable Versions of Mutable Entities, which reflect the state of that Entity at a given point in time. Where a version(ed) identifier is universal, the Tag represents the local part of that identifier, under the scope of the identifier that denotes the Entity (series).
+ required: true
+ schema:
+ type: string
+ - name: artifactId
+ in: path
+ description: |
+ The id of the Knowledge Artifact that carries a concrete expression of a Knowledge Asset.
+ required: true
+ schema:
+ type: string
+ format: uuid
+ - name: artifactVersionTag
+ in: path
+ description: |
+ The version tag a (version of a) Knowledge Artifact
+ required: true
+ schema:
+ type: string
+ - $ref: '#/components/parameters/qAccept'
+ responses:
+ 200:
+ description: |
+ Success
+ content:
+ '*/*':
+ schema:
+ type: string
+ format: byte
+ 403:
+ description: |
+ The user does not have the required permissions
+ content: {}
+ 404:
+ description: |
+ Asset and/or Artifact Version not found
+ content: {}
+ 409:
+ description: |
+ The provided Artifact is inconsistent with the current Asset metadata
+ content: {}
+ 500:
+ description: |
+ Internal error
+ content: {}
+ 501:
+ description: |
+ Not implemented
+ content: {}
+ put:
+ tags:
+ - Knowledge Asset Repository
+ summary: Registers a (version of a) Carrier for a given Knowledge Asset
+ description: |
+ Registers a Knowledge Artifact as the Carrier of a Knowledge Asset, based on the raw content of the Artifact.
+
+ The Canonical Asset Surrogate SHOULD have been populated with metadata about the Artifac, but the server
+ COULD either validate or try to infer more metadata for the specific Artifact version.
+ If (and only if) the Surrogate is updated in the process, its version MUST be incremented.
+ operationId: setKnowledgeAssetCarrierVersion
+ parameters:
+ - name: assetId
+ in: path
+ description: |
+ The id of the Knowledge Asset (Series).
+ required: true
+ schema:
+ type: string
+ format: uuid
+ - name: versionTag
+ in: path
+ description: |
+ The version tag of a Versioned Entity. \n Versioned Identifiers identify specific, Immutable Versions of Mutable Entities, which reflect the state of that Entity at a given point in time. Where a version(ed) identifier is universal, the Tag represents the local part of that identifier, under the scope of the identifier that denotes the Entity (series).
+ required: true
+ schema:
+ type: string
+ - name: artifactId
+ in: path
+ description: |
+ The id of the Knowledge Artifact that carries a concrete expression of a Knowledge Asset.
+ required: true
+ schema:
+ type: string
+ format: uuid
+ - name: artifactVersionTag
+ in: path
+ description: |
+ The version tag a (version of a) Knowledge Artifact
+ required: true
+ schema:
+ type: string
+ requestBody:
+ description: A Knowledge Artifact that carries an exemplar of a Knowledge
+ Assets.
+ content:
+ application/octet-stream:
+ schema:
+ type: string
+ format: byte
+ required: false
+ responses:
+ 204:
+ description: |
+ The Artifact has been uploaded correctly, and associated to the Knowledge Asset
+ content: {}
+ 403:
+ description: |
+ The user does not have the required permissions
+ content: {}
+ 404:
+ description: |
+ Asset and/or Artifact Version not found
+ content: {}
+ 409:
+ description: |
+ The provided Artifact is inconsistent with the current Asset metadata
+ content: {}
+ 500:
+ description: |
+ Internal error
+ content: {}
+ 501:
+ description: |
+ Not implemented
+ content: {}
+ x-codegen-request-body-name: exemplar
+ /cat/assets/{assetId}/surrogate:
+ get:
+ tags:
+ - Knowledge Asset Repository
+ summary: Retrieve the Canonical Knowledge Asset Surrogate, for the latest version
+ of an Asset, as a Knowledge Artifact.
+ description: |
+ Returns the LATEST version of the Canonical Surrogate of the LATEST referenced Asset, wrapped in a Knowledge Carrier, so that it can be consumed as a Knowledge Artifact.
+
+ Supports content negotiation, allowing to retrieve this Surrogate in variant forms, if supported.
+
+ If content negotiation is not used, the Surrogate in response Knowledge Carrier is identical to the Surrogate returned invoking getKnowledgeAssetVersion for the same Asset ID and version.
+ operationId: getKnowledgeAssetCanonicalSurrogate
+ parameters:
+ - name: assetId
+ in: path
+ description: |
+ The id of the Knowledge Asset (Series).
+ required: true
+ schema:
+ type: string
+ format: uuid
+ - name: X-Accept
+ in: header
+ description: |
+ A MIME Type that codifies the syntactic representation of a Knowledge Artifact, as accepted by the client in a content negotiation sense.
+ schema:
+ type: string
+ responses:
+ 200:
+ description: |
+ A suitable representation of the Knowledge Surrogate could be retrieved
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/KnowledgeCarrier'
+ application/xml:
+ schema:
+ $ref: '#/components/schemas/KnowledgeCarrier'
+ text/html:
+ schema:
+ $ref: '#/components/schemas/KnowledgeCarrier'
+ 300:
+ description: |
+ Negotiation failed, but suitable alternatives are present
+ content:
+ application/json:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/Pointer'
+ application/xml:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/Pointer'
+ text/html:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/Pointer'
+ 403:
+ description: |
+ The client does not have the adequate permissions
+ content: {}
+ 404:
+ description: |
+ Asset not found
+ content: {}
+ 406:
+ description: |
+ No suitable variant is available
+ content: {}
+ 500:
+ description: |
+ Internal error
+ content: {}
+ 501:
+ description: |
+ Not implemented
+ content: {}
+ /cat/assets/{assetId}/surrogate/content:
+ get:
+ tags:
+ - Knowledge Asset Repository
+ summary: Retrieve the Canonical Knowledge Asset Surrogate, for the latest version
+ of an Asset
+ description: |
+ Returns the LATEST version of the Canonical Surrogate of the LATEST referenced Asset, in raw binary form
+
+ Supports content negotiation, allowing to retrieve this Surrogate in variant forms, if supported.
+ operationId: getKnowledgeAssetCanonicalSurrogateContent
+ parameters:
+ - name: assetId
+ in: path
+ description: |
+ The id of the Knowledge Asset (Series).
+ required: true
+ schema:
+ type: string
+ format: uuid
+ - $ref: '#/components/parameters/qAccept'
+ responses:
+ 200:
+ description: |
+ Success
+ content:
+ application/json:
+ schema:
+ type: string
+ format: byte
+ application/xml:
+ schema:
+ type: string
+ format: byte
+ text/html:
+ schema:
+ type: string
+ format: byte
+ 300:
+ description: |
+ Negotiation failed, but suitable alternatives are present
+ content:
+ application/json:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/Pointer'
+ application/xml:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/Pointer'
+ text/html:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/Pointer'
+ 403:
+ description: |
+ The client does not have the adequate permissions
+ content: {}
+ 404:
+ description: |
+ Asset not found
+ content: {}
+ 406:
+ description: |
+ No suitable variant is available
+ content: {}
+ 500:
+ description: |
+ Internal error
+ content: {}
+ 501:
+ description: |
+ Not implemented
+ content: {}
+ /cat/assets/{assetId}/versions/{versionTag}/surrogate:
+ get:
+ tags:
+ - Knowledge Asset Repository
+ summary: Retrieve the Canonical Knowledge Asset Surrogate, as a Knowledge Artifact.
+ description: |
+ Returns the LATEST version of the Canonical Surrogate of the referenced Asset (version), wrapped in a Knowledge Carrier, so that it can be consumed as a Knowledge Artifact.
+
+ Supports content negotiation, allowing to retrieve this Surrogate in variant forms, if supported.
+
+ If content negotiation is not used, the Surrogate in response Knowledge Carrier is identical to the Surrogate returned invoking getKnowledgeAssetVersion for the same Asset ID and version.
+ operationId: getKnowledgeAssetVersionCanonicalSurrogate
+ parameters:
+ - name: assetId
+ in: path
+ description: |
+ The id of the Knowledge Asset (Series).
+ required: true
+ schema:
+ type: string
+ format: uuid
+ - name: versionTag
+ in: path
+ description: |
+ The version tag of a Versioned Entity. \n Versioned Identifiers identify specific, Immutable Versions of Mutable Entities, which reflect the state of that Entity at a given point in time. Where a version(ed) identifier is universal, the Tag represents the local part of that identifier, under the scope of the identifier that denotes the Entity (series).
+ required: true
+ schema:
+ type: string
+ - name: X-Accept
+ in: header
+ description: |
+ A MIME Type that codifies the syntactic representation of a Knowledge Artifact, as accepted by the client in a content negotiation sense.
+ schema:
+ type: string
+ responses:
+ 200:
+ description: |
+ A suitable representation of the Knowledge Surrogate could be retrieved
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/KnowledgeCarrier'
+ application/xml:
+ schema:
+ $ref: '#/components/schemas/KnowledgeCarrier'
+ text/html:
+ schema:
+ $ref: '#/components/schemas/KnowledgeCarrier'
+ 300:
+ description: |
+ Negotiation failed, but suitable alternatives are present
+ content:
+ application/json:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/Pointer'
+ application/xml:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/Pointer'
+ text/html:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/Pointer'
+ 403:
+ description: |
+ The client does not have the adequate permissions
+ content: {}
+ 404:
+ description: |
+ Asset Version not found
+ content: {}
+ 406:
+ description: |
+ No suitable variant is available
+ content: {}
+ 500:
+ description: |
+ Internal error
+ content: {}
+ 501:
+ description: |
+ Not implemented
+ content: {}
+ post:
+ tags:
+ - Knowledge Asset Repository
+ summary: Adds a (Composite) Knowledge Asset.
+ description: |
+ Allows a client to initialize a (Composite) Knowledge Asset, publishing metadata and registering relationships in the process.
+
+ The client MUST provide a KnowledgeCarrier whose assetId coincides with the given Asset ID and version, and the Artifact MUST be a Canonical Knowledge Asset Surrogate for the given Asset.
+
+ This operation is atomically equivalent to (initKnowledgeAsset o setKnowledgeAssetVersion).
+
+ The operation MUST also supports Composite Assets. The client MUST provide a CompositeKnowledgeCarrier, which can be SET-based, TREE-based or GRAPH-based.
+ The root of the (set/)tree/graph, if any, MUST NOT be the given Asset, to preserve
+ the distinction between the Composite and its Components.
+
+ If these conditions are met, the operation is invoked recursively on the components, which MUST all contain canonical Knowledge Asset Surrogates.
+ The Struct MUST be merged with the repository's Knowledge Graph, and should not be inconsistent with any relationship that can be inferred from the individual Surrogates during their registration.
+
+ Anonymous Composite Assets are treated like other Assets. The components, and relatioships thereof, will be persisted. However, the Composite itself, and the 'hasPart' relationship, will not.
+ operationId: addCanonicalKnowledgeAssetSurrogate
+ parameters:
+ - name: assetId
+ in: path
+ description: |
+ The id of the Knowledge Asset (Series).
+ required: true
+ schema:
+ type: string
+ format: uuid
+ - name: versionTag
+ in: path
+ description: |
+ The version tag of a Versioned Entity. \n Versioned Identifiers identify specific, Immutable Versions of Mutable Entities, which reflect the state of that Entity at a given point in time. Where a version(ed) identifier is universal, the Tag represents the local part of that identifier, under the scope of the identifier that denotes the Entity (series).
+ required: true
+ schema:
+ type: string
+ requestBody:
+ description: The Surrogate of a Knowledge Asset, wrapped in a Knowledge Carrier.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/KnowledgeCarrier'
+ required: true
+ responses:
+ 201:
+ description: Success
+ content: {}
+ 403:
+ description: |
+ Client is not allowed to create new Assets
+ content: {}
+ 405:
+ description: |
+ Not supported - Repository is read only
+ content: {}
+ 406:
+ description: |
+ The server cannot translate the Carrier into a canonical Surrogate
+ content: {}
+ 409:
+ description: |
+ The identifiers on the Carrier and the provided Surrogate do not match this asset
+ content: {}
+ 500:
+ description: |
+ Internal error
+ content: {}
+ 501:
+ description: |
+ Not implemented
+ content: {}
+ x-codegen-request-body-name: surrogateCarrier
+ /cat/assets/{assetId}/versions/{versionTag}/surrogate/content:
+ get:
+ tags:
+ - Knowledge Asset Repository
+ summary: Retrieve the Canonical Knowledge Asset Surrogate.
+ description: |
+ Returns the LATEST version of the Canonical Surrogate of the referenced Asset (version).
+
+ Supports content negotiation, allowing to retrieve this Surrogate in variant forms, if supported.
+
+ If content negotiation is not used, the Surrogate in response Knowledge Carrier is identical to the Surrogate returned invoking getKnowledgeAssetVersion for the same Asset ID and version.
+ operationId: getKnowledgeAssetVersionCanonicalSurrogateContent
+ parameters:
+ - name: assetId
+ in: path
+ description: |
+ The id of the Knowledge Asset (Series).
+ required: true
+ schema:
+ type: string
+ format: uuid
+ - name: versionTag
+ in: path
+ description: |
+ The version tag of a Versioned Entity. \n Versioned Identifiers identify specific, Immutable Versions of Mutable Entities, which reflect the state of that Entity at a given point in time. Where a version(ed) identifier is universal, the Tag represents the local part of that identifier, under the scope of the identifier that denotes the Entity (series).
+ required: true
+ schema:
+ type: string
+ - $ref: '#/components/parameters/qAccept'
+ responses:
+ 200:
+ description: |
+ Success
+ content:
+ application/json:
+ schema:
+ type: string
+ format: byte
+ application/xml:
+ schema:
+ type: string
+ format: byte
+ text/html:
+ schema:
+ type: string
+ format: byte
+ 300:
+ description: |
+ Negotiation failed, but suitable alternatives are present
+ content:
+ application/json:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/Pointer'
+ application/xml:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/Pointer'
+ text/html:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/Pointer'
+ 403:
+ description: |
+ The client does not have the adequate permissions
+ content: {}
+ 404:
+ description: |
+ Asset Version not found
+ content: {}
+ 406:
+ description: |
+ No suitable variant is available
+ content: {}
+ 500:
+ description: |
+ Internal error
+ content: {}
+ 501:
+ description: |
+ Not implemented
+ content: {}
+ /cat/assets/{assetId}/versions/{versionTag}/surrogates:
+ get:
+ tags:
+ - Knowledge Asset Repository
+ summary: Lists the known Surrogates for a given Knowledge Asset
+ description: |
+ Retrieves Pointers to the various Surrogates for the given Asset version.
+
+ The response MUST include the Canonical Knowledge Asset Surrogate, as returned by 'getKnowledgeAssetCanonicalSurrogate'
+ operationId: listKnowledgeAssetSurrogates
+ parameters:
+ - name: assetId
+ in: path
+ description: |
+ The id of the Knowledge Asset (Series).
+ required: true
+ schema:
+ type: string
+ format: uuid
+ - name: versionTag
+ in: path
+ description: |
+ The version tag of a Versioned Entity. \n Versioned Identifiers identify specific, Immutable Versions of Mutable Entities, which reflect the state of that Entity at a given point in time. Where a version(ed) identifier is universal, the Tag represents the local part of that identifier, under the scope of the identifier that denotes the Entity (series).
+ required: true
+ schema:
+ type: string
+ - name: offset
+ in: query
+ description: |
+ Filters elements in a collection, returning all elements after the 'offset' index included, ignoring all previous elements.
+ schema:
+ type: integer
+ - name: limit
+ in: query
+ description: |
+ Returns up to the given number of elements in a collection.
+ schema:
+ type: integer
+ - name: beforeTag
+ in: query
+ description: |
+ Restricts the series to include only versions before (included) a given version Tag. Assumes the underlying versioning scheme has at least a partial ordering defined.
+ schema:
+ type: string
+ - name: afterTag
+ in: query
+ description: |
+ Restricts the series to include only versions after (included) a given version Tag. Assumes the underlying versioning scheme has at least a partial ordering defined.
+ schema:
+ type: string
+ - name: sort
+ in: query
+ description: |
+ Allows to sort a collection by one ore more properties.
+ schema:
+ type: string
+ default: asc
+ responses:
+ 200:
+ description: |
+ Success
+ content:
+ application/json:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/Pointer'
+ application/xml:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/Pointer'
+ text/html:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/Pointer'
+ 403:
+ description: |
+ The client does not have the adequate permissions
+ content: {}
+ 404:
+ description: |
+ Asset Version not found
+ content: {}
+ 500:
+ description: |
+ Internal error
+ content: {}
+ 501:
+ description: |
+ Not implemented.
+ content: {}
+ post:
+ tags:
+ - Knowledge Asset Repository
+ summary: Registers a new Surrogate for a given Knowledge Asset
+ description: |
+ Registers a new, alternative (non-canonical) Surrogate for a given Knowledge Asset.
+
+ The client-provided Carrier MUST match the Asset ID and version;
+ The server SHALL use the Artifact ID and version provided by the client as a Surrogate Id,
+ which MUST not exist, or a Conflict will be raised.
+
+ In particular, this operation MUST not try to update the Canonical Surrogate,
+ and will reject an alternative Surrogate that uses the canonical surrogate metamodel.
+ (clients should use setKnowledgeAssetVersion instead)
+
+ The server MUST register the new Surrogate in the Knowledge Graph, and update the Canonical
+ Surrogate for the given Asset, incrementing the version of the Surrogate.
+ operationId: addKnowledgeAssetSurrogate
+ parameters:
+ - name: assetId
+ in: path
+ description: |
+ The id of the Knowledge Asset (Series).
+ required: true
+ schema:
+ type: string
+ format: uuid
+ - name: versionTag
+ in: path
+ description: |
+ The version tag of a Versioned Entity. \n Versioned Identifiers identify specific, Immutable Versions of Mutable Entities, which reflect the state of that Entity at a given point in time. Where a version(ed) identifier is universal, the Tag represents the local part of that identifier, under the scope of the identifier that denotes the Entity (series).
+ required: true
+ schema:
+ type: string
+ requestBody:
+ description: The Surrogate of a Knowledge Asset, wrapped in a Knowledge Carrier.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/KnowledgeCarrier'
+ application/xml:
+ schema:
+ $ref: '#/components/schemas/KnowledgeCarrier'
+ required: true
+ responses:
+ 201:
+ description: Success
+ headers:
+ Content-Location:
+ description: |
+ URL where the new version of the Knowledge Asset Surrogate is accessible
+ schema:
+ type: string
+ format: uri
+ content: {}
+ 403:
+ description: |
+ The client does not have permissions to add Surrogates to this Asset
+ content: {}
+ 404:
+ description: |
+ Asset Version not found
+ content: {}
+ 405:
+ description: |
+ The repository is read-only
+ content: {}
+ 406:
+ description: |
+ The provided Carrier (Surrogate) cannot be inspected properly
+ content: {}
+ 409:
+ description: |
+ A different Surrogate with the same ID and version already exists
+ content: {}
+ 500:
+ description: |
+ Internal error
+ content: {}
+ 501:
+ description: |
+ Not implemented
+ content: {}
+ x-codegen-request-body-name: surrogateCarrier
+ /cat/assets/{assetId}/versions/{versionTag}/surrogates/{surrogateId}/versions:
+ get:
+ tags:
+ - Knowledge Asset Repository
+ summary: Lists the version history of the Knowledge Asset Surrogate.
+ description: |
+ Returns Pointers to all the Versions of a given Knowledge Asset Surrogate, for a given Asset
+ operationId: listKnowledgeAssetSurrogateVersions
+ parameters:
+ - name: assetId
+ in: path
+ description: |
+ The id of the Knowledge Asset (Series).
+ required: true
+ schema:
+ type: string
+ format: uuid
+ - name: versionTag
+ in: path
+ description: |
+ The version tag of a Versioned Entity. \n Versioned Identifiers identify specific, Immutable Versions of Mutable Entities, which reflect the state of that Entity at a given point in time. Where a version(ed) identifier is universal, the Tag represents the local part of that identifier, under the scope of the identifier that denotes the Entity (series).
+ required: true
+ schema:
+ type: string
+ - name: surrogateId
+ in: path
+ description: |
+ The id of the Knowledge Artifact that carries a metadata record about a Knowledge Asset.
+ required: true
+ schema:
+ type: string
+ format: uuid
+ - name: offset
+ in: query
+ description: |
+ Filters elements in a collection, returning all elements after the 'offset' index included, ignoring all previous elements.
+ schema:
+ type: integer
+ - name: limit
+ in: query
+ description: |
+ Returns up to the given number of elements in a collection.
+ schema:
+ type: integer
+ - name: beforeTag
+ in: query
+ description: |
+ Restricts the series to include only versions before (included) a given version Tag. Assumes the underlying versioning scheme has at least a partial ordering defined.
+ schema:
+ type: string
+ - name: afterTag
+ in: query
+ description: |
+ Restricts the series to include only versions after (included) a given version Tag. Assumes the underlying versioning scheme has at least a partial ordering defined.
+ schema:
+ type: string
+ - name: sort
+ in: query
+ description: |
+ Allows to sort a collection by one ore more properties.
+ schema:
+ type: string
+ default: asc
+ responses:
+ 200:
+ description: |
+ Success
+ content:
+ application/json:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/Pointer'
+ application/xml:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/Pointer'
+ text/html:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/Pointer'
+ 403:
+ description: |
+ The client does not have the adequate permissions
+ content: {}
+ 404:
+ description: |
+ Asset Version not found
+ content: {}
+ 500:
+ description: |
+ Internal error
+ content: {}
+ 501:
+ description: |
+ Not implemented.
+ content: {}
+ /cat/assets/{assetId}/versions/{versionTag}/surrogates/{surrogateId}/versions/{surrogateVersionTag}:
+ get:
+ tags:
+ - Knowledge Asset Repository
+ summary: Gets a specific version of the Knowledge Asset Surrogate.
+ description: |
+ Returns a copy of a specific version of a Knowledge Asset Surrogate for the given Asset.
+ operationId: getKnowledgeAssetSurrogateVersion
+ parameters:
+ - name: assetId
+ in: path
+ description: |
+ The id of the Knowledge Asset (Series).
+ required: true
+ schema:
+ type: string
+ format: uuid
+ - name: versionTag
+ in: path
+ description: |
+ The version tag of a Versioned Entity. \n Versioned Identifiers identify specific, Immutable Versions of Mutable Entities, which reflect the state of that Entity at a given point in time. Where a version(ed) identifier is universal, the Tag represents the local part of that identifier, under the scope of the identifier that denotes the Entity (series).
+ required: true
+ schema:
+ type: string
+ - name: surrogateId
+ in: path
+ description: |
+ The id of the Knowledge Artifact that carries a metadata record about a Knowledge Asset.
+ required: true
+ schema:
+ type: string
+ format: uuid
+ - name: surrogateVersionTag
+ in: path
+ description: |
+ The version tag a (version of a) Knowledge Asset Surrogate
+ required: true
+ schema:
+ type: string
+ - name: X-Accept
+ in: header
+ description: |
+ A MIME Type that codifies the syntactic representation of a Knowledge Artifact, as accepted by the client in a content negotiation sense.
+ schema:
+ type: string
+ responses:
+ 200:
+ description: |
+ A suitable representation of the Knowledge Surrogate could be retrieved
+ content:
+ application/xml:
+ schema:
+ $ref: '#/components/schemas/KnowledgeCarrier'
+ application/json:
+ schema:
+ $ref: '#/components/schemas/KnowledgeCarrier'
+ text/html:
+ schema:
+ $ref: '#/components/schemas/KnowledgeCarrier'
+ 300:
+ description: |
+ Negotiation failed, but suitable alternatives are present
+ content:
+ application/xml:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/Pointer'
+ application/json:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/Pointer'
+ text/html:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/Pointer'
+ 403:
+ description: |
+ The client does not have the adequate permissions
+ content: {}
+ 404:
+ description: |
+ Asset Version not found
+ content: {}
+ 406:
+ description: |
+ No suitable variant is available
+ content: {}
+ 500:
+ description: |
+ Internal error
+ content: {}
+ 501:
+ description: |
+ Not implemented
+ content: {}
+ /cat/assets/{assetId}/versions/{versionTag}/surrogates/{surrogateId}/versions/{surrogateVersionTag}/content:
+ get:
+ tags:
+ - Knowledge Asset Repository
+ summary: Gets a specific version of the Knowledge Asset Surrogate.
+ description: |
+ Returns a copy of a specific version of a Knowledge Asset Surrogate for the given Asset.
+ operationId: getKnowledgeAssetSurrogateVersionContent
+ parameters:
+ - name: assetId
+ in: path
+ description: |
+ The id of the Knowledge Asset (Series).
+ required: true
+ schema:
+ type: string
+ format: uuid
+ - name: versionTag
+ in: path
+ description: |
+ The version tag of a Versioned Entity. \n Versioned Identifiers identify specific, Immutable Versions of Mutable Entities, which reflect the state of that Entity at a given point in time. Where a version(ed) identifier is universal, the Tag represents the local part of that identifier, under the scope of the identifier that denotes the Entity (series).
+ required: true
+ schema:
+ type: string
+ - name: surrogateId
+ in: path
+ description: |
+ The id of the Knowledge Artifact that carries a metadata record about a Knowledge Asset.
+ required: true
+ schema:
+ type: string
+ format: uuid
+ - name: surrogateVersionTag
+ in: path
+ description: |
+ The version tag a (version of a) Knowledge Asset Surrogate
+ required: true
+ schema:
+ type: string
+ - $ref: '#/components/parameters/qAccept'
+ responses:
+ 200:
+ description: |
+ A suitable representation of the Knowledge Surrogate could be retrieved
+ content:
+ '*/*':
+ schema:
+ type: string
+ format: byte
+ 300:
+ description: |
+ Negotiation failed, but suitable alternatives are present
+ content:
+ application/xml:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/Pointer'
+ application/json:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/Pointer'
+ text/html:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/Pointer'
+ 403:
+ description: |
+ The client does not have the adequate permissions
+ content: {}
+ 404:
+ description: |
+ Asset Version not found
+ content: {}
+ 406:
+ description: |
+ No suitable variant is available
+ content: {}
+ 500:
+ description: |
+ Internal error
+ content: {}
+ 501:
+ description: |
+ Not implemented
+ content: {}
+ /cat/assets/{assetId}/versions/{versionTag}/composite/struct:
+ get:
+ tags:
+ - Knowledge Asset Repository
+ summary: Retrieve the Structure of a Composite Knowledge Asset.
+ description: |
+ Retrieves the Structure of the given Composite Knowledge Asset. The Structure is a Graph whose root node is a reference to the Composite Asset, and MUST contains 'has-part' relationships to other Assets.
+ The structure SHOULD also contain 'depends-on' relationships, and the types and roles of the component Assets.
+
+ All relationships in the Structure MUST reference specific versions of Knowledge Assets.
+
+ The Graph itself is a Knowledge Artifact (e.g. expressed using some form of RDF) and, as such, is negotiable.
+
+ If invoked on an atomic Knowledge Asset, returns a singleton Graph with one node corresponding to the Atomic Asset itself.
+ operationId: getCompositeKnowledgeAssetStructure
+ parameters:
+ - name: assetId
+ in: path
+ description: |
+ The id of the Knowledge Asset (Series).
+ required: true
+ schema:
+ type: string
+ format: uuid
+ - name: versionTag
+ in: path
+ description: |
+ The version tag of a Versioned Entity. \n Versioned Identifiers identify specific, Immutable Versions of Mutable Entities, which reflect the state of that Entity at a given point in time. Where a version(ed) identifier is universal, the Tag represents the local part of that identifier, under the scope of the identifier that denotes the Entity (series).
+ required: true
+ schema:
+ type: string
+ - name: X-Accept
+ in: header
+ description: |
+ A MIME Type that codifies the syntactic representation of a Knowledge Artifact, as accepted by the client in a content negotiation sense.
+ schema:
+ type: string
+ responses:
+ 200:
+ description: |
+ Success
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/KnowledgeCarrier'
+ application/xml:
+ schema:
+ $ref: '#/components/schemas/KnowledgeCarrier'
+ 403:
+ description: |
+ The client cannot access the Asset
+ content: {}
+ 404:
+ description: |
+ Asset Version not found
+ content: {}
+ 500:
+ description: |
+ Internal error
+ content: {}
+ 501:
+ description: |
+ Not implemented
+ content: {}
+ post:
+ tags:
+ - Knowledge Asset Repository
+ summary: Initializes a new Composite Knowledge Asset Struct
+ description: |
+ Given an existing Knowledge Asset, executes a query that selects one or more Assets
+ based on the transitive closure of a (dependency) relationship.
+ The query's result triples are returned as the implicit structure of a (tree-based)
+ Anonymous Composite Knowledge Asset Surrogate
+ operationId: getAnonymousCompositeKnowledgeAssetStructure
+ parameters:
+ - name: assetId
+ in: path
+ description: |
+ The id of the Knowledge Asset (Series).
+ required: true
+ schema:
+ type: string
+ format: uuid
+ - name: versionTag
+ in: path
+ description: |
+ The version tag of a Versioned Entity. \n Versioned Identifiers identify specific, Immutable Versions of Mutable Entities, which reflect the state of that Entity at a given point in time. Where a version(ed) identifier is universal, the Tag represents the local part of that identifier, under the scope of the identifier that denotes the Entity (series).
+ required: true
+ schema:
+ type: string
+ - name: X-Accept
+ in: header
+ description: |
+ A MIME Type that codifies the syntactic representation of a Knowledge Artifact, as accepted by the client in a content negotiation sense.
+ schema:
+ type: string
+ responses:
+ 200:
+ description: Success
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/KnowledgeCarrier'
+ application/xml:
+ schema:
+ $ref: '#/components/schemas/KnowledgeCarrier'
+ 403:
+ description: |
+ The client cannot access the Asset
+ content: {}
+ 404:
+ description: |
+ Asset Version not found
+ content: {}
+ 500:
+ description: |
+ Internal error
+ content: {}
+ 501:
+ description: |
+ Not implemented
+ content: {}
+ /cat/assets/{assetId}/versions/{versionTag}/composite/surrogate:
+ get:
+ tags:
+ - Knowledge Asset Repository
+ summary: Assembles a Composite Knowledge Asset Surrogate using the Surrogates
+ of the components
+ description: |
+ Given a Composite Knowledge Asset, the server SHALL consult the Structure to determine its Components,
+ retrieve the Surrogate for each Component, and _assemble_ them into a Composite Knowledge Carrier.
+
+ The Surrogate SHOULD be the Canonical surrogate, unless Content Negotiation is used, and better alternatives
+ can fit the client's request. Content Negotiation can also be used to apply some trans*tion to the
+ Canonical Surrogates before returning them (e.g. projection by profile, or transcription between JSON vs XML).
+
+ The server MIGHT also support the _flattening_ of the Surrogates into a single Surrogate, if such an operation
+ is defined for the retrieved Surrogates.
+ operationId: getCompositeKnowledgeAssetSurrogate
+ parameters:
+ - name: assetId
+ in: path
+ description: |
+ The id of the Knowledge Asset (Series).
+ required: true
+ schema:
+ type: string
+ format: uuid
+ - name: versionTag
+ in: path
+ description: |
+ The version tag of a Versioned Entity. \n Versioned Identifiers identify specific, Immutable Versions of Mutable Entities, which reflect the state of that Entity at a given point in time. Where a version(ed) identifier is universal, the Tag represents the local part of that identifier, under the scope of the identifier that denotes the Entity (series).
+ required: true
+ schema:
+ type: string
+ - name: flat
+ in: query
+ description: |
+ Determines whether a Composite Asset should be flattened into a single Asset, or its Component Assets should be maintained separate.
+ schema:
+ type: boolean
+ - name: X-Accept
+ in: header
+ description: |
+ A MIME Type that codifies the syntactic representation of a Knowledge Artifact, as accepted by the client in a content negotiation sense.
+ schema:
+ type: string
+ responses:
+ 200:
+ description: |
+ Success
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/CompositeKnowledgeCarrier'
+ application/xml:
+ schema:
+ $ref: '#/components/schemas/CompositeKnowledgeCarrier'
+ 300:
+ description: |
+ The Composite Asset cannot be assembled in the desired format, but alternatives are available
+ content:
+ application/json:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/Pointer'
+ application/xml:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/Pointer'
+ 403:
+ description: |
+ The client cannot access the Asset
+ content: {}
+ 404:
+ description: |
+ Asset Version not found
+ content: {}
+ 406:
+ description: |
+ The Artifact(s) cannot be delivered using the desired representation(s), and no alternatives are available
+ content: {}
+ 500:
+ description: |
+ Internal error
+ content: {}
+ 501:
+ description: |
+ Not implemented
+ content: {}
+ post:
+ tags:
+ - Knowledge Asset Repository
+ summary: Assembles an Anonymous Composite Knowledge Asset Surrogate using an
+ Asset and its relationships as a seed
+ description: |
+ Given an existing Knowledge Asset, executes a query that selects one or more Assets
+ based on the transitive closure of a (dependency) relationship.
+ The query's result bindings are treated as Asset Ids, resolved, and used to construct
+ an Anonymous Composite Knowledge Asset Surrogate
+ operationId: getAnonymousCompositeKnowledgeAssetSurrogate
+ parameters:
+ - name: assetId
+ in: path
+ description: |
+ The id of the Knowledge Asset (Series).
+ required: true
+ schema:
+ type: string
+ format: uuid
+ - name: versionTag
+ in: path
+ description: |
+ The version tag of a Versioned Entity. \n Versioned Identifiers identify specific, Immutable Versions of Mutable Entities, which reflect the state of that Entity at a given point in time. Where a version(ed) identifier is universal, the Tag represents the local part of that identifier, under the scope of the identifier that denotes the Entity (series).
+ required: true
+ schema:
+ type: string
+ - name: X-Accept
+ in: header
+ description: |
+ A MIME Type that codifies the syntactic representation of a Knowledge Artifact, as accepted by the client in a content negotiation sense.
+ schema:
+ type: string
+ responses:
+ 200:
+ description: |
+ Success
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/CompositeKnowledgeCarrier'
+ application/xml:
+ schema:
+ $ref: '#/components/schemas/CompositeKnowledgeCarrier'
+ 403:
+ description: |
+ The client cannot access the Asset
+ content: {}
+ 404:
+ description: |
+ Asset Version not found
+ content: {}
+ 500:
+ description: |
+ Internal error
+ content: {}
+ 501:
+ description: |
+ Not implemented
+ content: {}
+ /cat/assets/{assetId}/versions/{versionTag}/composite/carrier:
+ get:
+ tags:
+ - Knowledge Asset Repository
+ summary: Assembles a (Composite) Knowledge Artifact that is a manifestation
+ of the given Composite Knowledge Asset.
+ description: |
+ Given a Composite Knowledge Asset, the server SHALL either
+ (i) determine if there is a (flat) Carrier for that Composite Asset, or
+ (ii) consult the Structure to determine the Components, retrieve a Carrier for each Component, and _assemble_ them into a Composite Knowledge Carrier.
+
+ The choice between (i) and (ii) is dictated by the flat parameter.
+ If true, (i) will be attempted first, then (ii), and finally a flattening will be attempted.
+ If false, (ii) will be executed
+
+ The server SHOULD honor Content Negotiation in the choice of artifacts, and respond with a 406 code if the client preferences (extAccept, flat) cannot be satisfied. The server MIGHT also be lenient, and fall back to either strategy if the other fails.
+ operationId: getCompositeKnowledgeAssetCarrier
+ parameters:
+ - name: assetId
+ in: path
+ description: |
+ The id of the Knowledge Asset (Series).
+ required: true
+ schema:
+ type: string
+ format: uuid
+ - name: versionTag
+ in: path
+ description: |
+ The version tag of a Versioned Entity. \n Versioned Identifiers identify specific, Immutable Versions of Mutable Entities, which reflect the state of that Entity at a given point in time. Where a version(ed) identifier is universal, the Tag represents the local part of that identifier, under the scope of the identifier that denotes the Entity (series).
+ required: true
+ schema:
+ type: string
+ - name: flat
+ in: query
+ description: |
+ Determines whether a Composite Asset should be flattened into a single Asset, or its Component Assets should be maintained separate.
+ schema:
+ type: boolean
+ - name: X-Accept
+ in: header
+ description: |
+ A MIME Type that codifies the syntactic representation of a Knowledge Artifact, as accepted by the client in a content negotiation sense.
+ schema:
+ type: string
+ responses:
+ 200:
+ description: |
+ Success
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/CompositeKnowledgeCarrier'
+ application/xml:
+ schema:
+ $ref: '#/components/schemas/CompositeKnowledgeCarrier'
+ 300:
+ description: |
+ The Composite Artifact cannot be assembled in the desired format, but alternatives are available
+ content:
+ application/json:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/Pointer'
+ application/xml:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/Pointer'
+ 403:
+ description: |
+ The client cannot access the Asset
+ content: {}
+ 404:
+ description: |
+ Asset Version not found
+ content: {}
+ 406:
+ description: |
+ The Artifact(s) cannot be delivered using the desired representation(s), and no alternatives are available
+ content: {}
+ 500:
+ description: |
+ Internal error
+ content: {}
+ 501:
+ description: |
+ Not implemented
+ content: {}
+ post:
+ tags:
+ - Knowledge Asset Repository
+ summary: Assembles an Anonymous Composite Knowledge Asset Carrier using an Asset
+ and its relationships as a seed
+ description: |
+ Given an existing Knowledge Asset, executes a query that selects one or more Assets
+ based on the transitive closure of a (dependency) relationship
+ The query's result bindings are treated as Asset Ids, resolved, mapped to a Carrier
+ Artifact, and used to construct an Anonymous Composite Knowledge Artifact
+ operationId: getAnonymousCompositeKnowledgeAssetCarrier
+ parameters:
+ - name: assetId
+ in: path
+ description: |
+ The id of the Knowledge Asset (Series).
+ required: true
+ schema:
+ type: string
+ format: uuid
+ - name: versionTag
+ in: path
+ description: |
+ The version tag of a Versioned Entity. \n Versioned Identifiers identify specific, Immutable Versions of Mutable Entities, which reflect the state of that Entity at a given point in time. Where a version(ed) identifier is universal, the Tag represents the local part of that identifier, under the scope of the identifier that denotes the Entity (series).
+ required: true
+ schema:
+ type: string
+ - name: X-Accept
+ in: header
+ description: |
+ A MIME Type that codifies the syntactic representation of a Knowledge Artifact, as accepted by the client in a content negotiation sense.
+ schema:
+ type: string
+ responses:
+ 200:
+ description: |
+ Success
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/CompositeKnowledgeCarrier'
+ application/xml:
+ schema:
+ $ref: '#/components/schemas/CompositeKnowledgeCarrier'
+ 403:
+ description: |
+ The client cannot access the Asset
+ content: {}
+ 404:
+ description: |
+ Asset Version not found
+ content: {}
+ 500:
+ description: |
+ Internal error
+ content: {}
+ 501:
+ description: |
+ Not implemented
+ content: {}
+components:
+ schemas:
+ Pointer:
+ type: object
+ KnowledgeCarrier:
+ type: object
+ description: |
+ A Resource that wraps a Serialized, Encoded Knowledge Artifact
+ CompositeKnowledgeCarrier:
+ type: object
+ description: |
+ A Specialized KnowledgeCarrier for composite Artifacts (Surrogates and Carriers)
+ KnowledgeAsset:
+ title: Knowledge Asset Surrogate
+ type: object
+ description: |
+ A Resource that contains descriptive information about a specific version of a Knowledge Asset, as well as its known Representations and/or Manifestations. The actual content model is implementation specific, so the adopted language specification must be manifested by the Knowledge Asset Catalog.
+ KnowledgeAssetCatalog:
+ title: Knowledge Asset Catalog
+ type: object
+ description: |
+ A Resource that provides a summary of the features of a Catalog at a given point in time, including the categories and types of Assets it supports, and the model/schema used to represent Assets' descriptions.
+ Bindings:
+ title: Bindings
+ type: object
+ description: |
+ A key/value pair map that binds the variables of a query to the result answer
+ parameters:
+ assetTypeTag:
+ name: assetTypeTag
+ in: query
+ description: |
+ An unqualified, codified term ("tag") that identifies a type, category or class of Knowledge Assets defined in some ontology or classification scheme known to the server.
+ schema:
+ type: string
+ assetAnnotationTag:
+ name: assetAnnotationTag
+ in: query
+ description: |
+ An unqualified, codified term ("tag") that identifies a relationship between a Knowledge Assets and a concept. The relationship must be defined in some ontology known to the server.
+ schema:
+ type: string
+ assetAnnotationConcept:
+ name: assetAnnotationConcept
+ in: query
+ description: |
+ A fully qualified (URI) term that denotes a concept that can be used to annotate assets.
+ schema:
+ type: string
+ format: uri
+ assetId:
+ name: assetId
+ in: path
+ description: |
+ The id of the Knowledge Asset (Series).
+ required: true
+ schema:
+ type: string
+ format: uuid
+ versionTag:
+ name: versionTag
+ in: path
+ description: |
+ The version tag of a Versioned Entity. \n Versioned Identifiers identify specific, Immutable Versions of Mutable Entities, which reflect the state of that Entity at a given point in time. Where a version(ed) identifier is universal, the Tag represents the local part of that identifier, under the scope of the identifier that denotes the Entity (series).
+ required: true
+ schema:
+ type: string
+ artifactId:
+ name: artifactId
+ in: path
+ description: |
+ The id of the Knowledge Artifact that carries a concrete expression of a Knowledge Asset.
+ required: true
+ schema:
+ type: string
+ format: uuid
+ surrogateId:
+ name: surrogateId
+ in: path
+ description: |
+ The id of the Knowledge Artifact that carries a metadata record about a Knowledge Asset.
+ required: true
+ schema:
+ type: string
+ format: uuid
+ artifactVersionTag:
+ name: artifactVersionTag
+ in: path
+ description: |
+ The version tag a (version of a) Knowledge Artifact
+ required: true
+ schema:
+ type: string
+ surrogateVersionTag:
+ name: surrogateVersionTag
+ in: path
+ description: |
+ The version tag a (version of a) Knowledge Asset Surrogate
+ required: true
+ schema:
+ type: string
+ depth:
+ name: depth
+ in: query
+ description: |
+ The maximum allowed relationship-induced distance between two assets. Two assets X and Y have distance N if there exist other N-1 distinct assets W such that A is related to W1, W1 is related to W2, .., Wn-1 is related to Y.
+ schema:
+ type: integer
+ flat:
+ name: flat
+ in: query
+ description: |
+ Determines whether a Composite Asset should be flattened into a single Asset, or its Component Assets should be maintained separate.
+ schema:
+ type: boolean
+ extAccept:
+ name: X-Accept
+ in: header
+ description: |
+ A MIME Type that codifies the syntactic representation of a Knowledge Artifact, as accepted by the client in a content negotiation sense.
+ schema:
+ type: string
+ qAccept:
+ name: qAccept
+ in: query
+ description: |
+ A MIME Type that codifies the syntactic representation of a Knowledge Artifact, as accepted by the client in a content negotiation sense.
+ schema:
+ type: string
+ beforeTag:
+ name: beforeTag
+ in: query
+ description: |
+ Restricts the series to include only versions before (included) a given version Tag. Assumes the underlying versioning scheme has at least a partial ordering defined.
+ schema:
+ type: string
+ afterTag:
+ name: afterTag
+ in: query
+ description: |
+ Restricts the series to include only versions after (included) a given version Tag. Assumes the underlying versioning scheme has at least a partial ordering defined.
+ schema:
+ type: string
+ sort:
+ name: sort
+ in: query
+ description: |
+ Allows to sort a collection by one ore more properties.
+ schema:
+ type: string
+ default: asc
+ offset:
+ name: offset
+ in: query
+ description: |
+ Filters elements in a collection, returning all elements after the 'offset' index included, ignoring all previous elements.
+ schema:
+ type: integer
+ limit:
+ name: limit
+ in: query
+ description: |
+ Returns up to the given number of elements in a collection.
+ schema:
+ type: integer
+ requestBodies:
+ assetSurrogate:
+ description: The Surrogate of a Knowledge Asset.
+ content:
+ '*/*':
+ schema:
+ $ref: '#/components/schemas/KnowledgeAsset'
+ required: false
+ surrogateCarrier:
+ description: The Surrogate of a Knowledge Asset, wrapped in a Knowledge Carrier.
+ content:
+ '*/*':
+ schema:
+ $ref: '#/components/schemas/KnowledgeCarrier'
+ required: true
+ assetCarrier:
+ description: The manifestation of a Knowledge Asset, wrapped as a Knowledge
+ Carrier.
+ content:
+ '*/*':
+ schema:
+ $ref: '#/components/schemas/KnowledgeCarrier'
+ required: true
+ exemplar:
+ description: A Knowledge Artifact that carries an exemplar of a Knowledge Assets.
+ content:
+ '*/*':
+ schema:
+ type: string
+ format: byte
+ required: false
+ graphQuery:
+ description: The query, wrapped in a KnowledgeCarrier that must state in what
+ language the query is expressed
+ content:
+ '*/*':
+ schema:
+ $ref: '#/components/schemas/KnowledgeCarrier'
+ required: true
diff --git a/openapi/v3/org/omg/spec/api4kp/5.0.0/knowledgeAssetTransrepresentation.oas.yaml b/openapi/v3/org/omg/spec/api4kp/5.0.0/knowledgeAssetTransrepresentation.oas.yaml
new file mode 100644
index 0000000..73002c5
--- /dev/null
+++ b/openapi/v3/org/omg/spec/api4kp/5.0.0/knowledgeAssetTransrepresentation.oas.yaml
@@ -0,0 +1,1152 @@
+openapi: 3.0.1
+info:
+ title: API4KP Knowledge Asset Transrepresentation API
+ description: |
+ This API defines "syntactic" manipulations of Knowledge Artifacts, based on the stratified representational aspects
+ of the Artifacts themselves (Language, profile, syntax/serialization, meta-format, encoding).
+
+ Supports both 'vertical' operations (parsing/serialization), which preserve the Asset and the Langauge,
+ and 'horizontal' operations (transrepresentations) which preserve the aspects up to a certain level,
+ but map across variants at the same level.
+
+ The API specializes the Knowledge Platform pattern. Components include one or more Operators, and each Operator
+ supports an API4KP Operation.
+ The Operator is the primary entity. For a given Operation type (detect, translate, etc), the server is expected
+ to index one more operators. If multiple operators of the same kind exist, the server will play a broker role and
+ use content negotiation to select the operator that is best fitting to satisfy a client's request.
+ The Operators can also be discovered, directly or through the Components. The APIs are overloaded so that
+ the client can interact with a specific Operator.
+
+ Syntactic Operations are curried to consume a Knowledge Artifact (wrapped in a Knowledge Carrier),
+ and return a wrapped KnowledgeCarrier, effectively behaving as functors in the functional programming sense.
+
+ The Operators can be addressed by identifier, or by pattern matching on the Syntactic Representations they consume or produce.
+ Patterns on the input will select operators that can process more equal or more general representations;
+ patterns on the output will select operators that can produce equal or more specific representations than the pattern itself.
+ Where necessary (e.g. as query/filter parameters), Syntactic Representations are encoded using formal MIME types.
+
+ **Maturity**
+ As of this version, this API is considered stable, but subject to extensions
+ contact:
+ name: Davide Sottara
+ email: sottara.davide@mayo.edu
+ license:
+ name: Apache License, Version 2.0
+ url: https://www.apache.org/licenses/LICENSE-2.0.html
+ version: 5.0.0
+servers:
+ - url: /omg.org/spec/API4KP/20200801/api/transrepresentation/v5
+tags:
+ - name: discovery
+ description: Describe Server Capability
+ - name: transxion
+ description: Apply available cross-Language Transrepresentation Capabilities.
+ - name: detect
+ description: Detect Language(s) used in an Expression
+ - name: validate
+ description: Validate that an Expression conforms to a Language(s)
+ - name: deserialize
+ description: Lift (parse) or Lower (serialize) an Expression
+paths:
+ /tranx/components:
+ get:
+ tags:
+ - discovery
+ summary: List available Transrepresentation Components
+ description: |
+ Enumerates the Transrepresentation Components that are supported by this server
+ operationId: listTxComponents
+ parameters:
+ - name: from
+ in: query
+ description: |
+ formal MIME encoding of a Syntactic Representation pattern used to filter components and operators that can consume specific representations
+ schema:
+ type: string
+ - name: into
+ in: query
+ description: |
+ formal MIME encoding of a Syntactic Representation pattern used to filter components and operators that can produce specific representations
+ schema:
+ type: string
+ - name: methodTag
+ in: query
+ description: |
+ Specifies the strategy by which a given operation is requested to be executed
+ schema:
+ type: string
+ responses:
+ 200:
+ description: Success
+ content:
+ '*/*':
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/Transrepresentator'
+ /tranx/components/{componentId}:
+ get:
+ tags:
+ - discovery
+ summary: Get Transrepresentation Component
+ description: |
+ Returns the description of a specific Transrepresentation Components,
+ including the Operators it provides and the software library that
+ this component is an instance of.
+ operationId: getTxComponent
+ parameters:
+ - name: componentId
+ in: path
+ description: |
+ The id of a Platform component that supports one or more operations.
+ required: true
+ schema:
+ type: string
+ format: uuid
+ responses:
+ 200:
+ description: Success
+ content:
+ '*/*':
+ schema:
+ $ref: '#/components/schemas/Transrepresentator'
+ /tranx/transxor:
+ post:
+ tags:
+ - transxion
+ summary: Applies a trans-representation operation.
+ description: |
+ Applies a trans-representation operation to a KnowledgeCarrier,
+ selecting an Operator that supports the carrier's representation
+ operationId: applyTransrepresent
+ parameters:
+ - name: X-Accept
+ in: header
+ description: |
+ A MIME Type that codifies the client's desired representation as the output of a syntactic operation
+ schema:
+ type: string
+ - name: X-params
+ in: header
+ description: |
+ Additional, operation-specific parameter
+ schema:
+ type: string
+ requestBody:
+ description: The Carrier of a Source Knowledge Artifact, which is generally
+ expected to provide information about the representation of the Artifact
+ itself
+ content:
+ '*/*':
+ schema:
+ $ref: '#/components/schemas/KnowledgeCarrier'
+ required: true
+ responses:
+ 200:
+ description: The transformed artifact
+ content:
+ '*/*':
+ schema:
+ $ref: '#/components/schemas/KnowledgeCarrier'
+ x-codegen-request-body-name: sourceArtifact
+ /tranx/transxors:
+ get:
+ tags:
+ - transxion
+ summary: List available Transrepresentation Operators
+ description: |
+ Enumerates the Transrepresentation Operators that are supported by this server
+ operationId: listTxionOperators
+ parameters:
+ - name: from
+ in: query
+ description: |
+ formal MIME encoding of a Syntactic Representation pattern used to filter components and operators that can consume specific representations
+ schema:
+ type: string
+ - name: into
+ in: query
+ description: |
+ formal MIME encoding of a Syntactic Representation pattern used to filter components and operators that can produce specific representations
+ schema:
+ type: string
+ responses:
+ 200:
+ description: Success
+ content:
+ '*/*':
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/TransrepresentationOperator'
+ /tranx/transxors/{operatorId}:
+ get:
+ tags:
+ - transxion
+ summary: Get Transrepresentation operator.
+ description: |
+ Returns the description of a specific Transrepresentation Operator,
+ including the kind of operation it provides, the representations
+ (consumed and produced) and the accepted parameters
+ operationId: getTxionOperator
+ parameters:
+ - name: operatorId
+ in: path
+ description: |
+ The id of an Operator, implementing one of the operations
+ offered by a Component.
+ required: true
+ schema:
+ type: string
+ format: uuid
+ responses:
+ 200:
+ description: Success
+ content:
+ '*/*':
+ schema:
+ $ref: '#/components/schemas/TransrepresentationOperator'
+ post:
+ tags:
+ - transxion
+ summary: Applies a trans-representation operation.
+ description: |
+ Applies a known trans-representation operation to a KnowledgeCarrier
+ operationId: applyNamedTransrepresent
+ parameters:
+ - name: operatorId
+ in: path
+ description: |
+ The id of an Operator, implementing one of the operations
+ offered by a Component.
+ required: true
+ schema:
+ type: string
+ format: uuid
+ - name: X-Accept
+ in: header
+ description: |
+ A MIME Type that codifies the client's desired representation as the output of a syntactic operation
+ schema:
+ type: string
+ - name: X-params
+ in: header
+ description: |
+ Additional, operation-specific parameter
+ schema:
+ type: string
+ requestBody:
+ description: The Carrier of a Source Knowledge Artifact, which is generally
+ expected to provide information about the representation of the Artifact
+ itself
+ content:
+ '*/*':
+ schema:
+ $ref: '#/components/schemas/KnowledgeCarrier'
+ required: true
+ responses:
+ 200:
+ description: The transformed artifact
+ content:
+ '*/*':
+ schema:
+ $ref: '#/components/schemas/KnowledgeCarrier'
+ x-codegen-request-body-name: sourceArtifact
+ /detect/components:
+ get:
+ tags:
+ - discovery
+ summary: List available Detector Components
+ description: |
+ Enumerates the Detection Components that are supported by this server
+ operationId: listDetectComponents
+ parameters:
+ - name: into
+ in: query
+ description: |
+ formal MIME encoding of a Syntactic Representation pattern used to filter components and operators that can produce specific representations
+ schema:
+ type: string
+ - name: methodTag
+ in: query
+ description: |
+ Specifies the strategy by which a given operation is requested to be executed
+ schema:
+ type: string
+ responses:
+ 200:
+ description: Success
+ content:
+ '*/*':
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/Detector'
+ /detect/components/{componentId}:
+ get:
+ tags:
+ - discovery
+ summary: Get Detector Component
+ description: |
+ Returns the description of a specific Detector Components,
+ including the Operators it provides and the software library that
+ this component is an instance of.
+ operationId: getDetectComponent
+ parameters:
+ - name: componentId
+ in: path
+ description: |
+ The id of a Platform component that supports one or more operations.
+ required: true
+ schema:
+ type: string
+ format: uuid
+ responses:
+ 200:
+ description: Success
+ content:
+ '*/*':
+ schema:
+ $ref: '#/components/schemas/Detector'
+ /detect/detector:
+ post:
+ tags:
+ - detect
+ summary: Sets the representation(s) used in a given Artifact
+ description: |
+ Detects various aspects of the representation used in a Knowledge Artifact,
+ and sets it on the Carrier itself. Will not attempt to re-evaluate any
+ representation information that is already present on the input Carrier.
+ operationId: applyDetect
+ parameters:
+ - name: X-params
+ in: header
+ description: |
+ Additional, operation-specific parameter
+ schema:
+ type: string
+ requestBody:
+ description: The Carrier of a Source Knowledge Artifact, which is generally
+ expected to provide information about the representation of the Artifact
+ itself
+ content:
+ '*/*':
+ schema:
+ $ref: '#/components/schemas/KnowledgeCarrier'
+ required: true
+ responses:
+ 200:
+ description: |
+ A Knowledge Carrier that contains the same as, or an identical copy of,
+ the input Artifact, enriched with the detected representation information
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/KnowledgeCarrier'
+ application/xml:
+ schema:
+ $ref: '#/components/schemas/KnowledgeCarrier'
+ x-codegen-request-body-name: sourceArtifact
+ /detect/detectors:
+ get:
+ tags:
+ - detect
+ summary: List available Detection Operators
+ description: |
+ Enumerates the Detection Operators that are supported by this server
+ operationId: listDetectionOperators
+ parameters:
+ - name: into
+ in: query
+ description: |
+ formal MIME encoding of a Syntactic Representation pattern used to filter components and operators that can produce specific representations
+ schema:
+ type: string
+ responses:
+ 200:
+ description: Success
+ content:
+ '*/*':
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/DetectionOperator'
+ /detect/detectors/{operatorId}:
+ get:
+ tags:
+ - detect
+ summary: Get Detection operator.
+ description: |
+ Returns the description of a specific Transrepresentation Operator,
+ including the kind of operation it provides, the representations
+ (consumed and produced) and the accepted parameters
+ operationId: getDetectionOperator
+ parameters:
+ - name: operatorId
+ in: path
+ description: |
+ The id of an Operator, implementing one of the operations
+ offered by a Component.
+ required: true
+ schema:
+ type: string
+ format: uuid
+ responses:
+ 200:
+ description: Success
+ content:
+ '*/*':
+ schema:
+ $ref: '#/components/schemas/DetectionOperator'
+ post:
+ tags:
+ - detect
+ summary: Applies a trans-representation operation.
+ description: |
+ Applies a known detection operation to a KnowledgeCarrier
+ operationId: applyNamedDetect
+ parameters:
+ - name: operatorId
+ in: path
+ description: |
+ The id of an Operator, implementing one of the operations
+ offered by a Component.
+ required: true
+ schema:
+ type: string
+ format: uuid
+ - name: X-params
+ in: header
+ description: |
+ Additional, operation-specific parameter
+ schema:
+ type: string
+ requestBody:
+ description: The Carrier of a Source Knowledge Artifact, which is generally
+ expected to provide information about the representation of the Artifact
+ itself
+ content:
+ '*/*':
+ schema:
+ $ref: '#/components/schemas/KnowledgeCarrier'
+ required: true
+ responses:
+ 200:
+ description: The transformed artifact
+ content:
+ '*/*':
+ schema:
+ $ref: '#/components/schemas/KnowledgeCarrier'
+ x-codegen-request-body-name: sourceArtifact
+ /valid/components:
+ get:
+ tags:
+ - discovery
+ summary: List available Validator Components
+ description: |
+ Enumerates the Validator Components that are supported by this server
+ operationId: listValidationComponents
+ parameters:
+ - name: from
+ in: query
+ description: |
+ formal MIME encoding of a Syntactic Representation pattern used to filter components and operators that can consume specific representations
+ schema:
+ type: string
+ - name: methodTag
+ in: query
+ description: |
+ Specifies the strategy by which a given operation is requested to be executed
+ schema:
+ type: string
+ responses:
+ 200:
+ description: Success
+ content:
+ '*/*':
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/Validator'
+ /valid/components/{componentId}:
+ get:
+ tags:
+ - discovery
+ summary: Get Validator Component
+ description: |
+ Returns the description of a specific Validator Components,
+ including the Operators it provides and the software library that
+ this component is an instance of.
+ operationId: getValidationComponent
+ parameters:
+ - name: componentId
+ in: path
+ description: |
+ The id of a Platform component that supports one or more operations.
+ required: true
+ schema:
+ type: string
+ format: uuid
+ responses:
+ 200:
+ description: Success
+ content:
+ '*/*':
+ schema:
+ $ref: '#/components/schemas/Validator'
+ /valid/validator:
+ post:
+ tags:
+ - validate
+ summary: Determines if a given Artifact conforms to a given representation
+ description: |
+ Attempts to establish whether a given Knowledge Artifact is a valid expression
+ of a given language, profile, lexicon and/or serialization"
+ operationId: applyValidate
+ parameters:
+ - name: X-params
+ in: header
+ description: |
+ Additional, operation-specific parameter
+ schema:
+ type: string
+ requestBody:
+ description: The Carrier of a Source Knowledge Artifact, which is generally
+ expected to provide information about the representation of the Artifact
+ itself
+ content:
+ '*/*':
+ schema:
+ $ref: '#/components/schemas/KnowledgeCarrier'
+ required: true
+ responses:
+ 200:
+ description: |
+ Success, if the validation succeeds
+ content: {}
+ x-codegen-request-body-name: sourceArtifact
+ /valid/validators:
+ get:
+ tags:
+ - validate
+ summary: List available Validation Operators
+ description: |
+ Enumerates the Validation Operators that are supported by this server
+ operationId: listValidationOperators
+ parameters:
+ - name: from
+ in: query
+ description: |
+ formal MIME encoding of a Syntactic Representation pattern used to filter components and operators that can consume specific representations
+ schema:
+ type: string
+ responses:
+ 200:
+ description: Success
+ content:
+ '*/*':
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/ValidationOperator'
+ /valid/validators/{operatorId}:
+ get:
+ tags:
+ - validate
+ summary: Get Validation operator.
+ description: |
+ Returns the description of a specific Validation Operator,
+ including the kind of operation it provides, the representations
+ (consumed and produced) and the accepted parameters
+ operationId: getValidationOperator
+ parameters:
+ - name: operatorId
+ in: path
+ description: |
+ The id of an Operator, implementing one of the operations
+ offered by a Component.
+ required: true
+ schema:
+ type: string
+ format: uuid
+ responses:
+ 200:
+ description: Success
+ content:
+ '*/*':
+ schema:
+ $ref: '#/components/schemas/ValidationOperator'
+ post:
+ tags:
+ - validate
+ summary: Applies a Validation operation.
+ description: |
+ Applies a known validation operation to a KnowledgeCarrier
+ operationId: applyNamedValidate
+ parameters:
+ - name: operatorId
+ in: path
+ description: |
+ The id of an Operator, implementing one of the operations
+ offered by a Component.
+ required: true
+ schema:
+ type: string
+ format: uuid
+ - name: X-params
+ in: header
+ description: |
+ Additional, operation-specific parameter
+ schema:
+ type: string
+ requestBody:
+ description: The Carrier of a Source Knowledge Artifact, which is generally
+ expected to provide information about the representation of the Artifact
+ itself
+ content:
+ '*/*':
+ schema:
+ $ref: '#/components/schemas/KnowledgeCarrier'
+ required: true
+ responses:
+ 200:
+ description: |
+ Success, if the validation succeeds
+ content: {}
+ x-codegen-request-body-name: sourceArtifact
+ /deser/components:
+ get:
+ tags:
+ - discovery
+ summary: List available Deserialization Components
+ description: |
+ Enumerates the Deserialization Components that are supported by this server
+ operationId: listDeserializationComponents
+ parameters:
+ - name: from
+ in: query
+ description: |
+ formal MIME encoding of a Syntactic Representation pattern used to filter components and operators that can consume specific representations
+ schema:
+ type: string
+ - name: into
+ in: query
+ description: |
+ formal MIME encoding of a Syntactic Representation pattern used to filter components and operators that can produce specific representations
+ schema:
+ type: string
+ - name: methodTag
+ in: query
+ description: |
+ Specifies the strategy by which a given operation is requested to be executed
+ schema:
+ type: string
+ responses:
+ 200:
+ description: Success
+ content:
+ '*/*':
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/Deserializer'
+ /deser/components/{componentId}:
+ get:
+ tags:
+ - discovery
+ summary: Get Deserialization Component
+ description: |
+ Returns the description of a specific Deserialization Components,
+ including the Operators it provides and the software library that
+ this component is an instance of.
+ operationId: getDeserializationComponent
+ parameters:
+ - name: componentId
+ in: path
+ description: |
+ The id of a Platform component that supports one or more operations.
+ required: true
+ schema:
+ type: string
+ format: uuid
+ responses:
+ 200:
+ description: Success
+ content:
+ '*/*':
+ schema:
+ $ref: '#/components/schemas/Deserializer'
+ /deser/lifter:
+ post:
+ tags:
+ - deserialize
+ summary: Parses a Knowledge Artifact
+ description: |
+ Decodes, deserializes and/or parses a Knowledge Artifact, ensuring that
+ the resulting artifact is at the desired level.
+
+ The optional extAccept parameter further constrains the extent and details of the parsing
+ when multiple lifting alternatives are possible.
+
+ If the input artifact is already at the desired level, the same artifact will be returned.
+ If the input artifact is at a higher level, the operation will fail
+ operationId: applyLift
+ parameters:
+ - name: levelTag
+ in: query
+ description: Additional information that describes the desired (acceptable)
+ resulting representation(s)
+ required: true
+ schema:
+ type: string
+ enum:
+ - Abstract_Knowledge_Expression
+ - Concrete_Knowledge_Expression
+ - Serialized_Knowledge_Expression
+ - Encoded_Knowledge_Expression
+ - name: X-Accept
+ in: header
+ description: |
+ A MIME Type that codifies the client's desired representation as the output of a syntactic operation
+ schema:
+ type: string
+ - name: X-params
+ in: header
+ description: |
+ Additional, operation-specific parameter
+ schema:
+ type: string
+ requestBody:
+ description: The Carrier of a Source Knowledge Artifact, which is generally
+ expected to provide information about the representation of the Artifact
+ itself
+ content:
+ '*/*':
+ schema:
+ $ref: '#/components/schemas/KnowledgeCarrier'
+ required: true
+ responses:
+ 200:
+ description: A Knowledge Artifact that is the deserialized version of the
+ source artifact.
+ content:
+ '*/*':
+ schema:
+ $ref: '#/components/schemas/KnowledgeCarrier'
+ x-codegen-request-body-name: sourceArtifact
+ /deser/lifters:
+ get:
+ tags:
+ - deserialize
+ summary: List available Lifting Operators
+ description: |
+ Enumerates the Lifting Operators that are supported by this server
+ operationId: listLiftOperators
+ parameters:
+ - name: from
+ in: query
+ description: |
+ formal MIME encoding of a Syntactic Representation pattern used to filter components and operators that can consume specific representations
+ schema:
+ type: string
+ - name: into
+ in: query
+ description: |
+ formal MIME encoding of a Syntactic Representation pattern used to filter components and operators that can produce specific representations
+ schema:
+ type: string
+ responses:
+ 200:
+ description: Success
+ content:
+ '*/*':
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/DeserializationOperator'
+ /deser/lifters/{operatorId}:
+ get:
+ tags:
+ - deserialize
+ summary: Get Lifting operator.
+ description: |
+ Returns the description of a specific Lift Operator,
+ including the kind of operation it provides, the representations
+ (consumed and produced) and the accepted parameters
+ operationId: getLiftOperator
+ parameters:
+ - name: operatorId
+ in: path
+ description: |
+ The id of an Operator, implementing one of the operations
+ offered by a Component.
+ required: true
+ schema:
+ type: string
+ format: uuid
+ responses:
+ 200:
+ description: Success
+ content:
+ '*/*':
+ schema:
+ $ref: '#/components/schemas/DeserializationOperator'
+ post:
+ tags:
+ - deserialize
+ summary: Parses a Knowledge Artifact
+ description: |
+ Decodes, deserializes and/or parses a Knowledge Artifact, ensuring that
+ the resulting artifact is at the desired level.
+
+ The optional extAccept parameter further constrains the extent and details of the parsing
+ when multiple lifting alternatives are possible.
+
+ If the input artifact is already at the desired level, the same artifact will be returned.
+ If the input artifact is at a higher level, the operation will fail
+ operationId: applyNamedLift
+ parameters:
+ - name: operatorId
+ in: path
+ description: |
+ The id of an Operator, implementing one of the operations
+ offered by a Component.
+ required: true
+ schema:
+ type: string
+ format: uuid
+ - name: levelTag
+ in: query
+ description: Additional information that describes the desired (acceptable)
+ resulting representation(s)
+ required: true
+ schema:
+ type: string
+ enum:
+ - Abstract_Knowledge_Expression
+ - Concrete_Knowledge_Expression
+ - Serialized_Knowledge_Expression
+ - Encoded_Knowledge_Expression
+ - name: X-Accept
+ in: header
+ description: |
+ A MIME Type that codifies the client's desired representation as the output of a syntactic operation
+ schema:
+ type: string
+ - name: X-params
+ in: header
+ description: |
+ Additional, operation-specific parameter
+ schema:
+ type: string
+ requestBody:
+ description: The Carrier of a Source Knowledge Artifact, which is generally
+ expected to provide information about the representation of the Artifact
+ itself
+ content:
+ '*/*':
+ schema:
+ $ref: '#/components/schemas/KnowledgeCarrier'
+ required: true
+ responses:
+ 200:
+ description: A Knowledge Artifact that is the deserialized version of the
+ source artifact.
+ content:
+ '*/*':
+ schema:
+ $ref: '#/components/schemas/KnowledgeCarrier'
+ x-codegen-request-body-name: sourceArtifact
+ /deser/lowerer:
+ post:
+ tags:
+ - deserialize
+ summary: Serializes a Knowledge Artifact
+ description: |
+ Serializes and/or encodes a Knowledge Artifact, ensuring that
+ the resulting artifact is at the desired level.
+
+ The optional extAccept parameter further constrains the extent and details of the serialization
+ when multiple lifting alternatives are possible.
+
+ If the input artifact is already at the desired level, the same artifact will be returned.
+ If the input artifact is at a lower level, the operation will fail
+ operationId: applyLower
+ parameters:
+ - name: levelTag
+ in: query
+ description: Additional information that describes the desired (acceptable)
+ resulting representation(s)
+ required: true
+ schema:
+ type: string
+ enum:
+ - Abstract_Knowledge_Expression
+ - Concrete_Knowledge_Expression
+ - Serialized_Knowledge_Expression
+ - Encoded_Knowledge_Expression
+ - name: X-Accept
+ in: header
+ description: |
+ A MIME Type that codifies the client's desired representation as the output of a syntactic operation
+ schema:
+ type: string
+ - name: X-params
+ in: header
+ description: |
+ Additional, operation-specific parameter
+ schema:
+ type: string
+ requestBody:
+ description: The Carrier of a Source Knowledge Artifact, which is generally
+ expected to provide information about the representation of the Artifact
+ itself
+ content:
+ '*/*':
+ schema:
+ $ref: '#/components/schemas/KnowledgeCarrier'
+ required: true
+ responses:
+ 200:
+ description: A Knowledge Artifact that is the serialized version of the
+ source artifact.
+ content:
+ '*/*':
+ schema:
+ $ref: '#/components/schemas/KnowledgeCarrier'
+ x-codegen-request-body-name: sourceArtifact
+ /deser/lowerers:
+ get:
+ tags:
+ - deserialize
+ summary: List available Lowering Operators
+ description: |
+ Enumerates the Lowering Operators that are supported by this server
+ operationId: listLowerOperators
+ parameters:
+ - name: from
+ in: query
+ description: |
+ formal MIME encoding of a Syntactic Representation pattern used to filter components and operators that can consume specific representations
+ schema:
+ type: string
+ - name: into
+ in: query
+ description: |
+ formal MIME encoding of a Syntactic Representation pattern used to filter components and operators that can produce specific representations
+ schema:
+ type: string
+ responses:
+ 200:
+ description: Success
+ content:
+ '*/*':
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/DeserializationOperator'
+ /deser/lowerers/{operatorId}:
+ get:
+ tags:
+ - deserialize
+ summary: Get Lowering operator.
+ description: |
+ Returns the description of a specific Lowering Operator,
+ including the kind of operation it provides, the representations
+ (consumed and produced) and the accepted parameters
+ operationId: getLowerOperator
+ parameters:
+ - name: operatorId
+ in: path
+ description: |
+ The id of an Operator, implementing one of the operations
+ offered by a Component.
+ required: true
+ schema:
+ type: string
+ format: uuid
+ responses:
+ 200:
+ description: Success
+ content:
+ '*/*':
+ schema:
+ $ref: '#/components/schemas/DeserializationOperator'
+ post:
+ tags:
+ - deserialize
+ summary: Parses a Knowledge Artifact
+ description: |
+ Serializes and/or encodes a Knowledge Artifact, ensuring that
+ the resulting artifact is at the desired level.
+
+ The optional extAccept parameter further constrains the extent and details of the serialization
+ when multiple lifting alternatives are possible.
+
+ If the input artifact is already at the desired level, the same artifact will be returned.
+ If the input artifact is at a lower level, the operation will fail
+ operationId: applyNamedLower
+ parameters:
+ - name: operatorId
+ in: path
+ description: |
+ The id of an Operator, implementing one of the operations
+ offered by a Component.
+ required: true
+ schema:
+ type: string
+ format: uuid
+ - name: levelTag
+ in: query
+ description: Additional information that describes the desired (acceptable)
+ resulting representation(s)
+ required: true
+ schema:
+ type: string
+ enum:
+ - Abstract_Knowledge_Expression
+ - Concrete_Knowledge_Expression
+ - Serialized_Knowledge_Expression
+ - Encoded_Knowledge_Expression
+ - name: X-Accept
+ in: header
+ description: |
+ A MIME Type that codifies the client's desired representation as the output of a syntactic operation
+ schema:
+ type: string
+ - name: X-params
+ in: header
+ description: |
+ Additional, operation-specific parameter
+ schema:
+ type: string
+ requestBody:
+ description: The Carrier of a Source Knowledge Artifact, which is generally
+ expected to provide information about the representation of the Artifact
+ itself
+ content:
+ '*/*':
+ schema:
+ $ref: '#/components/schemas/KnowledgeCarrier'
+ required: true
+ responses:
+ 200:
+ description: A Knowledge Artifact that is the deserialized version of the
+ source artifact.
+ content:
+ '*/*':
+ schema:
+ $ref: '#/components/schemas/KnowledgeCarrier'
+ x-codegen-request-body-name: sourceArtifact
+components:
+ schemas:
+ KnowledgeCarrier:
+ type: object
+ Transrepresentator:
+ type: object
+ description: A (descriptor of a) Knowledge Platform Component that supports
+ Transrepresentation Operators
+ TransrepresentationOperator:
+ type: object
+ description: A (descriptor of an) Operator that provides Transrepresentation
+ Operations
+ Detector:
+ type: object
+ description: A (descriptor of a) Knowledge Platform Component that supports
+ Detect Operators
+ DetectionOperator:
+ type: object
+ description: A (descriptor of an) Operator that provides Syntactic Detection
+ Operations
+ Validator:
+ type: object
+ description: A (descriptor of a) Knowledge Platform Component that supports
+ Validation Operators
+ ValidationOperator:
+ type: object
+ description: A (descriptor of an) Operator that provides Syntactic Validation
+ Operations
+ Deserializer:
+ type: object
+ description: A (descriptor of a) Knowledge Platform Component that supports
+ Deserialization Operators
+ DeserializationOperator:
+ type: object
+ description: A (descriptor of an) Operator that provides Deserialization Operations
+ parameters:
+ componentId:
+ name: componentId
+ in: path
+ description: |
+ The id of a Platform component that supports one or more operations.
+ required: true
+ schema:
+ type: string
+ format: uuid
+ operatorId:
+ name: operatorId
+ in: path
+ description: |
+ The id of an Operator, implementing one of the operations
+ offered by a Component.
+ required: true
+ schema:
+ type: string
+ format: uuid
+ extAccept:
+ name: X-Accept
+ in: header
+ description: |
+ A MIME Type that codifies the client's desired representation as the output of a syntactic operation
+ schema:
+ type: string
+ levelTag:
+ name: levelTag
+ in: query
+ description: Additional information that describes the desired (acceptable)
+ resulting representation(s)
+ required: true
+ schema:
+ type: string
+ enum:
+ - Abstract_Knowledge_Expression
+ - Concrete_Knowledge_Expression
+ - Serialized_Knowledge_Expression
+ - Encoded_Knowledge_Expression
+ from:
+ name: from
+ in: query
+ description: |
+ formal MIME encoding of a Syntactic Representation pattern used to filter components and operators that can consume specific representations
+ schema:
+ type: string
+ into:
+ name: into
+ in: query
+ description: |
+ formal MIME encoding of a Syntactic Representation pattern used to filter components and operators that can produce specific representations
+ schema:
+ type: string
+ methodTag:
+ name: methodTag
+ in: query
+ description: |
+ Specifies the strategy by which a given operation is requested to be executed
+ schema:
+ type: string
+ params:
+ name: X-params
+ in: header
+ description: |
+ Additional, operation-specific parameter
+ schema:
+ type: string
+ requestBodies:
+ sourceArtifact:
+ description: The Carrier of a Source Knowledge Artifact, which is generally
+ expected to provide information about the representation of the Artifact itself
+ content:
+ '*/*':
+ schema:
+ $ref: '#/components/schemas/KnowledgeCarrier'
+ required: true
diff --git a/openapi/v3/org/omg/spec/api4kp/5.0.0/knowledgeBaseConstruction.oas.yaml b/openapi/v3/org/omg/spec/api4kp/5.0.0/knowledgeBaseConstruction.oas.yaml
new file mode 100644
index 0000000..c3ec7f4
--- /dev/null
+++ b/openapi/v3/org/omg/spec/api4kp/5.0.0/knowledgeBaseConstruction.oas.yaml
@@ -0,0 +1,1990 @@
+openapi: 3.0.1
+info:
+ title: API4KP Knowledge Base Construction API
+ description: |2
+
+ The KnowledgeBae APIs enable the transition between Knowledge _at rest_, i.e. Knowledge in the form
+ of Artifacts stored in a repository and not yet assembled into a Knowledge Base, and Knowledge
+ _in motion_, i.e. Knowledge Bases deployed/paired with a runtime engine/reasoner/execution platform
+ that is able to perform computations using that Knowledge.
+
+ The Knowledge Base Construction and Composition APIs allow to compose one or more Knowledge Assets into
+ Knowledge Bases that are suitable for processing/reasoning.
+ The process, which is driven by metadata (surrogates), involves the retrieval, normalization,
+ and structuring of Knowledge Artifacts that manifest the components of the Knowledge Base itself.
+
+ ** Knowledge Base State **
+ The Knowledge Base Management API is inspired by the State monad. Knowledge Bases are incubated
+ within the server from their initialization, through their construction, until their deployment.
+ As operations are applied to manipulate the KB, new versions are constructed ensuring reproducibility and traceabiilty.
+ Implementations, however, are not required nor guaranteed to be transactional.
+
+ ** Composition vs Transcreation (Mutation) Operators **
+ Composition Operators allw to construct, incrementally, a Knowledge Base starting from known
+ named (carriers of) Knowledge Assets.
+ Transcreation operators allow to mutate Knowledge Artifacts, usually to create transient
+ ephemeral versions which are used to prepare the KnowledgeBase for deployment, but would
+ not otherwise be treated as Assets.
+ Nevertheless, many Transcreation operations could be useful independently.
+ For this reason, Transcreation operators are exposed in two different modalities:
+
+ (i) a detached mode, where the operator is addressed independently and
+ (i.a) the client is either responsible for providing the KnowledgeBase as an input, or
+ (i.b) the operator is responsible for resolving the IDs provided by the client to a known KnowledgeBase,
+ usually by means of delegation to a KnowledgeBase API implementation
+ (ii) a connected mode, where an operator is attached to, and exposed in the context of a (client-managed)
+ Knowledge Base. That is, the operator is bound to KnowledgeBase(s) at construction time, and is
+ then invoked through the KnowledgeBase
+
+ ** Service Boundaries **
+ Implementations of KnowledgeBase API are likely to depend on the API4KP Knowledge Trans*ion APIs,
+ to provide the necessary lifting/lowering capabilities involved in the processing of Components
+ and Structures thereof.
+ Implementations of Knowledge Base providers may depend on Knowledge Asset Repository implementations
+ for attached operators to resolve Assets required during the processing.
+ Implementations of this API are usually paired with API4KP Reasoning APIs, to provide a runtime
+ for the constructed KnowledgeBases
+
+ ** Maturity **
+ As of this version, this API is considered experimental
+ contact:
+ name: Davide Sottara
+ email: sottara.davide@mayo.edu
+ license:
+ name: Apache License, Version 2.0
+ url: https://www.apache.org/licenses/LICENSE-2.0.html
+ version: 5.0.0
+servers:
+ - url: /omg.org/spec/API4KP/20200801/api/knowledgebase/v5
+tags:
+ - name: Compositional
+ description: |
+ APIs for the manipulation of Composite Assets and Artifacts, including Knowledge Bases
+ - name: KnowledgeBase
+ description: |
+ APIs for the Management of KnowledgeBase State
+ - name: Transcreate
+ description: |
+ APIs that generate KnowledgeBase components via semantic manipulation
+paths:
+ /constructors:
+ post:
+ tags:
+ - Compositional
+ summary: Constructs a Composite Knowledge Asset
+ description: |
+ Creates a new Composite Knowledge Asset (with a new AssetID), which is manifested
+ by means of its 'structure'.
+ The client is responsible to provide a 'definition', expressed in some query language
+ (e.g. SPARQL), which should cover both extensional (i.e. enumerated) and intensional
+ (i.e. query proper) ways to select component assets and their relationships.
+ The server is expected to run that definition against a substrate, such as a Knowledge
+ Asset Repository.
+ The server will return a KnowledgeCarrier, wrapping the graph that results from the
+ application of the definition with minimal asset metadata (id, version) and information
+ on how the graph itself is represented.
+
+ The client can use the structure to assemble a Composite Asset Surrogate, or a Composite
+ Artifact, which in turn could be fed to an Introspector to infer an overall Surrogate
+ for the composite itself
+ operationId: constructCompositeAsset
+ parameters:
+ - name: X-params
+ in: header
+ description: |
+ Additional, operation-specific parameter
+ schema:
+ type: string
+ requestBody:
+ content:
+ '*/*':
+ schema:
+ $ref: '#/components/schemas/KnowledgeCarrier'
+ required: true
+ responses:
+ 200:
+ description: |
+ A knowledge carrier that wraps a Structuring Artifact
+ - a (manifestation of a) graph that describes how other Assets are
+ organized and related to each other in a Composite Asset
+ content:
+ '*/*':
+ schema:
+ $ref: '#/components/schemas/KnowledgeCarrier'
+ x-codegen-request-body-name: structDefinition
+ /constructors/assemblers:
+ post:
+ tags:
+ - Compositional
+ summary: Assembles a Composite Knowledge Artifact
+ description: |
+ Interprets a Structure, i.e. the Manifestation of a Structuring Knowledge Asset,
+ as the blueprint of a Composite Artifact, as the manifestation of a Composite Knowledge Asset.
+ The Structure must specify the identity, version, should specify the relationships,
+ and could specify the types and roles of the component Assets.
+ This information will be used to retrieve the proper manifestation (Surrogates and/or Carriers)
+ of the components, which will be combined and returned as a CompositeKnowledgeCarrier
+ operationId: assembleCompositeArtifact
+ parameters:
+ - name: X-params
+ in: header
+ description: |
+ Additional, operation-specific parameter
+ schema:
+ type: string
+ requestBody:
+ content:
+ '*/*':
+ schema:
+ $ref: '#/components/schemas/KnowledgeCarrier'
+ required: true
+ responses:
+ 200:
+ description: |
+ A (Composite) KnowledgeCarrier that wraps the Artifacts and/or Surrogates referenced by the input Struct
+ content:
+ '*/*':
+ schema:
+ $ref: '#/components/schemas/KnowledgeCarrier'
+ x-codegen-request-body-name: struct
+ /constructors/deconstructors:
+ post:
+ tags:
+ - Compositional
+ summary: Deconstructs a Knowledge Artifact into a Composite Knowledge Asset
+ (structure)
+ description: |
+ Analyzes a Complex, possibly Composite Knowledge Artifact, identifies its components,
+ and returns a Structure that describes those components, and possibly describes their
+ types and mutual relationships.
+ This operation is not expected to actually return the individual components
+ (see disassembleCompositeArtifact). In particular, this operation may be applicable
+ even when the actual disassembly is not feasible in practice.
+ operationId: deconstructCompositeAsset
+ parameters:
+ - name: X-params
+ in: header
+ description: |
+ Additional, operation-specific parameter
+ schema:
+ type: string
+ requestBody:
+ content:
+ '*/*':
+ schema:
+ $ref: '#/components/schemas/KnowledgeCarrier'
+ required: true
+ responses:
+ 200:
+ description: |
+ A struct that defines a Composite Knowledge Asset
+ content:
+ '*/*':
+ schema:
+ $ref: '#/components/schemas/KnowledgeCarrier'
+ x-codegen-request-body-name: artifact
+ /constructors/disassemblers:
+ post:
+ tags:
+ - Compositional
+ summary: Deconstructs a (Composite) Knowledge Artifact into its component Artifacts
+ description: |
+ Consumes a Composite Knowledge Carrier that wraps a flat Knowledge Artifact
+ and a Structure, and follows the Structure blueprint to disassemble the Composite
+ into its distinct Components, which are returned separately.
+
+ The two operations assembleCompositeArtifact and disassembleCompositeArtifact
+ should be mutually inverse for a given artifact.
+ operationId: disassembleCompositeArtifact
+ parameters:
+ - name: X-params
+ in: header
+ description: |
+ Additional, operation-specific parameter
+ schema:
+ type: string
+ requestBody:
+ content:
+ '*/*':
+ schema:
+ $ref: '#/components/schemas/KnowledgeCarrier'
+ required: true
+ responses:
+ 200:
+ description: |
+ A collection of wrapped, individual Knowledge Artifacts, which are the Components of the
+ input Composite
+ content:
+ '*/*':
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/KnowledgeCarrier'
+ x-codegen-request-body-name: artifact
+ /constructors/flatteners:
+ post:
+ tags:
+ - Compositional
+ summary: Flattens a (Composite) Knowledge Artifact
+ description: |
+ Constructs a single, flat KnowledgeArtifact from one or more source Artifacts.
+ When applied to an Atomic Artifact, returns that Artifact.
+ Composite Artifacts are flattened, using the semantics of the representation language.
+
+ The flattening may require to super-impose a topology different than the one supported
+ by a Composite. The strategy is left to the implementation, but the client is allowed
+ to provide a hint in the form of the identifier of a 'root' component, which could be used
+ to extract a tree from a graph, or to linearize a collection
+ operationId: flattenArtifact
+ parameters:
+ - name: rootAssetid
+ in: query
+ description: The id of a root Knowledge Asset in a tree-based composite.
+ schema:
+ type: string
+ format: uuid
+ - name: X-params
+ in: header
+ description: |
+ Additional, operation-specific parameter
+ schema:
+ type: string
+ requestBody:
+ content:
+ '*/*':
+ schema:
+ $ref: '#/components/schemas/KnowledgeCarrier'
+ required: true
+ responses:
+ 200:
+ description: |
+ An atomic, flat Knowledge Artifact
+ content:
+ '*/*':
+ schema:
+ $ref: '#/components/schemas/KnowledgeCarrier'
+ x-codegen-request-body-name: artifact
+ /knowledgebases:
+ post:
+ tags:
+ - KnowledgeBase
+ summary: Create empty Knowledge Base
+ description: |
+ Creates an empty knowledge base, returning a pointer to the new KB.
+ Version tags are used by the server to denote the states of the KB
+ at each construction stage.
+ Optionally, a client can provide an initial component. If so,
+ populateKnowledgeBase will be invoked using that component.
+ operationId: initKnowledgeBase
+ parameters:
+ - name: X-params
+ in: header
+ description: |
+ Additional, operation-specific parameter
+ schema:
+ type: string
+ requestBody:
+ content:
+ '*/*':
+ schema:
+ $ref: '#/components/schemas/KnowledgeCarrier'
+ required: false
+ responses:
+ 200:
+ description: A reference to a newly created knowledgebase
+ content:
+ '*/*':
+ schema:
+ $ref: '#/components/schemas/Pointer'
+ x-codegen-request-body-name: initialComponent
+ /knowledgebases/{kbaseId}:
+ get:
+ tags:
+ - KnowledgeBase
+ summary: Get a history of the Knowledge Base
+ description: |
+ Returns a trace of the history of a KB's construction process, by means of
+ pointers to each state.
+ operationId: getKnowledgeBaseSeries
+ parameters:
+ - name: kbaseId
+ in: path
+ description: TODO
+ required: true
+ schema:
+ type: string
+ format: uuid
+ - name: X-params
+ in: header
+ description: |
+ Additional, operation-specific parameter
+ schema:
+ type: string
+ responses:
+ 200:
+ description: The knowledgebase
+ content:
+ '*/*':
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/Pointer'
+ delete:
+ tags:
+ - KnowledgeBase
+ summary: Deletes Knowledge Base (history)
+ description: |
+ Removes all the states of a KnowledgeBase from the server
+ - usually after the client has obtained a desired snapshot.
+ Can be invoked for 'cleanup' purposes.
+ operationId: deleteKnowledgeBase
+ parameters:
+ - name: kbaseId
+ in: path
+ description: TODO
+ required: true
+ schema:
+ type: string
+ format: uuid
+ - name: X-params
+ in: header
+ description: |
+ Additional, operation-specific parameter
+ schema:
+ type: string
+ responses:
+ 200:
+ description: Success
+ content: {}
+ /knowledgebases/{kbaseId}/versions/{versionTag}:
+ get:
+ tags:
+ - KnowledgeBase
+ summary: Get a snapshot of a Knowledge Base
+ description: |
+ Returns the state of a KnowledgeBase, manifested as a (possibly composite)
+ Knowledge Artifact.
+ operationId: getKnowledgeBase
+ parameters:
+ - name: kbaseId
+ in: path
+ description: TODO
+ required: true
+ schema:
+ type: string
+ format: uuid
+ - name: versionTag
+ in: path
+ description: "The version tag of a Versioned Entity. \n Versioned Identifiers\
+ \ identify specific, Immutable Versions of Mutable Entities, which reflect\
+ \ the state of that Entity at a given point in time. Where a version(ed)\
+ \ identifier is universal, the Tag represents the local part of that identifier,\
+ \ under the scope of the identifier that denotes the Entity (series)."
+ required: true
+ schema:
+ type: string
+ - name: X-params
+ in: header
+ description: |
+ Additional, operation-specific parameter
+ schema:
+ type: string
+ responses:
+ 200:
+ description: The knowledgebase
+ content:
+ '*/*':
+ schema:
+ $ref: '#/components/schemas/KnowledgeBase'
+ post:
+ tags:
+ - KnowledgeBase
+ summary: Adds a component to a Knowledge Base
+ description: |
+ Supports the initial, and subsequent incremental, population of a KnowledgeBase
+ through the addition of components, one at a time.
+ The server will determine the exact operational nature of the incremental composition,
+ depending on the type of assets and languages involved.
+ operationId: populateKnowledgeBase
+ parameters:
+ - name: kbaseId
+ in: path
+ description: TODO
+ required: true
+ schema:
+ type: string
+ format: uuid
+ - name: versionTag
+ in: path
+ description: "The version tag of a Versioned Entity. \n Versioned Identifiers\
+ \ identify specific, Immutable Versions of Mutable Entities, which reflect\
+ \ the state of that Entity at a given point in time. Where a version(ed)\
+ \ identifier is universal, the Tag represents the local part of that identifier,\
+ \ under the scope of the identifier that denotes the Entity (series)."
+ required: true
+ schema:
+ type: string
+ - name: X-params
+ in: header
+ description: |
+ Additional, operation-specific parameter
+ schema:
+ type: string
+ requestBody:
+ content:
+ '*/*':
+ schema:
+ $ref: '#/components/schemas/KnowledgeCarrier'
+ required: true
+ responses:
+ 200:
+ description: The ID of the newly created knowledgebase
+ content:
+ '*/*':
+ schema:
+ $ref: '#/components/schemas/Pointer'
+ x-codegen-request-body-name: artifact
+ head:
+ tags:
+ - KnowledgeBase
+ summary: Determines if a Knowledge Base is present
+ operationId: hasKnowledgeBase
+ parameters:
+ - name: kbaseId
+ in: path
+ description: TODO
+ required: true
+ schema:
+ type: string
+ format: uuid
+ - name: versionTag
+ in: path
+ description: "The version tag of a Versioned Entity. \n Versioned Identifiers\
+ \ identify specific, Immutable Versions of Mutable Entities, which reflect\
+ \ the state of that Entity at a given point in time. Where a version(ed)\
+ \ identifier is universal, the Tag represents the local part of that identifier,\
+ \ under the scope of the identifier that denotes the Entity (series)."
+ required: true
+ schema:
+ type: string
+ - name: X-params
+ in: header
+ description: |
+ Additional, operation-specific parameter
+ schema:
+ type: string
+ responses:
+ 200:
+ description: The knowledgebase
+ content: {}
+ 404:
+ description: Not found
+ content: {}
+ /knowledgebases/{kbaseId}/versions:
+ post:
+ tags:
+ - KnowledgeBase
+ summary: Increments the version of a Knowledge Base
+ description: |
+ Clones a Knowledge Base, setting its version to the next,
+ according to a versioning strategy determined by the server
+ operationId: nextKnowledgeBaseVersion
+ parameters:
+ - name: kbaseId
+ in: path
+ description: TODO
+ required: true
+ schema:
+ type: string
+ format: uuid
+ - name: versionTag
+ in: query
+ schema:
+ type: string
+ - name: X-params
+ in: header
+ description: |
+ Additional, operation-specific parameter
+ schema:
+ type: string
+ responses:
+ 200:
+ description: The next version of the KnowledgeBase
+ content:
+ '*/*':
+ schema:
+ $ref: '#/components/schemas/KnowledgeBase'
+ /knowledgebases/{kbaseId}/versions/{versionTag}/struct:
+ get:
+ tags:
+ - KnowledgeBase
+ summary: Gets the Structure of a Knowledge Base
+ description: |
+ Given the id of a Knowledge Base,
+ returns a Structure that describes the internal relationships of the KB's components.
+ The Structure itself is a Knowledge Artifact, expressed in a suitable language
+ operationId: getKnowledgeBaseStructure
+ parameters:
+ - name: kbaseId
+ in: path
+ description: TODO
+ required: true
+ schema:
+ type: string
+ format: uuid
+ - name: versionTag
+ in: path
+ description: "The version tag of a Versioned Entity. \n Versioned Identifiers\
+ \ identify specific, Immutable Versions of Mutable Entities, which reflect\
+ \ the state of that Entity at a given point in time. Where a version(ed)\
+ \ identifier is universal, the Tag represents the local part of that identifier,\
+ \ under the scope of the identifier that denotes the Entity (series)."
+ required: true
+ schema:
+ type: string
+ - name: X-params
+ in: header
+ description: |
+ Additional, operation-specific parameter
+ schema:
+ type: string
+ responses:
+ 200:
+ description: |
+ A KnowledgeCarrier carrying the relationship graph
+ content:
+ '*/*':
+ schema:
+ $ref: '#/components/schemas/KnowledgeCarrier'
+ put:
+ tags:
+ - KnowledgeBase
+ summary: Sets the Structure of a Knowledge Base
+ description: |
+ Imposes a Structure onto a KnowledgeBase.
+ Any existing Structure, if present, will be replaced.
+ The new Structure should be consistent with the KnowledgeBase: the Structure should
+ reference Components that are or are not prohibited from becoming part of the KnowledgeBase.
+ Likewise, the relationships imposed by the should be acceptable and consistent.
+ operationId: setKnowledgeBaseStructure
+ parameters:
+ - name: kbaseId
+ in: path
+ description: TODO
+ required: true
+ schema:
+ type: string
+ format: uuid
+ - name: versionTag
+ in: path
+ description: "The version tag of a Versioned Entity. \n Versioned Identifiers\
+ \ identify specific, Immutable Versions of Mutable Entities, which reflect\
+ \ the state of that Entity at a given point in time. Where a version(ed)\
+ \ identifier is universal, the Tag represents the local part of that identifier,\
+ \ under the scope of the identifier that denotes the Entity (series)."
+ required: true
+ schema:
+ type: string
+ - name: X-params
+ in: header
+ description: |
+ Additional, operation-specific parameter
+ schema:
+ type: string
+ requestBody:
+ content:
+ '*/*':
+ schema:
+ $ref: '#/components/schemas/KnowledgeCarrier'
+ required: true
+ responses:
+ 200:
+ description: |
+ A Pointer to the updated KnowledgeBase. The Pointer must resolve to a KB
+ that manifests in the form of a CompositeKnowledgeCarrier whose Structuring Component
+ is the Structure provided as an input to this operation.
+ content:
+ '*/*':
+ schema:
+ $ref: '#/components/schemas/Pointer'
+ 406:
+ description: |
+ The Structure is expressed in a language/form that cannot be interpreted.
+ content: {}
+ 409:
+ description: |
+ The Structure is incompatible/inconsistent with the KnowledgeBase Components.
+ content: {}
+ x-codegen-request-body-name: struct
+ /knowledgebases/{kbaseId}/versions/{versionTag}/struct/components:
+ get:
+ tags:
+ - KnowledgeBase
+ summary: Gets the Components of a Knowledge Base
+ description: |
+ Returns a list of Pointers to the individual Components of a Knowledge Base,
+ providing direct access
+ operationId: getKnowledgeBaseComponents
+ parameters:
+ - name: kbaseId
+ in: path
+ description: TODO
+ required: true
+ schema:
+ type: string
+ format: uuid
+ - name: versionTag
+ in: path
+ description: "The version tag of a Versioned Entity. \n Versioned Identifiers\
+ \ identify specific, Immutable Versions of Mutable Entities, which reflect\
+ \ the state of that Entity at a given point in time. Where a version(ed)\
+ \ identifier is universal, the Tag represents the local part of that identifier,\
+ \ under the scope of the identifier that denotes the Entity (series)."
+ required: true
+ schema:
+ type: string
+ - name: X-params
+ in: header
+ description: |
+ Additional, operation-specific parameter
+ schema:
+ type: string
+ responses:
+ 200:
+ description: |
+ The list of pointers to the KB components
+ content:
+ '*/*':
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/Pointer'
+ /knowledgebases/{kbaseId}/versions/{versionTag}/carrier:
+ get:
+ tags:
+ - KnowledgeBase
+ summary: Gets (a Carrier of) a Manifestation of a Knowledge Base
+ description: |
+ Given a Knowledge Base (or a root asset that is interpreted as the 'seed' of a KB),
+ returns a manifestation of the KnowledgeBase, in the form of a (Composite) Knowledge Carrier
+ operationId: getKnowledgeBaseManifestation
+ parameters:
+ - name: kbaseId
+ in: path
+ description: TODO
+ required: true
+ schema:
+ type: string
+ format: uuid
+ - name: versionTag
+ in: path
+ description: "The version tag of a Versioned Entity. \n Versioned Identifiers\
+ \ identify specific, Immutable Versions of Mutable Entities, which reflect\
+ \ the state of that Entity at a given point in time. Where a version(ed)\
+ \ identifier is universal, the Tag represents the local part of that identifier,\
+ \ under the scope of the identifier that denotes the Entity (series)."
+ required: true
+ schema:
+ type: string
+ - name: X-params
+ in: header
+ description: |
+ Additional, operation-specific parameter
+ schema:
+ type: string
+ responses:
+ 200:
+ description: |
+ A (Composite) KnowledgeCarrier carrying a Manifestation of the KnowledgeBase
+ content:
+ '*/*':
+ schema:
+ $ref: '#/components/schemas/KnowledgeCarrier'
+ /knowledgebases/{kbaseId}/versions/{versionTag}/transcreators/binders:
+ post:
+ tags:
+ - KnowledgeBase
+ summary: Bind values to a formula with open variables
+ description: |
+ Returns a new version of a KnowledgeBase, which results from the assignment
+ of the client-provided values to the corresponding variable fragments in the Artifacts
+ that are included in the target KnowledgeBase
+ operationId: bind
+ parameters:
+ - name: kbaseId
+ in: path
+ description: TODO
+ required: true
+ schema:
+ type: string
+ format: uuid
+ - name: versionTag
+ in: path
+ description: "The version tag of a Versioned Entity. \n Versioned Identifiers\
+ \ identify specific, Immutable Versions of Mutable Entities, which reflect\
+ \ the state of that Entity at a given point in time. Where a version(ed)\
+ \ identifier is universal, the Tag represents the local part of that identifier,\
+ \ under the scope of the identifier that denotes the Entity (series)."
+ required: true
+ schema:
+ type: string
+ - name: X-params
+ in: header
+ description: |
+ Additional, operation-specific parameter
+ schema:
+ type: string
+ requestBody:
+ content:
+ '*/*':
+ schema:
+ $ref: '#/components/schemas/Bindings'
+ required: true
+ responses:
+ 200:
+ description: |
+ (A pointer to) the resulting KnowledgeBase
+ content:
+ '*/*':
+ schema:
+ $ref: '#/components/schemas/Pointer'
+ x-codegen-request-body-name: bindings
+ /knowledgebases/{kbaseId}/versions/{versionTag}/transcreators/binders/{operatorId}:
+ post:
+ tags:
+ - KnowledgeBase
+ summary: Bind values to a formula with open variables
+ description: |
+ Requests that a bind operation is performed using a specific operator
+ operationId: namedBind
+ parameters:
+ - name: kbaseId
+ in: path
+ description: TODO
+ required: true
+ schema:
+ type: string
+ format: uuid
+ - name: versionTag
+ in: path
+ description: "The version tag of a Versioned Entity. \n Versioned Identifiers\
+ \ identify specific, Immutable Versions of Mutable Entities, which reflect\
+ \ the state of that Entity at a given point in time. Where a version(ed)\
+ \ identifier is universal, the Tag represents the local part of that identifier,\
+ \ under the scope of the identifier that denotes the Entity (series)."
+ required: true
+ schema:
+ type: string
+ - name: operatorId
+ in: path
+ description: |
+ The id of an Operator, implementing one of the operations
+ offered by a Component.
+ required: true
+ schema:
+ type: string
+ format: uuid
+ - name: X-params
+ in: header
+ description: |
+ Additional, operation-specific parameter
+ schema:
+ type: string
+ requestBody:
+ content:
+ '*/*':
+ schema:
+ $ref: '#/components/schemas/Bindings'
+ required: true
+ responses:
+ 200:
+ description: |
+ (A pointer to) the resulting KnowledgeBase
+ content:
+ '*/*':
+ schema:
+ $ref: '#/components/schemas/Pointer'
+ x-codegen-request-body-name: bindings
+ /knowledgebases/{kbaseId}/versions/{versionTag}/transcreators/weavers:
+ post:
+ tags:
+ - KnowledgeBase
+ summary: Weave (fragments of) an artifact into a KB
+ description: |
+ Applies a Weaving operator, such that fragments of a given 'aspects' Artifact
+ are extracted and bound to a target Knowledge Base.
+ operationId: weave
+ parameters:
+ - name: kbaseId
+ in: path
+ description: TODO
+ required: true
+ schema:
+ type: string
+ format: uuid
+ - name: versionTag
+ in: path
+ description: "The version tag of a Versioned Entity. \n Versioned Identifiers\
+ \ identify specific, Immutable Versions of Mutable Entities, which reflect\
+ \ the state of that Entity at a given point in time. Where a version(ed)\
+ \ identifier is universal, the Tag represents the local part of that identifier,\
+ \ under the scope of the identifier that denotes the Entity (series)."
+ required: true
+ schema:
+ type: string
+ - name: X-params
+ in: header
+ description: |
+ Additional, operation-specific parameter
+ schema:
+ type: string
+ requestBody:
+ content:
+ '*/*':
+ schema:
+ $ref: '#/components/schemas/KnowledgeCarrier'
+ required: true
+ responses:
+ 200:
+ description: |
+ (A pointer to) the resulting KnowledgeBase
+ content:
+ '*/*':
+ schema:
+ $ref: '#/components/schemas/Pointer'
+ x-codegen-request-body-name: aspects
+ /knowledgebases/{kbaseId}/versions/{versionTag}/transcreators/weavers/{operatorId}:
+ post:
+ tags:
+ - KnowledgeBase
+ summary: Weave (fragments of) an artifact into a KB
+ description: |
+ Requests that a weave operation is performed using a specific operator
+ operationId: namedWeave
+ parameters:
+ - name: kbaseId
+ in: path
+ description: TODO
+ required: true
+ schema:
+ type: string
+ format: uuid
+ - name: versionTag
+ in: path
+ description: "The version tag of a Versioned Entity. \n Versioned Identifiers\
+ \ identify specific, Immutable Versions of Mutable Entities, which reflect\
+ \ the state of that Entity at a given point in time. Where a version(ed)\
+ \ identifier is universal, the Tag represents the local part of that identifier,\
+ \ under the scope of the identifier that denotes the Entity (series)."
+ required: true
+ schema:
+ type: string
+ - name: operatorId
+ in: path
+ description: |
+ The id of an Operator, implementing one of the operations
+ offered by a Component.
+ required: true
+ schema:
+ type: string
+ format: uuid
+ - name: X-params
+ in: header
+ description: |
+ Additional, operation-specific parameter
+ schema:
+ type: string
+ requestBody:
+ content:
+ '*/*':
+ schema:
+ $ref: '#/components/schemas/KnowledgeCarrier'
+ required: true
+ responses:
+ 200:
+ description: |
+ A pointer to the resulting KnowledgeBase
+ content:
+ '*/*':
+ schema:
+ $ref: '#/components/schemas/Pointer'
+ x-codegen-request-body-name: aspects
+ /knowledgebases/{kbaseId}/versions/{versionTag}/transcreators/selectors/{operatorId}:
+ post:
+ tags:
+ - KnowledgeBase
+ summary: Projects a KnowledgeBase into a proper subset
+ description: |
+ Requests that a select operation is performed using a specific operator
+ operationId: namedSelect
+ parameters:
+ - name: kbaseId
+ in: path
+ description: TODO
+ required: true
+ schema:
+ type: string
+ format: uuid
+ - name: versionTag
+ in: path
+ description: "The version tag of a Versioned Entity. \n Versioned Identifiers\
+ \ identify specific, Immutable Versions of Mutable Entities, which reflect\
+ \ the state of that Entity at a given point in time. Where a version(ed)\
+ \ identifier is universal, the Tag represents the local part of that identifier,\
+ \ under the scope of the identifier that denotes the Entity (series)."
+ required: true
+ schema:
+ type: string
+ - name: operatorId
+ in: path
+ description: |
+ The id of an Operator, implementing one of the operations
+ offered by a Component.
+ required: true
+ schema:
+ type: string
+ format: uuid
+ - name: X-params
+ in: header
+ description: |
+ Additional, operation-specific parameter
+ schema:
+ type: string
+ requestBody:
+ content:
+ '*/*':
+ schema:
+ $ref: '#/components/schemas/KnowledgeCarrier'
+ required: true
+ responses:
+ 200:
+ description: |
+ (A pointer to) the resulting KnowledgeBase
+ content:
+ '*/*':
+ schema:
+ $ref: '#/components/schemas/Pointer'
+ x-codegen-request-body-name: selectDefinition
+ /knowledgebases/{kbaseId}/versions/{versionTag}/transcreators/selectors:
+ post:
+ tags:
+ - KnowledgeBase
+ summary: Projects a KnowledgeBase into a proper subset, using a specific operator
+ description: |
+ Applies a selection operator, which produces a new Knowledge Base
+ applying a 'selection' query to an existing KB.
+ More specifically, a selection query is a query that extracts existing fragments
+ without interpretation nor inference.
+ operationId: select
+ parameters:
+ - name: kbaseId
+ in: path
+ description: TODO
+ required: true
+ schema:
+ type: string
+ format: uuid
+ - name: versionTag
+ in: path
+ description: "The version tag of a Versioned Entity. \n Versioned Identifiers\
+ \ identify specific, Immutable Versions of Mutable Entities, which reflect\
+ \ the state of that Entity at a given point in time. Where a version(ed)\
+ \ identifier is universal, the Tag represents the local part of that identifier,\
+ \ under the scope of the identifier that denotes the Entity (series)."
+ required: true
+ schema:
+ type: string
+ - name: X-params
+ in: header
+ description: |
+ Additional, operation-specific parameter
+ schema:
+ type: string
+ requestBody:
+ content:
+ '*/*':
+ schema:
+ $ref: '#/components/schemas/KnowledgeCarrier'
+ required: true
+ responses:
+ 200:
+ description: |
+ (A pointer to) the resulting KnowledgeBase
+ content:
+ '*/*':
+ schema:
+ $ref: '#/components/schemas/Pointer'
+ x-codegen-request-body-name: selectDefinition
+ /knowledgebases/{kbaseId}/versions/{versionTag}/transcreators/extractors/{operatorId}:
+ post:
+ tags:
+ - KnowledgeBase
+ summary: Reshapes a KB to a given subset
+ description: |
+ Applies an extraction operator, which identifies specific concepts in a KnowledgeBase
+ and extracts a focused representation of those concepts
+ operationId: namedExtract
+ parameters:
+ - name: kbaseId
+ in: path
+ description: TODO
+ required: true
+ schema:
+ type: string
+ format: uuid
+ - name: versionTag
+ in: path
+ description: "The version tag of a Versioned Entity. \n Versioned Identifiers\
+ \ identify specific, Immutable Versions of Mutable Entities, which reflect\
+ \ the state of that Entity at a given point in time. Where a version(ed)\
+ \ identifier is universal, the Tag represents the local part of that identifier,\
+ \ under the scope of the identifier that denotes the Entity (series)."
+ required: true
+ schema:
+ type: string
+ - name: rootAssetid
+ in: query
+ description: The id of a root Knowledge Asset in a tree-based composite.
+ schema:
+ type: string
+ format: uuid
+ - name: operatorId
+ in: path
+ description: |
+ The id of an Operator, implementing one of the operations
+ offered by a Component.
+ required: true
+ schema:
+ type: string
+ format: uuid
+ - name: X-params
+ in: header
+ description: |
+ Additional, operation-specific parameter
+ schema:
+ type: string
+ responses:
+ 200:
+ description: |
+ (A pointer to) the resulting KnowledgeBase
+ content:
+ '*/*':
+ schema:
+ $ref: '#/components/schemas/Pointer'
+ /knowledgebases/{kbaseId}/versions/{versionTag}/transcreators/extractors:
+ post:
+ tags:
+ - KnowledgeBase
+ summary: Reshapes a KB to a given subset
+ description: |
+ Reshapes a KnowledgeBase, deriving a different Structure from the
+ existing Structure and/or Components
+ operationId: extract
+ parameters:
+ - name: kbaseId
+ in: path
+ description: TODO
+ required: true
+ schema:
+ type: string
+ format: uuid
+ - name: versionTag
+ in: path
+ description: "The version tag of a Versioned Entity. \n Versioned Identifiers\
+ \ identify specific, Immutable Versions of Mutable Entities, which reflect\
+ \ the state of that Entity at a given point in time. Where a version(ed)\
+ \ identifier is universal, the Tag represents the local part of that identifier,\
+ \ under the scope of the identifier that denotes the Entity (series)."
+ required: true
+ schema:
+ type: string
+ - name: rootAssetid
+ in: query
+ description: The id of a root Knowledge Asset in a tree-based composite.
+ schema:
+ type: string
+ format: uuid
+ - name: X-params
+ in: header
+ description: |
+ Additional, operation-specific parameter
+ schema:
+ type: string
+ responses:
+ 200:
+ description: |
+ (A pointer to) the resulting KnowledgeBase
+ content:
+ '*/*':
+ schema:
+ $ref: '#/components/schemas/Pointer'
+ /knowledgebases/{kbaseId}/versions/{versionTag}/transcreators/flatteners/{operatorId}:
+ post:
+ tags:
+ - KnowledgeBase
+ summary: Flattens a Knowledge Base using a component as a root
+ description: |
+ Requests that a flatten operation is performed using a specific operator
+ operationId: namedFlatten
+ parameters:
+ - name: kbaseId
+ in: path
+ description: TODO
+ required: true
+ schema:
+ type: string
+ format: uuid
+ - name: versionTag
+ in: path
+ description: "The version tag of a Versioned Entity. \n Versioned Identifiers\
+ \ identify specific, Immutable Versions of Mutable Entities, which reflect\
+ \ the state of that Entity at a given point in time. Where a version(ed)\
+ \ identifier is universal, the Tag represents the local part of that identifier,\
+ \ under the scope of the identifier that denotes the Entity (series)."
+ required: true
+ schema:
+ type: string
+ - name: operatorId
+ in: path
+ description: |
+ The id of an Operator, implementing one of the operations
+ offered by a Component.
+ required: true
+ schema:
+ type: string
+ format: uuid
+ - name: X-params
+ in: header
+ description: |
+ Additional, operation-specific parameter
+ schema:
+ type: string
+ responses:
+ 200:
+ description: The flat KnowledgeBase
+ content:
+ '*/*':
+ schema:
+ $ref: '#/components/schemas/Pointer'
+ /knowledgebases/{kbaseId}/versions/{versionTag}/transcreators/flatteners:
+ post:
+ tags:
+ - KnowledgeBase
+ summary: Flattens a Knowledge Base using a component as a root
+ operationId: flatten
+ parameters:
+ - name: kbaseId
+ in: path
+ description: TODO
+ required: true
+ schema:
+ type: string
+ format: uuid
+ - name: versionTag
+ in: path
+ description: "The version tag of a Versioned Entity. \n Versioned Identifiers\
+ \ identify specific, Immutable Versions of Mutable Entities, which reflect\
+ \ the state of that Entity at a given point in time. Where a version(ed)\
+ \ identifier is universal, the Tag represents the local part of that identifier,\
+ \ under the scope of the identifier that denotes the Entity (series)."
+ required: true
+ schema:
+ type: string
+ - name: X-params
+ in: header
+ description: |
+ Additional, operation-specific parameter
+ schema:
+ type: string
+ responses:
+ 200:
+ description: |
+ (A pointer to) the resulting KnowledgeBase
+ content:
+ '*/*':
+ schema:
+ $ref: '#/components/schemas/Pointer'
+ /knowledgebases/{kbaseId}/versions/{versionTag}/transcreators/introspectors/{operatorId}:
+ post:
+ tags:
+ - KnowledgeBase
+ summary: Derives a metadata surrogate for (the root of) a given knowledgebase
+ description: |
+ Requests that a introspect operation is performed using a specific operator
+ operationId: namedIntrospect
+ parameters:
+ - name: kbaseId
+ in: path
+ description: TODO
+ required: true
+ schema:
+ type: string
+ format: uuid
+ - name: versionTag
+ in: path
+ description: "The version tag of a Versioned Entity. \n Versioned Identifiers\
+ \ identify specific, Immutable Versions of Mutable Entities, which reflect\
+ \ the state of that Entity at a given point in time. Where a version(ed)\
+ \ identifier is universal, the Tag represents the local part of that identifier,\
+ \ under the scope of the identifier that denotes the Entity (series)."
+ required: true
+ schema:
+ type: string
+ - name: operatorId
+ in: path
+ description: |
+ The id of an Operator, implementing one of the operations
+ offered by a Component.
+ required: true
+ schema:
+ type: string
+ format: uuid
+ - name: X-params
+ in: header
+ description: |
+ Additional, operation-specific parameter
+ schema:
+ type: string
+ responses:
+ 200:
+ description: |
+ The Surrogate Component
+ content:
+ '*/*':
+ schema:
+ $ref: '#/components/schemas/Pointer'
+ /knowledgebases/{kbaseId}/versions/{versionTag}/transcreators/introspectors:
+ post:
+ tags:
+ - KnowledgeBase
+ summary: Derives a metadata surrogate for (the root of) a given knowledgebase
+ description: |
+ Applies introspection operator, which derives a Knowledge Asset Surrogate,
+ usually from an Artifact that carries that Asset, and/or related Artifacts,
+ and/or other Artifacts that provide context
+ operationId: introspect
+ parameters:
+ - name: kbaseId
+ in: path
+ description: TODO
+ required: true
+ schema:
+ type: string
+ format: uuid
+ - name: versionTag
+ in: path
+ description: "The version tag of a Versioned Entity. \n Versioned Identifiers\
+ \ identify specific, Immutable Versions of Mutable Entities, which reflect\
+ \ the state of that Entity at a given point in time. Where a version(ed)\
+ \ identifier is universal, the Tag represents the local part of that identifier,\
+ \ under the scope of the identifier that denotes the Entity (series)."
+ required: true
+ schema:
+ type: string
+ - name: X-params
+ in: header
+ description: |
+ Additional, operation-specific parameter
+ schema:
+ type: string
+ responses:
+ 200:
+ description: |
+ (A pointer to) the resulting KnowledgeBase, which contains the inferred Surrogate
+ content:
+ '*/*':
+ schema:
+ $ref: '#/components/schemas/Pointer'
+ /knowledgebases/{kbaseId}/versions/{versionTag}/transcreators/transformers/{operatorId}:
+ post:
+ tags:
+ - KnowledgeBase
+ summary: Transforms the content of a KnowledgeBase (syntactically and/or semantically)
+ description: |
+ Requests that a transcreation operation is performed using a specific operator
+ operationId: namedTransform
+ parameters:
+ - name: kbaseId
+ in: path
+ description: TODO
+ required: true
+ schema:
+ type: string
+ format: uuid
+ - name: versionTag
+ in: path
+ description: "The version tag of a Versioned Entity. \n Versioned Identifiers\
+ \ identify specific, Immutable Versions of Mutable Entities, which reflect\
+ \ the state of that Entity at a given point in time. Where a version(ed)\
+ \ identifier is universal, the Tag represents the local part of that identifier,\
+ \ under the scope of the identifier that denotes the Entity (series)."
+ required: true
+ schema:
+ type: string
+ - name: operatorId
+ in: path
+ description: |
+ The id of an Operator, implementing one of the operations
+ offered by a Component.
+ required: true
+ schema:
+ type: string
+ format: uuid
+ - name: X-params
+ in: header
+ description: |
+ Additional, operation-specific parameter
+ schema:
+ type: string
+ responses:
+ 200:
+ description: |
+ (A pointer to) the resulting KnowledgeBase
+ content:
+ '*/*':
+ schema:
+ $ref: '#/components/schemas/Pointer'
+ /knowledgebases/{kbaseId}/versions/{versionTag}/transcreators/transformers:
+ post:
+ tags:
+ - KnowledgeBase
+ summary: Transforms the content of a KnowledgeBase (syntactically and/or semantically)
+ description: |
+ Applies a transcreation operator, which produces a new derivative Artifact, that
+ is the Carrier of a new, derivative Asset.
+ operationId: transform
+ parameters:
+ - name: kbaseId
+ in: path
+ description: TODO
+ required: true
+ schema:
+ type: string
+ format: uuid
+ - name: versionTag
+ in: path
+ description: "The version tag of a Versioned Entity. \n Versioned Identifiers\
+ \ identify specific, Immutable Versions of Mutable Entities, which reflect\
+ \ the state of that Entity at a given point in time. Where a version(ed)\
+ \ identifier is universal, the Tag represents the local part of that identifier,\
+ \ under the scope of the identifier that denotes the Entity (series)."
+ required: true
+ schema:
+ type: string
+ - name: X-params
+ in: header
+ description: |
+ Additional, operation-specific parameter
+ schema:
+ type: string
+ responses:
+ 200:
+ description: |
+ (A pointer to) the resulting KnowledgeBase
+ content:
+ '*/*':
+ schema:
+ $ref: '#/components/schemas/Pointer'
+ /transcreators/binders/{operatorId}/kbases:
+ post:
+ tags:
+ - Transcreate
+ summary: Bind values to a formula with open variables
+ description: |
+ Applies a (detached) binding operator
+ operationId: applyNamedBind
+ parameters:
+ - name: kbaseId
+ in: query
+ description: TODO
+ schema:
+ type: string
+ format: uuid
+ - name: versionTag
+ in: query
+ schema:
+ type: string
+ - name: operatorId
+ in: path
+ description: |
+ The id of an Operator, implementing one of the operations
+ offered by a Component.
+ required: true
+ schema:
+ type: string
+ format: uuid
+ - name: X-params
+ in: header
+ description: |
+ Additional, operation-specific parameter
+ schema:
+ type: string
+ requestBody:
+ content:
+ '*/*':
+ schema:
+ $ref: '#/components/schemas/Bindings'
+ required: true
+ responses:
+ 200:
+ description: The Artifact carrying the bound expression
+ content:
+ '*/*':
+ schema:
+ $ref: '#/components/schemas/KnowledgeCarrier'
+ x-codegen-request-body-name: bindings
+ /transcreators/binders/{operatorId}:
+ post:
+ tags:
+ - Transcreate
+ summary: Bind values to a formula with open variables
+ description: |
+ Applies a specific (detached) binding operator
+ operationId: applyNamedBindDirect
+ parameters:
+ - name: operatorId
+ in: path
+ description: |
+ The id of an Operator, implementing one of the operations
+ offered by a Component.
+ required: true
+ schema:
+ type: string
+ format: uuid
+ requestBody:
+ content:
+ '*/*':
+ schema:
+ $ref: '#/components/schemas/KnowledgeCarrier'
+ required: true
+ responses:
+ 200:
+ description: |
+ The Artifact carrying the bound expression
+ content:
+ '*/*':
+ schema:
+ $ref: '#/components/schemas/KnowledgeCarrier'
+ x-codegen-request-body-name: artifact
+ /transcreators/weavers/{operatorId}/kbases:
+ post:
+ tags:
+ - Transcreate
+ summary: Weave (fragments of) and artifact into a KB
+ description: |
+ Applies a (detached) weaving operator
+ operationId: applyNamedWeave
+ parameters:
+ - name: kbaseId
+ in: query
+ description: TODO
+ schema:
+ type: string
+ format: uuid
+ - name: versionTag
+ in: query
+ schema:
+ type: string
+ - name: operatorId
+ in: path
+ description: |
+ The id of an Operator, implementing one of the operations
+ offered by a Component.
+ required: true
+ schema:
+ type: string
+ format: uuid
+ - name: X-params
+ in: header
+ description: |
+ Additional, operation-specific parameter
+ schema:
+ type: string
+ requestBody:
+ content:
+ '*/*':
+ schema:
+ $ref: '#/components/schemas/KnowledgeCarrier'
+ required: true
+ responses:
+ 200:
+ description: |
+ The Artifact carrying the woven expression
+ content:
+ '*/*':
+ schema:
+ $ref: '#/components/schemas/KnowledgeCarrier'
+ x-codegen-request-body-name: aspects
+ /transcreators/weavers/{operatorId}:
+ post:
+ tags:
+ - Transcreate
+ summary: Weave (fragments of) and artifact into a KB
+ description: |
+ Applies a specific (detached) weaving operator
+ operationId: applyNamedWeaveDirect
+ parameters:
+ - name: operatorId
+ in: path
+ description: |
+ The id of an Operator, implementing one of the operations
+ offered by a Component.
+ required: true
+ schema:
+ type: string
+ format: uuid
+ - name: X-params
+ in: header
+ description: |
+ Additional, operation-specific parameter
+ schema:
+ type: string
+ requestBody:
+ content:
+ '*/*':
+ schema:
+ $ref: '#/components/schemas/KnowledgeCarrier'
+ required: true
+ responses:
+ 200:
+ description: |
+ The Artifact carrying the woven expression
+ content:
+ '*/*':
+ schema:
+ $ref: '#/components/schemas/KnowledgeCarrier'
+ x-codegen-request-body-name: artifact
+ /transcreators/selectors/{operatorId}/kbases:
+ post:
+ tags:
+ - Transcreate
+ summary: Projects a KnowledgeBase into a proper subset of content
+ description: |
+ Applies a (detached) selection operator
+ operationId: applyNamedSelect
+ parameters:
+ - name: kbaseId
+ in: query
+ description: TODO
+ schema:
+ type: string
+ format: uuid
+ - name: versionTag
+ in: query
+ schema:
+ type: string
+ - name: operatorId
+ in: path
+ description: |
+ The id of an Operator, implementing one of the operations
+ offered by a Component.
+ required: true
+ schema:
+ type: string
+ format: uuid
+ - name: X-params
+ in: header
+ description: |
+ Additional, operation-specific parameter
+ schema:
+ type: string
+ requestBody:
+ content:
+ '*/*':
+ schema:
+ $ref: '#/components/schemas/KnowledgeCarrier'
+ required: true
+ responses:
+ 200:
+ description: |
+ The Artifact carrying the expression resulting from the selection
+ content:
+ '*/*':
+ schema:
+ $ref: '#/components/schemas/KnowledgeCarrier'
+ x-codegen-request-body-name: Definition
+ /transcreators/selectors/{operatorId}:
+ post:
+ tags:
+ - Transcreate
+ summary: Projects a KnowledgeBase into a proper subset of content
+ description: |
+ Applies a specific, (detached) selection operator
+ operationId: applyNamedSelectDirect
+ parameters:
+ - name: operatorId
+ in: path
+ description: |
+ The id of an Operator, implementing one of the operations
+ offered by a Component.
+ required: true
+ schema:
+ type: string
+ format: uuid
+ - name: X-params
+ in: header
+ description: |
+ Additional, operation-specific parameter
+ schema:
+ type: string
+ requestBody:
+ content:
+ '*/*':
+ schema:
+ $ref: '#/components/schemas/KnowledgeCarrier'
+ required: true
+ responses:
+ 200:
+ description: |
+ The Artifact carrying the expression resulting from the selection
+ content:
+ '*/*':
+ schema:
+ $ref: '#/components/schemas/KnowledgeCarrier'
+ x-codegen-request-body-name: artifact
+ /transcreators/extractors/{operatorId}/kbases:
+ post:
+ tags:
+ - Transcreate
+ summary: Projects a KnowledgeBase into a proper subset of components
+ description: |
+ Applies a (detached) extraction operator
+ operationId: applyNamedExtract
+ parameters:
+ - name: kbaseId
+ in: query
+ description: TODO
+ schema:
+ type: string
+ format: uuid
+ - name: versionTag
+ in: query
+ schema:
+ type: string
+ - name: operatorId
+ in: path
+ description: |
+ The id of an Operator, implementing one of the operations
+ offered by a Component.
+ required: true
+ schema:
+ type: string
+ format: uuid
+ - name: rootAssetid
+ in: query
+ description: The id of a root Knowledge Asset in a tree-based composite.
+ schema:
+ type: string
+ format: uuid
+ - name: X-params
+ in: header
+ description: |
+ Additional, operation-specific parameter
+ schema:
+ type: string
+ responses:
+ 200:
+ description: |
+ The Artifact carrying the expression resulting from the extraction
+ content:
+ '*/*':
+ schema:
+ $ref: '#/components/schemas/KnowledgeCarrier'
+ /transcreators/extractors/{operatorId}:
+ post:
+ tags:
+ - Transcreate
+ summary: Projects a KnowledgeBase into a proper subset of components
+ description: |
+ Applies a specific, (detached) extraction operator
+ operationId: applyNamedExtractDirect
+ parameters:
+ - name: operatorId
+ in: path
+ description: |
+ The id of an Operator, implementing one of the operations
+ offered by a Component.
+ required: true
+ schema:
+ type: string
+ format: uuid
+ - name: rootAssetid
+ in: query
+ description: The id of a root Knowledge Asset in a tree-based composite.
+ schema:
+ type: string
+ format: uuid
+ - name: X-params
+ in: header
+ description: |
+ Additional, operation-specific parameter
+ schema:
+ type: string
+ requestBody:
+ content:
+ '*/*':
+ schema:
+ $ref: '#/components/schemas/KnowledgeCarrier'
+ required: true
+ responses:
+ 200:
+ description: |
+ The Artifact carrying the expression resulting from the extraction
+ content:
+ '*/*':
+ schema:
+ $ref: '#/components/schemas/KnowledgeCarrier'
+ x-codegen-request-body-name: artifact
+ /transcreators/introspectors/{operatorId}/kbases:
+ post:
+ tags:
+ - Transcreate
+ summary: Extract a Knowledge Asset Surrogate from a given Knowledge Artifact
+ description: |
+ Applies a (detached) introspection operator
+ operationId: applyNamedIntrospect
+ parameters:
+ - name: kbaseId
+ in: query
+ description: TODO
+ schema:
+ type: string
+ format: uuid
+ - name: versionTag
+ in: query
+ schema:
+ type: string
+ - name: operatorId
+ in: path
+ description: |
+ The id of an Operator, implementing one of the operations
+ offered by a Component.
+ required: true
+ schema:
+ type: string
+ format: uuid
+ - name: X-params
+ in: header
+ description: |
+ Additional, operation-specific parameter
+ schema:
+ type: string
+ responses:
+ 200:
+ description: |
+ The resulting Surrogate
+ content:
+ '*/*':
+ schema:
+ $ref: '#/components/schemas/KnowledgeCarrier'
+ /transcreators/introspectors/{operatorId}:
+ post:
+ tags:
+ - Transcreate
+ summary: Extract a Knowledge Asset Surrogate from a given Knowledge Artifact
+ description: |
+ Applies a specific, (detached) introspection operator
+ operationId: applyNamedIntrospectDirect
+ parameters:
+ - name: operatorId
+ in: path
+ description: |
+ The id of an Operator, implementing one of the operations
+ offered by a Component.
+ required: true
+ schema:
+ type: string
+ format: uuid
+ - name: X-params
+ in: header
+ description: |
+ Additional, operation-specific parameter
+ schema:
+ type: string
+ requestBody:
+ content:
+ '*/*':
+ schema:
+ $ref: '#/components/schemas/KnowledgeCarrier'
+ required: true
+ responses:
+ 200:
+ description: |
+ The resulting Surrogate
+ content:
+ '*/*':
+ schema:
+ $ref: '#/components/schemas/KnowledgeCarrier'
+ x-codegen-request-body-name: artifact
+ /transcreators/transformers/{operatorId}/kbases:
+ post:
+ tags:
+ - Transcreate
+ summary: Transforms the content of a KnowledgeBase (syntactically and/or semantically)
+ description: |
+ Applies a (detached) transcreation operator
+ operationId: applyNamedTransform
+ parameters:
+ - name: kbaseId
+ in: query
+ description: TODO
+ schema:
+ type: string
+ format: uuid
+ - name: versionTag
+ in: query
+ schema:
+ type: string
+ - name: operatorId
+ in: path
+ description: |
+ The id of an Operator, implementing one of the operations
+ offered by a Component.
+ required: true
+ schema:
+ type: string
+ format: uuid
+ - name: X-params
+ in: header
+ description: |
+ Additional, operation-specific parameter
+ schema:
+ type: string
+ responses:
+ 200:
+ description: |
+ The resulting Artifact
+ content:
+ '*/*':
+ schema:
+ $ref: '#/components/schemas/KnowledgeCarrier'
+ /transcreators/transformers/{operatorId}:
+ post:
+ tags:
+ - Transcreate
+ summary: Transforms the content of a KnowledgeBase (syntactically and/or semantically)
+ description: |
+ Applies a specific, (detached) transcreation operator
+ operationId: applyNamedTransformDirect
+ parameters:
+ - name: operatorId
+ in: path
+ description: |
+ The id of an Operator, implementing one of the operations
+ offered by a Component.
+ required: true
+ schema:
+ type: string
+ format: uuid
+ - name: X-params
+ in: header
+ description: |
+ Additional, operation-specific parameter
+ schema:
+ type: string
+ requestBody:
+ content:
+ '*/*':
+ schema:
+ $ref: '#/components/schemas/KnowledgeCarrier'
+ required: true
+ responses:
+ 200:
+ description: The resulting Artifact
+ content:
+ '*/*':
+ schema:
+ $ref: '#/components/schemas/KnowledgeCarrier'
+ x-codegen-request-body-name: artifact
+components:
+ schemas:
+ KnowledgeCarrier:
+ type: object
+ KnowledgeBase:
+ type: object
+ Bindings:
+ type: object
+ Pointer:
+ type: object
+ parameters:
+ rootAssetId:
+ name: rootAssetid
+ in: query
+ description: The id of a root Knowledge Asset in a tree-based composite.
+ schema:
+ type: string
+ format: uuid
+ assetId:
+ name: assetId
+ in: path
+ description: The id of the Knowledge Asset (Series).
+ required: true
+ schema:
+ type: string
+ kbaseId:
+ name: kbaseId
+ in: path
+ description: TODO
+ required: true
+ schema:
+ type: string
+ format: uuid
+ kbaseIdRef:
+ name: kbaseId
+ in: query
+ description: TODO
+ schema:
+ type: string
+ format: uuid
+ versionTagRef:
+ name: versionTag
+ in: query
+ schema:
+ type: string
+ operatorId:
+ name: operatorId
+ in: path
+ description: |
+ The id of an Operator, implementing one of the operations
+ offered by a Component.
+ required: true
+ schema:
+ type: string
+ format: uuid
+ versionTag:
+ name: versionTag
+ in: path
+ description: "The version tag of a Versioned Entity. \n Versioned Identifiers\
+ \ identify specific, Immutable Versions of Mutable Entities, which reflect\
+ \ the state of that Entity at a given point in time. Where a version(ed) identifier\
+ \ is universal, the Tag represents the local part of that identifier, under\
+ \ the scope of the identifier that denotes the Entity (series)."
+ required: true
+ schema:
+ type: string
+ params:
+ name: X-params
+ in: header
+ description: |
+ Additional, operation-specific parameter
+ schema:
+ type: string
+ requestBodies:
+ artifact:
+ content:
+ '*/*':
+ schema:
+ $ref: '#/components/schemas/KnowledgeCarrier'
+ required: true
+ structDefinition:
+ content:
+ '*/*':
+ schema:
+ $ref: '#/components/schemas/KnowledgeCarrier'
+ required: true
+ struct:
+ content:
+ '*/*':
+ schema:
+ $ref: '#/components/schemas/KnowledgeCarrier'
+ required: true
diff --git a/openapi/v3/org/omg/spec/api4kp/5.0.0/knowledgeReasoning.oas.yaml b/openapi/v3/org/omg/spec/api4kp/5.0.0/knowledgeReasoning.oas.yaml
new file mode 100644
index 0000000..954981d
--- /dev/null
+++ b/openapi/v3/org/omg/spec/api4kp/5.0.0/knowledgeReasoning.oas.yaml
@@ -0,0 +1,682 @@
+openapi: 3.0.1
+info:
+ title: API4KP Knowledge Reasoning API
+ description: |2
+
+ APIs that expose the information processing capabilities of Knowledge Platform Components,
+ usually known as engines or reasoners, which are able to apply "knowledge" to "data",
+ in order to derive new information.
+
+ Knowledge Reasoning APIs are likely to provide an abstraction layer for the proprietary
+ API of existing engines, but could also be used to expose engine-less microservices designed
+ to work with individual, named knowledge bases.
+
+ The APIs pivot on the notion of Knowledge Base _in motion_, and consider reasoners
+ as operators applied to the KBs.
+ In this context, Knowledge Bases prepared for Reasoning are also called Knowledge Models,
+ or "Models" for short, providing a connection to modern AI implementations.
+
+ The boundary between 'instance data' and 'universal knowledge' is fuzzy, and is abstracted
+ once the substrate Knowledge Base is bound to the reasoner. Knowledge Graphs are a primary example.
+ Some reasoning operations allow Clients to provide bindings for input variables.
+
+ ** Implementation patterns **
+ The binding between the Knowledge Base and the Reasoning service can be implemented in different ways.
+ Patterns include, but are not limited to,
+ (i) Knowledge Bases deployed within an engine backing the server; (ii) be implemented by the server directly,
+ through manual software development or trans-compilation process; (iii) references that can be
+ resolved by the server; (iv) support proxy/broker/adapter patterns where the server delegates
+ the execution to another service
+
+ ** Service Boundaries **
+ Reasoning APIs integrate with KnowledgeBase construction APIs to gather the knowledge,
+ and prepare it in a form that can be processed by the engine.
+ Reasoning APIs may produce Knowledge Base (components), and KnowledgeBase Construction APIs
+ can be used to construct augmented, inferred Knowledge Bases, which can be further processed using
+ the Reasoning APIs
+
+ **Maturity**
+ As of this version, this API is considered experimental.
+ Stateful, Incremental and/or Asynchronous reasoning APIs are not supported in this version
+ contact:
+ name: Davide Sottara
+ email: sottara.davide@mayo.edu
+ license:
+ name: Apache License, Version 2.0
+ url: https://www.apache.org/licenses/LICENSE-2.0.html
+ version: 5.0.0
+servers:
+ - url: /omg.org/spec/API4KP/20200801/api/inference/v5
+tags:
+ - name: Reasoning
+ description: |
+ Endpoints that expose Reasoning capabilities as synchronous, stateless services
+paths:
+ /models:
+ get:
+ tags:
+ - Model
+ summary: List Models
+ description: |
+ Lists the Knowledge Bases that are available to this server for reasoning.
+ operationId: listModels
+ responses:
+ 200:
+ description: |
+ A List of pointers to the available Models
+ content:
+ application/json:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/Pointer'
+ application/xml:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/Pointer'
+ /models/{modelId}/versions/{versionTag}:
+ get:
+ tags:
+ - Model
+ summary: Describe Model
+ description: |
+ Return descriptive metadata about a Model.
+ This operation may return a Surrogate, including a canonical API4KP
+ Surrogate associated to the Knowledge Base, but could also return
+ a runtime-oriented Surrogate that describes the Knowledge Base as an executable artifact.
+ operationId: getModel
+ parameters:
+ - name: modelId
+ in: path
+ description: |
+ The Identifier of a known Knowledge Base that is deployed and executed as a Service.
+ This identifier SHOULD be an ID of the Asset itself, not of the manifestation of the Asset within the server.
+ required: true
+ schema:
+ type: string
+ format: uuid
+ - name: versionTag
+ in: path
+ description: The Identifier os a specific version of a Model, within the series
+ identified by a modelId.
+ required: true
+ schema:
+ type: string
+ responses:
+ 200:
+ description: |
+ A runtime surrogate
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/KnowledgeCarrier'
+ application/xml:
+ schema:
+ $ref: '#/components/schemas/KnowledgeCarrier'
+ /models/{modelId}/versions/{versionTag}/reasoners/inferences:
+ post:
+ tags:
+ - Reasoning
+ summary: Derives all logical consequences of a given KB
+ description: |
+ Derives the necessary, inferred consequences of a given (asserted) Knowledge Base,
+ by means of logical derivation.
+ The client may optionally provide some input Bindings
+ operationId: infer
+ parameters:
+ - name: modelId
+ in: path
+ description: |
+ The Identifier of a known Knowledge Base that is deployed and executed as a Service.
+ This identifier SHOULD be an ID of the Asset itself, not of the manifestation of the Asset within the server.
+ required: true
+ schema:
+ type: string
+ format: uuid
+ - name: versionTag
+ in: path
+ description: The Identifier os a specific version of a Model, within the series
+ identified by a modelId.
+ required: true
+ schema:
+ type: string
+ - name: X-params
+ in: header
+ description: |
+ Additional, operation-specific parameter
+ schema:
+ type: string
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Bindings'
+ required: false
+ responses:
+ 200:
+ description: |
+ The inferred axioms
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/KnowledgeCarrier'
+ x-codegen-request-body-name: features
+ /models/{modelId}/versions/{versionTag}/reasoners/inferences/consequents:
+ post:
+ tags:
+ - Reasoning
+ summary: Derives inferred features, based on input bindings
+ description: |
+ Evaluates a 'model' against some user provided 'inputs'.
+ Binds the client-provided inputs to the proper Knowledge Base variables,
+ performs an inference (see: infer), and returns the values associated
+ to some output variables.
+ operationId: evaluate
+ parameters:
+ - name: modelId
+ in: path
+ description: |
+ The Identifier of a known Knowledge Base that is deployed and executed as a Service.
+ This identifier SHOULD be an ID of the Asset itself, not of the manifestation of the Asset within the server.
+ required: true
+ schema:
+ type: string
+ format: uuid
+ - name: versionTag
+ in: path
+ description: The Identifier os a specific version of a Model, within the series
+ identified by a modelId.
+ required: true
+ schema:
+ type: string
+ - name: X-params
+ in: header
+ description: |
+ Additional, operation-specific parameter
+ schema:
+ type: string
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Bindings'
+ required: false
+ responses:
+ 200:
+ description: |
+ The inferred values for the KB's output variables
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Bindings'
+ x-codegen-request-body-name: features
+ /models/{modelId}/versions/{versionTag}/reasoners/inferences/entailments:
+ post:
+ tags:
+ - Reasoning
+ summary: tests whether a set of statements is a logical consequence of a KB
+ description: |
+ performs an inference using the given Knowledge Base as a substrate, then
+ verifies whether the client's provided Knowledge Base Component is a subset
+ of the substrate Knowledge Base, and/or its logical consequences.
+ operationId: entails
+ parameters:
+ - name: modelId
+ in: path
+ description: |
+ The Identifier of a known Knowledge Base that is deployed and executed as a Service.
+ This identifier SHOULD be an ID of the Asset itself, not of the manifestation of the Asset within the server.
+ required: true
+ schema:
+ type: string
+ format: uuid
+ - name: versionTag
+ in: path
+ description: The Identifier os a specific version of a Model, within the series
+ identified by a modelId.
+ required: true
+ schema:
+ type: string
+ - name: X-params
+ in: header
+ description: |
+ Additional, operation-specific parameter
+ schema:
+ type: string
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/KnowledgeCarrier'
+ required: true
+ responses:
+ 200:
+ description: |
+ Whether or not the target KB entails the client provided one
+ content:
+ application/json:
+ schema:
+ type: boolean
+ x-codegen-request-body-name: potentialConsequence
+ /models/{modelId}/versions/{versionTag}/reasoners/queryanswers:
+ post:
+ tags:
+ - Reasoning
+ summary: queries the KB, returning bindings to the query's variables
+ description: |
+ applies the client's provided Query to the target Knowledge Base.
+ If the query specifies any output variable, this operation will
+ return the inferred bindings for those variables.
+ operationId: askQuery
+ parameters:
+ - name: modelId
+ in: path
+ description: |
+ The Identifier of a known Knowledge Base that is deployed and executed as a Service.
+ This identifier SHOULD be an ID of the Asset itself, not of the manifestation of the Asset within the server.
+ required: true
+ schema:
+ type: string
+ format: uuid
+ - name: versionTag
+ in: path
+ description: The Identifier os a specific version of a Model, within the series
+ identified by a modelId.
+ required: true
+ schema:
+ type: string
+ - name: X-params
+ in: header
+ description: |
+ Additional, operation-specific parameter
+ schema:
+ type: string
+ requestBody:
+ content:
+ '*/*':
+ schema:
+ $ref: '#/components/schemas/KnowledgeCarrier'
+ required: true
+ responses:
+ 200:
+ description: |
+ The bindings of the query variables
+ content:
+ '*/*':
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/Bindings'
+ x-codegen-request-body-name: query
+ /models/{modelId}/versions/{versionTag}/reasoners/checks:
+ post:
+ tags:
+ - Reasoning
+ summary: determines whether the KB is internally logically consistent
+ description: |
+ Determines the consistency of a Knowledge Base, usually by determining
+ whether 'false' is a logical consequence of the KB
+ operationId: checkConsistency
+ parameters:
+ - name: modelId
+ in: path
+ description: |
+ The Identifier of a known Knowledge Base that is deployed and executed as a Service.
+ This identifier SHOULD be an ID of the Asset itself, not of the manifestation of the Asset within the server.
+ required: true
+ schema:
+ type: string
+ format: uuid
+ - name: versionTag
+ in: path
+ description: The Identifier os a specific version of a Model, within the series
+ identified by a modelId.
+ required: true
+ schema:
+ type: string
+ - name: X-params
+ in: header
+ description: |
+ Additional, operation-specific parameter
+ schema:
+ type: string
+ responses:
+ 200:
+ description: |
+ Whether or not the target KB is logically consistent
+ content:
+ '*/*':
+ schema:
+ type: boolean
+ /models/{modelId}/versions/{versionTag}/reasoners/sats:
+ post:
+ tags:
+ - Reasoning
+ summary: determines whether the KB is satisfiable
+ description: |
+ Determines whether the Knowledge Base is satisfiable, i.e. whether the KB is not inconsistent
+ and, if the KB has open variables, there is at least one binding of those variables
+ that would result in a KB that is still consistent.
+ operationId: checkSatisfiability
+ parameters:
+ - name: modelId
+ in: path
+ description: |
+ The Identifier of a known Knowledge Base that is deployed and executed as a Service.
+ This identifier SHOULD be an ID of the Asset itself, not of the manifestation of the Asset within the server.
+ required: true
+ schema:
+ type: string
+ format: uuid
+ - name: versionTag
+ in: path
+ description: The Identifier os a specific version of a Model, within the series
+ identified by a modelId.
+ required: true
+ schema:
+ type: string
+ - name: X-params
+ in: header
+ description: |
+ Additional, operation-specific parameter
+ schema:
+ type: string
+ responses:
+ 200:
+ description: |
+ A list of at least one Binding if the KB is satisfiable, or an empty list if the KB is not.
+ Notice that an empty list of Bindings denotes an unsatisfiable KB, while a list with
+ Bindings that are empty would denote a trivially satisfiable KB - a KB that is consistent
+ and has no free variables.
+ content:
+ '*/*':
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/Bindings'
+ /models/{modelId}/versions/{versionTag}/reasoners/classifiers/individuals/{entityId}:
+ get:
+ tags:
+ - Reasoning
+ summary: lists all the classes that an individual is member of
+ description: |
+ Given the id of an individual, and optional features that describe that individual,
+ returns all the classes that the individual is a member of, or all the types
+ that the individual is an instance of.
+
+ This operation supports both qualitative and quantitative classifications.
+ operationId: listMembership
+ parameters:
+ - name: modelId
+ in: path
+ description: |
+ The Identifier of a known Knowledge Base that is deployed and executed as a Service.
+ This identifier SHOULD be an ID of the Asset itself, not of the manifestation of the Asset within the server.
+ required: true
+ schema:
+ type: string
+ format: uuid
+ - name: versionTag
+ in: path
+ description: The Identifier os a specific version of a Model, within the series
+ identified by a modelId.
+ required: true
+ schema:
+ type: string
+ - name: entityId
+ in: path
+ required: true
+ schema:
+ type: string
+ format: uuid
+ - name: X-params
+ in: header
+ description: |
+ Additional, operation-specific parameter
+ schema:
+ type: string
+ requestBody:
+ content:
+ '*/*':
+ schema:
+ $ref: '#/components/schemas/Bindings'
+ required: false
+ responses:
+ 200:
+ description: |
+ References to the class(es) that the individual is a member of
+ content:
+ '*/*':
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/Pointer'
+ x-codegen-request-body-name: features
+ post:
+ tags:
+ - Reasoning
+ summary: determines if an individual is member of a class
+ description: |
+ Given the id of an individual, some optional features that describe that individual,
+ and the id of a specific class, determines whether the individual is a member of that class
+ operationId: checkMembership
+ parameters:
+ - name: modelId
+ in: path
+ description: |
+ The Identifier of a known Knowledge Base that is deployed and executed as a Service.
+ This identifier SHOULD be an ID of the Asset itself, not of the manifestation of the Asset within the server.
+ required: true
+ schema:
+ type: string
+ format: uuid
+ - name: versionTag
+ in: path
+ description: The Identifier os a specific version of a Model, within the series
+ identified by a modelId.
+ required: true
+ schema:
+ type: string
+ - name: entityId
+ in: path
+ required: true
+ schema:
+ type: string
+ format: uuid
+ - name: classId
+ in: query
+ required: true
+ schema:
+ type: string
+ format: uuid
+ - name: X-params
+ in: header
+ description: |
+ Additional, operation-specific parameter
+ schema:
+ type: string
+ responses:
+ 200:
+ description: |
+ Whether or not the given individual is a member of the given class
+ content:
+ '*/*':
+ schema:
+ type: boolean
+ /models/{modelId}/versions/{versionTag}/reasoners/classifiers/classes/{entityId}:
+ get:
+ tags:
+ - Reasoning
+ summary: lists all the superclasses of a given Class
+ description: |
+ Given the identifier of a class, returns all the classes that the given class is a subclass of.
+ operationId: listSubsumptions
+ parameters:
+ - name: modelId
+ in: path
+ description: |
+ The Identifier of a known Knowledge Base that is deployed and executed as a Service.
+ This identifier SHOULD be an ID of the Asset itself, not of the manifestation of the Asset within the server.
+ required: true
+ schema:
+ type: string
+ format: uuid
+ - name: versionTag
+ in: path
+ description: The Identifier os a specific version of a Model, within the series
+ identified by a modelId.
+ required: true
+ schema:
+ type: string
+ - name: entityId
+ in: path
+ required: true
+ schema:
+ type: string
+ format: uuid
+ - name: X-params
+ in: header
+ description: |
+ Additional, operation-specific parameter
+ schema:
+ type: string
+ responses:
+ 200:
+ description: |
+ References to the superclasses of the given class
+ content:
+ '*/*':
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/Pointer'
+ post:
+ tags:
+ - Reasoning
+ summary: determines if a Class is a subclass of another class
+ description: |
+ Given the identifiers of two classes, returns true if and only if the former is a subclass of the latter.
+ operationId: checkSubsumption
+ parameters:
+ - name: modelId
+ in: path
+ description: |
+ The Identifier of a known Knowledge Base that is deployed and executed as a Service.
+ This identifier SHOULD be an ID of the Asset itself, not of the manifestation of the Asset within the server.
+ required: true
+ schema:
+ type: string
+ format: uuid
+ - name: versionTag
+ in: path
+ description: The Identifier os a specific version of a Model, within the series
+ identified by a modelId.
+ required: true
+ schema:
+ type: string
+ - name: entityId
+ in: path
+ required: true
+ schema:
+ type: string
+ format: uuid
+ - name: classId
+ in: query
+ required: true
+ schema:
+ type: string
+ format: uuid
+ - name: X-params
+ in: header
+ description: |
+ Additional, operation-specific parameter
+ schema:
+ type: string
+ responses:
+ 200:
+ description: |
+ Whether or not the given class (entity) is a subclass of the reference class
+ content:
+ '*/*':
+ schema:
+ type: boolean
+components:
+ schemas:
+ Pointer:
+ type: object
+ description: Compact proxy object that carries references to another Resource.
+ This object used in operations that browse and list collections.
+ KnowledgeCarrier:
+ type: object
+ description: A Resource that describes a particular representation of a Knowledge
+ Asset.
+ Map:
+ type: object
+ description: A single table row, implemented by means of a map, where the 'column'
+ keys SHALL correspond to either the names or the concept URIs of one or more
+ Data Concepts, and the values is one array of uniform length.
+ Bindings:
+ type: object
+ parameters:
+ modelId:
+ name: modelId
+ in: path
+ description: |
+ The Identifier of a known Knowledge Base that is deployed and executed as a Service.
+ This identifier SHOULD be an ID of the Asset itself, not of the manifestation of the Asset within the server.
+ required: true
+ schema:
+ type: string
+ format: uuid
+ versionTag:
+ name: versionTag
+ in: path
+ description: The Identifier os a specific version of a Model, within the series
+ identified by a modelId.
+ required: true
+ schema:
+ type: string
+ entityId:
+ name: entityId
+ in: path
+ required: true
+ schema:
+ type: string
+ format: uuid
+ classId:
+ name: classId
+ in: query
+ required: true
+ schema:
+ type: string
+ format: uuid
+ lambdaId:
+ name: lambdaId
+ in: path
+ description: TODO
+ required: true
+ schema:
+ type: string
+ format: uuid
+ xAccept:
+ name: xAccept
+ in: query
+ description: |
+ A formal MIME type used for content negotiation
+ schema:
+ type: string
+ params:
+ name: X-params
+ in: header
+ description: |
+ Additional, operation-specific parameter
+ schema:
+ type: string
+ requestBodies:
+ sourceArtifact:
+ content:
+ '*/*':
+ schema:
+ $ref: '#/components/schemas/KnowledgeCarrier'
+ required: true
diff --git a/openapi/v2/org/omg/spec/api4kp/README.md b/openapi/v3/org/omg/spec/api4kp/README.md
similarity index 100%
rename from openapi/v2/org/omg/spec/api4kp/README.md
rename to openapi/v3/org/omg/spec/api4kp/README.md
diff --git a/pom.xml b/pom.xml
index be84e53..49fc0d1 100644
--- a/pom.xml
+++ b/pom.xml
@@ -3,9 +3,10 @@
4.0.0
org.omg.spec
- API4KP
- 9.0.0
-
+ api4kp
+
+ 12.0.2-SNAPSHOT
+
jar
@@ -15,9 +16,10 @@
${java.version}
UTF-8
${file.separator}
- openapi/v2/org/omg/spec/api4kp
+ openapi/v3
ontologies
uml
+ ancillary
github
@@ -81,104 +83,35 @@
- bintray-api4kbs-API4KP-Mvn-Repo
- api4kbs-API4KP-Mvn-Repo
- https://api.bintray.com/maven/api4kbs/API4KP-Mvn-Repo/api4kbs/;override=1;publish=1
+ github
+ kmdp-dist-github
+ https://maven.pkg.github.com/API4KBs/kmdp-build
-
-
- swaggerhub-download
-
- false
-
-
-
-
- io.swagger
- swaggerhub-maven-plugin
- 1.0.6
-
- mc-kmdp
- yaml
-
-
-
- krepo
- generate-resources
-
- download
-
-
- KnowledgeArtifactRepository
- 4.0.0
- ${project.basedir}/${apiFolder}/4.0.0/knowledgeArtifactRepository.yaml
-
-
-
- kac
- generate-resources
-
- download
-
-
- KnowledgeAssetRepository
- 4.0.0
- ${project.basedir}/${apiFolder}/4.0.0/knowledgeAssetRepository.yaml
-
-
-
- lang
- generate-resources
-
- download
-
-
- KnowledgeTransrepresentation
- 4.0.0
- ${project.basedir}/${apiFolder}/4.0.0/knowledgeTransrepresentation.yaml
-
-
-
- inference
- generate-resources
-
- download
-
-
- Inference
- 4.0.0
- ${project.basedir}/${apiFolder}/4.0.0/inference.yaml
-
-
-
- kbase
- generate-resources
-
- download
-
-
- KnowledgeBase
- 4.0.0
- ${project.basedir}/${apiFolder}/4.0.0/knowledgeBase.yaml
-
-
-
- terminology
- generate-resources
-
- download
-
-
- Terminology
- 4.0.0
- ${project.basedir}/${apiFolder}/4.0.0/terminology.yaml
-
-
-
-
-
-
+
+
+ github
+ https://maven.pkg.github.com/API4KBs/kmdp-build
+
+ true
+
+
+ true
+
+
+
+
+
+ github
+ https://maven.pkg.github.com/API4KBs/kmdp-build
+
+ true
+
+
+ true
+
+
+
diff --git a/uml/api4kp.uml b/uml/api4kp.uml
index e9b09ff..c68329a 100644
--- a/uml/api4kp.uml
+++ b/uml/api4kp.uml
@@ -610,17 +610,11 @@
-
-
-
-
-
-
-
+
diff --git a/uml/representations.aird b/uml/representations.aird
index 432fddb..9dda841 100644
--- a/uml/representations.aird
+++ b/uml/representations.aird
@@ -10258,6 +10258,10 @@
+
+
+
+
@@ -11169,6 +11173,14 @@
+
+
+
+
+
+
+
+
@@ -22559,11 +22571,15 @@
+
+
+
+
-
+
@@ -23463,6 +23479,14 @@
+
+
+
+
+
+
+
+
diff --git a/uml/v20210201/api4kp.uml b/uml/v20210201/api4kp.uml
new file mode 100644
index 0000000..dd4bbb4
--- /dev/null
+++ b/uml/v20210201/api4kp.uml
@@ -0,0 +1,1259 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+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
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uml/v20210201/api4kp_uml_profiles.uml b/uml/v20210201/api4kp_uml_profiles.uml
new file mode 100644
index 0000000..5139cdc
--- /dev/null
+++ b/uml/v20210201/api4kp_uml_profiles.uml
@@ -0,0 +1,139 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/uml/v20210201/representations.aird b/uml/v20210201/representations.aird
new file mode 100644
index 0000000..9dda841
--- /dev/null
+++ b/uml/v20210201/representations.aird
@@ -0,0 +1,24730 @@
+
+
+
+ http://www.eclipse.org/uml2/5.0.0/UML/Profile/Standard
+ http://www.eclipse.org/uml2/5.0.0/UML
+ http://www.eclipse.org/emf/2002/Ecore
+ http://www.eclipse.org/uml2/5.0.0/Types
+ vocabs.uml
+ pathmap://UML_LIBRARIES/XMLPrimitiveTypes.library.uml
+ pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml
+ pathmap://UML_METAMODELS/UML.metamodel.uml
+ pathmap://UML_PROFILES/Standard.profile.uml
+ pathmap://UML_PROFILES/Ecore.profile.uml
+ pathmap://UML_LIBRARIES/EcorePrimitiveTypes.library.uml
+ pathmap://UML_METAMODELS/Ecore.metamodel.uml
+ test.uml
+ api4kp.uml
+ old-surrogate.xmi
+ http://www.eclipse.org/emf/2003/XMLType
+ meta_conceptaware.uml
+ meta_resource.uml
+ meta_mvf.uml
+ metadata2.uml
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
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