logic graphs for alc, shif and shoin description logics

4
Logic Graphs for ALC, SHIF and SHOIN Description Logics Nguyen Ngoc Than, Ildar Baimuratov ITMO University Saint Petersburg, Russia {nguyenngocthan92, baimuratov.i}@gmail.com Abstract—In this article, we aim to develop a complete and convenient ontology visualization method, named “Logic graphs”. The method is intended to represent the semantics of ontological structures, formulated as description logic axioms, and to be easy to learn, due to using existing visualization methods from mathematical theories, such as graph theory and Ch. S. Pierce’s Existential graphs. The proposed system is sufficient to describe the description logics SHIF, and SHOIN, corresponding to OWL-Lite and OWL-DL languages. The method is exemplified with visualization of axioms from the DoCO ontology. I. INTRODUCTION In recent years, ontologies have become common on the World-Wide Web. Ontologies are formal representations of concepts and complex relationships among them [1], [2]. They are used for sharing a common understanding of the structure of information among people or software agents. Ontologies visualization is helpful for making them easy to understand by casual users, for analyzing its structure on the high level and other tasks. According to [3][4], there are visualization tools such as OWLViz, OntoTrack, KC-Viz, OntoRama, OntoGraf, FlexViz, TGViz, OLSVis, NavigOWL, SOVA, GrOWL, Ontodia, Graffoo, Graphol, and VOWL. Systems, like VOWL [5] or Graphol [6], that support almost all OWL language constructs. However, these systems have common drawback. They visualize ontological structures just labeling them, not representing their semantics. For example, compare the visualization of conjunction from Graphol, Fig. 1, with the corresponding Venn diagram [7], [8], Fig. 2. Venn diagram represents by itself that these two sets have common elements, while in Graphol the user has to know that hexagon denotes conjunction. Therefore, our goal is to develop a complete and convenient ontology visualization method, named “Logic graphs”, with two features. First, it should represent the semantics of the ontological structures, formulated as description logic axioms. Second, it should apply existing graphic primitives from mathematical theories, where it is possible. The outline of the paper is as follows: Section 2 describes the classification of OWL sub-languages and corresponding description logics. Section 3 presents the Logic graph system in detail with examples from DoCO ontology, before the paper is concluded in Section 4. II. OWL SUB-LANGUAGES AND DESCRIPTION LOGICS Ontologies are denoted on the OWL language [9]. The Web Ontology Language OWL is a semantic markup language for publishing and sharing ontologies on the World Wide Web. The OWL 1 standard provided three increasingly expressive sub-languages: OWL Lite, OWL DL, and OWL Full. OWL Lite supports those users primarily needing a classification hierarchy and simple constraints. OWL DL provides the maximum expressiveness, retaining computational completeness (all conclusions are guaranteed to be computed) and decidability (all computations will finish in finite time). OWL DL includes all OWL language constructs, but they can be used only under certain restrictions. The formal foundation of OWL is description logics. Description Logics (DLs) [10], [11], [12] are a family of logic languages, which can be used to represent the terminological knowledge of an application domain. The ALC (Attributive Language with complement) is a minimal DL of practical interest. Other DLs of this family are extensions of ALC. In this paper, we consider the SHIF and SHOIN languages as well, since they correspond to the OWL Lite and OWL DL sub-languages, respectively. The syntax and semantics of these logics is represented in Table I, where I denotes the interpretation function, Δ denotes the domain. III. LOGIC GRAPHS We suggest applying existing graphic primitives from mathematical theories, such as Venn diagrams, Ch. S. Pierce’s Existential graphs [13], [14], [15], [16], [17] and graph theory [18], where it is possible, in order to make our visualization method easy to learn, as the user won’t have to learn new ones. As a result, we propose a complete and convenient ontology visualization method, named “Logic graphs”, aimed to represent the semantics of description logic axioms. In our previous work [19], we adopted the existential graph visualization method for description logic formulas. As the result, we developed the visualization method for ALC description logic. In this paper, we extend our visualization system for SHIF and SHOIN description logics. The resulting visualization system is presented in Table 2, where C, C1, and C2 are concepts, R – role and a and b – objects. Domain – a technical concept, introduced to represent domain concepts of roles. Fig.1.Conjunction in Graphol Fig.2. Conjunction in Venn diagrams ______________________________________________________PROCEEDING OF THE 27TH CONFERENCE OF FRUCT ASSOCIATION ISSN 2305-7254

Upload: others

Post on 09-Jan-2022

9 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Logic Graphs for ALC, SHIF and SHOIN Description Logics

Logic Graphs for ALC, SHIF and SHOIN Description Logics

Nguyen Ngoc Than, Ildar Baimuratov ITMO University

Saint Petersburg, Russia {nguyenngocthan92, baimuratov.i}@gmail.com

Abstract—In this article, we aim to develop a complete and convenient ontology visualization method, named “Logic graphs”. The method is intended to represent the semantics of ontological structures, formulated as description logic axioms, and to be easy to learn, due to using existing visualization methods from mathematical theories, such as graph theory and Ch. S. Pierce’s Existential graphs. The proposed system is sufficient to describe the description logics SHIF, and SHOIN, corresponding to OWL-Lite and OWL-DL languages. The method is exemplified with visualization of axioms from the DoCO ontology.

I. INTRODUCTION

In recent years, ontologies have become common on the World-Wide Web. Ontologies are formal representations of concepts and complex relationships among them [1], [2]. They are used for sharing a common understanding of the structure of information among people or software agents. Ontologies visualization is helpful for making them easy to understand by casual users, for analyzing its structure on the high level and other tasks.

According to [3][4], there are visualization tools such as OWLViz, OntoTrack, KC-Viz, OntoRama, OntoGraf, FlexViz, TGViz, OLSVis, NavigOWL, SOVA, GrOWL, Ontodia, Graffoo, Graphol, and VOWL. Systems, like VOWL [5] or Graphol [6], that support almost all OWL language constructs. However, these systems have common drawback. They visualize ontological structures just labeling them, not representing their semantics. For example, compare the visualization of conjunction from Graphol, Fig. 1, with the corresponding Venn diagram [7], [8], Fig. 2. Venn diagram represents by itself that these two sets have common elements, while in Graphol the user has to know that hexagon denotes conjunction.

Therefore, our goal is to develop a complete and convenient ontology visualization method, named “Logic graphs”, with two features. First, it should represent the semantics of the ontological structures, formulated as description logic axioms. Second, it should apply existing graphic primitives from mathematical theories, where it is possible.

The outline of the paper is as follows: Section 2 describes the classification of OWL sub-languages and corresponding

description logics. Section 3 presents the Logic graph system in detail with examples from DoCO ontology, before the paper is concluded in Section 4.

II. OWL SUB-LANGUAGES AND DESCRIPTION LOGICS

Ontologies are denoted on the OWL language [9]. The Web Ontology Language OWL is a semantic markup language for publishing and sharing ontologies on the World Wide Web. The OWL 1 standard provided three increasingly expressive sub-languages: OWL Lite, OWL DL, and OWL Full. OWL Lite supports those users primarily needing a classification hierarchy and simple constraints. OWL DL provides the maximum expressiveness, retaining computational completeness (all conclusions are guaranteed to be computed) and decidability (all computations will finish in finite time). OWL DL includes all OWL language constructs, but they can be used only under certain restrictions.

The formal foundation of OWL is description logics. Description Logics (DLs) [10], [11], [12] are a family of logic languages, which can be used to represent the terminological knowledge of an application domain. The ALC (Attributive Language with complement) is a minimal DL of practical interest. Other DLs of this family are extensions of ALC. In this paper, we consider the SHIF and SHOIN languages as well, since they correspond to the OWL Lite and OWL DL sub-languages, respectively. The syntax and semantics of these logics is represented in Table I, where I denotes the interpretation function,Δ denotes the domain.

III. LOGIC GRAPHS

We suggest applying existing graphic primitives from mathematical theories, such as Venn diagrams, Ch. S. Pierce’s Existential graphs [13], [14], [15], [16], [17] and graph theory [18], where it is possible, in order to make our visualization method easy to learn, as the user won’t have to learn new ones. As a result, we propose a complete and convenient ontology visualization method, named “Logic graphs”, aimed to represent the semantics of description logic axioms.

In our previous work [19], we adopted the existential graph visualization method for description logic formulas. As the result, we developed the visualization method for ALC description logic. In this paper, we extend our visualization system for SHIF and SHOIN description logics. The resulting visualization system is presented in Table 2, where C, C1, and C2 are concepts, R – role and a and b – objects. Domain – a technical concept, introduced to represent domain concepts of roles.

Fig.1.Conjunction in Graphol Fig.2. Conjunction in Venn diagrams

______________________________________________________PROCEEDING OF THE 27TH CONFERENCE OF FRUCT ASSOCIATION

ISSN 2305-7254

Page 2: Logic Graphs for ALC, SHIF and SHOIN Description Logics

TABLE Ⅰ. DESCRIPTION LOGICS

Logic Name Syntax Semantic

ALC

concept C С ⊆ Δ role R R ⊆ Δ Δ

negation C Δ ∖ C conjunction C ⊓ D C ∩ D disjunction C ⊔D C ∪ D

existential restriction ∃R. ∃R. a ∈ Δ : ∃b a, b ∈ R

universal restriction ∀R. C ∀R. C a ∈ Δ : ∀b a, b ∈ R → b ∈ C

SHIF

inverse role R R b, a ∈ Δ Δ : a, b ∈ R

transitive role R R ⋃ R , where

a, b ∈ R ∧ b, c ∈ R → a, c ∈ R

functional role 1R 1R ⇔ a, b , a, c ⊆ R ⇒ b c

role inclusion R ⊑ S R ⊆ S

SHOIN

nominal o o

number restrictions nP nP

x| y. x yP n x| y. x yP n

TABLE Ⅱ. LOGIC GRAPHS

1. C

C

2. C

C

3. C1 ⊓ C2

C1

C2

4. C1 ⊔ C2

5. C1 ⊑ C2

C1 C2

SubClassOf

6. C1 ≡ C2

C1

C2

7. ∃R. C

Domain C

R

8. ∀R. C

Domain C

R

C1 C2

______________________________________________________PROCEEDING OF THE 27TH CONFERENCE OF FRUCT ASSOCIATION

---------------------------------------------------------------------------- 387 ----------------------------------------------------------------------------

Page 3: Logic Graphs for ALC, SHIF and SHOIN Description Logics

9. a: C

a C

Type

10. a, b : R

a b

R

11. R-

С1 C2

R-

12. 1P

C1 C2

1P

13. R+

14.

R⊑S

15.

, . . . ,

16. , nP

C1 C2

, nP

The Document Components Ontology (DoCO) [20] is an ontology that provides a structured vocabulary for document components. We use the DoCO ontology as an example for

visualization, as it is a real ontology, used in different applications and it contains nontrivial axioms. We visualized some axioms using the developed method. See Table 3.

TABLE Ⅲ. LOGIC GRAPHS FOR DOCO ONTOLOGY

abstract ⊑ (chapter ⊔ section ⊓ (∃ . ⊔ front matter)

back matter ⊑ ∀ . ⊔bodymatter ⊔ frontmatter

table of contents ⊑ ∃ . ⊓∀ . ∃ . )

IV. CONCLUSION

The developed visualization method, named “Logic graphs”, allows visualizing the semantics of logical expressions almost without new graphic primitives, except for being used in different mathematical theories, such as set

theory, graph theory, and existential graphs. Logic graphs are sufficient for visualizing SHIF and SHOIN description logics that correspond to OWL Lite and OWL DL ontology languages.

R+

R

C C

C

R

SubClassOf R

S C2 C3

C1

. a1 . a2

. a3 . a4 . a5

______________________________________________________PROCEEDING OF THE 27TH CONFERENCE OF FRUCT ASSOCIATION

---------------------------------------------------------------------------- 388 ----------------------------------------------------------------------------

Page 4: Logic Graphs for ALC, SHIF and SHOIN Description Logics

REFERENCES [1] N.F.Noy and D.L.Mcguinness . “Ontology Development 101: A

Guide to Creating Your First Ontology”. Stanford Knowledge Systems Laboratory Technical Report KSL-01-05 and Stanford Medical Informatics Technical Report SMI-2001-0880, 2001.

[2] S. Steffen and S. Rudi. Handbook on Ontologies.Germany. 2003. [3] M.Dudáš, S.Lohmann, V. Svátek, and D.Pavlov. “Ontology

visualization methods and tools: A survey of the state of the art”. The Knowledge Engineering Review, vol 33,. 2018.

[4] L. Steffen, N. Stefan, H. Florian and E. Thomas. Visualizing ontologies with VOWL. Semantic Web. 7. 399-419. 10.3233/SW-150200. 2016.

[5] VOWL official website, Visual Notation for OWL Ontologies. Web: Http://vowl.visualdataweb.org/.

[6] Graphol official website,Web: Http://www.obdasystems.com/graphol.

[7] G. Branko .“The Construction of Venn Diagrams”, The Two-Year College Mathematics Journal, 15:3, 238-247. 1984.

[8] F. Ruskey, M.Weston. "A Survey of Venn Diagrams" . The Electronic Journal of Combinatorics, 2005.

[9] L. Deborah, V. Frank, et al. Owl web ontology language overview. W3C recommendation, 10(10):2004, 2004.

[10] M. Krötzsch, F. Simancˇík, and I. Horrocks, “A Description Logic Primer”, CoRR, abs/1201, 2012.

[11] F. Baader, I. Horrocks, U. Sattler. Description Logics Handbook of Knowledge Representation, Elsevier, Amsterdam,2007, pp. 135-179.

[12] F. Baader, D. Calvanese, D. McGuinness, D. Nardi and P. Patel-Schneider. The Description Logic Handbook: Theory, Implementa-tion, and Applications. Cambridge University Press, second edition, 2007.

[13] D. Roberts. The Existential Graphs of Charles S. Peirce, The Hague, Paris, Mouton, 1973.

[14] C.S Peirce, A.W. Burks, C. Hartshornce, and P. Weiss. Collected Papers of Charles Sanders Peirce. Cambridge, Harvard University Press, 1931-1958.

[15] C.S Peirce. “Manuscripts” in the Houghton Library of Harvard University, as identified by Richard Robin // Annotated Catalogue of the Papers of Charles S. Peirce. Amherst, 1967.

[16] J. F. Sowa. Peirce's tutorial on existential graphs. Semiotica, 1861-4, 2011.

[17] Z. Jay. The Graphical Logic of C.S. Peirce: dissertation. Chicago, 1964.

[18] R.J. Trudeau. Introduction to Graph Theory.1994. [19] D. Mouromtsev., I. Baimuratov. “Logic Graphs: A complete

visualization method for logical languages based on Ch. S. Peirce’s existential graphs”. CEUR Workshop Proceedings, Vol. 2344, 2019, pp. 1-10.

[20] Ontology Doco, web: https://sparontologies.github.io/doco /current/doco.html.

______________________________________________________PROCEEDING OF THE 27TH CONFERENCE OF FRUCT ASSOCIATION

---------------------------------------------------------------------------- 389 ----------------------------------------------------------------------------