12.26 Semantic control based on automatic ontology mapping
12.26.1 Description
Semantic descriptions in the oneM2M system can be annotated in heterogeneous ontologies given the data and knowledge can be generated from different domains and stakeholders. In many cases, heterogeneous ontologies may have common/similar concepts that are mappable (linked) between each other. Such mapping relationship is useful to get a more effective and precise command of semantic control.
In this use case, semantic control refers to sending an oneM2M primitive which contains semantic triples that represent some control command(s) targeting at a device. Such control commands may be pertaining to a certain ontology. For example, the control command for device A is "turn on/off" according to Ontology-A, while the same command for device B could be "switch on/off" according to Ontology-B.
A oneM2M application may understand only Ontology-A (not Ontology-B) so that it can normally interact with only device A (not device B) by sending control commands ("turn on/off") as the semantic payload in the oneM2M primitives (such as CREATE a <contentInstance> resource with the content of RDF triples that contains the semantic description of "turn on/off").
With the capability of automatic ontology mapping (described in clause 12.23), oneM2M system is able to find the mapping relationships between ontology A and B, so that it has the possibility to convert the semantic control command into different ontologies for different target devices on behalf of the application.
12.26.2 Source
None
12.26.3 Actors
- Application: the entity performs semantic control with limited knowledge of device ontologies.
- oneM2M Platform: an oneM2M CSE that supports semantic control based on ontology mapping.
12.26.4 Pre-conditions
- The oneM2M System stores semantic description of resources annotated in different ontologies (e.g. Ontology-A & Ontology-B).
- The ontology mapping results are saved and managed in the oneM2M System as a resource.
12.26.5 Triggers
- The application issues a semantic control request to the oneM2M platform indicating the use of ontology mapping.
12.26.6 Normal Flow
The normal message flow is described as follows:
Figure 12.26.6-1 Message flow for semantic control based on automatic ontology mapping operation
- An application sends a semantic control request to the oneM2M platform for controlling different devices (device A and device B) that are described based on different ontologies (Ontology-A and Ontology-B respectively). The semantic control request contains a control command based on ontology B and it also indicates the use of ontology mapping result between Ontology-A and Ontology-B
- After receiving the semantic control request, the platform (e.g. IN-CSE) first retrieves the mapping results between Ontology-A and Ontology-B.
- The oneM2M platform then can determine an equivalent control command described in Ontology-A for device A according to the ontology mapping results;
- The platform sends the equivalent control command in Ontology-A to device A;
- The platform sends the original control command in Ontology-B to device B;
- The platform returns a successful response to the application.
12.26.7 Alternative Flow
None
12.26.8 Post-conditions
None
12.26.9 High Level Illustration
None
12.26.10 Potential requirements
- The oneM2M system shall support semantic control of devices described in heterogeneous ontologies including the support of automatic ontology mapping.