• Keine Ergebnisse gefunden

Reasoning with Attributed Description Logics

N/A
N/A
Protected

Academic year: 2022

Aktie "Reasoning with Attributed Description Logics"

Copied!
23
0
0

Wird geladen.... (Jetzt Volltext ansehen)

Volltext

(1)

Reasoning with Attributed Description Logics

Markus Krötzsch Maximilian Marx Ana Ozaki Veronika Thost

Center for Advancing Electronics Dresden (cfaed), TU Dresden

30th International Workshop on Description Logics

Full paper:https://iccl.inf.tu-dresden.de/web/Inproceedings3154

(2)

Attributed Description Logics

Why Attributed DLs?

Liz Taylor & Richard Burton in Wikidata:

taylor burton

start: 1964,end: 1974 spouse

start : 1975,end : 1976 spouse

edges may occur with multiple distinct annotations

annotations: finite attribute–value sets, attached to concept & role names e.g.,spouseis symmetric, so inverses should coincide onstart&end

X:b c (spouse@X vspouse@bstart:X.start,end:X.endc)

(3)

Attributed Description Logics

Why Attributed DLs?

Liz Taylor & Richard Burton in Wikidata:

taylor burton

start: 1964,end: 1974 spouse

start : 1975,end : 1976 spouse

edges may occur with multiple distinct annotations

annotations: finite attribute–value sets, attached to concept & role names

e.g.,spouseis symmetric, so inverses should coincide onstart&end X:b c (spouse@X vspouse@bstart:X.start,end:X.endc)

(4)

Attributed Description Logics

Why Attributed DLs?

Liz Taylor & Richard Burton in Wikidata:

taylor burton

start: 1964,end: 1974 spouse

start : 1975,end : 1976 spouse

edges may occur with multiple distinct annotations

annotations: finite attribute–value sets, attached to concept & role names e.g.,spouseis symmetric, so inverses should coincide onstart&end

X:b c (spouse@X vspouse@bstart:X.start,end:X.endc)

(5)

Attributed Description Logics

Specifiers: constraining annotations

two flavours of annotations: open & closed specifiers

consider spouse(taylor,burton)@bdstart: 1964,end: 1974ce

b c! bd ce%

bstart: 1964c! bdstart: 1964ce%

bstart: 1964,end: 1974c! bdstart: 1964,end: 1974ce! bstart: 1964,loc:Montrealc% bdstart: 1964,end: 1974,loc:∗ce!

bstart: 1964,end:+c! bdstart: 1964,end: 1974,loc:+ce% simplification: instead ofC@b c, writeC

(6)

Attributed Description Logics

Attributed DL axioms

Axioms may use variables in annotation positions:

all variables are universally quantified

spouse@X vspouse@X

variables may be constrained by using a specifier

X:bstart: 1964c (spouse@X v spouse@X) annotations may refer to assignments in other annotations

X:bstart: 1964c,Y:bstart:X.start,end:Y.endc (spouse@X vspouse@X)

note: cyclic references are allowed

(7)

Attributed Description Logics

Attributed DL axioms

Axioms may use variables in annotation positions:

all variables are universally quantified

spouse@X vspouse@X

variables may be constrained by using a specifier

X:bstart: 1964c (spouse@X v spouse@X)

annotations may refer to assignments in other annotations X:bstart: 1964c,Y:bstart:X.start,end:Y.endc

(spouse@X vspouse@X)

note: cyclic references are allowed

(8)

Attributed Description Logics

Attributed DL axioms

Axioms may use variables in annotation positions:

all variables are universally quantified

spouse@X vspouse@X

variables may be constrained by using a specifier

X:bstart: 1964c (spouse@X v spouse@X) annotations may refer to assignments in other annotations

X:bstart: 1964c,Y:bstart:X.start,end:Y.endc (spouse@X vspouse@X)

note: cyclic references are allowed

(9)

Attributed Description Logics

Attributed DL axioms

Axioms may use variables in annotation positions:

all variables are universally quantified

spouse@X vspouse@X

variables may be constrained by using a specifier

X:bstart: 1964c (spouse@X v spouse@X) annotations may refer to assignments in other annotations

X:bstart: 1964c,Y:bstart:X.start,end:Y.endc (spouse@X vspouse@X)

note: cyclic references are allowed

(10)

Reasoning in Attributed DLs

Complexity of Reasoning in Attributed DLs

DL ground restricted unrestricted

EL@ PTime PTime/PSpace-hard* ExpTime

ALCH@ ExpTime ExpTime 2ExpTime

SROIQ@ N2ExpTime N2ExpTime N2ExpTime

EL@+ PTime ExpTime undecidable

ALCH@+ ExpTime 2ExpTime undecidable

except for PSpace-hardness, bounds are tight

Nominals require special handling (bounds on domain size)

SROIQ@results fromM. Krötzsch, M. Marx, A. Ozaki and V. Thost.

‘Attributed Description Logics: Ontologies for Knowledge Graphs’. In:

Proc. 16th Int. Semantic Web Conf. (ISWC’17). to appear. Springer, 2017

(11)

Reasoning in Attributed DLs

Reasoning for ground KBs

Introduce fresh concept/role names for each annotated concept/role yields polynomially larger KB in underlying, classical DL:

spouse(taylor,burton)@bdstart: 1964,end: 1974ce (1) spouse@bstart: 1964c vspouse@bstart: 1964c (2)

spousebdstart:1964,end:1974ce (taylor,burton) spousebstart:1964c vspousebstart

:1964c

interactions between open & closed specifiers: (1), (2) entails spouse(burton,taylor)@bstart: 1964c, but we do not getspousebstart:1964c(burton,taylor)

axiomatise these inclusions: spousebdstart:1964,end:1974ce vspousebstart:1964c

(12)

Reasoning in Attributed DLs

Reasoning for ground KBs

Introduce fresh concept/role names for each annotated concept/role yields polynomially larger KB in underlying, classical DL:

spouse(taylor,burton)@bdstart: 1964,end: 1974ce (1) spouse@bstart: 1964c vspouse@bstart: 1964c (2)

spousebdstart:1964,end:1974ce (taylor,burton) spousebstart:1964c vspousebstart

:1964c

interactions between open & closed specifiers: (1), (2) entails spouse(burton,taylor)@bstart: 1964c, but we do not getspousebstart:1964c(burton,taylor)

axiomatise these inclusions: spousebdstart:1964,end:1974ce vspousebstart:1964c

(13)

Reasoning in Attributed DLs

Reasoning for ground KBs

Introduce fresh concept/role names for each annotated concept/role yields polynomially larger KB in underlying, classical DL:

spouse(taylor,burton)@bdstart: 1964,end: 1974ce (1) spouse@bstart: 1964c vspouse@bstart: 1964c (2)

spousebdstart:1964,end:1974ce (taylor,burton) spousebstart:1964c vspousebstart

:1964c

interactions between open & closed specifiers: (1), (2) entails spouse(burton,taylor)@bstart: 1964c, but we do not getspousebstart:1964c(burton,taylor)

axiomatise these inclusions: spousebdstart:1964,end:1974ce vspousebstart:1964c

(14)

Reasoning in Attributed DLs

Dealing with non-ground KBs

Transform KB into a ground KB:

instantiate each axiom for every possible annotation

spouse(taylor,burton)@bstart: 1964c spouse@X vspouse@X spouse(taylor,burton)@bstart: 1974c

spousebstart:1964c(taylor,burton) spousebstart:1974c(taylor,burton) spousebstart:1964c vspousebstart

:1964c

spousebstart:1974c vspousebstart

:1974c

unfortunately, the grounding is exponential in the size of KB: C(a)@bd ce C(a)@bdb:bce C@XuC@YuC@Z vC@X

syntactic restrictions ensure a polynomial grounding

(15)

Reasoning in Attributed DLs

Dealing with non-ground KBs

Transform KB into a ground KB:

instantiate each axiom for every possible annotation

spouse(taylor,burton)@bstart: 1964c spouse@X vspouse@X spouse(taylor,burton)@bstart: 1974c

spousebstart:1964c(taylor,burton) spousebstart:1974c(taylor,burton) spousebstart:1964c vspousebstart

:1964c

spousebstart:1974c vspousebstart

:1974c

unfortunately, the grounding is exponential in the size of KB:

C(a)@bd ce C(a)@bdb:bce C@XuC@YuC@Z vC@X

syntactic restrictions ensure a polynomial grounding

(16)

Towards Tractability

Regaining Tractability for EL

@

Sufficient conditions for polynomial grounding:

(A) number of variables per axiom is bounded, (B) number of ‘dots’X.ais bounded, and

(C) no merging with ‘dots’: ifa:X.boccurs in some annotationS, then there is no further assignment forainS

violating any condition yields intractability forEL@ violating (C) results in PSpace-hardness

reasoning forALCH@KBs satisfying the conditions is ExpTime-complete

(17)

Towards Tractability

Regaining Tractability for EL

@

Sufficient conditions for polynomial grounding:

(A) number of variables per axiom is bounded, (B) number of ‘dots’X.ais bounded, and

(C) no merging with ‘dots’: ifa:X.boccurs in some annotationS, then there is no further assignment forainS

violating any condition yields intractability forEL@ violating (C) results in PSpace-hardness

reasoning forALCH@KBs satisfying the conditions is ExpTime-complete

(18)

Towards Tractability

Regaining Tractability for EL

@

Sufficient conditions for polynomial grounding:

(A) number of variables per axiom is bounded, (B) number of ‘dots’X.ais bounded, and

(C) no merging with ‘dots’: ifa:X.boccurs in some annotationS, then there is no further assignment forainS

violating any condition yields intractability forEL@ violating (C) results in PSpace-hardness

reasoning forALCH@KBs satisfying the conditions is ExpTime-complete

(19)

Towards Tractability

An Undecidable Case

Without restrictions, Attributed DLs with+are undecidable:

interaction ofX.aand+admits an encoding of Existential Rules in quantifier-free attributedEL

forbidding eitherX.aor+is sufficient to recover decidability practically,X.ais more relevant

, but+adds expressive power: educatedAt@bdegree:+c vobtainedDegreeFrom

decidability results for Existential Rules suggest that a weaker condition may suffice for decidability

Corollary: Attributed DLs (without+) capture Datalog

(20)

Towards Tractability

An Undecidable Case

Without restrictions, Attributed DLs with+are undecidable:

interaction ofX.aand+admits an encoding of Existential Rules in quantifier-free attributedEL

forbidding eitherX.aor+is sufficient to recover decidability practically,X.ais more relevant, but+adds expressive power:

educatedAt@bdegree:+c vobtainedDegreeFrom

decidability results for Existential Rules suggest that a weaker condition may suffice for decidability

Corollary: Attributed DLs (without+) capture Datalog

(21)

Towards Tractability

An Undecidable Case

Without restrictions, Attributed DLs with+are undecidable:

interaction ofX.aand+admits an encoding of Existential Rules in quantifier-free attributedEL

forbidding eitherX.aor+is sufficient to recover decidability practically,X.ais more relevant, but+adds expressive power:

educatedAt@bdegree:+c vobtainedDegreeFrom

decidability results for Existential Rules suggest that a weaker condition may suffice for decidability

Corollary: Attributed DLs (without+) capture Datalog

(22)

Summary & Outlook

Summary:

we add annotations (sets of attribute–value pairs) to concept and role names specifiers allow to constrain variables in axioms

‘ground and rename’ reasoning approach attributed reasoning is exponentially harder

syntactic conditions ensure that we avoid this blowup

Future Work: data complexities

extension to further DL constructs (EL++

@?) annotation-aware reasoning algorithms

(23)

Summary & Outlook

Summary:

we add annotations (sets of attribute–value pairs) to concept and role names specifiers allow to constrain variables in axioms

‘ground and rename’ reasoning approach attributed reasoning is exponentially harder

syntactic conditions ensure that we avoid this blowup Future Work:

data complexities

extension to further DL constructs (EL++

@?) annotation-aware reasoning algorithms

Referenzen

ÄHNLICHE DOKUMENTE

[r]

[r]

[r]

We introduce temporally attributed DLs that use special temporal annotation attributes, which can refer to individual time points or to intervals of time.. For example,

Description Logics Description Logics: decidable fragments of First-Order Logic variable-free syntax theoretical foundation of the Web Ontology Language OWL Example “Everybody who

* A Practical Acyclicity Notion for Query Answering over Horn-SRIQ Ontologies [ISWC 2016]. * Restricted Chase (Non)Termination for Existential Rules with Disjunctions

To conclude our investigation of metric temporal DLs, we consider the setting of ALC-LTL bin without interval-rigid names. Table 3 summarizes the results of this section, where we

The translation remains correct if we replace all closed specifiers by open specifiers, since the translated knowledge base admits a least model where all annotation sets