The Implementation of the Conditions for the Existence of the Most - - PowerPoint PPT Presentation

the implementation of the conditions for the existence of
SMART_READER_LITE
LIVE PREVIEW

The Implementation of the Conditions for the Existence of the Most - - PowerPoint PPT Presentation

The Implementation of the Conditions for the Existence of the Most Specific Generalizations w.r.t. General EL -TBoxes Adrian Nuradiansyah Technische Universit at Dresden Supervised by: Anni-Yasmin Turhan February 12, 2016 Adrian


slide-1
SLIDE 1

The Implementation of the Conditions for the Existence

  • f the Most Specific Generalizations w.r.t. General

EL-TBoxes

Adrian Nuradiansyah

Technische Universit¨ at Dresden Supervised by: Anni-Yasmin Turhan

February 12, 2016

Adrian Nuradiansyah EMCL Workshop 2016 February 12, 2016 1 / 27

slide-2
SLIDE 2

Overview

1

Motivation behind the Implementation

2

Algorithm to Decide the Existence of the Most Specific Generalization

3

Implementation of the Algorithm

4

Evaluation of the Implementation in Cyclic Ontology

5

Conclusion and Future Work

Adrian Nuradiansyah EMCL Workshop 2016 February 12, 2016 2 / 27

slide-3
SLIDE 3

Motivation behind the Implementation

Most Specific Generalization

Least common subsumer (lcs) and Most Specific Concept (msc). The lcs yields a concept that captures all commonalities of pair of concepts (subsumption). The msc generalizes an individual into a single concept (instance checking).

Adrian Nuradiansyah EMCL Workshop 2016 February 12, 2016 3 / 27

slide-4
SLIDE 4

Motivation behind the Implementation

Most Specific Generalization

Least common subsumer (lcs) and Most Specific Concept (msc). The lcs yields a concept that captures all commonalities of pair of concepts (subsumption). The msc generalizes an individual into a single concept (instance checking). Support building and maintaining the knowledge base (KB) from bottom up approach. Processed, investigated, and added into KB ⇒ new knowledge! Neither the lcs nor the msc need to exist in general EL-TBox.

Adrian Nuradiansyah EMCL Workshop 2016 February 12, 2016 3 / 27

slide-5
SLIDE 5

Motivation behind the Implementation

Knowledge Base ”Family” and its Canonical Model T family1: {Wife ⊑ Female ⊓ Person ⊓ ∃likes.Husband; HappyPerson ⊑ Person ⊓ ∃likes.HappyPerson; Husband ⊑ Male ⊓ Person ⊓ ∃likes.Wife} Afamily1: {likes(bob,carol); likes(bob,bob); Wife(carol); HappyPerson(bob)}

Adrian Nuradiansyah EMCL Workshop 2016 February 12, 2016 4 / 27

slide-6
SLIDE 6

Motivation behind the Implementation

Knowledge Base ”Family” and its Canonical Model T family1: {Wife ⊑ Female ⊓ Person ⊓ ∃likes.Husband; HappyPerson ⊑ Person ⊓ ∃likes.HappyPerson; Husband ⊑ Male ⊓ Person ⊓ ∃likes.Wife} Afamily1: {likes(bob,carol); likes(bob,bob); Wife(carol); HappyPerson(bob)}

dBob

{Husband, Male, HappyPerson, Person}

dCarol

{Female, Person, Wife}

dHusband

{Male, Husband, Person}

dWife

{Wife, Person, Female} likes likes likes likes likes

Adrian Nuradiansyah EMCL Workshop 2016 February 12, 2016 4 / 27

slide-7
SLIDE 7

Motivation behind the Implementation

Knowledge Base ”Family” and its Canonical Model T family1: {Wife ⊑ Female ⊓ Person ⊓ ∃likes.Husband; HappyPerson ⊑ Person ⊓ ∃likes.HappyPerson; Husband ⊑ Male ⊓ Person ⊓ ∃likes.Wife} Afamily1: {likes(bob,carol); likes(bob,bob); Wife(carol); HappyPerson(bob)}

dBob

{Husband, Male, HappyPerson, Person}

dCarol

{Female, Person, Wife}

dHusband

{Male, Husband, Person}

dWife

{Wife, Person, Female} likes likes likes likes likes

lcs(Male, Person)=⊺, but there is no lcs for Husband and HappyPerson

▸ Husband and HappyPerson are cyclic concepts.

msc(carol)=Wife, but there is no msc for bob

▸ Wife(carol) and HappyPerson(bob). ▸ Wife and HappyPerson are cyclic concepts. ▸ Different results for the msc in a cyclic ontology! Adrian Nuradiansyah EMCL Workshop 2016 February 12, 2016 4 / 27

slide-8
SLIDE 8

Motivation behind the Implementation

Knowledge Base ”Family” and its Canonical Model T family1: Wife ⊑ Female ⊓ Person ⊓ ∃likes.Husband; Husband ⊑ Male ⊓ Person ⊓ ∃likes.Wife HappyPerson ⊑ Person ⊓ ∃likes.HappyPerson; Afamily1: likes(Bob,Carol); likes(Bob,Bob); Wife(Carol); HappyPerson(Bob)

dBob

{Husband, Male, HappyPerson, Person}

dCarol

{Female, Person, Wife}

dHusband

{Male, Husband, Person}

dWife

{Wife, Person, Female} likes likes likes likes likes

How to compute and decide the existence of the most specific generalization w.r.t. general EL TBox? For the sake of simplicity, we only consider the notions related to the least common subsumer in further sections. Most specific concept can be defined analogously.

Adrian Nuradiansyah EMCL Workshop 2016 February 12, 2016 5 / 27

slide-9
SLIDE 9

Least Common Subsumer

A concept E is the least common subsumer(lcs) of C and D w.r.t. T (lcsT (C, D)) iff: – C ⊑T E and D ⊑T E – For each concept F such that C ⊑T F and D ⊑T F, then E ⊑T F.

Adrian Nuradiansyah EMCL Workshop 2016 February 12, 2016 6 / 27

slide-10
SLIDE 10

Least Common Subsumer

A concept E is the least common subsumer(lcs) of C and D w.r.t. T (lcsT (C, D)) iff: – C ⊑T E and D ⊑T E – For each concept F such that C ⊑T F and D ⊑T F, then E ⊑T F. We deal with a general EL TBox. The computed lcs can be captured in an infinite size.

Adrian Nuradiansyah EMCL Workshop 2016 February 12, 2016 6 / 27

slide-11
SLIDE 11

Least Common Subsumer

A concept E is the least common subsumer(lcs) of C and D w.r.t. T (lcsT (C, D)) iff: – C ⊑T E and D ⊑T E – For each concept F such that C ⊑T F and D ⊑T F, then E ⊑T F. We deal with a general EL TBox. The computed lcs can be captured in an infinite size. Can we obtain a role-depth bounded lcs with a depth k?

Adrian Nuradiansyah EMCL Workshop 2016 February 12, 2016 6 / 27

slide-12
SLIDE 12

Least Common Subsumer

A concept E is the least common subsumer(lcs) of C and D w.r.t. T (lcsT (C, D)) iff: – C ⊑T E and D ⊑T E – For each concept F such that C ⊑T F and D ⊑T F, then E ⊑T F. We deal with a general EL TBox. The computed lcs can be captured in an infinite size. Can we obtain a role-depth bounded lcs with a depth k? The role-depth (rd(C)): the maximal nesting of ∃-quantifiers in C. Let k ∈ N and E, F are the role-depth bounded concepts with the role-depth up to k, then E is the role-depth bounded lcs (k-lcsT (C, D)) of C and D w.r.t. T .

Adrian Nuradiansyah EMCL Workshop 2016 February 12, 2016 6 / 27

slide-13
SLIDE 13

Least Common Subsumer

A concept E is the least common subsumer(lcs) of C and D w.r.t. T (lcsT (C, D)) iff: – C ⊑T E and D ⊑T E – For each concept F such that C ⊑T F and D ⊑T F, then E ⊑T F. We deal with a general EL TBox. The computed lcs can be captured in an infinite size. Can we obtain a role-depth bounded lcs with a depth k? The role-depth (rd(C)): the maximal nesting of ∃-quantifiers in C. Let k ∈ N and E, F are the role-depth bounded concepts with the role-depth up to k, then E is the role-depth bounded lcs (k-lcsT (C, D)) of C and D w.r.t. T . How to obtain this number k? How do we know that our k-lcs is our lcs, such that we can check whether the lcs exists or not?

Adrian Nuradiansyah EMCL Workshop 2016 February 12, 2016 6 / 27

slide-14
SLIDE 14

Deciding the Existence of the Least Common Subsumer

  • 1. Given two concepts C, D and a TBox T as the inputs;

Adrian Nuradiansyah EMCL Workshop 2016 February 12, 2016 7 / 27

slide-15
SLIDE 15

Description Logic EL and TBox

EL concepts are built by using the following structures: C,D ::= ⊺ ∣ A ∣ C ⊓ D ∣ ∃r.C

Adrian Nuradiansyah EMCL Workshop 2016 February 12, 2016 8 / 27

slide-16
SLIDE 16

Description Logic EL and TBox

EL concepts are built by using the following structures: C,D ::= ⊺ ∣ A ∣ C ⊓ D ∣ ∃r.C An interpretation I = (∆I, ⋅I) consists of: – ∆I: a non-empty domain.

– ⋅I with AI ⊆ ∆I and rI ⊆ ∆I × ∆I

The mapping ⋅I can be extended to EL-concepts Name Syntax Semantic Top ⊺ ∆I Conjunction C ⊓ D C I ∩ DI Existential Restriction ∃r.C {d ∈ ∆I ∣ ∃e ∈ ∆I : (d,e) ∈ rI and e ∈ C I}

Adrian Nuradiansyah EMCL Workshop 2016 February 12, 2016 8 / 27

slide-17
SLIDE 17

Description Logic EL and TBox

EL concepts are built by using the following structures: C,D ::= ⊺ ∣ A ∣ C ⊓ D ∣ ∃r.C An interpretation I = (∆I, ⋅I) consists of: – ∆I: a non-empty domain.

– ⋅I with AI ⊆ ∆I and rI ⊆ ∆I × ∆I

The mapping ⋅I can be extended to EL-concepts Name Syntax Semantic Top ⊺ ∆I Conjunction C ⊓ D C I ∩ DI Existential Restriction ∃r.C {d ∈ ∆I ∣ ∃e ∈ ∆I : (d,e) ∈ rI and e ∈ C I} A (general) EL TBox T is a finite set of General Concept Inclusion (GCI) of the form of C ⊑ D. An interpretation I satisfies a GCI C ⊑ D iff C I ⊆ DI I is a model of T iff it satisfies all GCIs in T . C is subsumed by D w.r.t. T (denoted by C ⊑T D ) iff C I ⊆ DI for all models I

  • f T . This reasoning task is called subsumption.

Adrian Nuradiansyah EMCL Workshop 2016 February 12, 2016 8 / 27

slide-18
SLIDE 18

Deciding the Existence of the Least Common Subsumer

  • 1. Given two concepts C, D and a TBox T as the inputs;

Adrian Nuradiansyah EMCL Workshop 2016 February 12, 2016 9 / 27

slide-19
SLIDE 19

Deciding the Existence of the Least Common Subsumer

  • 1. Given two concepts C, D and a TBox T as the inputs;
  • 2. Compute the canonical models Id

C,T and Ie D,T of C and D w.r.t. T ;

Adrian Nuradiansyah EMCL Workshop 2016 February 12, 2016 9 / 27

slide-20
SLIDE 20

Canonical Model

Canonical Model of Concept w.r.t. TBox It is denoted by IC,T . Recall this example:

T family2: Wife ⊑ Female ⊓ Person ⊓ ∃likes.Husband; Husband ⊑ Male ⊓ Person ⊓ ∃likes.Wife dHusband dWife {Male, Person Husband}

IHusband,T family2

{Wife, Person, Female} likes likes

Id: an interpretation with d ∈ ∆Id as an initial element such that all e ∈ ∆Id are reachable from d.

Adrian Nuradiansyah EMCL Workshop 2016 February 12, 2016 10 / 27

slide-21
SLIDE 21

Deciding the Existence of the Least Common Subsumer

  • 1. Given two concepts C, D and a TBox T as the inputs;
  • 2. Compute the canonical models Id

C,T and Ie D,T of C and D w.r.t. T ;

Adrian Nuradiansyah EMCL Workshop 2016 February 12, 2016 11 / 27

slide-22
SLIDE 22

Deciding the Existence of the Least Common Subsumer

  • 1. Given two concepts C, D and a TBox T as the inputs;
  • 2. Compute the canonical models Id

C,T and Ie D,T of C and D w.r.t. T ;

  • 3. Compute the product If

C,T ×D,T of Id C,T and Ie D,T ;

Adrian Nuradiansyah EMCL Workshop 2016 February 12, 2016 11 / 27

slide-23
SLIDE 23

Product Interpretation

Product Interpretation is denoted by I1×2

Adrian Nuradiansyah EMCL Workshop 2016 February 12, 2016 12 / 27

slide-24
SLIDE 24

Product Interpretation

Product Interpretation is denoted by I1×2 Example: dA {A} I1 dC {C}

r r r

Adrian Nuradiansyah EMCL Workshop 2016 February 12, 2016 12 / 27

slide-25
SLIDE 25

Product Interpretation

Product Interpretation is denoted by I1×2 Example: dA {A} I1 dC {C}

r r r

dB {B} I2 dC {C}

r r r

Adrian Nuradiansyah EMCL Workshop 2016 February 12, 2016 12 / 27

slide-26
SLIDE 26

Product Interpretation

Product Interpretation is denoted by I1×2 Example: dA {A} I1 dC {C}

r r r

dB {B} I2 dC {C}

r r r

dA,dB {} I1×2 dC,dC {C} dA,dC {} dB,dC {}

r r r r r r

r How to get the product of canonical models in the smaller size?

Adrian Nuradiansyah EMCL Workshop 2016 February 12, 2016 12 / 27

slide-27
SLIDE 27

Deciding the Existence of the Least Common Subsumer

  • 1. Given two concepts C, D and a TBox T as the inputs;
  • 2. Compute the canonical models Id

C,T and Ie D,T of C and D w.r.t. T ;

  • 3. Compute the product If

C,T ×D,T of Id C,T and Ie D,T ;

Adrian Nuradiansyah EMCL Workshop 2016 February 12, 2016 13 / 27

slide-28
SLIDE 28

Deciding the Existence of the Least Common Subsumer

  • 1. Given two concepts C, D and a TBox T as the inputs;
  • 2. Compute the canonical models Id

C,T and Ie D,T of C and D w.r.t. T ;

  • 3. Compute the product If

C,T ×D,T of Id C,T and Ie D,T ;

  • 4. Compute the maximal simulation Smax1 from If

C,T ×D,T to If C,T ×D,T and

generate the set V of ≃-classes w.r.t. Smax1;

Adrian Nuradiansyah EMCL Workshop 2016 February 12, 2016 13 / 27

slide-29
SLIDE 29

Simulation Relation

Subsumption can be characterized by a simulation relation. Let I1 and I2 be interpretations S ⊆ ∆I1 × ∆I2 is defined as a simulation from I1 to I2. A simulation Smax from I1 to I2 is said to be maximal if for all S from I1 to I2, then it holds that S ⊆ Smax.

slide-30
SLIDE 30

Simulation Relation

Subsumption can be characterized by a simulation relation. Let I1 and I2 be interpretations S ⊆ ∆I1 × ∆I2 is defined as a simulation from I1 to I2. A simulation Smax from I1 to I2 is said to be maximal if for all S from I1 to I2, then it holds that S ⊆ Smax. Example:

d1 d2 d3

r

{A} {A}

I1 I2

((I1, d1) is simulated (≲) by (I2, d2)) {B}

Adrian Nuradiansyah EMCL Workshop 2016 February 12, 2016 14 / 27

slide-31
SLIDE 31

Simulation Relation

Subsumption can be characterized by a simulation relation. Let I1 and I2 be interpretations S ⊆ ∆I1 × ∆I2 is defined as a simulation from I1 to I2. A simulation Smax from I1 to I2 is said to be maximal if for all S from I1 to I2, then it holds that S ⊆ Smax. Example:

d1 d2 d3

r

{A} {A}

I1 I2

((I1, d1) is simulated (≲) by (I2, d2)) {B}

d4

{A,B}

r

Adrian Nuradiansyah EMCL Workshop 2016 February 12, 2016 14 / 27

slide-32
SLIDE 32

Simulation Relation

Subsumption can be characterized by a simulation relation. Let I1 and I2 be interpretations S ⊆ ∆I1 × ∆I2 is defined as a simulation from I1 to I2. A simulation Smax from I1 to I2 is said to be maximal if for all S from I1 to I2, then it holds that S ⊆ Smax. Example:

d1 d2 d3

r

{A} {A}

I1 I2

((I1, d1) is simulated (≲) by (I2, d2)) {B}

d4

{A,B}

r

((I1, d3) is simulated (≲) by (I2, d4))

Adrian Nuradiansyah EMCL Workshop 2016 February 12, 2016 14 / 27

slide-33
SLIDE 33

Simulation Relation

Subsumption can be characterized by a simulation relation. Let I1 and I2 be interpretations S ⊆ ∆I1 × ∆I2 is defined as a simulation from I1 to I2. A simulation Smax from I1 to I2 is said to be maximal if for all S from I1 to I2, then it holds that S ⊆ Smax. Example:

d1 d2 d3

r

{A} {A}

I1 I2

((I1, d1) is simulated (≲) by (I2, d2)) {B}

d4

{A,B}

r

((I1, d3) is simulated (≲) by (I2, d4)) (I1,d) is equisimilar to (I2,e) (denoted by (I1,d) ≃ (I2,e)) if (I1,d) ≲ (I2,e) and (I2,e) ≲ (I1,d). Let [d]≃ := {e ∈ ∆I ∣ (I, d) ≃ (I, e)}. V as the set of ≃-classes w.r.t. a simulation S

Adrian Nuradiansyah EMCL Workshop 2016 February 12, 2016 14 / 27

slide-34
SLIDE 34

Deciding the Existence of the Least Common Subsumer

  • 1. Given two concepts C, D and a TBox T as the inputs;
  • 2. Compute the canonical models Id

C,T and Ie D,T of C and D w.r.t. T ;

  • 3. Compute the product If

C,T ×D,T of Id C,T and Ie D,T ;

  • 4. Compute the maximal simulation Smax1 from If

C,T ×D,T to If C,T ×D,T and

generate the set V of ≃-classes w.r.t. Smax1;

Adrian Nuradiansyah EMCL Workshop 2016 February 12, 2016 15 / 27

slide-35
SLIDE 35

Deciding the Existence of the Least Common Subsumer

  • 1. Given two concepts C, D and a TBox T as the inputs;
  • 2. Compute the canonical models Id

C,T and Ie D,T of C and D w.r.t. T ;

  • 3. Compute the product If

C,T ×D,T of Id C,T and Ie D,T ;

  • 4. Compute the maximal simulation Smax1 from If

C,T ×D,T to If C,T ×D,T and

generate the set V of ≃-classes w.r.t. Smax1;

  • 5. Compute the equisimulation quotient I[f]

(C,T ×D,T )/≃ of If C,T ×D,T with

∆I[f]

(C,T ×D,T )/≃ := V;

Adrian Nuradiansyah EMCL Workshop 2016 February 12, 2016 15 / 27

slide-36
SLIDE 36

Equisimulation Quotient

I/≃ is an equisimulation quotient of I. It is computed to: – Reduce the number of redundant role-successor nodes – Get the smaller number of roles to be traversed during computing the k-characteristic concept.

Adrian Nuradiansyah EMCL Workshop 2016 February 12, 2016 16 / 27

slide-37
SLIDE 37

Equisimulation Quotient

I/≃ is an equisimulation quotient of I. It is computed to: – Reduce the number of redundant role-successor nodes – Get the smaller number of roles to be traversed during computing the k-characteristic concept. 1 dCarol IdCarol

Kfamily

{Female, Person, Wife}

dHusband

{Male, Husband, Person}

dWife

{Wife, Person, Female} likes likes likes

Adrian Nuradiansyah EMCL Workshop 2016 February 12, 2016 16 / 27

slide-38
SLIDE 38

Equisimulation Quotient

I/≃ is an equisimulation quotient of I. It is computed to: – Reduce the number of redundant role-successor nodes – Get the smaller number of roles to be traversed during computing the k-characteristic concept. 1 dCarol IdCarol

Kfamily

{Female, Person, Wife}

dHusband

{Male, Husband, Person}

dWife

{Wife, Person, Female} likes likes likes

2

(IKfamily ,dCarol) ≃ (IKfamily , dWife)

Adrian Nuradiansyah EMCL Workshop 2016 February 12, 2016 16 / 27

slide-39
SLIDE 39

Equisimulation Quotient

I/≃ is an equisimulation quotient of I. It is computed to: – Reduce the number of redundant role-successor nodes – Get the smaller number of roles to be traversed during computing the k-characteristic concept. 1 dCarol IdCarol

Kfamily

{Female, Person, Wife}

dHusband

{Male, Husband, Person}

dWife

{Wife, Person, Female} likes likes likes

2

(IKfamily ,dCarol) ≃ (IKfamily , dWife) [d1]≃ := {dHusband} [d2]≃ := {dCarol, dWife}

Adrian Nuradiansyah EMCL Workshop 2016 February 12, 2016 16 / 27

slide-40
SLIDE 40

Equisimulation Quotient

I/≃ is an equisimulation quotient of I. It is computed to: – Reduce the number of redundant role-successor nodes – Get the smaller number of roles to be traversed during computing the k-characteristic concept. 1 dCarol IdCarol

Kfamily

{Female, Person, Wife}

dHusband

{Male, Husband, Person}

dWife

{Wife, Person, Female} likes likes likes

2

(IKfamily ,dCarol) ≃ (IKfamily , dWife) [d1]≃ := {dHusband} [d2]≃ := {dCarol, dWife}

3 [d1]≃ I[d2]

Kfamily/≃

{Male, Husband, Person}

[d2]≃

{Wife, Person, Female} likes likes

Adrian Nuradiansyah EMCL Workshop 2016 February 12, 2016 16 / 27

slide-41
SLIDE 41

Deciding the Existence of the Least Common Subsumer

  • 1. Given two concepts C, D and a TBox T as the inputs;
  • 2. Compute the canonical models Id

C,T and Ie D,T of C and D w.r.t. T ;

  • 3. Compute the product If

C,T ×D,T of Id C,T and Ie D,T ;

  • 4. Compute the maximal simulation Smax1 from If

C,T ×D,T to If C,T ×D,T and

generate the set V of ≃-classes w.r.t. Smax1;

  • 5. Compute the equisimulation quotient I[f]

(C,T ×D,T )/≃ of If C,T ×D,T with

∆I[f]

(C,T ×D,T )/≃ := V;

Adrian Nuradiansyah EMCL Workshop 2016 February 12, 2016 17 / 27

slide-42
SLIDE 42

Deciding the Existence of the Least Common Subsumer

  • 1. Given two concepts C, D and a TBox T as the inputs;
  • 2. Compute the canonical models Id

C,T and Ie D,T of C and D w.r.t. T ;

  • 3. Compute the product If

C,T ×D,T of Id C,T and Ie D,T ;

  • 4. Compute the maximal simulation Smax1 from If

C,T ×D,T to If C,T ×D,T and

generate the set V of ≃-classes w.r.t. Smax1;

  • 5. Compute the equisimulation quotient I[f]

(C,T ×D,T )/≃ of If C,T ×D,T with

∆I[f]

(C,T ×D,T )/≃ := V;

  • 6. Obtain the number k as a role-depth for our lcs candidate by computing

k = n2 + m + 1, where: – n = ∆I[f]

C,T ×D,T /≃;

– m = max({rd(F) ∣ F ∈ sub(T ) ∪ {C,D}})

  • 7. Compute the k-characteristic concept K by traversing I[f]

(C,T ×D,T )/≃;

Adrian Nuradiansyah EMCL Workshop 2016 February 12, 2016 17 / 27

slide-43
SLIDE 43

k-Characteristic Concept

Role-Depth bounded concept K with the depth k can be obtained by traversing a canonical model I. It is computed recursively by means of k-characteristic concept X k(I,d) with d ∈ ∆I.

Adrian Nuradiansyah EMCL Workshop 2016 February 12, 2016 18 / 27

slide-44
SLIDE 44

k-Characteristic Concept

Role-Depth bounded concept K with the depth k can be obtained by traversing a canonical model I. It is computed recursively by means of k-characteristic concept X k(I,d) with d ∈ ∆I. Example:

d e f {A}

I1

{A,B} {B} s r r

Adrian Nuradiansyah EMCL Workshop 2016 February 12, 2016 18 / 27

slide-45
SLIDE 45

k-Characteristic Concept

Role-Depth bounded concept K with the depth k can be obtained by traversing a canonical model I. It is computed recursively by means of k-characteristic concept X k(I,d) with d ∈ ∆I. Example:

d e f {A}

I1

{A,B} {B} s r r

k = 0; X 0(I,e) := A k = 1; X 1(I,e) := A ⊓ ∃r.(A ⊓ B)

Adrian Nuradiansyah EMCL Workshop 2016 February 12, 2016 18 / 27

slide-46
SLIDE 46

k-Characteristic Concept

Role-Depth bounded concept K with the depth k can be obtained by traversing a canonical model I. It is computed recursively by means of k-characteristic concept X k(I,d) with d ∈ ∆I. Example:

d e f {A}

I1

{A,B} {B} s r r

k = 0; X 0(I,e) := A k = 1; X 1(I,e) := A ⊓ ∃r.(A ⊓ B) k = 2; X 2(I,e) := A ⊓ ∃r.(A ⊓ B ⊓ ∃s.B ) k = 3; X 3(I,e) := A ⊓ ∃r.(A ⊓ B ⊓ ∃s.(B ⊓ ∃r.A))

Adrian Nuradiansyah EMCL Workshop 2016 February 12, 2016 18 / 27

slide-47
SLIDE 47

Deciding the Existence of the Least Common Subsumer

  • 1. Given two concepts C, D and a TBox T as the inputs;
  • 2. Compute the canonical models Id

C,T and Ie D,T of C and D w.r.t. T ;

  • 3. Compute the product If

C,T ×D,T of Id C,T and Ie D,T ;

  • 4. Compute the maximal simulation Smax1 from If

C,T ×D,T to If C,T ×D,T and

generate the set V of ≃-classes w.r.t. Smax1;

  • 5. Compute the equisimulation quotient I[f]

(C,T ×D,T )/≃ of If C,T ×D,T with

∆I[f]

(C,T ×D,T )/≃ := V;

  • 6. Obtain the number k as a role-depth for our lcs candidate by computing

k = n2 + m + 1, where: – n = ∆I[f]

C,T ×D,T /≃;

– m = max({rd(F) ∣ F ∈ sub(T ) ∪ {C,D}})

  • 7. Compute the k-characteristic concept K by traversing I[f]

(C,T ×D,T )/≃;

Adrian Nuradiansyah EMCL Workshop 2016 February 12, 2016 19 / 27

slide-48
SLIDE 48

Deciding the Existence of the Least Common Subsumer

  • 1. Given two concepts C, D and a TBox T as the inputs;
  • 2. Compute the canonical models Id

C,T and Ie D,T of C and D w.r.t. T ;

  • 3. Compute the product If

C,T ×D,T of Id C,T and Ie D,T ;

  • 4. Compute the maximal simulation Smax1 from If

C,T ×D,T to If C,T ×D,T and

generate the set V of ≃-classes w.r.t. Smax1;

  • 5. Compute the equisimulation quotient I[f]

(C,T ×D,T )/≃ of If C,T ×D,T with

∆I[f]

(C,T ×D,T )/≃ := V;

  • 6. Obtain the number k as a role-depth for our lcs candidate by computing

k = n2 + m + 1, where: – n = ∆I[f]

C,T ×D,T /≃;

– m = max({rd(F) ∣ F ∈ sub(T ) ∪ {C,D}})

  • 7. Compute the k-characteristic concept K by traversing I[f]

(C,T ×D,T )/≃;

  • 8. Compute the canonical model IK of K;
  • 9. Check whether (I[f]

(C,T ×D,T )/≃, [f]≃) is simulated by (IdK K,T ,dK). If it is simulated,

then K is the lcsT (C, D). Otherwise, C and D do not have lcs w.r.t. T .

Adrian Nuradiansyah EMCL Workshop 2016 February 12, 2016 19 / 27

slide-49
SLIDE 49

Implementation of the Algorithm

Desktop-based application Executed in console command-line. It is implemented in Java programming language.

Adrian Nuradiansyah EMCL Workshop 2016 February 12, 2016 20 / 27

slide-50
SLIDE 50

Implementation of the Algorithm

Desktop-based application Executed in console command-line. It is implemented in Java programming language. input:

  • ntology file,

two EL concepts or single individual in OWL format

Adrian Nuradiansyah EMCL Workshop 2016 February 12, 2016 20 / 27

slide-51
SLIDE 51

Implementation of the Algorithm

Desktop-based application Executed in console command-line. It is implemented in Java programming language. input:

  • ntology file,

two EL concepts or single individual in OWL format Process: OWL API (OWL 2.0) + ELASTIQ library (computing canonical model)

Adrian Nuradiansyah EMCL Workshop 2016 February 12, 2016 20 / 27

slide-52
SLIDE 52

Implementation of the Algorithm

Desktop-based application Executed in console command-line. It is implemented in Java programming language. input:

  • ntology file,

two EL concepts or single individual in OWL format Process: OWL API (OWL 2.0) + ELASTIQ library (computing canonical model)

  • utput:

If the lcs/the msc exists, the returned concept is represented

  • f the form of

Manchester OWL syntax

Adrian Nuradiansyah EMCL Workshop 2016 February 12, 2016 20 / 27

slide-53
SLIDE 53

Implementation of the Algorithm

Desktop-based application Executed in console command-line. It is implemented in Java programming language. input:

  • ntology file,

two EL concepts or single individual in OWL format Process: OWL API (OWL 2.0) + ELASTIQ library (computing canonical model)

  • utput:

If the lcs/the msc exists, the returned concept is represented

  • f the form of

Manchester OWL syntax Notes: The bigger the number of role depth k needed, the bigger the size of computed concepts. The presentation of the output of the form of complex concept is quite redundant

Adrian Nuradiansyah EMCL Workshop 2016 February 12, 2016 20 / 27

slide-54
SLIDE 54

Evaluation: Purposes and Test Ontologies

Purposes: – To decide the existence of the most specific generalization in cyclic

  • ntologies.

– To measure the time of computation and analyze the size of computed lcs and msc concepts.

Adrian Nuradiansyah EMCL Workshop 2016 February 12, 2016 21 / 27

slide-55
SLIDE 55

Evaluation: Purposes and Test Ontologies

Purposes: – To decide the existence of the most specific generalization in cyclic

  • ntologies.

– To measure the time of computation and analyze the size of computed lcs and msc concepts. Test Ontologies – Cyclic EL ontologies that are applied in the real and practical area of knowledge base. – Using 10 versions of GeneOntology.

Adrian Nuradiansyah EMCL Workshop 2016 February 12, 2016 21 / 27

slide-56
SLIDE 56

Evaluation: in Cyclic Ontologies

  • 1. Least Common Subsumer

Test the cyclicity in all test ontologies – nnotations1, nnotations2, and nnotations8 have cyclic concepts. – There are 5 cyclic concepts from nnotations1 and nnotations2, respectively. – For nnotations8, there are only 2 cyclic concepts.

Adrian Nuradiansyah EMCL Workshop 2016 February 12, 2016 22 / 27

slide-57
SLIDE 57

Evaluation: in Cyclic Ontologies

  • 1. Least Common Subsumer

Test the cyclicity in all test ontologies – nnotations1, nnotations2, and nnotations8 have cyclic concepts. – There are 5 cyclic concepts from nnotations1 and nnotations2, respectively. – For nnotations8, there are only 2 cyclic concepts. Compute the existence of the LCS of each pair of cyclic concepts w.r.t. their

  • ntologies.

– 2 out of 10 pairs of cyclic concepts in both of nnotations1 nnotations2 do not have the lcs. – One pair of cyclic concepts in nnotations8 does not have lcs.

Adrian Nuradiansyah EMCL Workshop 2016 February 12, 2016 22 / 27

slide-58
SLIDE 58

Evaluation: in Cyclic Ontologies

  • 1. Least Common Subsumer

Test the cyclicity in all test ontologies – nnotations1, nnotations2, and nnotations8 have cyclic concepts. – There are 5 cyclic concepts from nnotations1 and nnotations2, respectively. – For nnotations8, there are only 2 cyclic concepts. Compute the existence of the LCS of each pair of cyclic concepts w.r.t. their

  • ntologies.

– 2 out of 10 pairs of cyclic concepts in both of nnotations1 nnotations2 do not have the lcs. – One pair of cyclic concepts in nnotations8 does not have lcs.

Concept Name 1 Concept Name 2 Ontology k (role depth) Result PomBase SPBC1685.15c PomBase SPCC18B5.03 nnotations1 148 Yes, the lcs exists PomBase SPCC4B3.15 PomBase SPBC2F12.13 nnotations1 260 Yes, the lcs exists PomBase SPBC1685.15c PomBase SPBC2F12.13 nnotations1 2708 No, the lcs does not exist PomBase SPCC18B5.03 PomBase SPCC4B3.15 nnotations2 12548 No, the lcs does not exist PomBase SPBC1685.15c PomBase SPCC4B3.15 nnotations2 293 Yes, the lcs exists UniProtKB D9PTP5 UniProtKB Q9GYJ9 nnotations8 260 No, the lcs does not exist

Table: Evaluation for the Existence of the LCS (1)

Adrian Nuradiansyah EMCL Workshop 2016 February 12, 2016 22 / 27

slide-59
SLIDE 59

Evaluation: in Cyclic Ontologies

Concept Name 1 Concept Name 2 Ontology Size of the LCS Time of Computation PomBase SPBC1685.15c PomBase SPCC18B5.03 nnotations1 48 19,882 s PomBase SPCC4B3.15 PomBase SPBC2F12.13 nnotations1 75 24,525 s PomBase SPBC1685.15c PomBase SPBC2F12.13 nnotations1 52,963 s PomBase SPCC18B5.03 PomBase SPCC4B3.15 nnotations2 686,037 s PomBase SPBC1685.15c PomBase SPCC4B3.15 nnotations2 78 14,936 s UniProtKB D9PTP5 UniProtKB Q9GYJ9 nnotations8 27,18 s

Table: Evaluation for the Existence of the LCS (2)

Adrian Nuradiansyah EMCL Workshop 2016 February 12, 2016 23 / 27

slide-60
SLIDE 60

Evaluation: in Cyclic Ontologies

Concept Name 1 Concept Name 2 Ontology Size of the LCS Time of Computation PomBase SPBC1685.15c PomBase SPCC18B5.03 nnotations1 48 19,882 s PomBase SPCC4B3.15 PomBase SPBC2F12.13 nnotations1 75 24,525 s PomBase SPBC1685.15c PomBase SPBC2F12.13 nnotations1 52,963 s PomBase SPCC18B5.03 PomBase SPCC4B3.15 nnotations2 686,037 s PomBase SPBC1685.15c PomBase SPCC4B3.15 nnotations2 78 14,936 s UniProtKB D9PTP5 UniProtKB Q9GYJ9 nnotations8 27,18 s

Table: Evaluation for the Existence of the LCS (2)

  • 2. Most Specific Concept

There is no cyclic individual in all test ontologies. MSC always exist in this evaluation.

Adrian Nuradiansyah EMCL Workshop 2016 February 12, 2016 23 / 27

slide-61
SLIDE 61

Conclusion and Future Work

Conclusions Implementing the algorithm to decide the existence of the lcs and the msc by means of canonical model and simulation relation. Involving the computation of building the product of canonical model in the smaller size.

▸ Canonical model with an initial element. ▸ Equisimulation quotient of product of canonical model.

Deciding the existence of the lcs and the msc w.r.t. some samples of GeneOntology version (Cyclic ontology).

▸ 3 out of 10 samples of GeneOntology version are cyclic ontologies; ▸ Some pairs of cyclic concepts w.r.t. those cyclic ontologies do not have lcs. Adrian Nuradiansyah EMCL Workshop 2016 February 12, 2016 24 / 27

slide-62
SLIDE 62

Conclusion and Future Work

Conclusions Implementing the algorithm to decide the existence of the lcs and the msc by means of canonical model and simulation relation. Involving the computation of building the product of canonical model in the smaller size.

▸ Canonical model with an initial element. ▸ Equisimulation quotient of product of canonical model.

Deciding the existence of the lcs and the msc w.r.t. some samples of GeneOntology version (Cyclic ontology).

▸ 3 out of 10 samples of GeneOntology version are cyclic ontologies; ▸ Some pairs of cyclic concepts w.r.t. those cyclic ontologies do not have lcs.

Future Works Optimizing the simulation algorithm. Simplifying the size of returned concept. Extended to the other small DL language: FL0

Adrian Nuradiansyah EMCL Workshop 2016 February 12, 2016 24 / 27

slide-63
SLIDE 63

The LCS of FL0 Input Concepts w.r.t. General TBox

Ideas: Using a decision procedure similar to EL’s case. Not using canonical model anymore. Instead, least functional model JC,T of FL0 concept C w.r.t. General FL0 TBox. Both of them have similar structure in terms of to label the domain elements and the role-edges. But, for the case of least functional model, each role name only connects one element to its single successor element. Due to different types of ∃ and ∀ semantics. C ⊑T D ⇐ ⇒ JD,T ⊆ JC,T

Adrian Nuradiansyah EMCL Workshop 2016 February 12, 2016 25 / 27

slide-64
SLIDE 64

The LCS of FL0 Input Concepts w.r.t. General TBox

Research Questions: How to characterize subsumption w.r.t. General FL0 TBox by means of simulation relation? How to prove that the canonical model of k-characteristic concept is also a model

  • f TBox?

How to prove that there exists a k s.t. the canonical model of k-characteristic concept w.r.t. T simulates the product of the canonical models of input concepts? Can we also use the same formula, which is k = n2 +m+1? Most probably, it will be different, but the idea will be quite similar to EL’s case

  • ⇒ using asynchronous and synchronous elements.

Adrian Nuradiansyah EMCL Workshop 2016 February 12, 2016 26 / 27

slide-65
SLIDE 65

Thank You

Adrian Nuradiansyah EMCL Workshop 2016 February 12, 2016 27 / 27