1 / 53

Descriptive Logic for the Semantic Web

Descriptive Logic for the Semantic Web. Introduction. The vision of a Semantic Web has recently drawn considerable attention, both from academia and industry. Description Logics are often named as one of the tools that can support the Semantic Web and thus help to make this vision reality.

enan
Download Presentation

Descriptive Logic for the Semantic Web

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Descriptive Logic for the Semantic Web

  2. Introduction • The vision of a Semantic Web has recently drawn considerable attention, both from academia and industry. • Description Logics are often named as one of the tools that can support the Semantic Web and thus help to make this vision reality.

  3. Introduction • Descriptions Logics are very useful for defining, integrating, and maintaining ontologies, which provide the Semantic Web with a common understanding of the basic semantic concepts used to annotate Web pages.

  4. The Semantic Web and Ontologies • World Wide Web has become an indispensable means of providing and searching for information. • Searching the Web in its current form is, however, often an infuriating experience since today's search engines usually provide a huge number of answers, many of which are completely irrelevant, whereas some of the more interesting answers are not found.

  5. The Semantic Web and Ontologies • One of the reasons for this unsatisfactory state of affairs is that existing Web resources are usually only human understandable: the mark-up (HTML) only provides rendering information for textual and graphical information intended for human consumption.

  6. The Semantic Web and Ontologies • The Semantic Web aims for machine-understandable Web resources, whose information can then be shared and processed both by automated tools, such as search engines, and by human users.

  7. The Semantic Web and Ontologies • This sharing of information between different agents requires semantic mark-up, i.e., an annotation of the Web page with information on its content that is understood by the agents searching the Web.

  8. The Semantic Web and Ontologies • To make sure that different agents have a common understanding of this semantic mark-up, one needs ontologies that establish a joint terminology between the agents.

  9. The Semantic Web and Ontologies • Basically, an ontology is a collection of definitions of concepts and the shared understanding comes from the fact that all the agents interpret the concepts w.r.t. the same ontology.

  10. Ontology Language • The use of ontologies in this context requires a well-designed, well-defined, and Web-compatible ontology language with supporting reasoning tools. • The syntax of this language should be both intuitive to human users and compatible with existing Web standards (such as XML, RDF and RDFS). • Its semantics should be formally specified since otherwise it could not provide a shared understanding. • Finally, its expressive power should be adequate,

  11. Employing Reasoning • Reasoning is important to ensure the quality of an ontology. It can be employed in different development phases: • During ontology design, it can be used to test whether concepts are non-contradictory and to derive implied relations.

  12. Employing Reasoning • One usually wants to compute the concept hierarchy since information on which concept is a specialization of another and which concepts are synonyms is very useful when searching Web pages annotated with such concepts.

  13. Employing Reasoning • Since it is not reasonable to assume that there will be a single ontology for the whole Web, interoperability and integration of different ontologies is also an important issue. Integration can, for example, be supported by asserting inter-ontology relationships and testing for consistency and computing the integrated concept hierarchy.

  14. Employing Reasoning • reasoning may also be used when the ontology is deployed, i.e., with Web pages that are already annotated with its concepts. • One can, for example, determine the consistency of facts stated in the annotation with the ontology or infer instance relationships.

  15. Description Logics • Description logics (DLs) are a family of knowledge representation languages that can be used to represent the knowledge of an application domain in a structured and formally well-understood way.

  16. Why “Description” Logics • The important notions of the domain are described by concept descriptions, i.e., expressions that are built from atomic concepts (unary predicates) and atomic roles (binary predicates) using the concept and role constructors provided by the particular DL. • On the other hand, DLs differ from their predecessors, such as semantic networks and frames, in that they are equipped with a formal, logic-based semantics.

  17. Example • Assume that we want to define the concept of “A man that is married to a doctor and has at least five children, all of whom are professors.” • Boolean constructors conjunction(), which is interpreted as set intersection. • Negation (¬), which is interpreted as set complement • Existential restriction constructor (R:C) • Value restriction constructor (R:C) • Number restriction constructor (≥n R) Human ¬Female married.Doctor (≥ 5 child) child:Professor

  18. Example • An individual, say Bob, belongs to married.Doctoriff there exists an individual that is married to Bob (i.e., is related to Bob via the married role) and is a doctor (i.e., belongs to the concept Doctor). • Bob belongs to (≥5 child) iff he has at least five children, and he belongs to child:Professoriff all his children (i.e., all individuals related to Bob via the childrole) are professors.

  19. Terminological Axioms • In addition to this description formalism, DLs are usually equipped with a terminological and an assertional formalism. • In its simplest form, terminological axiomscan be used to introduce names (abbreviations) for complex descriptions. • For example, we could introduce the abbreviation HappyManfor the concept description from above. • child.HumanHumansays that only humans can have human children.

  20. Assertional Formalism • The assertional formalismcan be used to state properties of individuals. For example, the assertions HappyMan(BOB), child(BOB;MARY)state that Bob belongs to the concept HappyManand that Mary is one of his children.

  21. Subsumption Description Logic systems provide their users with various inference capabilities that deduce implicit knowledge from the explicitly represented knowledge. • The subsumptionalgorithm determines subconcept-superconcept relationships: Cis subsumed by Diff all instances of Care necessarily instances of D, i.e., the first description is always interpreted as a subset of the second description.

  22. Subsumption • For example: HappyManis subsumed by child.Professor since instances of HappyManhave at least five children, all of whom are professors, they also have a child that is a professor.

  23. Instance • The instancealgorithm determines instance relationships: the individual iis an instance of the concept description Ciff iis always interpreted as an element of C. • For example, given the assertions from above and the definition of HappyMan, MARYis an instance of Professor.

  24. Consistency • The consistencyalgorithm determines whether a knowledge base (consisting of a set of assertions and a set of terminological axioms) is non-contradictory. • For example, if we add ¬Professor(MARY) to the two assertions from above, then the knowledge base containing these assertions together with the definition of HappyManfrom above is inconsistent.

  25. Expressivities vs. Complexities • In order to ensure a reasonable and predictable behavior of a DL system, these inference problems should at least be decidable for the DL employed by the system, and preferably of low complexity. • Consequently, the expressive power of the DL in question must be restricted in an appropriate way. Investigating this trade-off between the expressivities of DLs and the complexity of their inference problems has been one of the most important issues in DL research.

  26. Expressivities vs. Complexities Roughly, the research related to this issue can be classified into the following four phases • Phase 1 (1980-1990) was mainly concerned with implementation of systems, such as KLONE, K-REP, BACK, and LOOM. These algorithms are usually very efficient (polynomial), but they have the disadvantage that they are complete only for very inexpressive DLs, i.e., for more expressive DLs they cannot detect all the existing subsumption/instance relationships.

  27. Expressivities vs. Complexities • Phase 2 (1990-1995) started with the introduction of a new algorithmic paradigm into DLs, so-called tableau-based algorithms. • Phase 3 (1995-2000) is characterized by the development of inference procedures for very expressive DLs, either based on the tableau-approach or on a translation into modal logics.

  28. Expressivities vs. Complexities • We are now at the beginning of Phase 4, where industrial strength DL systems employing very expressive DLs and tableau-based algorithms are being developed, with applications like the Semantic Web or knowledge representation and integration in bio-informatics in mind.

  29. Description Logics as Ontology Languages High quality ontologies are crucial for the Semantic Web, and their construction, integration, and evolution greatly depends on the availability of a well-dened semantics and powerful reasoning tools. • For an ontology language for the Semantic Web, a W3C ontology standard, called DAML+OIL, has a syntax based on RDF Schema. • It can be translated into expressive DL SHIQ and the developers have tried to find a good compromise between expressiveness and the complexity of reasoning.

  30. Description Logics as Ontology Languages • Although reasoning in SHIQ is decidable, it has a rather high worst-case complexity (ExpTime). • Nevertheless, there is a highly optimized SHIQ reasoner (FaCT) available, which behaves quite well in practice.

  31. SHIQ makes reasoning hard • SHIQ provides number restrictions that are far more expressive than before: • qualified number restrictions -- being able to say that a person has at most two children (without mentioning the properties of these children): (≤ 2 child),one can also specify that there is at most one son and at most one daughter: (≤ 1 child. ¬ Female) (≤ 1 child.Female)

  32. SHIQ makes reasoning hard • SHIQ allows the formulation of complex terminological axioms like “humans have human parents”:Humanparent.Human • To test consistency of the assertion Human(BOB) under this constraint, a naive tableau-based algorithm would not terminate since it would generate an innite chain of ancestors of Bob. • To obtain a terminating procedure, one must check the computation for cycles by blocking the generation of role successors under certain conditions.

  33. SHIQ makes reasoning hard Tableau methodology* • Invented in the 1950's by Beth and Hintikka and later perfected by Smullyan and Fitting, is today one of the most popular proof theoretical methodologies. • Firstly because it is a very intuitive tool, and secondly because it appears to bring together the proof-theoretical and the semantical approaches to the presentation of a logical system. * The Handbook of Tableau Methods. Edited by Marcello D'Agostino, Dov M. Gabbay, Reiner Hähnle, and Joachim Posegga.Kluwer Academic Publishers, 1999.

  34. SHIQ makes reasoning hard Tableau methodology • Recent advances in tableau-based theorem proving have drawn attention to tableaux as a powerful deduction method for classical first-order logic, in particular for non-clausal formulas accommodating equality. • There is a growing need for a diversity of non-classical logics which can serve various applications, and for algorithmic presentations of these logicas in a unifying framework which can support (or suggest) a meaningful semantic interpretation.

  35. SHIQ makes reasoning hard Example: Sentence Tableaux* • Sentence tableaux provide us with a way of telling whether a set of sentences is consistent or not. They work in effect by breaking down sets of complex sentences into sets of simpler sentences where inconsistency is easier to spot. * Sentence Tableaux

  36. SHIQ makes reasoning hard Example: Sentence Tableaux • Let us investigate the consistency of the following set of sentences:John likes rugby if he is Welsh John is Welsh unless his father is Scottish John's father is Welsh but John does not like rugby.

  37. SHIQ makes reasoning hard Example: Sentence Tableaux • Step 1: Translate the English sentences using the truth-functors of the propositional calculus. (Remember to use stand-alone sentences for the constituents.) • This gives us:             [John is Welsh → John likes rugby][John is Welsh ∨ John's father is Scottish][John's father is Welsh ∧ ¬John likes rugby]

  38. SHIQ makes reasoning hard Example: Sentence Tableaux • Step 2: Abbreviate the short constituent English sentences with single capital letters. • W:   John is Welsh • L:    John likes rugby • F:    John's father is Welsh • S:    John's father is Scottish Called “interpretation” “Sentence Letter”

  39. SHIQ makes reasoning hard Example: Sentence Tableaux • Become:             [W → L]             [W ∨ S]             [F ∧ ¬L] • In each case the resulting combinations of letters and truth-functors is a formula, (sometimes called a "wff": i.e. well formed formula; pronounced "woof".); the process of translating into formulae is formalisation.

  40. SHIQ makes reasoning hard Example: Sentence Tableaux • Step 3: Construct the tableau. To do this: (a) List the original formulae.(b) Develop the tableau according to the tableau rules.

  41. SHIQ makes reasoning hard Example: Sentence Tableaux • The tableau takes the form of an upside down tree, with the original formulae constituting the trunk. The rules tell us • how to extend branches • how to close branches. • Each path from root to tip is called a "branch". So each branch actually includes the trunk.

  42. SHIQ makes reasoning hard Example: Sentence Tableaux • Each such branch, until it is closed, represents a way in which the original sentences might perhaps be true. • Closing a branch signifies that this branch is not after all a way in which the original sentences could all be true. • So if all the branches close, that means that there was no way in which the original sentences could all be true; that is, that they are inconsistent.

  43. SHIQ makes reasoning hard Example: Sentence Tableaux • There is just one rule for closing a branch: we may close a branch just if it contains both a formula and the same formula with a "¬" in front. • That is to say, a branch closes just if it contains both " φ " and "¬ φ " for some φ. To close a branch we just underline the tip.

  44. SHIQ makes reasoning hard Example: Sentence Tableaux • Let us now construct a tableau for our example. • We apply the rule like this:[W → L] √[W ∨ S]         [F ∧ ¬L] W S

  45. SHIQ makes reasoning hard Example: Sentence Tableaux • After each application of a rule for extending branches, we check whether we can close a branch.[W → L] √[W ∨ S] √[F ∧ ¬L] W S F F ¬L ¬L There are two ways in which the original sentences might all be true: if "[W →L]", "W", "F" and "¬L" are all true, and if "[W →L]", "S", "F" and "¬L" are all true.

  46. SHIQ makes reasoning hard Example: Sentence Tableaux • Last step:√[W → L] √[W ∨ S] √[F ∧ ¬L] W S F F ¬L ¬L¬W L ¬W L

  47. SHIQ makes reasoning hard Example: Sentence Tableaux • Close branch:√[W → L] √[W ∨ S] √[F ∧ ¬L] W S F F ¬L ¬L¬WL ¬W L

  48. SHIQ makes reasoning hard Example: Sentence Tableaux • Closing a branch tell us that this branch does not after all represent a way in which the original sentences could all be true; because there is no way for "φ" and "¬φ" both to be true. • We now have just one open branch. So the tableau now tells us that there is just one way in which the original sentences could all be true. • They would be true if the following were all true: "S", "F", "¬L" and "¬W".

  49. SHIQ makes reasoning hard Example: Sentence Tableaux • If the branches were all closed, we could, of course, conclude that the original sentences could not all be true. • But the fact that we have an open branch and the tableau has finished does not tell us that the sentences could all be true.

  50. SHIQ makes reasoning hard Example: Sentence Tableaux • We must go back to the interpretation to see if the unticked formulae in our open branch could in fact all be true. • Need to decide whether the following could be true together: "John's father is Scottish", "John's father is Welsh", "John does not like rugby" and "John is not Welsh".

More Related