<?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">Similarity-based Relaxed Instance Queries in EL ++</title>
			</titleStmt>
			<publicationStmt>
				<publisher/>
				<availability status="unknown"><licence/></availability>
			</publicationStmt>
			<sourceDesc>
				<biblStruct>
					<analytic>
						<author role="corresp">
							<persName><forename type="first">Andreas</forename><surname>Ecke</surname></persName>
							<email>ecke@tcs.inf.tu-dresden.de</email>
							<affiliation key="aff0">
								<orgName type="department">Theoretical Computer Science</orgName>
								<orgName type="institution">TU Dresden</orgName>
							</affiliation>
						</author>
						<title level="a" type="main">Similarity-based Relaxed Instance Queries in EL ++</title>
					</analytic>
					<monogr>
						<imprint>
							<date/>
						</imprint>
					</monogr>
					<idno type="MD5">3CB3D4E57ED9EB37E28A33849C7F1A1E</idno>
				</biblStruct>
			</sourceDesc>
		</fileDesc>
		<encodingDesc>
			<appInfo>
				<application version="0.7.2" ident="GROBID" when="2023-03-24T01:50+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>Description Logic (DL) knowledge bases (KBs) allow to express knowledge about concepts and individuals in a formal way. This knowledge is typically crisp, i.e., an individual either is an instance of a given concept or it is not. However, in practice this is often too restrictive: when querying for instances, one may often also want to find suitable alternatives, i.e., individuals that are not instances of query concept, but could still be considered 'good enough'. Relaxed instance queries have been introduced to gradually relax this inference in a controlled way via the use of concept similarity measures (CSMs). So far, those algorithms only work for the DL EL, which has limited expressive power. In this paper, we introduce a suitable CSM for EL ++ -concepts. EL ++ adds nominals, role inclusion axioms, and concrete domains to EL. We extend the algorithm to compute relaxed instance queries w.r.t. this new CSM, and thus to work for general EL ++ KBs.</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>Description Logics (DLs) are a family of knowledge representation formalisms widely used in AI to describe and reason about categories and objects (individuals) of an application domain <ref type="bibr" target="#b0">[1]</ref>. Each DL has a set of concept constructors, that allow to build complex concepts to formalize those categories, and are used in axioms and assertions to define the relations between different concepts and individuals. The set of axioms and assertions that describe the terminological and the assertional knowledge of the application domain, respectively, are collected in the TBox and the ABox. Together, TBox and ABox form a DL knowledge base (KB).</p><p>The formal semantics of DLs allows for the definition of reasoning services, i.e., inferences that allow to compute implicit knowledge from that explicitly described in the KB. Standard reasoning services include consistency of a KB, subsumption tests between different concepts, and instance checking, which derives whether an individual is an instance of a concept or not. Those reasoning services have been implemented in many highly optimized DL systems. One DL that is especially interesting in terms of reasoning is EL; while quite restricted in the constructors it offers, all the standard inferences can be implemented using polynomial-time algorithms. EL has been extended to a maximal superset EL ++ that still retains the favorable computational properties in <ref type="bibr" target="#b1">[2,</ref><ref type="bibr" target="#b2">3]</ref>.</p><p>Since DLs are the underlying logics of the OWL ontology language and its profiles (including OWL 2 EL, which is based on EL ++ ) standardized by the W3C, their usage has increased rapidly in many fields like the Semantic Web, biomedical ontologies and more. By now, there is a large collection of different KBs available written in those languages. However, for many applications, retrieving strict instances from these KBs is often too restrictive, as often one may want to find suitable alternatives, even in cases where no individual completely matches the query concept. Those alternatives may be individuals that are not strict instances, but fulfill most of the requirement and are thus quite similar to the query concept.</p><p>The reasoning services of relaxed instance queries has been introduced in <ref type="bibr" target="#b3">[4]</ref>. This inference relaxes the instance retrieval problem to return more individuals by the use of concept similarity measure (CSM). Given a CSM and a threshold t, this inference will return all instances of concepts that have a similarity of at least t to the query concept. Algorithms to compute relaxed instances have been introduced for unfoldable and general EL-TBoxes in <ref type="bibr" target="#b3">[4,</ref><ref type="bibr" target="#b4">5]</ref>.</p><p>However, the limited expressiveness of EL is often a problem; especially for query answering, it is useful to be able to use concrete domains to describe quantitative aspects of individuals and use these for querying. For example, one can use this to describe the geographic location of objects, the bandwidth of servers or time points in measurement series and incorporate the similarity between these values to find relaxed instances. Similarly, other features of EL ++ , like nominals, that allow to refer to specific individuals in concepts, role inclusions, and domain and range restrictions can be very useful in practice.</p><p>In this paper, we will extend the problem of relaxed query answering to EL ++ . To do so, after formally defining EL ++ and CSMs in Section 2, we introduce pseudo-interpretations in Section 3, which can than be used to define simulations and canonical models that correspond to the semantics of EL ++ . In Section 4 we define a parameterizable similarity measure on pointed pseudo-interpretations, which can be lifted to EL ++ -concepts using the canonical models. This CSM can then be used to query for relaxed instances in general EL ++ -KBs as shown in Section 5. We conclude the paper in Section 6.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2">Preliminaries</head><p>This section will give a brief introduction to the DL EL ++ and define concept similarity measures and some of their properties.   <ref type="table" target="#tab_0">1</ref>, these names are used to construct complex concept descriptions.</p><formula xml:id="formula_0">I = {d ∈ ∆ I | (f I 1 (d), . . . , f I n (d)) ∈ p D } GCI C D C I ⊆ D I role inclusion r1 • • • • • rn s r I 1 • • • • • r I n ⊆ s I domain restriction dom(r) C r I ⊆ C I × ∆ I range restriction ran(r) C r I ⊆ ∆ I × C I concept assertion C(a) a I ∈ C I role assertion r(a, b) (a I , b I ) ∈ r I</formula><p>The set of all EL ++ -concept descriptions is denoted with C(EL ++ ). When formulating a knowledge domain in terms of DLs, one expresses all classes of interest as (possibly complex) EL ++ -concepts, and possible relations between those classes as roles. The general knowledge about the classes can then be formalized using the axioms given in the middle part of Table <ref type="table" target="#tab_0">1</ref>, while the knowledge about specific objects can be expressed using concept and role assertions of the form C(a) and r(a, b). The axioms and assertions are collected in the TBox and ABox, respectively, which together form a knowledge base (KB).</p><p>EL ++ allows the use of p-admissible concrete domains. Such a concrete domain D = (∆ D , P D ) consist of a set of concrete values ∆ D and a set of predicates p ∈ P , each associated with an arity n &gt; 0 and an extension p D ⊆ (∆ D ) n . Features connect objects described by the DL to elements of the concrete domain. For example, using the concrete domain Q with ∆ Q = Q the set of rational numbers and predicates P = {=, ≥ p , = p } for p ∈ Q with the obvious meanings, one can express that adults are persons that are at least 18 using Adult Person ≥ 18 (age) or that Anna is 171 cm tall and her age is the same as her shoe size: (= 171 (height) =(age, shoeSize))(anna).</p><p>P-admissible concrete domains in EL ++ only allow for limited expressiveness, in order to retain tractability. Besides the obvious requirement that satisfiability and implication in these concrete domains must be decidable in polynomial time, there are two other changes when compared to general concrete domains: First, as there are no abstract features, predicates can only compare features of a single element. This means that EL ++ does not allow to express Person &lt;(age, mother • age) &lt;(age, father • age), i.e., that every person is younger than her parents. Second, the concrete domains need to be convex, i.e., if a set of predicates implies the disjunction of some predicates, then it must also imply one of the disjuncts. This is a rather big restriction, but there still exist useful p-admissible concrete domains, like those given in <ref type="bibr" target="#b1">[2]</ref>, which allow to refer to rational numbers and strings. Indeed, we argue that for our purpose, relaxed instance queries, for any set of concrete values ∆ D , even a single unary predicate = d for d ∈ ∆ D to attach concrete values to individuals is useful.</p><p>Example 1. Consider the concrete domain G to represent geographic coordinates as a pair of latitude and longitude, with</p><formula xml:id="formula_1">∆ G = [−90, 90] × [−180, 180] ⊆ R × R</formula><p>and the unary predicates = p for p ∈ ∆ G . This allows a service provider to describe the location of all its branch offices in the ABox using assertions like (= (51.026,13.723) (location))(office1). If we construct the similarity measure used for relaxing the queries in such a way that it assigns larger similarities to locations closer together, an instance query which includes the predicate = l (location) for the location of the user will try to find the closest branch offices that also match the rest of the query. Indeed, one could also construct a similarity measure that returns similarity 0 for locations more than a set distance away, allowing the user to specify the maximum distance. Thus, while the concrete domain itself is extremely inexpressive, it allows the relaxed instance queries to include the distance between locations in its similarity evaluation.</p><p>Note that in this paper we restrict to a single concrete domain D, but it is easy to generalize the similarity measure and the algorithms to compute relaxed instance queries to handle multiple concrete domains at once. Also note that it is possible to remove domain and range restrictions from the KB without changing its semantics <ref type="bibr" target="#b2">[3]</ref>. To do so, we can replace every domain restrictions dom(r) C with ∃r.</p><p>C and for any range restrictions ran(r) C, we replace all ∃r.D occurring in the KB with ∃r.(C D) and for any role assertion r(a, b) we add D(b). Thus, in the remainder of this paper, we assume that KBs do not contain any domain or range restrictions.</p><p>The semantics of EL ++ -concepts is given by means of interpretations. An interpretation I = (∆ I , • I ) is a tuple consisting of a domain ∆ I and an interpretation function • I that assigns to each concept name C ∈ N C a subset C I ⊆ ∆ I of the the domain, to each role name r ∈ N R a binary relation r I ⊆ ∆ I × ∆ I , to each individual name a ∈ N I an element a I ∈ ∆ I , and to each feature name f ∈ N F a partial function f I : ∆ I ∆ D . The interpretations can be extended to complex EL-concepts as shown in the last column of Table <ref type="table" target="#tab_0">1</ref>.</p><p>Instead of viewing an interpretation I as a tuple of functions that assign subsets, binary relations and elements of ∆ I to the elements of N C , N R and N I , and partial functions to the elements of N F , one can also view it as a tuple of functions</p><formula xml:id="formula_2">I : (∆ I → P(N C ), ∆ I → P(N R × ∆ I ), ∆ I → P(N I ), ∆ I → N F ∆ D )</formula><p>from the domain ∆ I to a subset of N C (the concept names that this element is an instance of), to a binary relation between N R and ∆ I (the successors of the element), to a subset of N I (the individual names that map to this element), and to a partial function mapping feature names to concrete values, respectively. If we require that each individual name occurs only once, this definition is equivalent to the usual one.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.2">Concept similarity measures</head><p>Given a EL ++ -KB K, a concept similarity measure (CSM) is a function</p><formula xml:id="formula_3">∼ K : C(EL ++ ) × C(EL ++ ) → [0, 1] such that C ∼ K C = 1 for all concepts C.</formula><p>Intuitively, a value C ∼ K D = 0 means that the concepts C and D are totally dissimilar w.r.t. K, while a value of 1 indicates total similarity. We often simply write ∼ instead of ∼ K if the KB K is clear from the context.</p><p>In <ref type="bibr" target="#b5">[6]</ref> a set of properties for CSMs is defined. We extend the definition of these properties to the case of general TBoxes.</p><formula xml:id="formula_4">Definition 1. A CSM ∼ K : C(EL ++ ) × C(EL ++ ) → [0, 1] is: symmetric iff C ∼ K D = D ∼ K C; equivalence invariant iff for all C ≡ K D it holds that C ∼ K E = D ∼ K E; equivalence closed iff C ≡ K D ⇐⇒ C ∼ K D = 1; bounded iff the existence of E ≡ K with C K E and D K E implies C ∼ K D &gt; 0; and dissimilar closed iff C, D ≡ K</formula><p>and there is no</p><formula xml:id="formula_5">E ≡ K with C K E and D K E implies C ∼ K D = 0.</formula><p>These formally defined properties make CSMs more predictable for users. The measures in <ref type="bibr" target="#b4">[5]</ref><ref type="bibr" target="#b5">[6]</ref><ref type="bibr" target="#b6">[7]</ref> fulfill most of these properties. The measures from <ref type="bibr" target="#b4">[5,</ref><ref type="bibr" target="#b5">6]</ref> are additionally parameterizable, which allows users to calibrate the measure to fit their expectations. In our setting these parameterizable CSMs enable users to specify which features of query concepts should be relaxed.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3">Pseudo-interpretations</head><p>Unlike in EL without concrete domains, the definition of interpretations for EL ++ given in the last section does not admit canonical models. For example, in the concrete domain of the rational numbers Q = (Q, P Q ) introduced before, a concept like &gt; 0 (f ) will have infinitely many models (one for each positive rational number) without any of them being preferable and therefore canonical. One way to avoid this problem and ensure the existence of canonical models is to only consider pseudo-interpretations.</p><p>These pseudo-interpretations differ from the usual interpretations in just the fourth component: Instead of assigning each domain element a partial function from the feature names to concrete elements, we simply assign to each element directly a subset of the set of all predicates of D over the feature names, denoted with Pred D (N F ). In that way, each pseudo-interpretation corresponds to a set of usual interpretations, namely all those whose concrete elements assigned to the feature names of a domain element satisfy all the predicates mapped to the domain element by the pseudo-interpretation.</p><formula xml:id="formula_6">Definition 2. A pseudo-interpretation J = (∆ J , f J C , f J R , f J I , f J F )</formula><p>consists of an interpretation domain ∆ J and the interpretation functions f J C : ∆ J → P(N C ), f J R : ∆ J → P(N R × ∆ J ), f J I : ∆ J → P(N I ), and f J F : ∆ J → P(Pred D (N F )), such that for each a ∈ N I there exists exactly one d ∈ ∆ J with a ∈ f J I (d), and the conjunction conj((J , d)) = p(f1,...,fn)∈f J F (d)</p><formula xml:id="formula_7">p(f 1 , . . . , f n ) is satisfiable in D for any d ∈ ∆ J .</formula><p>Pseudo-interpretations can be used exactly as usual interpretations, with the exception that it does not interpret feature names itself; however, it does interpret predicates of the concrete domain:</p><formula xml:id="formula_8">A J = {d ∈ ∆ J | A ∈ f J C (d)} r J = {(d, e) ∈ ∆ J × ∆ J | (r, e) ∈ f J R (d)} a J = d ⇐⇒ a ∈ f J I (d) p(f 1 , . . . , f n ) J = {d ∈ ∆ J | D |= conj((J , d)) ⇒ p(f 1 , . . . , f n )}</formula><p>Any other concept constructors, axioms, and assertions can then be interpreted as given in Table <ref type="table" target="#tab_0">1</ref>. We say that a pseudo-interpretation J is a model a KB K, if it satisfies all axioms and assertions in K. This is the case if and only if all corresponding usual interpretations are models of K.</p><p>We call a pair (J , d) consisting of a pseudo-interpretation J and an element d ∈ ∆ J a pointed pseudo-interpretation and denote the set of all pointed pseudointerpretations as P. We sometimes use f C (p) (and similarly for f R , f I and f F ) instead of f J C (d) for p = (J , d).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.1">Simulations</head><p>Simulations allow the characterization of elements of interpretations w.r.t. the concepts they are instance of. To extend the simulation relation between interpretations w.r.t. EL given in <ref type="bibr" target="#b7">[8]</ref> to pseudo-interpretations w.r.t. EL ++ , we observe the following:</p><p>role inclusions, range and domain restrictions are not concept constructors, and thus do not matter for the set of concepts that an element of a pseudointerpretation is instance of; the bottom concept ⊥ can not occur in pseudo interpretations; nominals allow to use individual names in concepts, and thus simulations need to preserve individuals; and for concrete domains, simulations need to preserve the valuations that satisfy the elements, which can be formalized using implications between the predicate sets of pointed pseudo-interpretations. Thus, we can define a simulation relation for EL ++ as follows: Definition 3. Let J 1 and J 2 be pseudo-interpretations. A relation S ⊆ ∆ J1 × ∆ J2 is a simulation between J 1 and J 2 , if the following conditions hold: 1. For all (d, e) ∈ S and Given two pointed pseudo-interpretations p = (J 1 , d) and q = (J 2 , e), we say that p simulates q (denoted p q), if there exists a simulation S ⊆ ∆ J1 × ∆ J2 between J 1 and J 2 with (d, e) ∈ S. p and q are equisimilar (denoted p q), if p q and q p. This definition of simulations is reasonable, as it corresponds with the set of concepts that the elements in the simulation are instances of. Indeed, we can extent the following result from <ref type="bibr" target="#b7">[8]</ref> to simulations of pseudo-interpretations in EL ++ : Theorem 1. Let p and q be pointed pseudo-interpretations, then: 1. p q iff C(p) ⊆ C(q), and 2. p q iff C(p) = C(q).</p><formula xml:id="formula_9">A ∈ N C , if d ∈ A J1 then e ∈ A J2</formula></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.2">Canonical models</head><p>Next, we need to define canonical models for EL ++ . For these, the additional axioms like role inclusions are important. However, if the concept C contains the bottom concept ⊥, it must be equivalent to ⊥, and thus can not be instance of any element in an interpretation -in particular, it does not have a canonical model. Thus, by requiring that C is satisfiable w.r.t. K, we do not have to worry about ⊥ at all.</p><p>Since individuals can be part of concepts via nominals, we need to take care of the case that 2 individuals are equivalent, e.g. by the GCI {a} {b}. In this case, we cannot create two elements in the canonical interpretation for the two concepts {a} and {b}, since this would not yield a model of the TBox anymore. Instead, we need to take one representative for all equivalence classes of concepts that are subsumed by the same individual:</p><formula xml:id="formula_10">[C] = {D ∈ C(EL ++ ) | ∃a ∈ N I : K |= C {a} ∧ K |= D {a}}</formula><p>Finally, we need the notion Sig(X) of the signature of X, i.e., the set of all concept, role, individual and feature names occurring in X, and the notion sub(C) and sub(K) of the set of all sub-concepts of C and all sub-concepts of concepts occurring in K, respectively. Then, we can define canonical models as follows:</p><formula xml:id="formula_11">Definition 4. Let K be a satisfiable EL ++ -KB and C ∈ C(EL ++ ) be an EL ++ - concept with C ≡ K ⊥. The canonical model J C,K = (∆ J C,K , f C , f R , f I , f F ) of C w.r.t. K is a pseudo-interpretations defined as follows: -∆ J C,K = {d [C] } ∪ {d [{a}] | a ∈ (Sig(K) ∪ Sig(C)) ∩ N I } ∪ {d [D] | ∃r.D ∈ sub(C) ∪ sub(K)}, and for all d [D] in ∆ J C,K : -f C (d [D] ) = {A ∈ N C | K |= D A}, -f R (d [D] ) = {(r, d [E] ) ∈ N R × ∆ J C,K | K |= D ∃r.E}, -f I (d [D] ) = {a ∈ N I | K |= D {a}}, and -f F (d [D] ) = {p(f 1 , . . . , f n ) ∈ Pred D (N F ) | K |= D p(f 1 , . . . , f n )}.</formula><p>It can be shown that the canonical model J C,K is indeed a model of the KB K, and its elements d [D] are instances of the corresponding concept D, for all</p><formula xml:id="formula_12">d [D] ∈ ∆ J C,K . Lemma 1. Let K be a satisfiable EL ++ -KB and C, D be EL ++ -concepts with C ≡ K ⊥. Then: 1. if d [D] ∈ ∆ J C,K , then d [D] ∈ D J C,K , and 2. J C,K |= K.</formula><p>Finally, it can be shown that the canonical model is indeed 'canonical', i.e., it can simulate all other models (and is thus least w.r.t. ): Theorem 2. Let K be a satisfiable EL ++ -KB and C, D be EL ++ -concepts with C ≡ K ⊥. Then: 1. for all pseudo-models J of K and all elements d ∈ ∆</p><formula xml:id="formula_13">J it holds d ∈ C J iff (J C,K , d [C] ) (J , d), 2.</formula><p>for all pseudo-models J of K, all individuals a occurring in K, and all elements d ∈ ∆ J it holds d = a J iff (J K , d [{a}] ) (J , d), and 3.</p><formula xml:id="formula_14">C K D iff d [C] ∈ D J C,K iff (J D,K , d [D] ) (J C,K , d [C] ).</formula><p>Those results, besides being needed to prove formal properties of the similarity measure, show that canonical models are reasonably defined.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4">A Concept Similarity Measure for EL ++</head><p>Similarly to <ref type="bibr" target="#b4">[5]</ref>, we will define the CSM via a similarity measure on pointed pseudo-interpretations, by translating the concepts into interpretations by taking their canonical model. To define the similarity measure on pointed pseudointerpretations, we need a few basic ingredients:</p><p>a primitive measure ∼ prim :</p><formula xml:id="formula_15">N C × N C ∪ N R × N R ∪ N I × N I → [0, 1]</formula><p>that assigns a similarity value to each pair of concept names, role names, and individual names, a weighting function g : </p><formula xml:id="formula_16">N C ∪ N R ∪ N I ∪ N F → R &gt;0 ,</formula><formula xml:id="formula_17">u ∼ D v = f ∈dom(u)∪dom(v) g(f ) • sim D (u(f ), v(f )) f ∈dom(u)∪dom(v) g(f )</formula><p>.</p><p>Finally, we can define the similarity of conjunctions of predicates on the concrete domain using a similar construction to the Hausdorff metric, where the valuations u, v are restricted to those feature names occurring in f F (p) or f F (q): sim D (p, q) = min inf</p><formula xml:id="formula_18">u|=conj(p) sup v|=conj(q) u ∼ D v, inf u|=conj(q) sup v|=conj(p) u ∼ D v</formula><p>All other things, i.e., concept names, successors, and individual names, can be compared directly. For this, we introduce a new role r and a new individual a , in case that a pointed pseudo-interpretation does not have any successors or individuals, similarly to how is used for concept names. Then we can define for a pointed pseudo-interpretation p:</p><formula xml:id="formula_19">-CN(p) = f C (p) if f C (p) = ∅ { } otherwise , the set of concept names of p, -SC(p) = f R (p) if f R (p) = ∅ {(r , d)} otherwise</formula><p>, the set of successors of p,</p><formula xml:id="formula_20">-IN(p) = f I (p) if f I (p) = ∅ {a } otherwise</formula><p>, the set of individuals of p.</p><p>To compare how similar two pointed pseudo-interpretations are for these aspects, we use pairings. A pairing P ⊆ X × Y between sets X and Y is a total binary relation, where totality means that all elements x ∈ X and y ∈ Y occur in some some tuple of P . For two pointed pseudo-interpretations p = (J 1 , d) and q = (J 2 , e), we are mainly interested in the following pairings:</p><p>-P C (p, q) ⊆ P((CN(p) × CN(q)) \ {( , )}) is the set of all concept name pairings on the concepts that p and q are instance of. -P S (p, q) ⊆ P((SC(p) × SC(q)) \ {((r , d), (r , e))}) is the set of all successor pairings of p and q. -P I (p, q) ⊆ P((IN(p) × IN(q)) \ {(a , a )}) is the set of all individual pairings of p and q.</p><p>Using these pairings, we can finally define the similarity measure ∼ i for pointed pseudo-interpretations. It works by averaging over the weighted similarity of the pairs in the best concept name, successor, and individual pairings. The similarity between pairs of successors is computed recursively. If at least one of the pointed interpretations contain any predicates, the similarity between these predicates as defined before is added, weighted with the concrete domain factor c. p ∼ i q = max p C ∈P C (p,q) p S ∈P S (p,q) p I ∈P I (p,q) sim C (p C ) + sim S (p S ) + sim I (p I ) + sim F (p, q) sim F (p, q) = g F (p, q) • sim D (p, q), g F (p, q) = c if f F (p) = ∅ ∨ f F (q) = ∅ 0 otherwise .</p><p>Since ∼ i can be seen as a contraction mapping on the similarity values between all elements of J 1 and J 2 , the Banach fixed-point theorem will yield the following result: Theorem 3. ∼ i is well-defined, i.e., p ∼ i q has a unique solution.</p><p>This definition of ∼ i is not equivalence invariant and equisimulation closed. In order to regain these properties, we need to normalize the pointed pseudointerpretations before evaluating ∼ i . We say that an pseudo-interpretation J is in normal form if there are no elements a, b, c ∈ ∆ J with {(a, b), (a, c)} ∈ r J and (J , b) (J , c), i.e., no node has two successor nodes for the same role name that are in a simulation relation. Any pseudo-interpretation J can be transformed into normal form as follows:</p><p>1. remove all edges (a, b) ∈ r J from J , for which there exists an edge (a, c) ∈ r J such that (J , b) (J , c) but not (J , b) (J , c); 2. for all edges (a, b 0 ) ∈ r J , check if there are other edges (a, b i ) ∈ r J , i &gt; 0, with (J , b 0 ) (J , b i ) and choose one representative b j ; then remove all other edges (a, b i ), i = j, from r J . Finally, we can define the CSM ∼ c for concept descriptions w.r.t. an EL ++ KB K as follows: </p><formula xml:id="formula_21">C ∼ c D = (J C,K , d [C] ) ∼ i (J D,K , d [D] ),</formula></div><figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_0"><head>2. 1</head><label>1</label><figDesc>The DL EL ++ EL ++ concepts are built from four countable, pairwise disjoint sets: The set N C of concept names; the set N R of role names; the set N I of individual names; and syntax usual semantics concept name A A I ⊆ ∆ I top concept I = ∆ I bottom concept ⊥ ⊥ I = ∅ nominal {o} {o} I = {o I } conjunction C D (C D) I = C I ∩ D I existential restriction ∃r.C (∃r.C) I = {d ∈ ∆ I | ∃e ∈ ∆ I : (d, e) ∈ r I ∧ e ∈ C I } concrete domain p(f1, . . . , fn) p(f1, . . . , fn)</figDesc></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_1"><head>. 2 .</head><label>2</label><figDesc>For all (d, e) ∈ S, r ∈ N R and (d, d ) ∈ r J1 , there is an (e, e ) ∈ r J2 with (d , e ) ∈ S. 3. For all (d, e) ∈ S and a ∈ N I , if d = a J1 then e = a J2 . 4. For all (d, e) ∈ S, we have that D |= conj((J 2 , e)) ⇒ conj((J 1 , d)).</figDesc></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_2"><head></head><label></label><figDesc>which allows more important features of interpretations to contribute more to the final similarity values than others, a similarity measure ∼ D : ∆ D × ∆ D → [0, 1] on the concrete domain, a discounting factor w ∈ (0, 1), and a concrete domain factor c &gt; 0.We will extend the concrete similarity measure ∼ D to handle undefined values, i.e., ∼ D :(∆ D ∪{⊥})×(∆ D ∪{⊥}) → [0, 1] by setting ⊥ ∼ D d = d ∼ D ⊥ = 0 for d ∈ ∆ D and ⊥ ∼ D ⊥ = 1.This can be further extended to similarity on valuations, i.e., partial functions u, v : N F ∆ D , by computing the weighted average of the similarity values for all features:</figDesc></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_3"><head>(</head><label></label><figDesc>A,B)∈p C g(A, B) + ((r,d),(s,e))∈p S g(r, s) + (a,b)∈p I g(a, b) + g F (p, q)with:sim C (p C ) = (A,B)∈p C g(A, B)(A ∼ prim B), sim S (p S ) = ((r,d),(s,e))∈p S g(r, s)(r ∼ prim s)(w + (1 − w)(J 1 , d) ∼ i (J 2 , e)), sim I (p I ) = (a,b)∈p I g(a, b)(a ∼ prim b),</figDesc></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_4"><head>1 : 4 .</head><label>14</label><figDesc>where J C,K and J D,K are the normalized canonical models of C and D w.r.t. K. If C or D are equivalent to ⊥, they do not have a canonical model. In this case, we set C ∼ c ⊥ = ⊥ ∼ c D = 0 for C, D ≡ K ⊥. ∼ c has all of the properties given in Definition Theorem The CSM ∼ c is symmetric, bounded, dissimilar closed, equivalence invariant, and equivalence closed.</figDesc></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" type="table" xml:id="tab_0"><head>Table 1 .</head><label>1</label><figDesc>Concept constructors, TBox axioms, and ABox assertions for EL ++ the set N F of feature names. Using the concept constructors given in the upper part of Table</figDesc><table /></figure>
		</body>
		<back>

			<div type="funding">
<div xmlns="http://www.tei-c.org/ns/1.0"><p>Supported by the German Research Foundation (DFG) Graduiertenkolleg 1763 (QuantLA).</p></div>
			</div>

			<div type="annex">
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5">Relaxed instance queries w.r.t. ∼ c</head><p>We established in <ref type="bibr" target="#b4">[5]</ref> that in order to compute the maximal similarity between a query concept C and all concepts that an individual a is instance of, it is enough to check all generalized concepts of the msc of a, or in terms of ∼ i : It is enough to compute the maximal similarity (J C,K , d [C] ) ∼ i q for all pointed interpretations (J ,K , d <ref type="bibr">[{a}]</ref> )</p><p>q. This can also be achieved by using (J ,K , d <ref type="bibr">[{a}]</ref> ) directly in the computation of the ∼ i and allowing to generalize this pointed pseudointerpretations, i.e. finding the best subsets of f C , f R , and f I , and taking the best set of predicates that follow from f F .</p><p>Since f C , f R and f I are finite, finding the best subsets is always possible by checking all of them. However, there can be infinitely many predicate sets following from f F . Note that in order to maximize sim conc (p, q), generalizing q can always increase the left part of sim conc (p, q), inf u|=conj(p) sup v|=conj(q) sim D (u, v), to a value of 1, by simply taking the empty set of predicates (which has all valuations as model), but it can never increase the right part. Thus, the maximal value for sim conc (p, q) that can be achieved by generalizing q is simply inf u|=conj(q) sup v|=conj(p) sim D (u, v).</p><p>Procedure: maxsim (J1, J2, ∼prim, ∼D, g, w, c) Input: J1, J2: finite pseudo-interpretations; ∼prim: primitive measure; ∼D: similarity measure on D; g: weighting function; w ∈ (0, 1): discount factor; c &gt; 0: concrete domain factor Output: maximal similarities between p = (J1, a) and all generalizations of q = (J2, b) </p><p>Fig. <ref type="figure">1</ref>. Algorithm to compute the maximal similarities between all elements of the finite pseudo interpretation J1 and all generalizations of the finite pseudo interpretation J2.</p><p>Procedure: relaxed-instances (Q, K, t, ∼prim, ∼D, g, w, c) Input: Q: EL-concept; K = (T , A): EL ++ -KB; t ∈ [0, 1]: threshold; ∼prim: primitive measure; ∼D: concrete measure; g: weighting function; w ∈ (0, 1): discounting factor; c &gt; 0: concrete factor Output: individuals a ∈ Relax ∼c t (Q) 1: compute canonical models IQ,T and IK 2: maxsim(d, e) ← maxsim(JQ,K, J ,K , ∼prim, ∼D, g, w, c) The algorithm to compute the maximal similarities between elements of a pseudo-interpretation J 1 and all generalizations of elements of a pseudointerpretation J 2 is shown in Figure <ref type="figure">1</ref>. Using this, the algorithm to actually compute all relaxed instances of a query concept Q w.r.t. ∼ c and an EL ++ -KB K is conceptually quite easy, as it only needs to compute the maximal similarities between Q and the individuals a ∈ K and check whether they are larger than t. The algorithm is depicted in Figure <ref type="figure">2</ref>.</p><p>The maxsim i values computed in the algorithm monotonically converge from below to the maximal similarities between generalized concepts of the individuals and the query concept. Thus, the algorithm is sound and complete in the following sense: Theorem 5. Let ∼ c be the CSM derived from ∼ i with the primitive measure ∼ prim , concrete measure ∼ D and factor c, weighting function g and discounting factor w. Then the algorithm relaxed-instances is sound and complete: 1. Soundness: If a ∈ relaxed-instances(Q, K, t, ∼ prim , ∼ D , g, w, c) for a number n of iterations, then a ∈ Relax ∼c t (Q). 2. Completeness: If a ∈ Relax ∼c t (Q), then there exists an i ∈ N such that for n ≥ i iterations it holds that a ∈ relaxed-instances(Q, K, t, ∼ prim , ∼ D , g, w, c).</p><p>Note the the number of of iterations i needed in the completeness part of Theorem 5 is not bounded. However, since the algorithm converges quite fast, this should not be a problem in most practical applications.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="6">Conclusions</head><p>In this paper we extended the concepts similarity measure for general TBoxes introduced in <ref type="bibr" target="#b4">[5]</ref> to the DL EL ++ . Since concrete domains do not allow do define canonical models for standard interpretations in EL ++ , we defined pseudointerpretations, which correspond to a set of standard interpretations. This is used to define a similarity measure on pointed pseudo-interpretations, which is extended to concept descriptions w.r.t. a KB via the canonical models. We use the proposed CSM for relaxed instance querying of EL ++ KBs and give an algorithm that computes all relaxed instances.</p></div>			</div>
			<div type="references">

				<listBibl>

<biblStruct xml:id="b0">
	<monogr>
		<title level="m">The Description Logic Handbook: Theory, Implementation, and Applications</title>
				<editor>
			<persName><forename type="first">F</forename><surname>Baader</surname></persName>
		</editor>
		<editor>
			<persName><forename type="first">D</forename><surname>Calvanese</surname></persName>
		</editor>
		<editor>
			<persName><forename type="first">D</forename><forename type="middle">L</forename><surname>Mcguinness</surname></persName>
		</editor>
		<editor>
			<persName><forename type="first">D</forename><surname>Nardi</surname></persName>
		</editor>
		<editor>
			<persName><forename type="first">P</forename><forename type="middle">F</forename><surname>Patel-Schneider</surname></persName>
		</editor>
		<meeting><address><addrLine>New York, NY, USA</addrLine></address></meeting>
		<imprint>
			<publisher>Cambridge University Press</publisher>
			<date type="published" when="2003">2003</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b1">
	<analytic>
		<title level="a" type="main">Pushing the EL envelope</title>
		<author>
			<persName><forename type="first">F</forename><surname>Baader</surname></persName>
		</author>
		<author>
			<persName><forename type="first">S</forename><surname>Brandt</surname></persName>
		</author>
		<author>
			<persName><forename type="first">C</forename><surname>Lutz</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">Proceedings of the Nineteenth International Joint Conference on Artificial Intelligence IJCAI-05</title>
				<meeting>the Nineteenth International Joint Conference on Artificial Intelligence IJCAI-05<address><addrLine>Edinburgh, UK</addrLine></address></meeting>
		<imprint>
			<publisher>Morgan-Kaufmann Publishers</publisher>
			<date type="published" when="2005">2005</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b2">
	<analytic>
		<title level="a" type="main">Pushing the el envelope further</title>
		<author>
			<persName><forename type="first">F</forename><surname>Baader</surname></persName>
		</author>
		<author>
			<persName><forename type="first">S</forename><surname>Brandt</surname></persName>
		</author>
		<author>
			<persName><forename type="first">C</forename><surname>Lutz</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">Proceedings of the OWLED 2008 DC Workshop on OWL: Experiences and Directions</title>
				<editor>
			<persName><forename type="first">K</forename><surname>Clark</surname></persName>
		</editor>
		<editor>
			<persName><forename type="first">P</forename><forename type="middle">F</forename><surname>Patel-Schneider</surname></persName>
		</editor>
		<meeting>the OWLED 2008 DC Workshop on OWL: Experiences and Directions</meeting>
		<imprint>
			<date type="published" when="2008">2008</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b3">
	<analytic>
		<title level="a" type="main">Towards instance query answering for concepts relaxed by similarity measures</title>
		<author>
			<persName><forename type="first">A</forename><surname>Ecke</surname></persName>
		</author>
		<author>
			<persName><forename type="first">R</forename><surname>Peñaloza</surname></persName>
		</author>
		<author>
			<persName><forename type="first">A</forename><forename type="middle">Y</forename><surname>Turhan</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">Workshop on Weighted Logics for AI (in conjunction with IJCAI&apos;13)</title>
				<editor>
			<persName><forename type="first">L</forename><surname>Godo</surname></persName>
		</editor>
		<editor>
			<persName><forename type="first">H</forename><surname>Prade</surname></persName>
		</editor>
		<editor>
			<persName><forename type="first">G</forename><surname>Qi</surname></persName>
		</editor>
		<meeting><address><addrLine>Beijing, China</addrLine></address></meeting>
		<imprint>
			<date type="published" when="2013">2013</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b4">
	<analytic>
		<title level="a" type="main">Answering instance queries relaxed by concept similarity</title>
		<author>
			<persName><forename type="first">A</forename><surname>Ecke</surname></persName>
		</author>
		<author>
			<persName><forename type="first">R</forename><surname>Peñaloza</surname></persName>
		</author>
		<author>
			<persName><forename type="first">A</forename><forename type="middle">Y</forename><surname>Turhan</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">Proceedings of the Fourteenth International Conference on Principles of Knowledge Representation and Reasoning (KR&apos;14)</title>
				<meeting>the Fourteenth International Conference on Principles of Knowledge Representation and Reasoning (KR&apos;14)<address><addrLine>Vienna, Austria</addrLine></address></meeting>
		<imprint>
			<publisher>AAAI Press</publisher>
			<date type="published" when="2014">2014</date>
		</imprint>
	</monogr>
	<note>To appear</note>
</biblStruct>

<biblStruct xml:id="b5">
	<analytic>
		<title level="a" type="main">A framework for semantic-based similarity measures for ELH-concepts</title>
		<author>
			<persName><forename type="first">K</forename><surname>Lehmann</surname></persName>
		</author>
		<author>
			<persName><forename type="first">A</forename><forename type="middle">Y</forename><surname>Turhan</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">Proc. of the 13th European Conf. on Logics in A.I. (JELIA</title>
		<title level="s">Lecture Notes In Artificial Intelligence</title>
		<editor>
			<persName><forename type="first">L</forename><forename type="middle">F</forename><surname>Del Cerro</surname></persName>
		</editor>
		<editor>
			<persName><forename type="first">A</forename><surname>Herzig</surname></persName>
		</editor>
		<editor>
			<persName><forename type="first">J</forename><surname>Mengin</surname></persName>
		</editor>
		<meeting>of the 13th European Conf. on Logics in A.I. (JELIA</meeting>
		<imprint>
			<publisher>Springer</publisher>
			<date type="published" when="2012">2012. 2012</date>
			<biblScope unit="page" from="307" to="319" />
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b6">
	<analytic>
		<title level="a" type="main">A similarity measure for the description logic EL with unfoldable terminologies</title>
		<author>
			<persName><forename type="first">B</forename><surname>Suntisrivaraporn</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">5th International Conference on Intelligent Networking and Collaborative Systems (INCoS)</title>
				<imprint>
			<date type="published" when="2013">2013</date>
			<biblScope unit="page" from="408" to="413" />
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b7">
	<analytic>
		<title level="a" type="main">Deciding inseparability and conservative extensions in the description logic EL</title>
		<author>
			<persName><forename type="first">C</forename><surname>Lutz</surname></persName>
		</author>
		<author>
			<persName><forename type="first">F</forename><surname>Wolter</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="j">Journal of Symbolic Computation</title>
		<imprint>
			<biblScope unit="volume">45</biblScope>
			<biblScope unit="issue">2</biblScope>
			<biblScope unit="page" from="194" to="228" />
			<date type="published" when="2010">2010</date>
		</imprint>
	</monogr>
</biblStruct>

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