• Keine Ergebnisse gefunden

From Horn-SRIQ to Datalog:

N/A
N/A
Protected

Academic year: 2022

Aktie "From Horn-SRIQ to Datalog:"

Copied!
77
0
0

Wird geladen.... (Jetzt Volltext ansehen)

Volltext

(1)

From Horn-SRIQ to Datalog David Carral, Larry González, and Patrick Koopmann

From Horn- SRIQ to Datalog:

/15 1

A Data-Independent Transformation that Preserves Assertion Entailment

David Carral, Larry González, and Patrick Koopmann

Poster: KRR5901

(2)

Introduction

(3)

From Horn-SRIQ to Datalog David Carral, Larry González, and Patrick Koopmann /153

The DL Horn- SRIQ : Syntax

C 1 ⊓ … ⊓ C nD → EnglishSpeaker ⊓ FrenchSpeaker ⊑ Bilingual , Vehicle ⊑ Car , Vertebrate ⊓ Invertebrate ⊑ ⊥

R . CD → ∃ Attends . Course ⊑ Student C ⊑ ∃ R . D → Director ⊑ ∃ Directs . Movie

C ⊑ ≤ 1 R . D → PhDStudent ⊑ ≤ 1 HasThesisSupervisor . Faculty

R 1 ∘ … ∘ R nS → HasAncestor ∘ HasAncestor ⊑ HasAncestor , HasMother ⊑ HasParent , HasParent ∘ HasSister ⊑ HasAunt

R S → HasChild ⊑ HasParent C ( a ) → Person ( david )

R ( a , b ) → HasFriend ( stan , kyle )

(4)

The DL Horn- SRIQ : Syntax

C 1 ⊓ … ⊓ C nD → EnglishSpeaker ⊓ FrenchSpeaker ⊑ Bilingual , Vehicle ⊑ Car , Vertebrate ⊓ Invertebrate ⊑ ⊥

R . CD → ∃ Attends . Course ⊑ Student C ⊑ ∃ R . D → Director ⊑ ∃ Directs . Movie

C ⊑ ≤ 1 R . D → PhDStudent ⊑ ≤ 1 HasThesisSupervisor . Faculty

R 1 ∘ … ∘ R nS → HasAncestor ∘ HasAncestor ⊑ HasAncestor , HasMother ⊑ HasParent , HasParent ∘ HasSister ⊑ HasAunt

R S → HasChild ⊑ HasParent

C ( a ) → Person ( david )

(5)

From Horn-SRIQ to Datalog David Carral, Larry González, and Patrick Koopmann /154

C 1 ⊓ … ⊓ C nD ↦ ∀ x . C 1 ( x ) ∧ … ∧ C n ( x ) → D ( x )

R . CD ↦ ∀ x , y . R ( x , y ) ∧ C ( y ) → D ( x ) C ⊑ ∃ R . D ↦ ∀ x . C ( x ) → ∃ y . R ( x , y ) ∧ D ( y )

C ⊑ ≤ 1 R . D ↦ ∀ x , y , z . C ( x ) ∧ R ( x , y ) ∧ D ( y ) ∧ R ( x , z ) ∧ D ( z ) → yz R 1 ∘ … ∘ R nS ↦ ∀ x 0 , …, x n . R 1 ( x 0 , x 1 ) ∧ … ∧ R n ( x n 1 , x n ) → R ( x 0 , x n )

R S ↦ ∀ x , y . R ( x , y ) → S ( y , x ) A ( a ) ↦ A ( a )

R ( a , b ) ↦ R ( a , b )

The DL Horn- SRIQ : Semantics

(6)

The DL Horn- SRIQ : Semantics

C 1 ⊓ … ⊓ C nDC 1 ( x ) ∧ … ∧ C n ( x ) → D ( x )

R . CDR ( x , y ) ∧ C ( y ) → D ( x )

C ⊑ ∃ R . DC ( x ) → ∃ y . R ( x , y ) ∧ D ( y )

C ⊑ ≤ 1 R . DC ( x ) ∧ R ( x , y ) ∧ D ( y ) ∧ R ( x , z ) ∧ D ( z ) → yz R 1 ∘ … ∘ R nSR 1 ( x 0 , x 1 ) ∧ … ∧ R n ( x n 1 , x n ) → R ( x 0 , x n )

R SR ( x , y ) → S ( y , x ) A ( a ) ↦ A ( a )

R ( a , b ) ↦ R ( a , b )

(7)

From Horn-SRIQ to Datalog David Carral, Larry González, and Patrick Koopmann /154

The DL Horn- SRIQ : Semantics

Terminological axioms

C 1 ⊓ … ⊓ C nDC 1 ( x ) ∧ … ∧ C n ( x ) → D ( x )

R . CDR ( x , y ) ∧ C ( y ) → D ( x )

C ⊑ ∃ R . DC ( x ) → ∃ y . R ( x , y ) ∧ D ( y )

C ⊑ ≤ 1 R . DC ( x ) ∧ R ( x , y ) ∧ D ( y ) ∧ R ( x , z ) ∧ D ( z ) → yz R 1 ∘ … ∘ R nSR 1 ( x 0 , x 1 ) ∧ … ∧ R n ( x n 1 , x n ) → R ( x 0 , x n )

R SR ( x , y ) → S ( y , x ) A ( a ) ↦ A ( a )

R ( a , b ) ↦ R ( a , b )

(8)

The DL Horn- SRIQ : Semantics

Terminological axioms

Assertions / Facts

C 1 ⊓ … ⊓ C nDC 1 ( x ) ∧ … ∧ C n ( x ) → D ( x )

R . CDR ( x , y ) ∧ C ( y ) → D ( x )

C ⊑ ∃ R . DC ( x ) → ∃ y . R ( x , y ) ∧ D ( y )

C ⊑ ≤ 1 R . DC ( x ) ∧ R ( x , y ) ∧ D ( y ) ∧ R ( x , z ) ∧ D ( z ) → yz R 1 ∘ … ∘ R nSR 1 ( x 0 , x 1 ) ∧ … ∧ R n ( x n 1 , x n ) → R ( x 0 , x n )

R SR ( x , y ) → S ( y , x ) A ( a ) ↦ A ( a )

R ( a , b ) ↦ R ( a , b )

(9)

From Horn-SRIQ to Datalog David Carral, Larry González, and Patrick Koopmann /154

The DL Horn- SRIQ : Semantics

Terminological axioms

Assertions / Facts

𝒪 = ⟨𝒯, ℱ⟩

Set of facts / ABox Set of terminological axioms / TBox

Ontology

C 1 ⊓ … ⊓ C nDC 1 ( x ) ∧ … ∧ C n ( x ) → D ( x )

R . CDR ( x , y ) ∧ C ( y ) → D ( x )

C ⊑ ∃ R . DC ( x ) → ∃ y . R ( x , y ) ∧ D ( y )

C ⊑ ≤ 1 R . DC ( x ) ∧ R ( x , y ) ∧ D ( y ) ∧ R ( x , z ) ∧ D ( z ) → yz R 1 ∘ … ∘ R nSR 1 ( x 0 , x 1 ) ∧ … ∧ R n ( x n 1 , x n ) → R ( x 0 , x n )

R SR ( x , y ) → S ( y , x ) A ( a ) ↦ A ( a )

R ( a , b ) ↦ R ( a , b )

(10)

Datalog

Features ( x , y ) → Actor ( y )

ActsIn ( x , y ) → Features ( y , x ) HasID ( x , y ) ∧ HasID ( x , z ) → yz

Directs ( x , y ) ∧ Features ( y , z ) → DirectsActor ( x , z )

Reviews ( x , y ) ∧ IsAuthorOf ( z , y ) ∧ CollaboratesWith ( x , y ) → IllegalReviewer ( x , y )

P ( x , y , z ) ∧ S ( y , w , v ) ∧ V ( y , v ) → D ( x )

(11)

From Horn-SRIQ to Datalog David Carral, Larry González, and Patrick Koopmann /155

Datalog

Features ( x , y ) → Actor ( y )

ActsIn ( x , y ) → Features ( y , x ) HasID ( x , y ) ∧ HasID ( x , z ) → yz

Directs ( x , y ) ∧ Features ( y , z ) → DirectsActor ( x , z )

Reviews ( x , y ) ∧ IsAuthorOf ( z , y ) ∧ CollaboratesWith ( x , y ) → IllegalReviewer ( x , y ) P ( x , y , z ) ∧ S ( y , w , v ) ∧ V ( y , v ) → D ( x )

Person ( david )

HasFriend ( stan , kyle )

R ( a , b , c )

(12)

Datalog

Features ( x , y ) → Actor ( y )

ActsIn ( x , y ) → Features ( y , x ) HasID ( x , y ) ∧ HasID ( x , z ) → yz

Directs ( x , y ) ∧ Features ( y , z ) → DirectsActor ( x , z )

Reviews ( x , y ) ∧ IsAuthorOf ( z , y ) ∧ CollaboratesWith ( x , y ) → IllegalReviewer ( x , y ) P ( x , y , z ) ∧ S ( y , w , v ) ∧ V ( y , v ) → D ( x )

Person ( david )

HasFriend ( stan , kyle ) R ( a , b , c )

Rules

(13)

From Horn-SRIQ to Datalog David Carral, Larry González, and Patrick Koopmann /155

Datalog

Features ( x , y ) → Actor ( y )

ActsIn ( x , y ) → Features ( y , x ) HasID ( x , y ) ∧ HasID ( x , z ) → yz

Directs ( x , y ) ∧ Features ( y , z ) → DirectsActor ( x , z )

Reviews ( x , y ) ∧ IsAuthorOf ( z , y ) ∧ CollaboratesWith ( x , y ) → IllegalReviewer ( x , y ) P ( x , y , z ) ∧ S ( y , w , v ) ∧ V ( y , v ) → D ( x )

Person ( david )

HasFriend ( stan , kyle ) R ( a , b , c )

Rules

Assertions / Facts

(14)

Datalog

Features ( x , y ) → Actor ( y )

ActsIn ( x , y ) → Features ( y , x ) HasID ( x , y ) ∧ HasID ( x , z ) → yz

Directs ( x , y ) ∧ Features ( y , z ) → DirectsActor ( x , z )

Reviews ( x , y ) ∧ IsAuthorOf ( z , y ) ∧ CollaboratesWith ( x , y ) → IllegalReviewer ( x , y ) P ( x , y , z ) ∧ S ( y , w , v ) ∧ V ( y , v ) → D ( x )

Person ( david )

HasFriend ( stan , kyle ) R ( a , b , c )

Rules

Assertions / Facts

𝒫 = ⟨ℛ, ℱ⟩

Set of rules

Program

(15)

From Horn-SRIQ to Datalog David Carral, Larry González, and Patrick Koopmann /155

Datalog

Features ( x , y ) → Actor ( y )

ActsIn ( x , y ) → Features ( y , x ) HasID ( x , y ) ∧ HasID ( x , z ) → yz

Directs ( x , y ) ∧ Features ( y , z ) → DirectsActor ( x , z )

Reviews ( x , y ) ∧ IsAuthorOf ( z , y ) ∧ CollaboratesWith ( x , y ) → IllegalReviewer ( x , y ) P ( x , y , z ) ∧ S ( y , w , v ) ∧ V ( y , v ) → D ( x )

Remark: Existential quantification is not allowed in Datalog.

Person ( david )

HasFriend ( stan , kyle ) R ( a , b , c )

Rules

Assertions / Facts

𝒫 = ⟨ℛ, ℱ⟩

Set of facts Set of rules

Program

(16)

Datalog

Features ( x , y ) → Actor ( y )

ActsIn ( x , y ) → Features ( y , x ) HasID ( x , y ) ∧ HasID ( x , z ) → yz

Directs ( x , y ) ∧ Features ( y , z ) → DirectsActor ( x , z )

Reviews ( x , y ) ∧ IsAuthorOf ( z , y ) ∧ CollaboratesWith ( x , y ) → IllegalReviewer ( x , y ) P ( x , y , z ) ∧ S ( y , w , v ) ∧ V ( y , v ) → D ( x )

Remark: Existential quantification is not allowed in Datalog.

Person ( david )

HasFriend ( stan , kyle ) R ( a , b , c )

Rules

Assertions / Facts

𝒫 = ⟨ℛ, ℱ⟩

Set of rules

Program

(17)

From Horn-SRIQ to Datalog David Carral, Larry González, and Patrick Koopmann /156

TBox

Solving Assertion Retrieval with Datalog Rewritings

ABox

(18)

DL Reasoner TBox

Solving Assertion Retrieval with Datalog Rewritings

ABox

(19)

From Horn-SRIQ to Datalog David Carral, Larry González, and Patrick Koopmann /156

DL Reasoner TBox

Solving Assertion Retrieval with Datalog Rewritings

ABox

Entailed ABox Assertions

(i.e., facts over named individuals)

(20)

Datalog Rule Set

Data-Independent Translation

DL Reasoner TBox

Solving Assertion Retrieval with Datalog Rewritings

ABox

Entailed ABox

(21)

From Horn-SRIQ to Datalog David Carral, Larry González, and Patrick Koopmann

Rule Engine

/15 6

Datalog Rule Set

Data-Independent Translation

DL Reasoner TBox

Solving Assertion Retrieval with Datalog Rewritings

ABox

Entailed ABox Assertions

(i.e., facts over named individuals)

(22)

Rule Engine

Datalog Rule Set

Data-Independent Translation

DL Reasoner TBox

Solving Assertion Retrieval with Datalog Rewritings

ABox

Entailed ABox

(23)

From Horn-SRIQ to Datalog David Carral, Larry González, and Patrick Koopmann

Rule Engine

/15 6

Datalog Rule Set

Data-Independent Translation

DL Reasoner TBox

Solving Assertion Retrieval with Datalog Rewritings

ABox

Entailed ABox Assertions

(i.e., facts over named individuals)

Motivation

* Research expressivity

* Performance improvements

(24)

Rule Engine

Datalog Rule Set

Data-Independent Translation

DL Reasoner TBox

Challenges

* Correctness and complexity

* Implement translation and evaluate performance

Solving Assertion Retrieval with Datalog Rewritings

ABox

Entailed ABox

Motivation

* Research expressivity

* Performance improvements

(25)

Evaluation

(26)

Reasoning with Rewritings

Konclude

RDFox

(27)

From Horn-SRIQ to Datalog David Carral, Larry González, and Patrick Koopmann /159

Size of Rewritings

- MOWLCorpus: TBoxes with less 1000 axioms and

containing role chain axioms - 187 TBoxes

- 121 computed rewritings w/o

OOM errors

(28)

Size of Rewritings

- MOWLCorpus: TBoxes with less 1000 axioms and

containing role chain axioms - 187 TBoxes

- 121 computed rewritings w/o

OOM errors

(29)

From Horn- ALCHIQ to Datalog

(30)

From Horn- ALCHIQ to Datalog

R 1 ∘ … ∘ R nSRS

(31)

From Horn-SRIQ to Datalog David Carral, Larry González, and Patrick Koopmann /1511

Forest Model Property

C ⊑ ∃ R . D

C 1 ⊓ … ⊓ C nD

R . CD C ⊑ ≤ 1 R . D

RS

(32)

Forest Model Property

C ⊑ ∃ R . D

C 1 ⊓ … ⊓ C nD

R . CD C ⊑ ≤ 1 R . D

RS

(33)

From Horn-SRIQ to Datalog David Carral, Larry González, and Patrick Koopmann /1511

Forest Model Property

C ⊑ ∃ R . D

C 1 ⊓ … ⊓ C nD

R . CD C ⊑ ≤ 1 R . D

RS

(34)

Forest Model Property

C ⊑ ∃ R . D

C 1 ⊓ … ⊓ C nD

R . CD C ⊑ ≤ 1 R . D

RS

(35)

From Horn-SRIQ to Datalog David Carral, Larry González, and Patrick Koopmann /1511

Forest Model Property

C ⊑ ∃ R . D

C 1 ⊓ … ⊓ C nD

R . CD C ⊑ ≤ 1 R . D

RS

(36)

Forest Model Property

C ⊑ ∃ R . D

C 1 ⊓ … ⊓ C nD

R . CD C ⊑ ≤ 1 R . D

RS

(37)

From Horn-SRIQ to Datalog David Carral, Larry González, and Patrick Koopmann /1511

Forest Model Property

C ⊑ ∃ R . D

C 1 ⊓ … ⊓ C nD

R . CD C ⊑ ≤ 1 R . D

RS

(38)

Forest Model Property

C ⊑ ∃ R . D

C 1 ⊓ … ⊓ C nD

R . CD C ⊑ ≤ 1 R . D

RS

(39)

From Horn-SRIQ to Datalog David Carral, Larry González, and Patrick Koopmann /1511

Forest Model Property

C ⊑ ∃ R . D

C 1 ⊓ … ⊓ C nD

R . CD C ⊑ ≤ 1 R . D

RS

(40)

Forest Model Property

C ⊑ ∃ R . D

C 1 ⊓ … ⊓ C nD

R . CD C ⊑ ≤ 1 R . D

RS

(41)

From Horn-SRIQ to Datalog David Carral, Larry González, and Patrick Koopmann /1511

Forest Model Property

C ⊑ ∃ R . D

C 1 ⊓ … ⊓ C nD

R . CD C ⊑ ≤ 1 R . D

RS

(42)

Forest Model Property

C ⊑ ∃ R . D

C 1 ⊓ … ⊓ C nD

R . CD C ⊑ ≤ 1 R . D

RS

(43)

From Horn-SRIQ to Datalog David Carral, Larry González, and Patrick Koopmann /1511

Forest Model Property

C ⊑ ∃ R . D

C 1 ⊓ … ⊓ C nD

R . CD C ⊑ ≤ 1 R . D

RS

(44)

Forest Model Property

C ⊑ ∃ R . D

C 1 ⊓ … ⊓ C nD

R . CD C ⊑ ≤ 1 R . D

RS

(45)

From Horn-SRIQ to Datalog David Carral, Larry González, and Patrick Koopmann /1511

Forest Model Property

C ⊑ ∃ R . D

C 1 ⊓ … ⊓ C nD

R . CD C ⊑ ≤ 1 R . D

RS

(46)

Forest Model Property

C ⊑ ∃ R . D

C 1 ⊓ … ⊓ C nD

R . CD C ⊑ ≤ 1 R . D

RS

(47)

From Horn-SRIQ to Datalog David Carral, Larry González, and Patrick Koopmann /1511

Forest Model Property

C ⊑ ∃ R . D

C 1 ⊓ … ⊓ C nD

R . CD C ⊑ ≤ 1 R . D

RS

(48)

Forest Model Property

C ⊑ ∃ R . D

C 1 ⊓ … ⊓ C nD

R . CD C ⊑ ≤ 1 R . D

RS

(49)

From Horn-SRIQ to Datalog David Carral, Larry González, and Patrick Koopmann /1511

Forest Model Property

C ⊑ ∃ R . D

C 1 ⊓ … ⊓ C nD

R . CD C ⊑ ≤ 1 R . D

RS

(50)

Forest Model Property

C ⊑ ∃ R . D

C 1 ⊓ … ⊓ C nD

R . CD C ⊑ ≤ 1 R . D

RS

(51)

From Horn-SRIQ to Datalog David Carral, Larry González, and Patrick Koopmann /1511

Forest Model Property

C ⊑ ∃ R . D

C 1 ⊓ … ⊓ C nD

R . CD C ⊑ ≤ 1 R . D

RS

(52)

“Unnamed-to-Named” Consequences

(53)

From Horn-SRIQ to Datalog David Carral, Larry González, and Patrick Koopmann /1512

“Unnamed-to-Named” Consequences

Successor-to-predecessor

(54)

“Unnamed-to-Named” Consequences

C ⊑ ∃ R . D D ⊑ ∃ S . E

S . EF

R . FG

Successor-to-predecessor

(55)

From Horn-SRIQ to Datalog David Carral, Larry González, and Patrick Koopmann /1512

“Unnamed-to-Named” Consequences

C ⊑ ∃ R . D D ⊑ ∃ S . E

S . EF

R . FG

a : C R

n : D

Successor-to-predecessor

(56)

“Unnamed-to-Named” Consequences

C ⊑ ∃ R . D D ⊑ ∃ S . E

S . EF

R . FG R

n : D n ′ : E S

Successor-to-predecessor

(57)

From Horn-SRIQ to Datalog David Carral, Larry González, and Patrick Koopmann

, F

/15 12

“Unnamed-to-Named” Consequences

C ⊑ ∃ R . D D ⊑ ∃ S . E

S . EF

R . FG

a : C R

n : D n ′ : E S

Successor-to-predecessor

(58)

, F

“Unnamed-to-Named” Consequences

C ⊑ ∃ R . D D ⊑ ∃ S . E

S . EF

R . FG R

n : D n ′ : E S

Successor-to-predecessor

(59)

From Horn-SRIQ to Datalog David Carral, Larry González, and Patrick Koopmann

, F

/15 12

“Unnamed-to-Named” Consequences

C ⊑ ∃ R . D D ⊑ ∃ S . E

S . EF

R . FG

a : C R

n : D n ′ : E

, G S

Successor-to-predecessor

C ( x ) → G ( x )

(60)

, F

“Unnamed-to-Named” Consequences

C ⊑ ∃ R . D D ⊑ ∃ S . E

S . EF

R . FG R

n : D n ′ : E S

Successor-to-predecessor Folding

(61)

From Horn-SRIQ to Datalog David Carral, Larry González, and Patrick Koopmann

, F

/15 12

“Unnamed-to-Named” Consequences

C ⊑ ∃ R . D D ⊑ ∃ S . E

S . EF

R . FG

a : C R

n : D n ′ : E

, G S

Successor-to-predecessor Folding

a : C b : D C ⊑ ∃ S . E

SR ED

C ⊑ ≤ 1 R . D R

C ( x ) → G ( x )

(62)

, F

“Unnamed-to-Named” Consequences

C ⊑ ∃ R . D D ⊑ ∃ S . E

S . EF

R . FG R

n : D n ′ : E S

Successor-to-predecessor Folding

a : C b : D C ⊑ ∃ S . E

SR ED

C ⊑ ≤ 1 R . D R S

n : E

(63)

From Horn-SRIQ to Datalog David Carral, Larry González, and Patrick Koopmann

, F

/15 12

“Unnamed-to-Named” Consequences

C ⊑ ∃ R . D D ⊑ ∃ S . E

S . EF

R . FG

a : C R

n : D n ′ : E

, G S

Successor-to-predecessor Folding

a : C b : D C ⊑ ∃ S . E

SR ED

C ⊑ ≤ 1 R . D R S , R

n : E

C ( x ) → G ( x )

(64)

, F

“Unnamed-to-Named” Consequences

C ⊑ ∃ R . D D ⊑ ∃ S . E

S . EF

R . FG R

n : D n ′ : E S

Successor-to-predecessor Folding

a : C b : D C ⊑ ∃ S . E

SR ED

C ⊑ ≤ 1 R . D R S , R

, D

n : E

(65)

From Horn-SRIQ to Datalog David Carral, Larry González, and Patrick Koopmann

, F

/15 12

“Unnamed-to-Named” Consequences

C ⊑ ∃ R . D D ⊑ ∃ S . E

S . EF

R . FG

a : C R

n : D n ′ : E

, G S

Successor-to-predecessor Folding

a : C b : D C ⊑ ∃ S . E

SR ED

C ⊑ ≤ 1 R . D R S , R

, D n : E

C ( x ) → G ( x )

(66)

, F

“Unnamed-to-Named” Consequences

C ⊑ ∃ R . D D ⊑ ∃ S . E

S . EF

R . FG R

n : D n ′ : E S

Successor-to-predecessor Folding

a : C b : D C ⊑ ∃ S . E

SR ED

C ⊑ ≤ 1 R . D R , S

, E

(67)

From Horn-SRIQ to Datalog David Carral, Larry González, and Patrick Koopmann

, F

/15 12

“Unnamed-to-Named” Consequences

C ⊑ ∃ R . D D ⊑ ∃ S . E

S . EF

R . FG

a : C R

n : D n ′ : E

, G S

Successor-to-predecessor Folding

a : C b : D C ⊑ ∃ S . E

SR ED

C ⊑ ≤ 1 R . D R , S

, E C ( x ) → G ( x ) C ( x ) ∧ R ( x , y ) ∧ D ( y ) → S ( x , y )

C ( x ) ∧ R ( x , y ) ∧ D ( y ) → E ( y )

(68)

Computing IQ Rewritings for Horn- ALCHIQ

Consider some Horn-ALCHIQ TBox  𝒯 .

Then, the rule set  ℛ 𝒯  defined as follows is an IQ-preserving rewriting for  𝒯 .

(69)

From Horn-SRIQ to Datalog David Carral, Larry González, and Patrick Koopmann /1513

Computing IQ Rewritings for Horn- ALCHIQ

For all  C ⊑ ∀ R . D ∈ 𝒯,

C ( x ) ∧ R ( x , y ) → D ( y ) ∈ ℛ 𝒯

Consider some Horn-ALCHIQ TBox  𝒯 .

Then, the rule set  ℛ 𝒯  defined as follows is an IQ-preserving rewriting for  𝒯 .

(70)

Computing IQ Rewritings for Horn- ALCHIQ

For all  C ⊑ ∀ R . D ∈ 𝒯,

C ( x ) ∧ R ( x , y ) → D ( y ) ∈ ℛ 𝒯 For all  RS ∈ 𝒯,

R ( x , y ) → S ( x , y ) ∈ ℛ 𝒯

Consider some Horn-ALCHIQ TBox  𝒯 .

Then, the rule set  ℛ 𝒯  defined as follows is an IQ-preserving rewriting for  𝒯 .

(71)

From Horn-SRIQ to Datalog David Carral, Larry González, and Patrick Koopmann /1513

Computing IQ Rewritings for Horn- ALCHIQ

For all  C ⊑ ∀ R . D ∈ 𝒯,

C ( x ) ∧ R ( x , y ) → D ( y ) ∈ ℛ 𝒯 For all  RS ∈ 𝒯,

R ( x , y ) → S ( x , y ) ∈ ℛ 𝒯

For all  C 1 ⊓ … ⊓ C nD ∈ Ω(𝒯) C 1 ( x ) ∧ … ∧ C n ( x ) → D ( x ) ∈ ℛ 𝒯 Consider some Horn-ALCHIQ TBox  𝒯 .

Then, the rule set  ℛ 𝒯  defined as follows is an IQ-preserving rewriting for  𝒯 .

(72)

Computing IQ Rewritings for Horn- ALCHIQ

For all  C ⊑ ∀ R . D ∈ 𝒯,

C ( x ) ∧ R ( x , y ) → D ( y ) ∈ ℛ 𝒯 For all  RS ∈ 𝒯,

R ( x , y ) → S ( x , y ) ∈ ℛ 𝒯

For all  C 1 ⊓ … ⊓ C nD ∈ Ω(𝒯) C 1 ( x ) ∧ … ∧ C n ( x ) → D ( x ) ∈ ℛ 𝒯 Consider some Horn-ALCHIQ TBox  𝒯 .

Then, the rule set  ℛ 𝒯  defined as follows is an IQ-preserving rewriting for  𝒯 .

Ω(𝒯)  is the set of all axioms of one of the  following forms entailed by  𝒯 .

C 1 ⊓ … ⊓ C nD

C 1 ⊓ … ⊓ C n ⊑ ∃( R 1 ⊓ … ⊓ R m ) . ( D 1 ⊓ … ⊓ D k )

(73)

From Horn-SRIQ to Datalog David Carral, Larry González, and Patrick Koopmann /1513

Computing IQ Rewritings for Horn- ALCHIQ

For all  C ⊑ ∀ R . D ∈ 𝒯,

C ( x ) ∧ R ( x , y ) → D ( y ) ∈ ℛ 𝒯 For all  RS ∈ 𝒯,

R ( x , y ) → S ( x , y ) ∈ ℛ 𝒯

For all  C 1 ⊓ … ⊓ C nD ∈ Ω(𝒯) C 1 ( x ) ∧ … ∧ C n ( x ) → D ( x ) ∈ ℛ 𝒯 Consider some Horn-ALCHIQ TBox  𝒯 .

Then, the rule set  ℛ 𝒯  defined as follows is an IQ-preserving rewriting for  𝒯 .

Ω(𝒯)  is the set of all axioms of one of the  following forms entailed by  𝒯 .

C 1 ⊓ … ⊓ C nD

C 1 ⊓ … ⊓ C n ⊑ ∃( R 1 ⊓ … ⊓ R m ) . ( D 1 ⊓ … ⊓ D k )

Consequence-based Reasoning Calculi [IJCAI 2017] Yevgeny

[AAAI 2012] Eiter et al.

(74)

Computing IQ Rewritings for Horn- ALCHIQ

For all  C ⊑ ≤ 1 R . D ∈ 𝒯,

C ( x ) ∧ R ( x , y ) ∧ D ( y ) ∧ R ( x , z ) ∧ D ( z ) → yz ∈ ℛ , For all  C ⊑ ∀ R . D ∈ 𝒯,

C ( x ) ∧ R ( x , y ) → D ( y ) ∈ ℛ 𝒯 For all  RS ∈ 𝒯,

R ( x , y ) → S ( x , y ) ∈ ℛ 𝒯

For all  C 1 ⊓ … ⊓ C nD ∈ Ω(𝒯) C 1 ( x ) ∧ … ∧ C n ( x ) → D ( x ) ∈ ℛ 𝒯 Consider some Horn-ALCHIQ TBox  𝒯 .

Then, the rule set  ℛ 𝒯  defined as follows is an IQ-preserving rewriting for  𝒯 .

Ω(𝒯)  is the set of all axioms of one of the  following forms entailed by  𝒯 .

C 1 ⊓ … ⊓ C nD

C 1 ⊓ … ⊓ C n ⊑ ∃( R 1 ⊓ … ⊓ R m ) . ( D 1 ⊓ … ⊓ D k )

Consequence-based Reasoning Calculi [IJCAI 2017] Yevgeny

[AAAI 2012] Eiter et al.

(75)

From Horn- SRIQ to Datalog

(76)

From Horn- SRIQ to Datalog

Check out our poster!

(77)

From Horn-SRIQ to Datalog David Carral, Larry González, and Patrick Koopmann

From Horn- SRIQ to Datalog:

/15 15

A Data-Independent Transformation that Preserves Assertion Entailment

David Carral, Larry González, and Patrick Koopmann

Poster: KRR5901

Referenzen

ÄHNLICHE DOKUMENTE

2000 - 2003 Professor für Horn an der Hochschule für Musik in Detmold, seit 2004 Professor an der Universität der Künste Berlin, intensive internationale Kurstätigkeit, Juror

Offensichtlich ist detA = 0, denn die Summe der ersten beiden Spalten ergibt die dritte Spalte... (d) Wir wissen bereits, dass die Bilinearform aus (b) ein

Dabei sieht man Normalformen, die nur durch ein Vertauschen der Vektoren in der zugeh¨ origen Jordanbasis auseinander hervorgehen als gleich an.

Sedan och |hil binirio 111 och ciictn här »icd witteiligit wara/at alt Icrn/ (om luyot wrakwährt trel hafwer/ dct mä och anträffas ehwarest dbct kan/ au tingen in cllcr pthom

This sixth edition of the Transatlantic Security Symposium focused on two crucial African regions, namely the Sahel and the Horn of Africa, with a view to address the main

Eiter et al. bounded Rudolph et al. bounded Bienvenu et al. bounded Carral et al. bounded Carral et al. bounded Horn- SRIQ Datalog 2exp. bounded Ortiz et al. unbounded Ahmetaj et

This was expected, and in theory unavoidable, due to the double exponential time complexity of assertion entailment in Horn-SRIQ u : for Datalog, this complexity is only poly-

In this pa- per, we define a novel acyclicity notion which provides a sufficient condi- tion for termination of the restricted chase over Horn-SRIQ TBoxes.. We show that this