Abstract
Nowadays, ontologies are widely used to solve data heterogeneity problems on the Semantic Web. However, simple use of these ontologies may raise the heterogeneity problem to a higher level. Addressing this problem requires identification of correspondences between the entities of various ontologies. Since the real semantics of a concept is often better defined by the actual instances assigned to it, instance, as an important element of ontology, contains a great quantity of knowledge that should be utilized to obtain the ontology alignment. To this end, in this paper, we propose a novel instance-based aligning approach using NSGA-II to determine the optimal instance correspondences and a similarity propagation algorithm that makes use of various semantic relations to propagate the similarity values to other entities of ontologies. The experiment of comparing our approach with the participants of OAEI 2012 has demonstrated that our method is an effective approach that can obtain the alignment with high precision value.
1. Introduction
Nowadays, ontologies are widely used to solve the data heterogeneity problems on the Semantic Web. However, because of human subjectivity, different ontologies may define an entity in various ways or with different names, which further raises the so-called heterogeneity problem. Addressing this problem requires identification of correspondences between the entities of various ontologies. This process is commonly known as ontology alignment, which can be described as follows: given two ontologies, each describing a set of discrete entities (which can be classes, properties, predicates, etc.), find the relationships (e.g. equivalence or subsumption) that hold between these entities [1]. However, manually aligning the ontologies is time-consuming, error-prone and clearly not possible on the Web scale since the ontology size is very large. Thus the development of the alignment systems to assist the ontology alignment is crucial to the success of Semantic Web.
Numerous matching systems have arisen over the years and each of them could, in a fully automatic or semi-automatic way, provide a numerical value of similarity between elements from separate ontologies that can be used to decide whether those elements are semantically similar or not. In general, the similarity measures used in these matching systems can be divided into four broad categories: (a) the syntactic measure, which computes a string distance or edit distance between the ontology entities; (b) the linguistic measure, which calculates the similarity between ontology entities by considering linguistic relations such as synonymy and hypernym; (c) the taxonomy-based measure, which utilizes the specialization relation, for example, the subsumption relation, in ontologies to calculate the similarity between ontology entities; and (d) the instance-based measure, which exploits the similarity between classified instances to discover the correspondences between the concepts in ontologies. However, to the best of our knowledge the current matching systems mainly make use of the schema-level similarity measure, that is, the syntactic measure, linguistic measure and taxonomy-based measure to determine the correspondence between entities of different ontologies, and there are few systematic studies of instance-based similarity measure. Since the real semantics of a concept are often better defined by the actual instances assigned to it, instance, as an important element of ontology, contains a great quantity of knowledge that should be utilized to obtain the ontology alignment. In addition, techniques for ontology instance matching are required in several application contexts, for example, semantic integration, identity recognition and ontology population, where the capability of comparing different individuals with the goal of recognizing the same real-world object is demanded and the application of instance matching is crucial [2].
With the intuition that similarity between the instances of two concepts reflects the semantic similarity of these concepts, the goal of the instance-based approach is to determine the similarity between concepts of different ontologies by matching sets of annotated instances of them. To this end, in this paper, we propose a novel instance-based aligning approach by using NSGA-II to determine the optimal instance correspondences and a similarity propagation algorithm that makes use of various semantic relations to propagate the similarity values to other entities of ontologies.
The rest of the paper is organized as follows: Section 2 describes the relation work of this paper; Section 3 illustrates some important basic concepts of ontology and ontology alignment; in Section 4, the similarity measures and similarity propagation algorithm are presented; Section 5 proposes a problem-specific NSGA-II for instance-based ontology alignment; Section 6 shows the experimental results; finally, Section 7 draws the conclusions and proposes some further improvements.
2. Related work
2.1. Instance-based ontology matching
With the increasing popularity of Web 2.0 and Semantic Web technologies, where data are usually provided with a poor schema/metadata specification, the research work on ontology matching is gradually shifting from the level of concepts to the level of instances. During the past few decades, more and more instance-based ontology matching approaches and techniques have been proposed and employed in the ontology matching systems. FCA-Merge [3] and T-Tree [4] make use of the instance-based approach to improve the aligning results obtained by subclass and superclass relationships for each entity as well as the lexical correspondences. GLUE [5] discovers mappings through multiple learners that analyse the taxonomy and the information within concept instances of ontologies, and then use Bayesian decision theory and user input to generate an alignment between ontologies. IF-Map [6] matches two ontologies by first examining their instances to see if they can be assigned to concepts in a reference ontology, and then using formal concept analysis to derive an alignment. In all these matching systems, the instance matching approach is just used to implement other matching approaches or improve the aligning results. However, in our work, the instance matching approach is the kernel technology assisting with other matching approaches.
2.2. Genetic algorithm for ontology alignment
Among ontology matching systems that make use of the Genetic Algorithm (GA), the most notable one is GOAL (Genetics for Ontology ALignments) [7]. GOAL does not directly compute the alignment between two ontologies, but it determines, through a GA, the optimal weight configuration for a weighted average aggregation of several similarity measures by considering a reference alignment. The same idea of implementing a matching system to combine multiple similarity measures into a single aggregated metric is also developed in two more recent papers [8, 9]. In this paper, our proposal is different from these approaches in two aspects: (a) we use Multi-Objective Evolutionary Algorithm (MOEA) rather than GA with a single objective to determine the ontology alignment; and (b) our approach is based on instance level instead of schema level. To be specific, all the matching systems mentioned above work with one objective, that is, to maximize the F-measure (which is introduced in Section 3.2), to evaluate the quality of an alignment. However, simple use of the F-measure may lead to bias improvement, which derives from an improvement in one of the metrics at the expense of a decrement in the other. To overcome this defect, we propose to utilize the NSGA-II (fast Non-dominated Sorting Genetic Algorithm) [10], whose objectives are to maximize both the recall and precision (which are presented in Section 3.2), to determine the ontology entity correspondences. In addition, to the best of our knowledge this is the first time that MOEA has been applied to align the ontologies based on their instances to improve the quality of ontology alignment.
2.3. MOEA
Multi-objective Evolutionary Algorithm is an integral part of optimization activities and has tremendous practical importance, since almost all real-world optimization problems are ideally suited to being modelled using multiple conflicting objectives. A variety of Pareto-based MOEA have been proposed in the last decade, including the non-dominated sorting genetic algorithm (NSGA) [11] and NSGA-II [10], the strength Pareto evolutionary algorithm (SPEA) [12] and SPEA2 [13], the Pareto archived evolution strategy (PAES) [14], the Pareto differential evolution algorithm (PDE) [15], the non-dominated sorting particle swarm optimizer (NSPSO) [16], the constrained nonlinear multi-objective optimization immune algorithm (CNMOIA) [17], the co-evolutionary particle swarm optimization algorithm (CCPSO) [18], the dominating-tree based multi-objective evolutionary algorithm (DTEA) [19], the adaptive multi-objective particle swarm optimization algorithm (MO-TRIBES) [20], the hybrid MOEA with two crossover operators [21] and the multi-objective endocrine particle swarm optimization algorithm (MOEPSO) [22]. Moreover, in [23], a new MOEA with Min–Max Strategy and Sphere Coordinate Transformation is proposed to overcome the drawbacks of the algorithms using the weighted sum of the objectives, and explore the objective space to find approximate uniformly distributed solutions on the Pareto front gradually.
Since the early development of MOEAs in 1993, they have been applied to many real-world and interesting optimization problems. In Niknam et al. [24], MOEA was applied for volt/varcontrol in distribution networks, which simultaneously and effectively minimizes electrical energy losses, voltage deviations, total electrical energy costs and total emissions of renewable energy sources and grid. In Ahmadi et al. [25], MOEA is used for the optimal design of a polygeneration energy system, which considers minimizing the total cost rate of the system while maximizing the system energy efficiency. References [26–28] present the studies on the application of MOEA in the field of sustainable and renewable energy. In Liu et al. [29], MOEA are also utilized to solve the WCDMA Network Planning. However, there are very few studies of MOEA in solving the ontology aligning problem. The only ontology alignment system that exploits a multi-objective evaluation is MapPSO [30]. However, this work uses an evaluation method based on multiple objectives following an a priori approach, that is, it aggregates all objectives in a weighted function. In order to overcome the well-known drawbacks of a priori methods, in this work, we propose to apply NSGA-II to the ontology alignment problem.
3. Basic concepts
3.1. Ontology and ontology alignment
There have been many definitions of ontology over years. However, the most frequently referenced one was given by Gruber in 1993, which defined the ontology as an explicit specification of a conceptualization. For convenience of the work in this paper, an ontology can be defined in Definition 1.
In general, classes, properties and individuals are referred as entities.
Ontologies are seen as the solution to data heterogeneity on the web. However, the existing ontologies could themselves introduce heterogeneity: given two ontologies, the same entity can be given different names or simply be defined in different ways, whereas both ontologies may express the same knowledge but in different languages [32]. To solve this problem, a so-called ontology alignment process is necessary. Formally, an alignment between two ontologies can be defined as presented by Definition 2.
In principle, all relations between entities in the given ontology language can be used as the correspondence relation, and in this thesis, there is no distinction between different correspondence relations. Indeed the interpretation of correspondences and alignments is strongly use-case-dependent. However, in many cases, a correspondence between ontological entities is thought of as expressing that those entities are ‘equivalent’ or at least somewhat ‘similar’. Depending on the interpretation of correspondences, they can have an impact on the semantics of entities defined in the ontologies to the point of introducing incoherency or inconsistency. Irrespective of the correspondence interpretation in the use case, a common assumption is to regard a correspondence as an equivalence axiom for the two corresponding entities.
The ontology alignment process computes a mapping element by using a similarity measure, which determines the closeness value
Since the quality of resulting alignment and the correctness and completeness of the correspondences found already, need to be assessed, we will introduce some conformance measures that derive from the information retrieval field in the next section.
3.2. Alignment evaluation
The alignment is normally assessed on the basis of two measures commonly known as recall and precision [33]. Recall (or completeness) measures the fraction of correct alignments found in comparison to the total number of correct existing alignments. A recall of 1 means that all of the alignments have actually been found, but it does not provide the information about the number of additionally falsely identified alignments. Typically, recall is balanced against precision (or correctness), which measures the fraction of found alignments that are actually correct. A precision of 1 means that all found alignments are correct, but it does not imply that all alignments have been found. Therefore, recall and precision are often balanced against each other with the so-called F-measure, which is the uniformly weighted harmonic mean of recall and precision. However, when two alignments’F-measures are equal, it is difficult to say which one is better or has less bias to recall or precision.
Given a reference alignment
4. Instances similarity measure and similarity propagation algorithm
In this section, two basic technologies of our instance-based matching approach, that is, the instance similarity measure and the similarity propagation algorithm, are presented. The second technology can be further divided into two steps: (a) propagate the similarity from instances to their direct related concepts; and (b) propagate the similarity between concepts.
4.1. Instance similarity measure
The instance similarity measure determines the similarity of two instances by executing a pair-wise comparison of property values using a similarity function. The result is a similarity matrix with each dimension representing the properties of one instance. Then the matrix is aggregated into one value that defines the similarity of these two instances. This aggregation is done by applying the following formula:
where
This formula uses for every property of
In our work, the similarity value of two properties is determined by considering four aspects, that is, the instance’s Uniform Resource Identifier (URI), the property’s name, data type and data value. First, we compare two instances’ URI to judge whether they refer to the same real-world entity, which could simplify the process of similarity measuring. Two instances with the same URI will be regarded as equal instances, otherwise we first calculate the similarity value of two properties’ names and data types by applying both the syntactic measure, specifically the Levenstein distance and Jaro distance, and linguistic measure. Then, with respect to the similarity measure of the property’s data value, for each specific attribute data type, for example, date, time and real number, appropriate matching techniques are provided to calculate the similarity of attribute values. As an example, approaches for matching numerical values use conversion functions to determine how to transform values of a source data type (e.g. real values) into corresponding values of a target data type (e.g. integer values). However, most of the work on the similarity measure of data values has been focused on computing the similarity of strings owing to the fact that string data are the most frequently used data types for real-world instance descriptions. Specifically, in our work, the Q-Gram distance, which is based on string tokens, is applied to obtain the similarity between two data values of different conventions for describing data (e.g. ‘Jack Smith’ and ‘Smith, Jack’). Finally, the similarity value of two instances is determined by the average of those of their properties’ name, data type and data value.
A measure is a kind of index that is used to judge some characteristic of the objective in particular scenario, for example, in Jia et al. [34], Rand Index is used to measure the clustering accuracy for reference. However, different from [34], in our work, we mainly focus on how to measure the similarity value of two words in syntactic and linguistic terms. Therefore, in the following, we present two similarity measures, that is, the syntactic measure and linguistic measure, which are used in our work.
4.1.1. Syntactic measures
Syntactic measures compute a string distance or edit distance between the ontology entities. In our work, we utilize two widely used syntactic measures: the Levenstein distance [9] and the Jaro distance [39].
The Levenstein distance calculates the number of operations, such as modifications, deletions and insertions of a character, which are necessary to transform one string into another. Formally, the Levenstein distance between two strings
where
Another measure is the Jaro distance, an edit distance that uses the number of common characters in the two strings and the positions at which they appear. Given strings
where
Q-gram distance is a token-based technique that measures the similarity of two strings by the common string tokens they have. Specifically, given two token sets of strings
where
4.1.2. Linguistic measures
The linguistic measure calculates the similarity between ontology entities by considering linguistic relations such as synonymy and hypernym. To compute the linguistic similarity or inversely the linguistic distance, a lexicon and thesaurus is needed, the most popular one used to identify the relationships between entities being WordNet [35]. WordNet is an electronic lexical database where various senses of words are put together into sets of synonyms, and it can be used to calculate a synonymy-based distance by considering the names of entities. In detail, given two words
1, if the words
0.5, if the word
0, otherwise.
Next, we present an additional function that refers to the concept of upPropagation [36], in which the similarities between instances are propagated to their concepts.
4.2. Similarity propagation algorithm
Similarity propagation is necessary because we have to deal with incomplete instance situation, that is, not every concept has instances and normally only leaves of a schema have instances. Specifically, in this paper, the proposed similarity propagation algorithm based on the instance mappings first propagates the similarity from instances to their directly related concepts, based on the idea that concepts that have similar instances are similar too. In our work, the algorithm propagates the instance similarity to their direct concepts because they have the strongest relationship. Specifically, given two concepts
where
This formula uses for every instance of
Then the algorithm propagates the similarity between the concepts through two kinds of semantic relations, that is, subsumption and object property. Specifically, we first initialize the object property mappings by considering the name and comment values using Q-gram measure. Then an iterative process of updating the concept mappings and object property mappings is carried out until no new concept mapping could be found. During the updating process, the maximum similarity value of concept mapping or object property mapping will be saved. The outline of the similarity propagation algorithm is presented in Figure 1.

Outline of similarity propagation algorithm.
Given two concepts
where
In addition, given the similarity value of two object properties
Finally, the data property mapping
5. NSGA-II for instance-based ontology alignment
The process of determining the optimal instance mapping set in order to yield the alignment with the best quality can be regarded as an optimizing process. In the following, given two ontologies
5.1. Multi-Objective Optimal Model for instance-based ontology alignment
In this section, the Multi-Objective Optimization Model for the instance-based ontology alignment optimizing problem is presented as follows:
where
NSGA-II aims to obtain a well-distributed approximation set of points that are close to the Pareto front. Both closeness and diversity are addressed in the selection operator, where the population is sorted using non-domination ranks as the primary sorting criterion, and crowding distances as the secondary sorting criterion. Basically, the NSGA-II is an elitist EA with

Outline of NSGA-II.
5.2. Chromosome encoding
Let
5.3. Fitness function
Fitness functions are objective functions that evaluate the quality of the alignment obtained using the instance similarity measure and similarity propagation algorithm. In our work, there are two fitness functions calculating the recall and precision value of the generated result, respectively.
5.4. Genetic operators
5.4.1. Selection
Like in nature, the most suitable chromosomes must have more opportunities of reproducing themselves. The best chromosomes in a population are the chromosomes that have the best fitness value and the genetic information of these chromosomes can potentially provide the best solutions to the problem. Anyway, reproduction opportunities of the less suitable chromosomes should not be completely removed, because it is important to keep diversity in the population. In this article, in order to ensure the diversity of the population and accelerate the convergence of the algorithm, the selection operator first queues the chromosomes of population in descending order according to their crowding distances, which estimate the density of the solutions. Then we select half of the chromosomes in the front of the population and randomly copy one each time until a new population is formed.
5.4.2. Crossover
The crossover operator takes two chromosomes called parents and generates two children chromosomes, which are obtained by mixing the genes of the parents. Crossover is applied with a certain probability, a parameter of the genetic algorithm. In this work, we use the common one-cut-point method to carry out the crossover operation on the population. First, a cut position in two parents is randomly determined and this position is a cut point that cuts each parent into two parts: the left part and the right part. Then, the right parts of them are switched to form two children.
5.4.3. Mutation
The mutation operator ensures diversity in the population and prevents premature convergence. In our work, for each number in the chromosome, we check if the mutation could be applied according to the mutation probability and, if it is, when the number is not the last one in the chromosome, the value of that number is then modified as a random value in
5.5. Generation of the new population
First, we put the current population and the new population together and remove the redundancy of the chromosomes. Then, the new population is selected by non-dominated sorting and the crowd distance [10].
When the algorithm terminates, we propose a selection strategy to select the representative solutions. Among the solutions with the highest F-measure in the first front, we adopt the max–min approach to obtain a better solution, that is, suppose that solutions
In the following, we take an example to illustrate the procedure of the max–min approach. For instance, there are two solutions with the same F-measure of 0.97 while the recall and the precision of the first solution are 0.95 and 1.0, respectively, and the recall and the precision of the second solution are 0.98 and 0.97 respectively. First, we select the smaller value of recall and precision in the first solution, which is 0.95, and then the smaller one in the second solution, which is 0.97. Since 0.97 is larger than 0.95, the second solution is better than the first one, which means that the solution has less bias to recall and precision than the first one.
6. Experimental results and analysis
In the experiments, the well-known benchmarks provided by the OAEI 2012 [37] were used. In particular, we applied our approach to three datasets: the Bibliographic benchmarks, the Anatomy track and the Library track. In the following, we present the experiment configuration and compare our approach with those of the participants in OAEI 2012. The results of the participants in OAEI 2012 refer to Aguirre et al. [38] and the results obtained by our approach are the averages of 30 independent runs.
6.1. Experiments configuration
The similarity measures used are as follows:
Levenstein distance (syntactic measure);
Jaro distance (syntactic measure);
Q-Gram distance (syntactic measure);
linguistic distance (linguistic measure).
The NSGA-II uses the following parameters:
search space for each parameter is the continuous interval [0,1];
numerical accuracy = 0.01;
the fitnesses are recall and precision;
population size = 20 individuals;
crossover probability = 0.8;
mutation probability = 0.09;
maximum generation = 30 – after 30 independent executions, we noticed that the NSGA-II does not improve the results beyond the thirtieth generation, so we set a limit of 30 generations.
The results of the experiments are given in the next section.
6.2. Results and analysis
The bibliographic benchmark consists of a set of small-scale ontologies that are built around a seed ontology, which contains 33 named classes, 24 object properties, 40 data properties, 56 named individuals and 20 anonymous individuals, and many variations. Variations are artificially generated, and focus on the characterization of the behaviour of the tools rather than having them compete on real-life problems. They are organized into three groups: simple tests (1xx) compare the reference ontology with itself; systematic tests (2xx) are obtained by discarding/modifying features, which include names of entities, comments, the specialization hierarchy, instances, properties and classes, from the reference ontology; and real-life ontologies (3xx) are found on the Web.
The mean values of the results in 1xx, 2xx and 3xx are presented in Table 1, and were obtained by our approach and the participants in OAEI 2012. As can be seen from Table 1, except for MapSSS whose F-measure value is equal to ours, our approach outperformed all of the participants in OAEI 2012 in terms of F-measure, and the precision value of our approach ranks in second place.
Comparison of our approach with the participants in OAEI 2012 on the bibliographic benchmark.
The anatomy real world track is a large ontology matching task that concerns matching the Adult Mouse Anatomy (2744 classes) and part of the NCI Thesaurus (3304 classes) describing the human anatomy. As can be seen from Table 2, our approach’s F-measure value ranks in second place while the precison of our approach outperforms that of all of the others.
Comparison of our approach with that of the participants in OAEI 2012 on Anatomy benchmark.
The library track is also a large ontology matching task that concerns matching two real-world thesauri: STW (economics) and TheSoz (social sciences). Despite being from two different domains, these two thesauri have huge overlapping areas, and moreover, they are roughly the same size, and both were originally developed in German, are multilingual and have English translations. To be specific, the STW Thesaurus for economics provides more than 6000 standardized subject headings and 19,000 additional keywords in both languages, and TheSoz contains overall about 12,000 keywords, of which 8000 are standardized subject headings (in English and German), and 4000 additional keywords. The goal of this track is to find whether the matchers can handle such lightweight ontologies including a huge number of concepts and additional descriptions. As can be seen from Table 3, our approach’s results are much better than those of the participants in OAEI 2012.
Comparison of our approach with that of the participants in OAEI 2012 on the library benchmark.
7. Conclusions
In this paper, we propose a novel ontology aligning approach based on instances. We first describe the instance similarity measure and similarity propagation algorithm. Then we present the Multi-Objective Optimal Model for the ontology alignment and give the details of a problem-specific NSGA-II. Finally, the experiment of comparing our approach with the participants of OAEI 2012 has demonstrated that our method is an effective approach and is able to determine the alignment with high precision value.
Future work on this topic will include the extension of the similarity propagation algorithm to handle the situation where ontologies have few instances and a poor concept hierarchy structure in order to improve the recall values. Moreover, we are also interested in improving our approach to deal with the large-scale aligning problem, which is another challenging problem in ontology matching domain.
Footnotes
Funding
This work is supported by the National Natural Science Foundation of China (No. 61272119 and No. 61472297).
