=Paper=
{{Paper
|id=Vol-3263/abstract-7
|storemode=property
|title=Reasoning in the Description Logic ALC under Category Semantics (Extended Abstract)
|pdfUrl=https://ceur-ws.org/Vol-3263/abstract-7.pdf
|volume=Vol-3263
|authors=Ludovic Brieulle,Chan Le Duc,Pascal Vaillant
|dblpUrl=https://dblp.org/rec/conf/dlog/BrieulleDV22
}}
==Reasoning in the Description Logic ALC under Category Semantics (Extended Abstract)==
Reasoning in the Description Logic ALC under Category Semantics Extended Abstract Ludovic Brieulle1 , Chan Le Duc1 and Pascal Vaillant1 1 UniversitΓ© Sorbonne Paris Nord, LIMICS, INSERM, U1142, F-93000, Bobigny, France 1. Introduction Languages based on Description Logics (DLs) [1] such as OWL [2], OWL2 [3], are widely used to represent ontologies in semantics-based applications. πβπ is the smallest DL involving roles which is closed under negation. It is a suitable logic for a first attempt to replace the usual set-theoretical semantics by another one. We present in this paper a reformulation of the usual set-theoretical semantics of the description logic πβπ with general TBoxes by using categorical language. In this setting, πβπ concepts are represented as objects, concept subsumptions as arrows, and memberships as logical quantifiers over objects and arrows of categories. Such a category-based semantics provides a more modular representation of the semantics of πβπ. This feature allows us to define a sublogic of πβπ by dropping the interaction between existential and universal restrictions, which would be responsible for an exponential complexity in space. Such a sublogic is undefinable in the usual set-theoretical semantics, We show that this sublogic is PSPACE by proposing a deterministic algorithm for checking concept satisfiability which runs in polynomial space. It is well known that πβπ with general TBoxes is EXPTIME-complete [4, 5] while πβπ without TBox is PSPACE-complete [6]. Hence, the interaction between existential and universal restrictions with general TBoxes would be responsible for an intractable space complexity if PSPACEβEXPTIME. The main motivation of this work consists in identifying a sublogic of πβπ with general TBoxes which allows to reduce the reasoning complexity without losing too much of the expressive power. To reduce space complexity when reasoning with πβπ under the usual set-theoretical semantics, one can restrict expressiveness of TBoxes by preventing them from having cyclic axioms [7]. This restriction may be too strong for those who wish to express simple knowledge of cyclic nature such as Human β βhasParent.Human. However, we can find a sublogic of πβπ under category-theoretical semantics such that it allows to fully express general TBoxes and only needs to drop a part of the semantics of universal restrictions. Such a sublogic is undefinable in the usual set-theorectical semantics. Indeed, a DL 2022: 35th International Workshop on Description Logics, August 7β10, 2022, Haifa, Israel $ ludovic.brieulle@univ-paris13.fr (L. Brieulle); chan.leduc@univ-paris13.fr (C. Le Duc); pascal.vaillant@univ-paris13.fr (P. Vaillant) Β© 2022 Copyright for this paper by its authors. Use permitted under Creative Commons License Attribution 4.0 International (CC BY 4.0). CEUR Workshop Proceedings http://ceur-ws.org ISSN 1613-0073 CEUR Workshop Proceedings (CEUR-WS.org) universal restriction βπ .πΆ in πβπ can be defined under category-theoretical semantics by using the following two informal properties (that will be developed in more detail below, in Definition 3): (i) βπ .πΆ is βvery closeβ to Β¬βπ .Β¬πΆ; and (ii) βπ .πΆ β βπ .π· is βvery closeβ to βπ .(πΆ β π·). We can observe that Property (ii) is a (weak) representation of the interaction between universal and existential restrictions. If we may just remove this interaction from the categorical semantics of universal restriction, we obtain a new logic, namely πβπ β , in which reasoning will be tractable in space. The semantic loss caused by this removal might be tolerable in certain cases. We illustrate it with the example below. Example 1. Consider for instance the following πβπ TBox: HappyChild β βeatsFood.Dessert β βeatsFood.HotMeal Dessert β Β¬HotMeal As in the usual set-theoretical semantics, nobody can be a HappyChild under category-theoretical semantics: the concept is unsatisfiable in this world. Indeed, according to the first axiom if somebody is a HappyChild, then they must simultaneously (1) have some Dessert to eat, and (2) eat only HotMeal, which contradicts the second axiom. Now, if the second axiom is removed from the TBox, under set-theoretical semantics, the first axiom entails that if somebody is a HappyChild, then they eat HotMeal. In fact, the first subconcept (βeatsFood.Dessert) ensures that there exists at least one food item that they eat, and the second one (βeatsFood.HotMeal) that this food is necessarily HotMeal. Under the category-theoretical semantics that we will define in this paper (πβπ β ), the first axiom alone does not allow to entail that if somebody is a HappyChild then they eat HotMeal. This is due to the fact that the element of the definition of universal quantification that was there to represent Property (ii) has been dropped, and that unlike set-theoretical semantics, we no longer have a set of individuals providing an extensional βsupportβ for the second subconcept. 2. Category-Theoretical Semantics of πβπ We can observe that the set-theoretical semantics of πβπ is based on set membership rela- tionships, while ontology inferences, such as consistency or concept subsumption, involve set inclusions. This explains why inference algorithms developed in this setting often have to build sets of individuals connected in some way for representing a model. In this section, we use some basic notions in category theory to characterize the semantics of πβπ. Instead of set membership, in this categorical language, we use βobjectsβ and βarrowsβ to define semantics of a given object. Definition 1 (Syntax categories). Let R and C be non-empty sets of role names and concept names respectively. We define a concept syntax category Cπ and a role syntax category Cπ from the signature β¨C, Rβ© as follows: 1. Each role name π in R is an object π of Cπ . In particular, there are initial and terminal objects π β₯ and π β€ in Cπ with arrows π ββ π β€ and π β₯ ββ π for all object π of Cπ . There is also an identity arrow π ββ π for each object π of Cπ . 2. Each concept name in C is an object of Cπ . In particular, β₯ and β€ are respectively initial and terminal objects, i.e. there are arrows πΆ ββ β€ and β₯ ββ πΆ for each object πΆ of Cπ . Furthermore, for each object πΆ of Cπ there is an identity arrow πΆ ββ πΆ, for each object π of Cπ there are two objects of Cπ , namely dom(π ) and cod(π ), and for each object βπ .πΆ of Cπ there is an object π (βπ .πΆ) of Cπ . 3. If there are arrows πΈ ββ πΉ and πΉ ββ πΊ in Cπ (resp. Cπ ), then there is an arrow πΈ ββ πΊ in Cπ (resp. Cπ ). 4. There are two functors dom and cod from Cπ to Cπ , i.e. they associate two objects dom(π ) and cod(π ) of Cπ to each object π of Cπ such that a) dom(π β€ ) = β€, cod(π β€ ) = β€, dom(π β₯ ) = β₯ and cod(π β₯ ) = β₯. b) if there is an arrow π ββ π β² in Cπ then there are arrows dom(π ) ββ dom(π β² ) and cod(π ) ββ cod(π β² ). c) if there are arrows π ββ π β² ββ π β²β² in Cπ then there are arrows dom(π ) ββ dom(π β²β² ) and cod(π ) ββ cod(π β²β² ). d) if there is an arrow dom(π ) ββ β₯ or cod(π ) ββ β₯ in Cπ , then there is an arrow π ββ π β₯ in Cπ . For each arrow πΈ ββ πΉ in Cπ or Cπ , πΈ and πΉ are respectively called domain and codomain of the arrow. We use also Ob(C ) and Hom(C ) to denote the collections of objects and arrows of a category C . Definition 1 provides a general framework with syntax elements and necessary properties from category theory. We need to βinstantiate" it to obtain categories which capture semantic constraints coming from axioms. Definition 2 (Ontology categories). Let πΆ be an πβπ concept and πͺ an πβπ ontology from a signature β¨C, Rβ©. We define a concept ontology category Cπ β¨πΆ, πͺβ© and a role ontology category Cπ β¨πΆ, πͺβ© as follows: 1. Cπ β¨πΆ, πͺβ© and Cπ β¨πΆ, πͺβ© are syntax categories from β¨C, Rβ©. 2. πΆ is an object of Cπ β¨πΆ, πͺβ©. 3. If πΈ β πΉ is an axiom of πͺ, then πΈ, πΉ are objects and πΈ ββ πΉ is an arrow of Cπ β¨πΆ, πͺβ©. In the sequel, we introduce category-theoretical semantics of disjunction, conjunction, nega- tion, existential and universal restriction objects if they appear in Cπ β¨πΆ, πͺβ©. Some of them require more explicit properties than those needed for the set-theoretical semantics. Definition 3 (Category-theoretical semantics). Assume that Cπ β¨πΆ, πͺβ© and Cπ β¨πΆ, πͺβ© have all concept and role objects used in the following properties. Category-theoretical semantics of disjunction, conjunction, negation, existential and univeral restrictions are defined by using arrows in Cπ β¨πΆ, πͺβ© as follows. Disjunction: πΆ ββ πΆ β π· and π· ββ πΆ β π· are arrows of Cπ β¨πΆ, πͺβ© (1) For all object π of Cπ β¨πΆ, πͺβ©, πΆ ββ π and π· ββ π imply πΆ β π· ββ π (2) Conjunction: πΆ β π· ββ πΆ and πΆ β π· ββ π· are arrows of Cπ β¨πΆ, πͺβ© (3) For all object π of Cπ β¨πΆ, πͺβ©, π ββ πΆ and π ββ π· imply π ββ πΆ β π· (4) πΆ β (π· β πΈ) ββ (πΆ β π·) β (πΆ β πΈ) is an arrow of Cπ β¨πΆ, πͺβ© (5) Negation: πΆ β Β¬πΆ ββ β₯ and β€ ββ πΆ β Β¬πΆ are arrows of Cπ β¨πΆ, πͺβ© (6) For all object π of Cπ β¨πΆ, πͺβ©, πΆ β π ββ β₯ implies π ββ Β¬πΆ (7) For all object π of Cπ β¨πΆ, πͺβ©, β€ ββ πΆ β π implies Β¬πΆ ββ π (8) Existential restriction: π (βπ .πΆ) ββ π , cod(π (βπ .πΆ) ) ββ πΆ are arrows of Cπ β¨πΆ, πͺβ© (9) dom(π (βπ .πΆ) ) β βββ βπ .πΆ are arrows of Cπ β¨πΆ, πͺβ© ββ (10) For all object π β² of Cπ β¨πΆ, πͺβ©, π β² ββ π , cod(π β² ) ββ πΆ imply dom(π β² ) ββ dom(π (βπ .πΆ) ) (11) Universal restriction: βπ .πΆ β βββ Β¬βπ .Β¬πΆ are arrows of Cπ β¨πΆ, πͺβ© ββ (12) β² β² β² β² For all object π of Cπ β¨πΆ, πͺβ©, π ββ π , dom(π ) ββ βπ .πΆ imply cod(π ) ββ πΆ (13) Note that both Cπ β¨πΆ, πͺβ© and Cπ β¨πΆ, πͺβ© may consist of more objects. However, new arrows should be derived from those existing or the properties given in Definitions (1-3). Adding to Cπ β¨πΆ, πͺβ© a new arrow that is independent from those existing leads to a semantic change of the ontology. We now introduce category-theoretical satisfiability of an πβπ concept with respect to an πβπ ontology. Definition 4. Let πΆ0 be an πβπ concept, πͺ an πβπ ontology. πΆ is category-theoretically unsatifiable with respect to πͺ if there is an ontology category Cπ β¨πΆ0 , πͺβ© which has an arrow πΆ0 ββ β₯. Theorem 1. Let πͺ be an πβπ ontology and πΆ0 an πβπ concept. πΆ0 is category-theoretically unsatifiable with respect to πͺ iff πΆ0 is set-theoretically unsatifiable. 3. Reasoning in a Sublogic of πβπ In this section, we identify a new sublogic of πβπ, namely πβπ β , obtained from πβπ with all the properties introduced in Definition 3, except for Property (13). This sublogic cannot be defined under the usual set-theoretical semantics since Property (13) is not independent from the properties defined for existential restriction and Property (12) in this setting. Indeed, for every interpretation β it holds that if π β² β β π β , dom(π β² )β β βπ .πΆ β and π₯ β cod(π β² )β , then π₯ β πΆβ . To show the independence of Property (13) under the category semantics, we can build a category that verifies Properties (1-12) but Property (13) cannot be derived from this category. Definition 5 (Category-theoretical unsatisfiability in πβπ β ). Let πΆ be an πβπ β concept, πͺ an πβπ β ontology. πΆ is category-theoretically unsatifiable with respect to πͺ if there is an ontology category Cπ β¨πΆ, πͺβ© which has an arrow πΆ ββ β₯. To check satisfiability of an πβπ β concept πΆ0 with respect to an ontology πͺ, we define a set of saturation rules each of which represents a property introduced for the category semantics except for Property (5) (distributivity). We initialize an ontology category C β¨πΆ0 , πͺβ© and saturate it by applying the saturation rules to Cπ β¨πΆ0 , πͺβ© until no rule is applicable. Theorem 2. Satisfiability of an πβπ β concept with respect to an ontology can be decided in polynomial space. As mentioned above, we do not introduce a saturation rule to directly capture Property (5) since this may lead to adding an exponential number of objects. The polynomial complexity in space results from constructing a category Cπ by using a rule, namely [βdis -rule], that call an algorithm check instead of applying directly Property (5). This algorithm traverses at most all binary trees ππΆ where πΆ is an object of the form πΆ = (πΆ1 β π·1 ) β Β· Β· Β· β (πΆπ β π·π ) that must be included in Cπ . Such a tree ππΆ is composed of nodes of the form π1 β Β· Β· Β· β ππ where ππ β {πΆπ , π·π , πΆπ β π·π } for 1 β€ π β€ π. Such nodes π1 β Β· Β· Β· β ππ are not necessarily included in Cπ but each conjunct ππ is an object of Cπ . This allows the algorithm check to discover all arrows π ββ π where π, π are objects of Cπ by using arrows of Cπ and those resulting from distributivity (Property (5)) applied to nodes of trees ππΆ . Since the nodes of a tree ππΆ can be encoded as binary numbers between 0 and 2π β 1, we can use an algorithm that runs in polynomial space to traverse all its nodes. References [1] F. Baader, D. Calvanese, D. L. McGuinness, D. Nardi, P. F. Patel-Schneider (Eds.), The Description Logic Handbook: Theory, Implementation and Applications, Second Edition, Cambridge University Press, 2010. [2] P. Patel-Schneider, P. Hayes, I. Horrocks, Owl web ontology language semantics and abstract syntax, in: W3C Recommendation, 2004. [3] B. Cuenca Grau, I. Horrocks, B. Motik, B. Parsia, P. Patel-Schneider, U. Sattler, Owl 2: The next step for owl, journal of web semantics: Science, services and agents, World Wide Web 6 (2008) 309β322. [4] K. Schild, A correspondence theory for terminological logics: preliminary report, in: Proceedings of the 12th international joint conference on Artificial intelligence, 1991, p. 466β471. [5] F. Baader, I. Horrocks, C. Lutz, U. Sattler, An Introduction to Description Logic, Cambridge University Press, 2017. [6] M. Schmidt-SchauΓ , G. Smolka, Attributive concept descriptions with complements, Artificial Intelligence 48 (1991) 1β26. [7] F. Baader, J. Hladik, R. PeΓ±aloza, Automata can show PSpace results for description log- ics, Information and Computation 206 (2008) 1045β1056. Special Issue: 1st International Conference on Language and Automata Theory and Applications (LATA 2007).