• Keine Ergebnisse gefunden

Nominal Schemas in Description Logics: Complexities Clarified

N/A
N/A
Protected

Academic year: 2022

Aktie "Nominal Schemas in Description Logics: Complexities Clarified"

Copied!
19
0
0

Wird geladen.... (Jetzt Volltext ansehen)

Volltext

(1)

Nominal Schemas in Description Logics:

Complexities Clarified

Markus Krötzsch Sebastian Rudolph

Technische Universität Dresden DL 2014

(2)

Nominal Schemas

Nominals: concept expressions{a}for individuala Nominal schema: concept expressions{x}for variablex Example

Individuals whose parents are married (with each other):

∃hasFather.{x} u ∃hasMother.({y} u ∃married.{x}) Denoted by letterV, as inELV,ALCIV,SROIQV, . . . Several recent studies and implementations

(3)

Open Questions

How complex is reasoning with nominal schemas?

How expressive are DLs with nominal schemas?

(4)

Semantics

Semantics defined viagrounding:

replace variables by individuals in all possible ways Example

Grounding with two individualsaandb:

∃hasFather.{a} u ∃hasMother.({a} u ∃married.{a})

∃hasFather.{a} u ∃hasMother.({b} u ∃married.{a})

∃hasFather.{b} u ∃hasMother.({a} u ∃married.{b})

∃hasFather.{b} u ∃hasMother.({b} u ∃married.{b}) Always based onfinite set of constants

;Option 1: finite signature

;Option 2: restrict to constants in knowledge base

(5)

Expressivity of Nominal Schemas (1)

Nominal schemas capturenominals:

Replace{a}byOaand add axioms

Oa(a)

> v ∃somenom.{x}

Oau ∃somenom.({x} uOa)v {x}

(6)

Expressivity of Nominal Schemas (2)

Nominal schemas captureDatalogrules:

ReplaceB1∧. . .∧B` →H

by enc(B1)u. . .uenc(B`)venc(H)where

enc(p(t1, . . . ,tn)) =∃atom.(Apu ∃arg1.{t1} u. . .u ∃argn.{tn})

Nominal schemas captureDL-safe rules:

Encode rules as for Datalog and add axioms like

∃atom.(Aru ∃arg1.{x} u ∃arg2.{y})v ∃aux.({x} u ∃r.{y})

(7)

Expressivity of Nominal Schemas (2)

Nominal schemas captureDatalogrules:

ReplaceB1∧. . .∧B` →H

by enc(B1)u. . .uenc(B`)venc(H)where

enc(p(t1, . . . ,tn)) =∃atom.(Apu ∃arg1.{t1} u. . .u ∃argn.{tn})

Nominal schemas captureDL-safe rules:

Encode rules as for Datalog and add axioms like

∃atom.(Aru ∃arg1.{x} u ∃arg2.{y})v ∃aux.({x} u ∃r.{y})

(8)

Complexity of Reasoning with Nominal Schemas

What we know so far:

SROIQV is N2EXPTIME-complete, likeSROIQ[WWW 2011]

Datalog encoding

;EXPTIMElower bound for DLs aboveELV Grounding: exponential overall, polynomial in data

;upper bound forLV exponentially higher thanLO

;upper bound data complexity ofLV: comb. complexity ofLO

(9)

TBox Internalisation

TBox-to-ABox Internalisation

A TBox is replaced by a small set of “template axioms” with nominal schemas, and the original TBox is expressed with ABox assertions.

Idea:

represent conceptAby∃type.{cA}

;TBox axioms contains only roles and individuals use variables for all individuals

use ABox axioms to force bindings of variables

(10)

TBox Internalisation: Results

Axioms of the same structure require just one TBox template DLsLwith finite number of normal form axioms

;fixed number of templates

;data complexityLV = combined complexityL Lower bounds

The data complexity ofELV is P-hard.

The data complexity of Horn-ALCV is EXPTIME-hard.

The data complexity ofALCIF V is(co)NEXPTIME-hard.

Does not work for (Horn-)SROIQ: needs unbounded set of roles Upper bound

The data complexity of (Horn-)SROIQis in EXPTIME.

(11)

TBox Internalisation: Results

Axioms of the same structure require just one TBox template DLsLwith finite number of normal form axioms

;fixed number of templates

;data complexityLV = combined complexityL Lower bounds

The data complexity ofELV is P-hard.

The data complexity of Horn-ALCV is EXPTIME-hard.

The data complexity ofALCIF V is(co)NEXPTIME-hard.

Does not work for (Horn-)SROIQ: needs unbounded set of roles Upper bound

(12)

GCI Iterators

GCI Iterators

Templates of GCIs are instantiated by replacing placeholder concepts by concepts from an exponential list of “indexed” concept names.

Example:

A[i]v ∃r.A[i+1] [i=1, . . . ,s]

is short for

A1v ∃r.A2 A2v ∃r.A3

. . . As−1v ∃r.As

(13)

GCI Iterators: Results

Nominal schemas can encode GCI iterators succinctly

;can represent exponential knowledge bases in polynomial time

;combined complexityLV = exp combined complexityL Lower bounds

The combined complexity ofALCIF V is(co)N2EXPTIME-hard.

The combined complexity of Horn-ALCV is 2EXPTIME-hard.

Does not work for (Horn-)SROIQ: needs unbounded set of roles Upper bounds

The combined complexity ofSROIQV is in N2EXPTIME. The combined complexity of Horn-SROIQV is in 2EXPTIME.

(14)

GCI Iterators: Results

Nominal schemas can encode GCI iterators succinctly

;can represent exponential knowledge bases in polynomial time

;combined complexityLV = exp combined complexityL Lower bounds

The combined complexity ofALCIF V is(co)N2EXPTIME-hard.

The combined complexity of Horn-ALCV is 2EXPTIME-hard.

Does not work for (Horn-)SROIQ: needs unbounded set of roles Upper bounds

The combined complexity ofSROIQV is in N2EXPTIME. The combined complexity of Horn-SROIQV is in 2EXPTIME.

(15)

Nominal Schema Semantics Revisited

Grounding semantics depends on chosen set of constants:

Entailment of axioms with nominal schemas {a} v {b} |={a} v {x}

holds if there are only two constantsaandb(but not otherwise)

Can we use a fixed, infinite set of constants?

Grounding no longer works, but

we get thesame entailments(under some mild assumptions) and thesame complexities

(16)

Nominal Schema Semantics Revisited

Grounding semantics depends on chosen set of constants:

Entailment of axioms with nominal schemas {a} v {b} |={a} v {x}

holds if there are only two constantsaandb(but not otherwise)

Can we use a fixed, infinite set of constants?

Grounding no longer works, but

we get thesame entailments(under some mild assumptions) and thesame complexities

(17)

Conclusions

Complexity

Nominal schemas usually increase complexity exponentially Exception 1: SROIQand Horn-SROIQ(no increase) Exception 2: ELV data complexity is still polynomial Expressiveness

Nominal schemas subsume nominals, Datalog, and DL-safe rules Strictly more expressive than DL with DL-safe rules

DLs with nominal schemas do not admit a normal form

(18)

Combined Complexities Picture

ALCIF V · · · SHOIQV

SHOIV ALCIV

...

SHOQV ALCF V

...

Horn-SHOIQV Horn-ALCIF V

... Horn-SROIQV

Horn-SRIF V ...

Horn-ALCV

SRIF V · · · SROIQV

ELV · · · ELV++

N2EXP

EXP

ALCOIF · · · SHOIQ

SHOI ALCOI

...

SHOQ ALCOF

...

Horn-SHOIQ Horn-ALCOIF

... Horn-SROIQ Horn-SROIF

...

Horn-ALCO

SROIF · · · SROIQ

ELO · · · EL++

2EXP

P NEXP

(19)

TBox Internalisation: Details

Template forCvDwithnconcepts/individuals:

∃gci.(AC,Du ∃symb1.{x1} u. . .usymbn.{xn})uC0 vD0 whereC0 andD0 are obtained fromCandDby replacing:

I each concept nameσi by∃type.{xi};

I each individual nameσj byxj

Additional axiom> v ∃gci.{x}

Template instance:

{AC,D(d),symb1(d,c1), . . . ,symbn(d,cn)}

Referenzen

ÄHNLICHE DOKUMENTE

In our KR 2014 paper “Nominal Schemas in Description Logics: Complexities Clarified” [6], we give a comprehensive account of the reasoning complexities of a wide range of

A naive reasoning approach is based on replacing nominal schemas by nominals in all possible ways, which leads to complexity upper bounds one exponential above the underlying DL..

PSPACE -COMPLETE HORN DLS: FROM HORN-FL − TO HORN-FLOH − The description logic FL − is the fragment of ALC that allows >, ⊥, u, ∀, and unqualified ∃, i.e., concept

An ELROV n knowledge base is in normal form if it contains the axiom > × > v U where U is the universal role, every axiom α not containing a nominal schema is of one of the

In this paper, we introduce the syntax and semantics of nominal schemas for SROIQV , and establish the worst-case complexity of reasoning in Section 2.. The DLs SROELV n are

We show that reasoning becomes simpler in this setting: with rigid roles, satisfiability is decidable (more precisely: 2-ExpTime -complete); without rigid roles, the

This is a big advance over the case where temporal operators can occur inside concept descriptions, in which rigid roles cause unde- cidability in the presence of a TBox and

rigid concepts Without rigid names ALC-LTL 2-ExpTime -complete NExpTime -complete ExpTime -complete ALC-LTL| gGCI 2-ExpTime -complete ExpTime -complete ExpTime -complete ALC-LTL|