12.25 Semantic query/discovery based on automatic ontology mapping
12.25.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 comprehensive result of semantic query/discovery. For example, the oneM2M system can return the semantic instances of both "Ontology-A: light" and "Ontology-B: lamp" for someone querying for a generic "light" device.
Automatic ontology mapping (described in clause 12.23) is to find the mapping relationships between different ontologies to reuse ontologies.
After completing the automated ontology mapping, the semantic query/discovery process can leverage the mapping knowledge to generate a more complete and accurate results.
12.25.2 Source
REQ-2018-0055R01 Use case for semantic query and discovery based on ontology mapping
12.25.3 Actors
- Application: the user who wants to do semantic query/discovery across heterogeneous ontologies.
- oneM2M Platform: an oneM2M CSE that supports semantic query/discovery based on ontology mapping.
12.25.4 Pre-conditions
- The oneM2M System stores semantic description of resources annotated in different ontologies (e.g. A & B).
- The ontology mapping results are saved and managed in the oneM2M System as a resource.
12.25.5 Triggers
The application issues a semantic query/discovery request to the oneM2M platform indicating the use of automatic ontology mapping.
Normal Flow
The normal message flow is described as follows:
Figure 12.25.6-1 Message flow for semantic query/discovery supported with automatic ontology mapping
- An application sends a semantic query/discovery request to the oneM2M platform to query/discovery the semantic description of certain resources. The semantic query/discovery request contains semantic filter criteria described in ontology A, but also indicates that equivalent (or related) semantic description annotated in ontology B should be returned.
- After receiving the query/discovery request, the oneM2M platform first retrieves mapping results of ontology A and ontology B.
- The oneM2M platform then performs the semantic query/discovery combing the knowledge of the mapping results between ontology A and ontology B. This may be done by converting the semantic filter criteria or the target semantic descriptions according to the ontology mapping results.
- The oneM2M platform returns the query/discovery results, which contains the matching semantic descriptions annotated in both ontology A and B, to the application
12.25.7 Alternative Flow
None
12.25.8 Post-conditions
None
12.25.9 High Level Illustration
None
12.25.10 Potential requirements
- The oneM2M system shall be able to support semantic query and discovery across heterogeneous ontologies including the support of automatic ontology mapping.