# An Introduction to Description Logics. What Are Description Logics? A family of logic based...

date post

14-Dec-2015Category

## Documents

view

214download

1

Embed Size (px)

### Transcript of An Introduction to Description Logics. What Are Description Logics? A family of logic based...

- Slide 1

An Introduction to Description Logics Slide 2 What Are Description Logics? A family of logic based Knowledge Representation formalisms Descendants of semantic networks and KL-ONE Describe domain in terms of concepts (classes), roles (relationships) and individuals Distinguished by: Formal semantics (typically model theoretic) Decidable fragments of FOL Closely related to Propositional Modal & Dynamic Logics Provision of inference services Sound and complete decision procedures for key problems Implemented systems (highly optimised) Slide 3 DL Architecture Knowledge Base Tbox (schema) Abox (data) Man Human u Male Happy-Father Man u 9 has-child Female u John : Happy-Father h John, Mary i : has-child Inference System Interface Slide 4 Short History of Description Logics Phase 1: Incomplete systems (Back, Classic, Loom,... ) Based on structural algorithms Phase 2: Development of tableau algorithms and complexity results Tableau-based systems for Pspace logics (e.g., Kris, Crack) Investigation of optimisation techniques Phase 3: Tableau algorithms for very expressive DLs Highly optimised tableau systems for ExpTime logics (e.g., FaCT, DLP, Racer) Relationship to modal logic and decidable fragments of FOL Slide 5 Latest Developments Phase 4: Mature implementations Mainstream applications and Tools Databases Consistency of conceptual schemata (EER, UML etc.) Schema integration Query subsumption (w.r.t. a conceptual schema) Ontologies and Semantic Web (and Grid) Ontology engineering (design, maintenance, integration) Reasoning with ontology-based markup (meta-data) Service description and discovery Commercial implementations Cerebra system from Network Inference Ltd Slide 6 Description Logic Family DLs are a family of logic based KR formalisms Particular languages mainly characterised by: Set of constructors for building complex concepts and roles from simpler ones Set of axioms for asserting facts about concepts, roles and individuals ALC is the smallest DL that is propositionally closed Constructors include booleans (and, or, not), and Restrictions on role successors E.g., concept describing happy fathers could be written: Man hasChild.Female hasChild.Male hasChild.(Rich Happy) Slide 7 DL Concept and Role Constructors Range of other constructors found in DLs, including: Number restrictions (cardinality constraints) on roles, e.g., 3 hasChild, 1 hasMother Qualified number restrictions, e.g., 2 hasChild.Female, 1 hasParent.Male Nominals (singleton concepts), e.g., {Italy} Concrete domains (datatypes), e.g., hasAge.( 21), earns spends.< Inverse roles, e.g., hasChild - (hasParent) Transitive roles, e.g., hasChild* (descendant) Role composition, e.g., hasParent o hasBrother (uncle) Slide 8 DL Knowledge Base DL Knowledge Base (KB) normally separated into 2 parts: TBox is a set of axioms describing structure of domain (i.e., a conceptual schema), e.g.: HappyFather Man hasChild.Female Elephant Animal Large Grey transitive(ancestor) ABox is a set of axioms describing a concrete situation (data), e.g.: John:HappyFather :hasChild Separation has no logical significance But may be conceptually and implementationally convenient Slide 9 OWL as DL: Class Constructors XMLS datatypes as well as classes in 8 P.C and 9 P.C E.g., 9 hasAge.nonNegativeInteger Arbitrarily complex nesting of constructors E.g., Person u 8 hasChild.(Doctor t 9 hasChild.Doctor) Slide 10 RDFS Syntax E.g., Person u 8 hasChild.(Doctor t 9 hasChild.Doctor): Slide 11 OWL as DL: Axioms Axioms (mostly) reducible to inclusion ( v ) C D iff both C v D and D v C Obvious FOL equivalences E.g., C D x.C(x) D(x), C v D x.C(x) D(x) Slide 12 XML Schema Datatypes in OWL OWL supports XML Schema primitive datatypes E.g., integer, real, string, Strict separation between object classes and datatypes Disjoint interpretation domain D for datatypes For a datavalue d, d I D And D I = ; Disjoint object and datatype properties For a datatype propterty P, P I I D For object property S and datatype property P, S I P I = ; Equivalent to the (D n ) in SHOIN (D n ) Slide 13 Why Separate Classes and Datatypes? Philosophical reasons: Datatypes structured by built-in predicates Not appropriate to form new datatypes using ontology language Practical reasons: Ontology language remains simple and compact Semantic integrity of ontology language not compromised Implementability not compromised can use hybrid reasoner Only need sound and complete decision procedure for: d I 1 d I n, where d is a (possibly negated) datatype Slide 14 OWL DL Semantics Mapping OWL to equivalent DL ( SHOIN (D n ) ): Facilitates provision of reasoning services (using DL systems) Provides well defined semantics DL semantics defined by interpretations: I = ( I, I ), where I is the domain (a non-empty set) I is an interpretation function that maps: Concept (class) name A ! subset A I of I Role (property) name R ! binary relation R I over I Individual name i ! i I element of I Slide 15 DL Semantics Interpretation function I extends to concept expressions in the obvious way, i.e.: Slide 16 Interpretation Example = {v, w, x, y, z} A I = {v, w, x} B I = {x, y} R I = {(v, w), (v, x), (y, x), (x, z)} : B = A u B = : A t B = 9 R B = 8 R B = 9 R ( 9 R A) = 9 R : (A t B) = 6 1 R A = > 1 R A = AIAI v x y z w BIBI Slide 17 DL Knowledge Bases (Ontologies) An OWL ontology maps to a DL Knowledge Base K = hT, Ai T (Tbox) is a set of axioms of the form: C v D (concept inclusion) C D (concept equivalence) R v S (role inclusion) R S (role equivalence) R + v R (role transitivity) A (Abox) is a set of axioms of the form x 2 D (concept instantiation) h x, y i 2 R (role instantiation) Two sorts of Tbox axioms often distinguished Definitions C v D or C D where C is a concept name General Concept Inclusion axioms (GCIs) C v D where C in an arbitrary concept Slide 18 Knowledge Base Semantics An interpretation I satisfies (models) an axiom A ( I A ): I C v D iff C I D I I C D iff C I = D I I R v S iff R I S I I R S iff R I = S I I R + v R iff ( R I ) + R I I x 2 D iff x I 2 D I I h x, y i 2 R iff ( x I, y I ) 2 R I I satisfies a Tbox T ( I T ) iff I satisfies every axiom A in T I satisfies an Abox A ( I A ) iff I satisfies every axiom A in A I satisfies an KB K ( I K ) iff I satisfies both T and A Slide 19 Multiple Models -v- Single Model DL KB doesnt define a single model, it is a set of constraints that define a set of possible models No constraints (empty KB) means any model is possible More constraints means fewer models Too many constraints may mean no possible model (inconsistent KB) In contrast, DBs (and frame/rule KR systems) make assumptions such that DB/KB defines a single model Unique name assumption Different names always interpreted as different individuals Closed world assumption Domain consists only of individuals named in the DB/KB Minimal models Extensions are as small as possible Slide 20 Example of Multiple Models KB = {} KB = {a:C, b:D, c:C, d:E} KB = {a:C, b:D, c:C, d:E, b:C} KB = {a:C, b:D, c:C, d:E, b:C D v C} KB = {a:C, b:D, c:C, d:E, b:C D v C, E v C} KB = {a:C, b:D, c:C, d:E, b:C D v C, E v C, d: : C} I 1 : = {v, w, x, y, z} C I = {v, w, y} D I = {x, y} E I = {z} a I = v b I = x c I = w d I = y I 3 : = {v, w, x, y, z} C I = {v, w, y} D I = {x, y} E I = {z} a I = v b I = y c I = w d I = z I 2 : = {v, w, x, y, z} C I = {v, w, y} D I = {x, y} E I = {z} a I = v b I = x c I = w d I = z I 4 : = {v, w, x, y, z} C I = {v, w, x, y} D I = {x, y} E I = {z} a I = v b I = x c I = y d I = y

*View more*