12.23 Automatic ontology mapping.
12.23.1 Description
In M2M applications, reusing of common ontologies (e.g. location, time ontologies, etc.) plays an important role in developing cost effective and high-quality ontologies. It could save the cost and time required for the ontology construction of specific domains.
For example, a user wants to build ontology to provide syntactic and semantic interoperability of the smart home System. He could reuse some existing ontologies (e.g. the oneM2M Base Ontology, sensor ontologies, environment ontologies) and build his own ontology by mapping them.
Ontology mapping is to find the mapping relationships between different ontologies to reuse ontologies. Ontology mapping can be implemented either by manual approaches or automatic approaches. However, discovering manually mappings is often too labour-intensive, error-prone, and impractical for large heterogeneous ontologies. Therefore, oneM2M system needs to automatically discover, create and save the mappings (equivalent or inherited relationships) between semantically related ontology entities by using industry-proven mapping algorithms, e.g. the edit distance, language-based similarity, structural-based similarity, or external- resources-based similarity etc.
12.23.2 Source
REQ-2018-0048R04 Use case for automatic ontology mapping
12.23.3 Actors
- End User: the user who wants to build his own ontology by mapping existing ontologies.
- The ontology is a vocabulary with a structure. It could capture a shared understanding of a domain of interests and provide a formal and machine interpretable model of the domain. It may be mapped to others with the help of ontology mapping function.
- Ontology Mapping Function is responsible for discovering, creating and saving mappings between the ontologies defined in the context of the oneM2M System and/or other external ontologies. It is a service layer functionality provided by the oneM2M System.
- The ontology mapping file is a RDF document including the mappings between ontologies. It can be saved and managed in the oneM2M System as a resource.
12.23.4 Pre-conditions
None
12.23.5 Triggers
An ontology is required to be mapped to other ontologies automatically.
12.23.6 Normal Flow
The normal message flow is described as follows:
Figure 12.23.6-1 Message flow for automatic ontology mapping operation
- An application (representing the End User) sends a request for mapping ontology A and ontology B to the ontology mapping function in the oneM2M platform.
- An ontology A is loaded into the ontology mapping function.
- Another ontology B is loaded into the ontology mapping function.
- The similarities between entities (classes, properties, instances.) of ontologies are computed by the ontology mapping function.
- Mapping discovery is performed based on similarity between entities and other helpful information like synonyms, hypernym-hyponym relations from external knowledge bases by the ontology mapping function.
- The mapping result between Ontology A and Ontology B is saved as an ontology mapping resource by ontology mapping function.
- The mapping result (e.g. resource id) is return to the application.
12.23.7 Alternative flow
None
12.23.8 Post-conditions
None
12.23.9 High Level Illustration
Figure 12.23.9-1 Ontology Mapping High Level Illustration
12.23.10 Potential requirements
- The oneM2M System shall be able to automatically discover and create semantic mappings between ontologies and save them as resources.