Skip to content

aerOS-Project/semantic-translator

Repository files navigation

Semantic Translator

The repository contains the source code of the aerOS Semantic Translator component.

Semantic interoperability is the ability of different applications and business partners to exchange data with unambiguous, shared meaning. As a result, data analysis and knowledge discovery can be done on a federation of systems.

aerOS Semantic Translator (ST) enables alignments-based semantic translation of RDF data (messages). At its core ST builds on a considerably enhanced version of the INTER-IoT Inter Platform Semantic Mediator (IPSM) and ASSIST-IoT Semantic Translation Enabler.

Overview of the architecture

ST is a component for performing semantic translation that can be use in a standalone mode or in combination with other aerOS components and application-specific tools. It has a REST interface for configuration, and both publish-subscribe and REST interfaces for translation. The communication infrastructure that follows publish-subscribe paradigm is either MQTT or Apache Kafka.

SemTrans architecture

To perform semantic translation client can publish message(s) to the input topic of a semantic translation channel, and consume the translated result(s) from the output topic.

Another possibility is to use REST API for performing a synchronous semantic translation. Here, client in a request sends input RDF graph, and a sequence of alignments that should be applied. The response contains translated RDF graph.

Building Docker image

The only tool needed for compilation of the code is SBT. All dependencies of the project will be automatically downloaded when SBT will be invoked for the first time.

To create a Docker image containing the latest version of the Semantic Translation tool, the user, from the SBT command prompt, needs to issue the command

docker

The command assumes that Docker is available on the develpment machine, and that the user has sufficient provileges to use it.

The resulting image will be available from the local Docker registry under the name aeros-project/semantic_translator:n.n.n, where n.n.n represents the current version of the enabler. The list of locally available images should be similar to:

user@devel-machine:~$ docker image ls
REPOSITORY                         TAG                 IMAGE ID            CREATED             SIZE
aeros-project/semantic_translator  2.1.0               2a2587804717        1 minute ago        295MB

Documentation

An online documenation for the Semantic Translator component can be found at the aerOS documentation site.

Authors

License

Apache 2.0

About

aerOS Semantic Translator (ST) enables alignments-based semantic translation of RDF data (messages)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published