Presentation is loading. Please wait.

Presentation is loading. Please wait.

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

Similar presentations


Presentation on theme: "Advanced Knowledge Modeling Additional domain constructs Domain-knowledge sharing and reuse Catalog of inferences Flexible use of task methods."— Presentation transcript:

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

2 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")

3 Advanced knowledge modelling 3 Two different organizations of the disease hierarchy

4 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;

5 Advanced knowledge modelling 5 Viewpoint: graphical representation

6 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

7 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 < 10.000 suggests loan.amount < 1.000 ä “for all instances of person with an income less than 10.00 the amount of the loan should not exceed 1.000

8 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 < 28000 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 < 28000 x,residence.rent < 545 INDICATES rent-fits-income.truth-value = true;

9 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;

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

11 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”

12 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

13 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

14 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

15 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

16 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

17 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)

18 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

19 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

20 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

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

22 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+

23 Advanced knowledge modelling 23 Document fragment ontologies: instructional

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

25 Advanced knowledge modelling 25 Two ontologies of document fragments

26 Advanced knowledge modelling 26 Ontology for e-commerce

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

28 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

29 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

30 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

31 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.

32 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.

33 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

34 Advanced knowledge modelling 34 Dealing with dynamic method selection

35 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


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

Similar presentations


Ads by Google