Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/caskade-automation/mtp2skill
An automated mapping approach to transform a Module Type Package into a specific skill and capability ontology. This transformation allows to bridge the gap between service-based production approaches from process and discrete manufacturing.
https://github.com/caskade-automation/mtp2skill
machine-capabilities machine-skills mapping module-type-package mtp ontology owl
Last synced: about 1 month ago
JSON representation
An automated mapping approach to transform a Module Type Package into a specific skill and capability ontology. This transformation allows to bridge the gap between service-based production approaches from process and discrete manufacturing.
- Host: GitHub
- URL: https://github.com/caskade-automation/mtp2skill
- Owner: CaSkade-Automation
- Created: 2020-09-05T15:14:13.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-12-04T09:07:59.000Z (about 3 years ago)
- Last Synced: 2024-05-20T03:13:56.254Z (7 months ago)
- Topics: machine-capabilities, machine-skills, mapping, module-type-package, mtp, ontology, owl
- Language: Java
- Homepage:
- Size: 229 KB
- Stars: 4
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Automatically Generate Semantic Skills
from a Module Type Package
An automated mapping approach to transform a Module Type Package (MTP) into an ontological skill model. This skill model consists of several individual ontologies which are all based on industry standards. You can find the skill model [in this repository](https://github.com/aljoshakoecher/Machine-Skill-Model).
MTP2Skill makes use of [RML mapping rules](https://rml.io/specs/rml/) to transfer AutomationML elements of an MTP into individuals and relations of a skill ontology. Written in Java, MTP2Skill can be used in three different ways.## Usage:
You can use MTP2Skill locally with a command line interface (CLI), run it as a web-service or integrate it into your application as a library.### CLI
Download the current `mtp2skill-cli-x.x.x-jar-with-dependencies.jar` from the releases into a folder of your choice. Inside that folder, open a shell and execute `java -jar mtp2skill-cli-x.x.x-jar-with-dependencies.jar -f `. The mapping result will be written to a file right next to the cli.jar.### REST-API
Download the current `mtp2skill-rest-api-x.x.x-jar-with-dependencies.jar` from the releases into a folder of your choice and from a shell, run `java -jar mtp2skill-rest-api-x.x.x-jar-with-dependencies.jar`. This will start a web server and you can send HTTP POST request to `localhost:9191` to invoke the mapper. When creating the request, make sure to set the `Content-Type` header to `multipart/form-data`. Furthermore, you have to send the file with form key / name "mtp-file".### Library
You can also include the library which is used in both the CLI-application and REST API in your own projects. In order to do so, import `MtpToSkillMapper` and after obtaining a new instance of the mapper, use `executeMapping()`.
:construction:In the future, we might publish this library to Maven central for easier integration into Maven projects :construction: