<?xml version="1.0" encoding="UTF-8"?>
<TEI xml:space="preserve" xmlns="http://www.tei-c.org/ns/1.0" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xsi:schemaLocation="http://www.tei-c.org/ns/1.0 https://raw.githubusercontent.com/kermitt2/grobid/master/grobid-home/schemas/xsd/Grobid.xsd"
 xmlns:xlink="http://www.w3.org/1999/xlink">
	<teiHeader xml:lang="en">
		<fileDesc>
			<titleStmt>
				<title level="a" type="main">Ontology Merging: on the confluence between theoretical and pragmatic approaches</title>
			</titleStmt>
			<publicationStmt>
				<publisher/>
				<availability status="unknown"><licence/></availability>
			</publicationStmt>
			<sourceDesc>
				<biblStruct>
					<analytic>
						<author>
							<persName><forename type="first">Raphael</forename><surname>Cóbe</surname></persName>
							<email>rmcobe@ime.usp.br</email>
							<affiliation key="aff0">
								<orgName type="department">Department of Computer Science</orgName>
								<orgName type="institution">University of São Paulo (IME-USP</orgName>
							</affiliation>
						</author>
						<author>
							<persName><forename type="first">Renata</forename><surname>Wassermann</surname></persName>
							<email>renata@ime.usp.br</email>
							<affiliation key="aff0">
								<orgName type="department">Department of Computer Science</orgName>
								<orgName type="institution">University of São Paulo (IME-USP</orgName>
							</affiliation>
						</author>
						<author>
							<persName><forename type="first">Fabio</forename><surname>Kon</surname></persName>
							<email>fabio.kon@ime.usp.br</email>
							<affiliation key="aff0">
								<orgName type="department">Department of Computer Science</orgName>
								<orgName type="institution">University of São Paulo (IME-USP</orgName>
							</affiliation>
						</author>
						<title level="a" type="main">Ontology Merging: on the confluence between theoretical and pragmatic approaches</title>
					</analytic>
					<monogr>
						<imprint>
							<date/>
						</imprint>
					</monogr>
					<idno type="MD5">8BA273EF8A48562C2CC369DD1DC25F3F</idno>
				</biblStruct>
			</sourceDesc>
		</fileDesc>
		<encodingDesc>
			<appInfo>
				<application version="0.7.2" ident="GROBID" when="2023-03-24T17:37+0000">
					<desc>GROBID - A machine learning software for extracting information from scholarly documents</desc>
					<ref target="https://github.com/kermitt2/grobid"/>
				</application>
			</appInfo>
		</encodingDesc>
		<profileDesc>
			<abstract>
<div xmlns="http://www.tei-c.org/ns/1.0"><p>In recent years, researchers have focused on merging knowledge bases in both pragmatic and theoretical points of view. In this paper, we enumerate a few attempts to deal with inconsistencies while merging knowledge bases. We focus on ontology merging and show that pragmatic and theoretical approaches are not integrated and that both could benefit from a closer relationship. We extended an existing theoretical algorithm for Description Logics and applied it for the ontology merging problem. We describe here an implementation of this algorithm as an open source Protégé plugin.</p></div>
			</abstract>
		</profileDesc>
	</teiHeader>
	<text xml:lang="en">
		<body>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="1.">Introduction</head><p>There has been a rapid increase in availability of (semantic) information on the web. Nevertheless, there is no standard way of reusing knowledge, creating a challenge of building new knowledge bases for specific domains. This has forced users to build knowledge bases from scratch instead of being able to reuse previously established knowledge.</p><p>Ontologies have been considered as a mean for expressing and sharing semantic knowledge among systems <ref type="bibr" target="#b1">[Gruber 1993</ref>] specially in the context of the Semantic Web. Their underlying structures allow machine-processing, providing a common vocabulary for expressing metadata about each web resource. Also, they are based on first order logic, allowing the usage of reasoners that are able to infer relationships between concepts based on their logical description. In that sense, W3C proposed the OWL 1 standard specification language to express ontologies.</p><p>The main challenge faced by knowledge integration research is solving inconsistencies by removing the minimum amount of information so that the remaining stays consistent. Since we are talking about removing part of the knowledge from the base, it is important to clarify the difference among three kinds of knowledge integration: (a) merging, (b) revising, and (c) updating. Revesz <ref type="bibr" target="#b6">[Revesz 1995</ref>] claims that revision and update operators are characterized by the inclusion of knowledge that is either more or less relevant (or trustful) than the knowledge previously defined, while merge, in contrary, does not prefer any piece of knowledge over another.</p><p>That kind of concern resulted in works like <ref type="bibr" target="#b2">[Konieczny and Pérez 1999]</ref> where the authors have dealt with the merging problem for the propositional logic case by means of a model-based approach. This kind of work has inspired most of the research conducted in the theoretical field of first order logic merging, such as the work of <ref type="bibr">Gorogiannis et al. [Gorogiannis and Hunter 2008]</ref> and <ref type="bibr" target="#b5">Qi et al. [Qi et al. 2006</ref>]. Unfortunately, pragmatic approaches did not follow the same evolution pace as theoretical ones and just a few tools have been developed to provide knowledge base integration. This might have happened because pragmatic research has focused on the ontology mapping activity. If we think about the whole knowledge integration as a process: first of all, we have to compute whether there are similar concepts and how similar such concepts are -this is the mapping activity -and each concept correspondence is called concept match. After mapping the concepts, the merging activity takes place. During the merging, the concepts from all the knowledge bases are copied into the output base. Thus, mapping is the activity that most of the time comes before the merging (at least in the ontology integration) <ref type="bibr" target="#b0">[Falconer et al. 2007]</ref>.</p><p>In this paper, we present our current work on ontology merging, including the implementation of a plugin for the Protégé<ref type="foot" target="#foot_0">2</ref> editor. This paper is organized as fallows. Section 2 presents a brief summary of pragmatic and theoretical works that aim to deal with ontology inconsistencies. Section 3 explains our efforts in bridging the gap between both points of view and present the merging plugin we developed. Finally, at Section 4, we present a few conclusions taken from our work and discuss what we plan to do in the future.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.">Ontology Merging</head><p>In this section, we intend to show the common approaches used to deal with the ontology merging and inconsistency handling problem. We have divided this section in two to show that these two fields of study are not dealing with the same problems.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.1.">Theoretical Approaches</head><p>Only a few studies in the literature deal directly with description logics based knowledge integration and inconsistency management. We classify these works, like <ref type="bibr" target="#b7">[van Harmelen et al. 2005]</ref>, into two main categories: syntactic and semantic-based approaches. The syntactic-based approaches sees ontologies as a set of axioms, which are syntactic objects, while semantic-based approaches sees ontologies as a set of models, which are semantic objects that are represented by a finite set of axioms.</p><p>In the context of syntactic-based approaches, we would like to cite the research conducted by Thomas Meyer and his colleagues. They proposed an algorithm for finding maximally consistent sets from inconsistent knowledge bases <ref type="bibr" target="#b3">[Meyer et al. 2005</ref>]. This algorithm is a modification of the conjunctive maxi-adjustment algorithm for propositional knowledge integration and is called CMA-DL. In that sense, such work is similar to the work developed by <ref type="bibr" target="#b7">van Harmelen et al. [van Harmelen et al. 2005</ref>], but instead of looking for maximally consistent subsets their goal is to build minimally inconsistent subsets, which they call diagnoses. The main difference between these two approaches is that the CMA-DL algorithm takes into account the order of the bases to be merged. Each base is called strata and the set of all strata is called stratified knowledge base. This set is ordered by preference, which means that the first ontology is preferred over the second one during the merging activity. We have proposed a small modification to this algorithm that gives to the user all possible merging precedence order. We have used this algorithm to implement our Protégé merging plugin.</p><p>Most of the semantic-based approaches have been inspired by model-based propositional logic inconsistency solving like what is presented at <ref type="bibr" target="#b2">[Konieczny and Pérez 1999]</ref>.</p><p>In that context, Gorogiannis et al. <ref type="bibr">[Gorogiannis and Hunter 2008]</ref> propose an approach to deal with inconsistencies by means of Dilation Operators that are, basically, an strategy to iteratively relax the formulas to remove inconsistencies. The authors have first proposed the use of Dilation Operators to deal with inconsistencies in propositional logics and showed the equivalence of their approach to the one from Konieczny and Pérez <ref type="bibr" target="#b2">[Konieczny and Pérez 1999]</ref>. Finally, they took the idea of using Dilation Operators further and proposed an operator that iteratively transform first order formulas by changing universal quantifiers into existential ones. This approach may solve a few inconsistencies but we figured out that it would be hard to translate it to an ontology context. For instance, the description logic formula equivalent to ∀x.p(x) → z(x) would be p z but we were unable to define a way to dilate the description logic formula so it would be equivalent to the dilated first order logic formula, i.e. ∃x.p(x) → z(x). Qi and colleagues have also proposed model-based operations to solve inconsistencies in ontologies.</p><p>In <ref type="bibr" target="#b5">[Qi et al. 2006</ref>] they proposed a model-based operator named weakening and showed that its results are semantically equivalent to those of CMA in stratified knowledge bases.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.2.">Pragmatic Approaches</head><p>In this section, we present a few tools which purpose is to manage multiple ontologies to combine and promote the reuse of knowledge. We will discuss the PROMPT approach for ontology merging and specially inconsistency handling in more detail as it was the only one that we have found that deals with inconsistency. We have tried a few other tools but, unfortunately, none of them provided any inconsistency handling mechanism. For instance, we have tried Watson For Knowledge Reuse<ref type="foot" target="#foot_1">3</ref> , which is a tool that allows the user to query a web service that contains ontologies and ask it for suggestions on new concepts to be added. It may suggest to include relationships and concepts that may break the ontology consistency. So, it is not specially concerned with keeping the ontology consistency. We have also tried the OWLDiff<ref type="foot" target="#foot_2">4</ref> tool. It intends to work just like the common Unix diff command, providing an easy-to-use interface that shows the differences between two ontologies. It also allows the user to copy ontology fragments between ontologies but does no consistency checking after doing so.</p><p>We have studied the PROMPT tool for merging and it does provide support for inconsistency management. Unfortunately, the inconsistencies dealt with PROMPT strategies are not logic inconsistencies and they arise due to the fact that its merging algorithm sometimes fail in merging concepts and properties. We figure that PROMPT does not deal with logical inconsistencies because when the authors proposed its idea <ref type="bibr" target="#b4">[Noy and Musen 2000]</ref>, the Protégé OWL tool did not provide support for more expressive logics constructions like the disjoint clause.</p><p>PROMPT deals with 4 kinds of inconsistencies: a) Name Conflict: this inconsistency happens when the algorithm includes two different concepts with the same name in the merged ontology, so the system advises the user to rename them; b) Dangling References: this inconsistency happens when the image of a given property is missing in the merged ontology, so the system suggests that the user includes such concept into the merged ontology; c) Redundant Hierarchy: this inconsistency happens when there is more than one path connecting a concept to one of its ancestors, so the system suggests that the user removes one of these paths; d) Slot Constraint Violation: this inconsistency happens when some property has its cardinality violated at the merged ontology, e.g. a property that should have only one individual as its images is used to connect two different pair of individuals. The systems then suggests that the user removes one of these individuals.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.">On the confluence of theoretical and pragmatic approaches</head><p>The main focus of the work that we are currently developing is to bridge the gap between the theoretical and pragmatic approaches for ontology integration. Unfortunately, pragmatic approaches have very little to offer since the only conflict solving approach described (by PROMPT) does not deal with logical inconsistencies. Also, the theoretical works most of the time cannot be directly applied to Ontology merging, their algorithms were designed for using with first order logics like <ref type="bibr">[Gorogiannis and Hunter 2008]</ref>.</p><p>We chose to use the CMA-DL algorithm designed by <ref type="bibr" target="#b3">Meyer et al. [Meyer et al. 2005]</ref> to solve merging inconsistencies in description logics and applied it to ontology merging. The algorithm proposed the generation of maximally consistent subsets of the axioms present at each ontology at the inconsistent knowledge base in an iterative way. We chose to use such algorithm as the starting point for our research because it is a syntactic-based approach that can clearly build maximally consistent ontologies, not like the algorithm from <ref type="bibr" target="#b7">[van Harmelen et al. 2005]</ref>, which relies on a Connectedness notion and the proposed Direct Structural Connection function cannot detect axioms that cause inconsistencies that are not structurally connected.</p><p>The CMA-DL algorithm takes into consideration that, at the inconsistent knowledge base, the ontologies are sorted by order of preference. We believe that, sometimes, this is the case and we believe that this approach is close to the knowledge revision, but sometimes we cannot classify the ontologies according to their relevance. Let us take a look at the example (taken from <ref type="bibr" target="#b3">[Meyer et al. 2005]</ref>) for instance: Example 1: Consider the knowledge base K = (S 1 , S 2 ) and that the ontology S 1 is composed of the following axioms bird(tweety), ¬f lies(tweety), bird(chirpy) and that the ontology S 2 is composed of the axiom bird f lies. It is easy to see that this knowledge base is inconsistent, sice S 1 states that tweety is a bird that cannot fly and S 2 states that every bird flies.</p><p>The CMA-DL algorithm gives preference to the knowledge present in S 1 and the result for its processing is the ontology O composed of the axioms exclusively from S 1 , i.e., O = {bird(tweety), ¬f lies(tweety), bird(chirpy)}. Although this is an ontology free of inconsistencies, we argue that at this case the discarded axiom seems to be very important to the result. It is a constraint that applies to all individuals of the bird concept.</p><p>We have proposed a modification to the CMA-DL algorithm that takes into account all possible ordering combinations of the input knowledge base. Such algorithm can be seen at the Listing 1. It accumulates the results of the possible combinations and leaves to the user the choice of which one to use. The algorithm presented relies on a set of specific operations. It uses a PowerSet() operation to calculate all possible subsets of a given set and Permutations() to calculate all possible permutations of a given set. It also relies on the Ontology() operation to generate a new Ontology from a set of axioms given and, conversely, it uses the Axioms() operation to retrieve a set containing all axioms of a given ontology. If we run our version of the algorithm using as input the same knowledge base presented in Example 1, we would get the following set as output: R = {O 1 , O 2 , O 3 }, where O 1 = {bird(tweety), ¬f lies(tweety), bird(chirpy)}, O 2 = {bird(tweety), bird(chirpy), bird f lies}, and O 3 = {bird(chirpy), bird f lies}. One can easily see that our approach gives more power of choice to the user and at two different options he/she is able to keep the axiom that states that every bird flies, which was our primary goal.</p><p>We have developed a Protégé view plugin (Figure <ref type="figure" target="#fig_0">1</ref>). that allows users to merge two ontologies at each time. The plugin can use both the classic and our version of the CMA-DL. It uses the HermiT<ref type="foot" target="#foot_3">5</ref> reasoner to check the consistency and OWLAPI<ref type="foot" target="#foot_4">6</ref> to access and manipulate ontologies. It is distributed under the GPL v3.0 license and is available at http://ccsl.ime.usp.br/en/onair/ontology-merging. The plugin allows the user to pick two ontologies from his/her filesystem and choose the destination where the resulting ontologies are going to be stored. Lastly, the user chooses whether he/she wants to use the classic CMA-DL or our modified version by checking the option "Merge ontologies using the first one as more important (Classic CMA-DL)". </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.">Conclusions and Future Work</head><p>In this paper, we presented a brief overview of theoretical and pragmatic research in the ontology merging field. We showed that there is a big gap between the pragmatic and theoretical approaches for ontology merging. We believe that both sides would benefit from a higher degree of integration. Also, we believe that the pragmatic field is a little bit stagnant when it comes to dealing with inconsistent merging results. In that context, we have chosen the CMA-DL algorithm as a starting point for our research because it clearly solves inconsistencies and could be directly applicable to ontologies. After a few experiments, we have proposed a small modification for this algorithm to provide more power of choice to the users. Now, the user can choose which ontology ordering suits better his/her needs.</p><p>Currently, we are working on building a software library to manage inconsistencies. An initial version of it is available at http://ccsl.ime.usp.br/en/ onair/ontology-merging. Also, we intend to implement a web version for this merging mechanism and integrate it to the OnAIR -Ontology Aided Information Retrieval system 7 , which is an ontology-based search tool for multimedia bases. OnAIR has an ontology-based query expansion feature and the merging mechanism would help the experts to build better ontologies, improving the retrieval results quality.</p></div><figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_0"><head>Figure 1 .</head><label>1</label><figDesc>Figure 1. Protege Merging Plugin</figDesc><graphic coords="5,145.74,624.79,303.80,75.25" type="bitmap" /></figure>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="2" xml:id="foot_0">http://protege.stanford.edu</note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="3" xml:id="foot_1">http://neon-toolkit.org/wiki/1.x/Watson_for_Knowledge_Reuse</note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="4" xml:id="foot_2">http://krizik.felk.cvut.cz/km/owldiff/</note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="5" xml:id="foot_3">http://hermit-reasoner.com/</note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="6" xml:id="foot_4">http://owlapi.sourceforge.net</note>
		</body>
		<back>
			<div type="references">

				<listBibl>

<biblStruct xml:id="b0">
	<analytic>
		<title level="a" type="main">Merging first-order knowledge using dilation operators</title>
		<author>
			<persName><forename type="first">S</forename><surname>Falconer</surname></persName>
		</author>
		<author>
			<persName><forename type="first">N</forename><surname>Noy</surname></persName>
		</author>
		<author>
			<persName><forename type="first">M</forename><surname>Storey</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">Proceedings of the 5th international conference on Foundations of information and knowledge systems (FoIKS&apos;08)</title>
				<meeting>the 5th international conference on Foundations of information and knowledge systems (FoIKS&apos;08)<address><addrLine>Busan, South Korea; Gorogiannis, N. and Hunter, A.; Berlin, Heidelberg</addrLine></address></meeting>
		<imprint>
			<publisher>Springer-Verlag</publisher>
			<date type="published" when="2007">2007. 2008</date>
			<biblScope unit="page" from="132" to="150" />
		</imprint>
	</monogr>
	<note>Proceedings of the Workshop on Ontology Matching (OM2007) at ISWC/ASWC2007</note>
</biblStruct>

<biblStruct xml:id="b1">
	<analytic>
		<title level="a" type="main">A translation approach to portable ontology specifications</title>
		<author>
			<persName><forename type="first">T</forename><surname>Gruber</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="j">Knowledge acquisition</title>
		<imprint>
			<biblScope unit="volume">5</biblScope>
			<biblScope unit="issue">2</biblScope>
			<biblScope unit="page" from="199" to="220" />
			<date type="published" when="1993">1993</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b2">
	<analytic>
		<title level="a" type="main">Merging with integrity constraints</title>
		<author>
			<persName><forename type="first">S</forename><surname>Konieczny</surname></persName>
		</author>
		<author>
			<persName><forename type="first">R</forename><forename type="middle">P</forename><surname>Pérez</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">Fifth European Conference on Symbolic and Quantitative Approaches to Reasoning with Uncertainty (ECSQARU&apos;99)</title>
				<imprint>
			<date type="published" when="1999">1999</date>
			<biblScope unit="page" from="233" to="244" />
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b3">
	<analytic>
		<title level="a" type="main">Knowledge integration for description logics</title>
		<author>
			<persName><forename type="first">T</forename><surname>Meyer</surname></persName>
		</author>
		<author>
			<persName><forename type="first">K</forename><surname>Lee</surname></persName>
		</author>
		<author>
			<persName><forename type="first">R</forename><surname>Booth</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">Proceedings of the National Conference on Artificial Intelligence AAAI&apos;05</title>
				<meeting>the National Conference on Artificial Intelligence AAAI&apos;05</meeting>
		<imprint>
			<publisher>AAAI Press</publisher>
			<date type="published" when="2005">2005</date>
			<biblScope unit="volume">20</biblScope>
			<biblScope unit="page" from="645" to="650" />
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b4">
	<analytic>
		<title level="a" type="main">Prompt: algorithm and tool for automated ontology merging and alignment</title>
		<author>
			<persName><forename type="first">N</forename><surname>Noy</surname></persName>
		</author>
		<author>
			<persName><forename type="first">M</forename><surname>Musen</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">Proceedings of the 17th National Conference on Artificial Intelligence (AAAI-00)</title>
				<meeting>the 17th National Conference on Artificial Intelligence (AAAI-00)</meeting>
		<imprint>
			<date type="published" when="2000">2000</date>
			<biblScope unit="page" from="450" to="455" />
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b5">
	<analytic>
		<title level="a" type="main">A revision-based approach to handling inconsistency in description logics</title>
		<author>
			<persName><forename type="first">G</forename><surname>Qi</surname></persName>
		</author>
		<author>
			<persName><forename type="first">W</forename><surname>Liu</surname></persName>
		</author>
		<author>
			<persName><forename type="first">D</forename><surname>Bell</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="j">Journal of Artificial Intelligence Review</title>
		<imprint>
			<biblScope unit="volume">26</biblScope>
			<biblScope unit="issue">1</biblScope>
			<biblScope unit="page" from="115" to="128" />
			<date type="published" when="2006">2006</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b6">
	<analytic>
		<title level="a" type="main">On the semantics of arbitration</title>
		<author>
			<persName><forename type="first">P</forename><forename type="middle">Z</forename><surname>Revesz</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="j">International Journal of Algebra and Computation</title>
		<imprint>
			<biblScope unit="volume">7</biblScope>
			<biblScope unit="page" from="133" to="160" />
			<date type="published" when="1995">1995</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b7">
	<analytic>
		<title level="a" type="main">A framework for handling inconsistency in changing ontologies</title>
		<author>
			<persName><forename type="first">F</forename><surname>Van Harmelen</surname></persName>
		</author>
		<author>
			<persName><forename type="first">P</forename><surname>Haase</surname></persName>
		</author>
		<author>
			<persName><forename type="first">Z</forename><surname>Huang</surname></persName>
		</author>
		<author>
			<persName><forename type="first">H</forename><surname>Stuckenschmidt</surname></persName>
		</author>
		<author>
			<persName><forename type="first">Y</forename><surname>Sure</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">The Semantic Web-ISWC</title>
				<imprint>
			<date type="published" when="2005">2005. 2005</date>
			<biblScope unit="page" from="353" to="367" />
		</imprint>
	</monogr>
</biblStruct>

				</listBibl>
			</div>
		</back>
	</text>
</TEI>
