Advanced Knowledge Modeling Additional domain constructs Domain-knowledge sharing and reuse Catalog of inferences Flexible use of task methods.

Slides:



Advertisements
Similar presentations
Chapter 6: Entity-Relationship Model
Advertisements

Entity Relationship (E-R) Modeling
1 Knowledge and reasoning – second part Knowledge representation Logic and representation Propositional (Boolean) logic Normal forms Inference in propositional.
Implications Adriano Joaquim de O Cruz ©2002 NCE/UFRJ
1 Vorlesung Informatik 2 Algorithmen und Datenstrukturen (Parallel Algorithms) Robin Pomplun.
Logical Model and Specification of Usage Control Xinwen Zhang, Jaehong Park Francesco Parisi-Presicce, Ravi Sandhu George Mason University.
Chapter 9 Structuring System Data Requirements
Distributed Systems Architectures
Chapter 7 System Models.
Copyright © 2003 Pearson Education, Inc. Slide 1 Computer Systems Organization & Architecture Chapters 8-12 John D. Carpinelli.
1 Copyright © 2013 Elsevier Inc. All rights reserved. Chapter 1 Embedded Computing.
Copyright © 2011, Elsevier Inc. All rights reserved. Chapter 6 Author: Julia Richards and R. Scott Hawley.
Author: Julia Richards and R. Scott Hawley
1 Copyright © 2013 Elsevier Inc. All rights reserved. Chapter 3 CPUs.
OvidSP Flexible. Innovative. Precise. Introducing OvidSP Resources.
Properties Use, share, or modify this drill on mathematic properties. There is too much material for a single class, so you’ll have to select for your.
Copyright: SIPC From Ontology to Data Model: Choices and Design Decisions Matthew West Reference Data Architecture and Standards Manager Shell International.
UNITED NATIONS Shipment Details Report – January 2006.
18 Copyright © 2005, Oracle. All rights reserved. Distributing Modular Applications: Introduction to Web Services.
10 Copyright © 2005, Oracle. All rights reserved. Reusing Code with Inheritance and Polymorphism.
Language Specification using Metamodelling Joachim Fischer Humboldt University Berlin LAB Workshop Geneva
1 Term 2, 2004, Lecture 3, NormalisationMarian Ursu, Department of Computing, Goldsmiths College Normalisation 5.
Conceptual / semantic modelling
1 Term 2, 2004, Lecture 6, Views and SecurityMarian Ursu, Department of Computing, Goldsmiths College Views and Security 3.
Programming Language Concepts
Profiles Construction Eclipse ECESIS Project Construction of Complex UML Profiles UPM ETSI Telecomunicación Ciudad Universitaria s/n Madrid 28040,
Solve Multi-step Equations
Week 2 The Object-Oriented Approach to Requirements
Computer Literacy BASICS
Fact-finding Techniques Transparencies
Chapter 11: Models of Computation
Information Systems Today: Managing in the Digital World
©Ian Sommerville 2006Software Engineering, 8th edition. Chapter 31 Slide 1 Service-centric Software Engineering.
© 2011 TIBCO Software Inc. All Rights Reserved. Confidential and Proprietary. Towards a Model-Based Characterization of Data and Services Integration Paul.
Modern Programming Languages, 2nd ed.
By Waqas Over the many years the people have studied software-development approaches to figure out which approaches are quickest, cheapest, most.
1 CIFTclinic 1.1 Software for Clinics. 2 CIFTclinic Software for Medical Clinics, which addresses the requirements of practicing doctors to automate Medical.
1 University of Utah – School of Computing Computer Science 1021 "Thinking Like a Computer"
Name Convolutional codes Tomashevich Victor. Name- 2 - Introduction Convolutional codes map information to code bits sequentially by convolving a sequence.
Basel-ICU-Journal Challenge18/20/ Basel-ICU-Journal Challenge8/20/2014.
1..
© C. Kemke Knowledge Representation 1 COMP 4200: Expert Systems Dr. Christel Kemke Department of Computer Science University of Manitoba.
CONTROL VISION Set-up. Step 1 Step 2 Step 3 Step 5 Step 4.
Lecture plan Outline of DB design process Entity-relationship model
Lecture 6: Software Design (Part I)
Chapter 6: ER – Entity Relationship Diagram
Systems Analysis and Design with UML Version 2.0, Second Edition
Science as a Process Chapter 1 Section 2.
Executional Architecture
CS 240 Computer Programming 1
Model and Relationships 6 M 1 M M M M M M M M M M M M M M M M
Chapter 2 Entity-Relationship Data Modeling: Tools and Techniques
Chapter 10: The Traditional Approach to Design
Systems Analysis and Design in a Changing World, Fifth Edition
Chapter 12 Analyzing Semistructured Decision Support Systems Systems Analysis and Design Kendall and Kendall Fifth Edition.
©Brooks/Cole, 2001 Chapter 12 Derived Types-- Enumerated, Structure and Union.
PSSA Preparation.
Chapter 11 Component-Level Design
Essential Cell Biology
Organization Theory and Health Services Management
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 13 Slide 1 Application architectures.
1 © Prentice Hall, 2002 Chapter 4: The Enhanced E-R Model and Business Rules Modern Database Management 6 th Edition Jeffrey A. Hoffer, Mary B. Prescott,
1 Abstract Class and Packages from Chapter 9 Lecture.
Modeling Main issues: What do we want to build How do we write this down.
1 Distributed Agents for User-Friendly Access of Digital Libraries DAFFODIL Effective Support for Using Digital Libraries Norbert Fuhr University of Duisburg-Essen,
From Model-based to Model-driven Design of User Interfaces.
1 Programming Languages (CS 550) Mini Language Interpreter Jeremy R. Johnson.
CHAPTER ONE Problem Solving and the Object- Oriented Paradigm.
Knowledge Model Basics Challenges in knowledge modeling Basic knowledge-modeling constructs Comparison to general software analysis.
Presentation transcript:

Advanced Knowledge Modeling Additional domain constructs Domain-knowledge sharing and reuse Catalog of inferences Flexible use of task methods

Advanced knowledge modelling 2 Viewpoints n need for multiple sub-type hierarchies n sub-type-of = "natural" sub-type dimension ä typically complete and total n other sub-type dimensions: viewpoint ä represent additional ways of "viewing" a certain concept n similar to UML "dimension" n helps to introduce new vocabulary through multiple specialization ("inheritance")

Advanced knowledge modelling 3 Two different organizations of the disease hierarchy

Advanced knowledge modelling 4 Viewpoint specification concept infection; super-type-of: meningitis, pneumonia; viewpoints: time-factor: acute-infection, chronic-infection; causal-agent: viral-infection, bacterial-infection; end concept infection; concept acute-viral-meningitis; sub-type-of: meningitis, acute-infection, viral-infection; end concept acute-viral-meningitis;

Advanced knowledge modelling 5 Viewpoint: graphical representation

Advanced knowledge modelling 6 Expressions and Formulae n need for expressing mathematical models or logical formulae n imported language for this purpose ä Neutral Model Format (NMF) n used in technical domains n see appendix

Advanced knowledge modelling 7 Rule instance format n See appendix for semi-formal language n Guideline: use what you are comfortable with n May use (semi-)operational format, but for conceptual purposes! n Implicit assumption: universal quantification ä person.income < suggests loan.amount < ä “for all instances of person with an income less than the amount of the loan should not exceed 1.000

Advanced knowledge modelling 8 Inquisitive versus formal rule representation Intuitive rule representation residence-application.applicant.household-type = single-person residence-application.applicant.age-category = up-to-22 residence-application.applicant.income < residence-application.residence.rent < 545 INDICATES rent-fits-income.truth-value = true; Formal rule representation FORALL x:residence-application x.applicant.household-type = single-person x.applicant.age-category = up-to-22 x.applicant.income < x,residence.rent < 545 INDICATES rent-fits-income.truth-value = true;

Advanced knowledge modelling 9 Using variables in rules to eliminate ambiguities /* ambiguous rule */ employee.smoker = true AND employee.smoker = false IMPLIES-CONFLICT smoker-and-non-smoker.truth-value =true; /* use of variables to remove the ambiguity */ VAR x, y: employee; x.smoker = true AND y.smoker = false IMPLIES-CONFLICT smoker-and-non-smoker.truth-value =true;

Advanced knowledge modelling 10 Constraint rules n Rules about restrictions on a single concept n No antecedent or consequent

Advanced knowledge modelling 11 Knowledge sharing and reuse: why? n KE is costly and time-consuming ä general reuse rationale: quality, etc n Distributed systems ä knowledge base partitioned over different locations n Common vocabulary definition ä Internet search, document indexing, …. ä Cf. thesauri, natural language processing n Central notion: “ontology”

Advanced knowledge modelling 12 The notion of ontology n Ontology = explicit specification of a shared conceptualization that holds in a particular context” (several authors) n Captures a viewpoint an a domain: ä Taxonomies of species ä Physical, functional, & behavioral system descriptions ä Task perspective: instruction, planning

Advanced knowledge modelling 13 Ontology should allow for “representational promiscuity” ontology parameter constraint -expression knowledge base A cab.weight + safety.weight = car.weight: cab.weight < 500: knowledge base B parameter(cab.weight) parameter(safety.weight) parameter(car.weight) constraint-expression( cab.weight + safety.weight = car.weight) constraint-expression( cab.weight < 500) rewritten as viewpoint mapping rules

Advanced knowledge modelling 14 Ontology types n Domain-oriented ä Domain-specific –Medicine => cardiology => rhythm disorders –traffic light control systemtraffic light control system ä Domain generalizations –components, organs, documentsdocuments n Task-oriented ä Task-specific –configuration design, instruction, planninginstruction ä Task generalizations –problems solving, e.g. UPML n Generic ontologies –“Top-level categories”“Top-level categories” –Units and dimensions

Advanced knowledge modelling 15 Using ontologies n Ontologies needed for an application are typically a mix of several ontology types ä Technical manuals –Device terminology: traffic light system –Document structure and syntax –Instructional categories ä E-commerce E-commerce n Raises need for ä Modularization ä Integration –Import/export –Mapping

Advanced knowledge modelling 16 Domain standards and vocabularies as ontologies n Example: Art and Architecture Thesaurus (AAT)Art and Architecture Thesaurus (AAT n Contain ontological information ä AAT: structure of the hierarchystructure of the hierarchy n Ontology needs to be “extracted” ä Not explicit n Can be made available as an ontology ä With help of some mapping formalism n Lists of domain terms are sometimes also called “ontologies” ä Implies a weaker notion of ontology ä Scope typically much broader than a specific application domain ä Example: domain glossaries, WordNet ä Contain some meta information: hyponyms, synonyms, text

Advanced knowledge modelling 17 Ontology specification n Many different languages ä KIF ä Ontolingua ä Express ä LOOM ä UML ä n Common basis ä Class (concept) ä Subclass with inheritance ä Relation (slot)

Advanced knowledge modelling 18 Additional expressivity (1 of 2) n Multiple subclasses n Aggregation ä Built-in part-whole representation n Relation-attribute distinction ä “Attribute” is a relation/slot that points to a data type n Treating relations as classes ä Sub relations ä Reified relations (e.g., UML “association class”) n Constraint language ä First-order logic ä Second-order statements

Advanced knowledge modelling 19 Additional expressivity (2 of 2) n Class/subclass semantics ä Primitive vs. defined classes ä Complete/partial, disjoint/overlapping subclasses n Set of basic data types n Modularity ä Import/export of an ontology n Ontology mapping ä Renaming ontological elements ä Transforming ontological elements n Sloppy class/instance distinction ä Class-level attributes/relations ä Meta classes

Advanced knowledge modelling 20 Priority list for expressivity n Depends on goal: ä Deductive capability: “limit to first-order logic” ä Maximal content: “as much as (pragmatically) possible” n My priority list ( from a “maximal-content” representative ) 1. Multiple subclasses 2. Reified relations 3. Import/export mechanism 4. Sloppy class/instance distinction 5. (Second-order) constraint language 6. Aggregation

Advanced knowledge modelling 21 Art & Architecture Thesaurus Used for indexing stolen art objects in European police databases

Advanced knowledge modelling 22 The AAT ontology description universe description dimension descriptor value set value descriptor value object object typeobject class class constraint has feature descriptor value set in dimension instance of class of has descriptor 1+

Advanced knowledge modelling 23 Document fragment ontologies: instructional

Advanced knowledge modelling 24 Domain ontology of a traffic light control system

Advanced knowledge modelling 25 Two ontologies of document fragments

Advanced knowledge modelling 26 Ontology for e-commerce

Advanced knowledge modelling 27 Top-level categories: many different proposals Chandrasekaran et al. (1999)

Advanced knowledge modelling 28 Catalog of inferences n Inferences are key elements of knowledge models ä building blocks n No theory of inference types ä see literature n CommonKADS: catalog of inferences used in practice ä guideline: maintain your own catalog

Advanced knowledge modelling 29 Catalog structure n Inference name n Operation ä input/output features n Example usage n Static knowledge ä features of domain knowledge required n Typical task types ä in what kind of tasks can one expect this inference

Advanced knowledge modelling 30 Catalog structure (continued) n Used in template ä reference to template in the CK book n Control behavior ä does it always produce a solution? ä can it produce multiple solutions? n Computation methods ä typical algorithms for realizing the inference n Remarks

Advanced knowledge modelling 31 Inference “abstract” n Operation: input =data set, output= new given n Example: medical diagnosis: temperature > 38 degrees is abstracted to “fever” n Static knowledge: abstraction rules, sub-type hierarchy n Typical task types: mainly analytic tasks n Operational behavior: may succeed more than once. n Computational methods: Forward reasoning, generalization n Remarks:. Make sure to add any abstraction found to the data set to allow for chained abstraction.

Advanced knowledge modelling 32 Inference “cover” n Operation: given some effect, derive a system state that could have caused it n Example: cover complaints about a car to derive potential faults. n Static knowledge: uses some sort of behavioral model of the system being diagnosed. A causal network is most common. e. n Typical task types: specific for diagnosis. n Control behavior: produces multiple solutions for same input. n Computational methods: abductive methods, ranging from simple to complex, depending on nature of diagnostic method n Remarks: cover is an example of a task-specific inference. Its use is much more restricted than, for example, the select inference.

Advanced knowledge modelling 33 Multiple methods for a task n Not always possible to fix the choice of a method for a task ä e.g. choice depends on availability of certain data n Therefore: need to model dynamic method selection n Work-around in CommonKADS ä introduce method-selection task

Advanced knowledge modelling 34 Dealing with dynamic method selection

Advanced knowledge modelling 35 Strategic knowledge n Knowledge about how to combine tasks to reach a goal ä e.g. diagnosis + planning n If complex: model as separate reasoning process! ä meta-level planning task