SlideShare ist ein Scribd-Unternehmen logo
1 von 35
Downloaden Sie, um offline zu lesen
Advanced Knowledge Modeling
Additional domain constructs
Domain-knowledge sharing and reuse
Catalog of inferences
Flexible use of task methods
Advanced knowledge modelling 2
Viewpoints
■  need for multiple sub-type hierarchies
■  sub-type-of = "natural" sub-type dimension
➤  typically complete and total
■  other sub-type dimensions: viewpoint
➤  represent additional ways of "viewing" a certain concept
■  similar to UML "dimension"
■  helps to introduce new vocabulary through multiple
specialization ("inheritance")
Advanced knowledge modelling 3
Two different organizations of
the disease hierarchy
infection
meningitis pneumonia
bacterial
pneumonia
acute	
  viral
pneumonia
chronic	
  viral
pneumonia
viral
pneumonia
infection
meningitis pneumonia
chronic
pneumonia
acute	
  viral
pneumonia
acute	
  bacterial
pneumonia
acute
pneumonia
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
infection
acute
infection
chronic
infection
viral
infection
bacterial
infection
mening itispneumonia
acute	
  viral
mening itis
causal	
  agent
time	
  factor
Advanced knowledge modelling 6
Expressions and Formulae
■  need for expressing mathematical models or logical
formulae
■  imported language for this purpose
➤  Neutral Model Format (NMF)
■  used in technical domains
■  see appendix
Advanced knowledge modelling 7
Rule instance format
■  See appendix for semi-formal language
■  Guideline: use what you are comfortable with
■  May use (semi-)operational format, but for conceptual
purposes!
■  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
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;
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
■  Rules about restrictions on a single concept
■  No antecedent or consequent
component
component
constraint
R ULE -­‐T Y P E 	
  component-­‐constraint;
	
  	
  	
  	
  	
  	
  	
  	
  C ONS T R AINT :
	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  component;
E ND 	
  R ULE -­‐T Y P E 	
  component-­‐constraint;
E xample	
  constraints	
  	
  (car	
  is	
  a	
  component):
car.weight	
  <	
  500	
  kg
car.length	
  <	
  5.5	
  m
Advanced knowledge modelling 11
Knowledge sharing and reuse:
why?
■  KE is costly and time-consuming
➤  general reuse rationale: quality, etc
■  Distributed systems
➤  knowledge base partitioned over different locations
■  Common vocabulary definition
➤  Internet search, document indexing, ….
➤  Cf. thesauri, natural language processing
■  Central notion: “ontology”
Advanced knowledge modelling 12
The notion of ontology
■  Ontology =
explicit specification of a shared
conceptualization that holds in a particular
context”
(several authors)
■  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
■  Domain-oriented
➤  Domain-specific
–  Medicine => cardiology => rhythm disorders
–  traffic light control system
➤  Domain generalizations
–  components, organs, documents
■  Task-oriented
➤  Task-specific
–  configuration design, instruction, planning
➤  Task generalizations
–  problems solving, e.g. UPML
■  Generic ontologies
–  “Top-level categories”
–  Units and dimensions
Advanced knowledge modelling 15
Using ontologies
■  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
■  Raises need for
➤  Modularization
➤  Integration
–  Import/export
–  Mapping
Advanced knowledge modelling 16
Domain standards and
vocabularies as ontologies
■  Example: Art and Architecture Thesaurus (AAT)
■  Contain ontological information
➤  AAT: structure of the hierarchy
■  Ontology needs to be “extracted”
➤  Not explicit
■  Can be made available as an ontology
➤  With help of some mapping formalism
■  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
■  Many different languages
➤  KIF
➤  Ontolingua
➤  Express
➤  LOOM
➤  UML
➤  ......
■  Common basis
➤  Class (concept)
➤  Subclass with inheritance
➤  Relation (slot)
Advanced knowledge modelling 18
Additional expressivity (1 of 2)
■  Multiple subclasses
■  Aggregation
➤  Built-in part-whole representation
■  Relation-attribute distinction
➤  “Attribute” is a relation/slot that points to a data type
■  Treating relations as classes
➤  Sub relations
➤  Reified relations (e.g., UML “association class”)
■  Constraint language
➤  First-order logic
➤  Second-order statements
Advanced knowledge modelling 19
Additional expressivity (2 of 2)
■  Class/subclass semantics
➤  Primitive vs. defined classes
➤  Complete/partial, disjoint/overlapping subclasses
■  Set of basic data types
■  Modularity
➤  Import/export of an ontology
■  Ontology mapping
➤  Renaming ontological elements
➤  Transforming ontological elements
■  Sloppy class/instance distinction
➤  Class-level attributes/relations
➤  Meta classes
Advanced knowledge modelling 20
Priority list for expressivity
■  Depends on goal:
➤  Deductive capability: “limit to first-order logic”
➤  Maximal content: “as much as (pragmatically) possible”
■  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 type object class
class
constraint
has feature
descriptor
value set
in dimension
instance of
class of
has
descriptor
1+
1+
1+
1+
1+
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
■  Inferences are key elements of knowledge models
➤  building blocks
■  No theory of inference types
➤  see literature
■  CommonKADS: catalog of inferences used in
practice
➤  guideline: maintain your own catalog
Advanced knowledge modelling 29
Catalog structure
■  Inference name
■  Operation
➤  input/output features
■  Example usage
■  Static knowledge
➤  features of domain knowledge required
■  Typical task types
➤  in what kind of tasks can one expect this inference
Advanced knowledge modelling 30
Catalog structure (continued)
■  Used in template
➤  reference to template in the CK book
■  Control behavior
➤  does it always produce a solution?
➤  can it produce multiple solutions?
■  Computation methods
➤  typical algorithms for realizing the inference
■  Remarks
Advanced knowledge modelling 31
Inference “abstract”
■  Operation: input =data set, output= new given
■  Example: medical diagnosis: temperature > 38 degrees is
abstracted to “fever”
■  Static knowledge: abstraction rules, sub-type hierarchy
■  Typical task types: mainly analytic tasks
■  Operational behavior: may succeed more than once.
■  Computational methods: Forward reasoning, generalization
■  Remarks:. Make sure to add any abstraction found to the data
set to allow for chained abstraction.
Advanced knowledge modelling 32
Inference “cover”
■  Operation: given some effect, derive a system state that could
have caused it
■  Example: cover complaints about a car to derive potential
faults.
■  Static knowledge: uses some sort of behavioral model of the
system being diagnosed. A causal network is most common. e.
■  Typical task types: specific for diagnosis.
■  Control behavior: produces multiple solutions for same input.
■  Computational methods: abductive methods, ranging from
simple to complex, depending on nature of diagnostic method
■  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
■  Not always possible to fix the choice of a method for
a task
➤  e.g. choice depends on availability of certain data
■  Therefore: need to model dynamic method selection
■  Work-around in CommonKADS
➤  introduce method-selection task
Advanced knowledge modelling 34
Dealing with dynamic
method selection
associative
generation
generate
hypothesis
model-­‐based
generation
generation
strategy
heuristic
match
causal
covering
generate
hypothesis
causal
covering
single	
  method
for	
  hypothesis
generation
work-­‐around	
  for	
  
multiple	
  methods	
  
for	
  the	
  same	
  task
obtain
nature	
  of	
  data
Advanced knowledge modelling 35
Strategic knowledge
■  Knowledge about how to combine tasks to reach a
goal
➤  e.g. diagnosis + planning
■  If complex: model as separate reasoning process!
➤  meta-level planning task

Weitere ähnliche Inhalte

Andere mochten auch (14)

First task ai
First task   aiFirst task   ai
First task ai
 
الذكاء الصنعي
الذكاء الصنعي الذكاء الصنعي
الذكاء الصنعي
 
الذكاء الاصطناعي
الذكاء الاصطناعيالذكاء الاصطناعي
الذكاء الاصطناعي
 
ميادين الذكاء الاصطناعي
ميادين الذكاء الاصطناعيميادين الذكاء الاصطناعي
ميادين الذكاء الاصطناعي
 
artificial intelligence
artificial intelligenceartificial intelligence
artificial intelligence
 
Artificial Intelligence
Artificial IntelligenceArtificial Intelligence
Artificial Intelligence
 
Knowledge management & organizations
Knowledge management & organizationsKnowledge management & organizations
Knowledge management & organizations
 
Knowledge management and learning organization
Knowledge management and learning organizationKnowledge management and learning organization
Knowledge management and learning organization
 
Artificial Intelligence
Artificial IntelligenceArtificial Intelligence
Artificial Intelligence
 
موقع سلايد شير
موقع سلايد شيرموقع سلايد شير
موقع سلايد شير
 
Artificial Intelligence Presentation
Artificial Intelligence PresentationArtificial Intelligence Presentation
Artificial Intelligence Presentation
 
Knowledge Management Presentation
Knowledge Management PresentationKnowledge Management Presentation
Knowledge Management Presentation
 
Artificial Intelligence
Artificial IntelligenceArtificial Intelligence
Artificial Intelligence
 
artificial intelligence
artificial intelligenceartificial intelligence
artificial intelligence
 

Ähnlich wie Advanced knowledge modelling

NLP in Web Data Extraction (Omer Gunes)
NLP in Web Data Extraction (Omer Gunes)NLP in Web Data Extraction (Omer Gunes)
NLP in Web Data Extraction (Omer Gunes)
timfu
 

Ähnlich wie Advanced knowledge modelling (20)

Ontology Engineering: Introduction
Ontology Engineering: IntroductionOntology Engineering: Introduction
Ontology Engineering: Introduction
 
Application of Ontology in Semantic Information Retrieval by Prof Shahrul Azm...
Application of Ontology in Semantic Information Retrieval by Prof Shahrul Azm...Application of Ontology in Semantic Information Retrieval by Prof Shahrul Azm...
Application of Ontology in Semantic Information Retrieval by Prof Shahrul Azm...
 
Domain Modeling for Personalized Learning
Domain Modeling for Personalized LearningDomain Modeling for Personalized Learning
Domain Modeling for Personalized Learning
 
Pattern-based Acquisition of Scientific Entities from Scholarly Article Title...
Pattern-based Acquisition of Scientific Entities from Scholarly Article Title...Pattern-based Acquisition of Scientific Entities from Scholarly Article Title...
Pattern-based Acquisition of Scientific Entities from Scholarly Article Title...
 
NLP in Web Data Extraction (Omer Gunes)
NLP in Web Data Extraction (Omer Gunes)NLP in Web Data Extraction (Omer Gunes)
NLP in Web Data Extraction (Omer Gunes)
 
Research Objects for improved sharing and reproducibility
Research Objects for improved sharing and reproducibilityResearch Objects for improved sharing and reproducibility
Research Objects for improved sharing and reproducibility
 
Object Oriented Programming Overview for the PeopleSoft Developer
Object Oriented Programming Overview for the PeopleSoft DeveloperObject Oriented Programming Overview for the PeopleSoft Developer
Object Oriented Programming Overview for the PeopleSoft Developer
 
Machine Learning for Software Maintainability
Machine Learning for Software MaintainabilityMachine Learning for Software Maintainability
Machine Learning for Software Maintainability
 
Ontology Engineering for Systems Engineering
Ontology Engineering for Systems EngineeringOntology Engineering for Systems Engineering
Ontology Engineering for Systems Engineering
 
REQUIREMENTS FOR PERSONAL KNOWLEDGE MANAGEMENT TOOLS
REQUIREMENTS FOR PERSONAL KNOWLEDGE MANAGEMENT TOOLSREQUIREMENTS FOR PERSONAL KNOWLEDGE MANAGEMENT TOOLS
REQUIREMENTS FOR PERSONAL KNOWLEDGE MANAGEMENT TOOLS
 
Automatic Classification of Springer Nature Proceedings with Smart Topic Miner
Automatic Classification of Springer Nature Proceedings with Smart Topic MinerAutomatic Classification of Springer Nature Proceedings with Smart Topic Miner
Automatic Classification of Springer Nature Proceedings with Smart Topic Miner
 
General oop concept
General oop conceptGeneral oop concept
General oop concept
 
Ontologies Fmi 042010
Ontologies Fmi 042010Ontologies Fmi 042010
Ontologies Fmi 042010
 
How to model digital objects within the semantic web
How to model digital objects within the semantic webHow to model digital objects within the semantic web
How to model digital objects within the semantic web
 
Keynote at AgroLT 2008
Keynote at AgroLT 2008Keynote at AgroLT 2008
Keynote at AgroLT 2008
 
Analyzing a system and specifying the requirements
Analyzing a system and specifying the requirementsAnalyzing a system and specifying the requirements
Analyzing a system and specifying the requirements
 
Dimensions of Media Object Comprehensibility
Dimensions of Media Object ComprehensibilityDimensions of Media Object Comprehensibility
Dimensions of Media Object Comprehensibility
 
Zdravković Milan, Trajanović Miroslav. Semantic interoperability of Supply Ch...
Zdravković Milan, Trajanović Miroslav. Semantic interoperability of Supply Ch...Zdravković Milan, Trajanović Miroslav. Semantic interoperability of Supply Ch...
Zdravković Milan, Trajanović Miroslav. Semantic interoperability of Supply Ch...
 
Knowledge Representation on the Web
Knowledge Representation on the WebKnowledge Representation on the Web
Knowledge Representation on the Web
 
Semantic Web - Ontology 101
Semantic Web - Ontology 101Semantic Web - Ontology 101
Semantic Web - Ontology 101
 

Mehr von Guus Schreiber

Ontology Engineering: Ontology Use
Ontology Engineering: Ontology UseOntology Engineering: Ontology Use
Ontology Engineering: Ontology Use
Guus Schreiber
 

Mehr von Guus Schreiber (20)

How the Semantic Web is transforming information access
How the Semantic Web is transforming information accessHow the Semantic Web is transforming information access
How the Semantic Web is transforming information access
 
Semantics and the Humanities: some lessons from my journey 2000-2012
Semantics and the Humanities: some lessons from my journey 2000-2012Semantics and the Humanities: some lessons from my journey 2000-2012
Semantics and the Humanities: some lessons from my journey 2000-2012
 
Ontologies: vehicles for reuse
Ontologies: vehicles for reuseOntologies: vehicles for reuse
Ontologies: vehicles for reuse
 
Linking historical ship records to a newspaper archive
Linking historical ship records to a newspaper archiveLinking historical ship records to a newspaper archive
Linking historical ship records to a newspaper archive
 
CommonKADS project management
CommonKADS project managementCommonKADS project management
CommonKADS project management
 
CommonKADS design and implementation
CommonKADS design and implementationCommonKADS design and implementation
CommonKADS design and implementation
 
CommonKADS communication model
CommonKADS communication modelCommonKADS communication model
CommonKADS communication model
 
Web Science: the digital heritage case
Web Science: the digital heritage caseWeb Science: the digital heritage case
Web Science: the digital heritage case
 
Principles and pragmatics of a Semantic Culture Web
 Principles and pragmatics of a Semantic Culture Web Principles and pragmatics of a Semantic Culture Web
Principles and pragmatics of a Semantic Culture Web
 
Semantics for visual resources: use cases from e-culture
Semantics for visual resources: use cases from e-cultureSemantics for visual resources: use cases from e-culture
Semantics for visual resources: use cases from e-culture
 
Semantic Web: From Representations to Applications
Semantic Web: From Representations to ApplicationsSemantic Web: From Representations to Applications
Semantic Web: From Representations to Applications
 
Principles for knowledge engineering on the Web
Principles for knowledge engineering on the WebPrinciples for knowledge engineering on the Web
Principles for knowledge engineering on the Web
 
The Semantic Web: status and prospects
The Semantic Web: status and prospectsThe Semantic Web: status and prospects
The Semantic Web: status and prospects
 
NoTube: integrating TV and Web with the help of semantics
NoTube: integrating TV and Web with the help of semanticsNoTube: integrating TV and Web with the help of semantics
NoTube: integrating TV and Web with the help of semantics
 
The artof of knowledge engineering, or: knowledge engineering of art
The artof of knowledge engineering, or: knowledge engineering of artThe artof of knowledge engineering, or: knowledge engineering of art
The artof of knowledge engineering, or: knowledge engineering of art
 
E-Culture semantic search pilot
E-Culture semantic search pilotE-Culture semantic search pilot
E-Culture semantic search pilot
 
Ontologies for multimedia: the Semantic Culture Web
Ontologies for multimedia: the Semantic Culture WebOntologies for multimedia: the Semantic Culture Web
Ontologies for multimedia: the Semantic Culture Web
 
Knowledge engineering and the Web
Knowledge engineering and the WebKnowledge engineering and the Web
Knowledge engineering and the Web
 
Vista-TV overview
Vista-TV overviewVista-TV overview
Vista-TV overview
 
Ontology Engineering: Ontology Use
Ontology Engineering: Ontology UseOntology Engineering: Ontology Use
Ontology Engineering: Ontology Use
 

Kürzlich hochgeladen

Kürzlich hochgeladen (20)

Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 

Advanced knowledge modelling

  • 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 ■  need for multiple sub-type hierarchies ■  sub-type-of = "natural" sub-type dimension ➤  typically complete and total ■  other sub-type dimensions: viewpoint ➤  represent additional ways of "viewing" a certain concept ■  similar to UML "dimension" ■  helps to introduce new vocabulary through multiple specialization ("inheritance")
  • 3. Advanced knowledge modelling 3 Two different organizations of the disease hierarchy infection meningitis pneumonia bacterial pneumonia acute  viral pneumonia chronic  viral pneumonia viral pneumonia infection meningitis pneumonia chronic pneumonia acute  viral pneumonia acute  bacterial pneumonia acute pneumonia
  • 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 infection acute infection chronic infection viral infection bacterial infection mening itispneumonia acute  viral mening itis causal  agent time  factor
  • 6. Advanced knowledge modelling 6 Expressions and Formulae ■  need for expressing mathematical models or logical formulae ■  imported language for this purpose ➤  Neutral Model Format (NMF) ■  used in technical domains ■  see appendix
  • 7. Advanced knowledge modelling 7 Rule instance format ■  See appendix for semi-formal language ■  Guideline: use what you are comfortable with ■  May use (semi-)operational format, but for conceptual purposes! ■  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 ■  Rules about restrictions on a single concept ■  No antecedent or consequent component component constraint R ULE -­‐T Y P E  component-­‐constraint;                C ONS T R AINT :                                                  component; E ND  R ULE -­‐T Y P E  component-­‐constraint; E xample  constraints    (car  is  a  component): car.weight  <  500  kg car.length  <  5.5  m
  • 11. Advanced knowledge modelling 11 Knowledge sharing and reuse: why? ■  KE is costly and time-consuming ➤  general reuse rationale: quality, etc ■  Distributed systems ➤  knowledge base partitioned over different locations ■  Common vocabulary definition ➤  Internet search, document indexing, …. ➤  Cf. thesauri, natural language processing ■  Central notion: “ontology”
  • 12. Advanced knowledge modelling 12 The notion of ontology ■  Ontology = explicit specification of a shared conceptualization that holds in a particular context” (several authors) ■  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 ■  Domain-oriented ➤  Domain-specific –  Medicine => cardiology => rhythm disorders –  traffic light control system ➤  Domain generalizations –  components, organs, documents ■  Task-oriented ➤  Task-specific –  configuration design, instruction, planning ➤  Task generalizations –  problems solving, e.g. UPML ■  Generic ontologies –  “Top-level categories” –  Units and dimensions
  • 15. Advanced knowledge modelling 15 Using ontologies ■  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 ■  Raises need for ➤  Modularization ➤  Integration –  Import/export –  Mapping
  • 16. Advanced knowledge modelling 16 Domain standards and vocabularies as ontologies ■  Example: Art and Architecture Thesaurus (AAT) ■  Contain ontological information ➤  AAT: structure of the hierarchy ■  Ontology needs to be “extracted” ➤  Not explicit ■  Can be made available as an ontology ➤  With help of some mapping formalism ■  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 ■  Many different languages ➤  KIF ➤  Ontolingua ➤  Express ➤  LOOM ➤  UML ➤  ...... ■  Common basis ➤  Class (concept) ➤  Subclass with inheritance ➤  Relation (slot)
  • 18. Advanced knowledge modelling 18 Additional expressivity (1 of 2) ■  Multiple subclasses ■  Aggregation ➤  Built-in part-whole representation ■  Relation-attribute distinction ➤  “Attribute” is a relation/slot that points to a data type ■  Treating relations as classes ➤  Sub relations ➤  Reified relations (e.g., UML “association class”) ■  Constraint language ➤  First-order logic ➤  Second-order statements
  • 19. Advanced knowledge modelling 19 Additional expressivity (2 of 2) ■  Class/subclass semantics ➤  Primitive vs. defined classes ➤  Complete/partial, disjoint/overlapping subclasses ■  Set of basic data types ■  Modularity ➤  Import/export of an ontology ■  Ontology mapping ➤  Renaming ontological elements ➤  Transforming ontological elements ■  Sloppy class/instance distinction ➤  Class-level attributes/relations ➤  Meta classes
  • 20. Advanced knowledge modelling 20 Priority list for expressivity ■  Depends on goal: ➤  Deductive capability: “limit to first-order logic” ➤  Maximal content: “as much as (pragmatically) possible” ■  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 type object class class constraint has feature descriptor value set in dimension instance of class of has descriptor 1+ 1+ 1+ 1+ 1+ 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 ■  Inferences are key elements of knowledge models ➤  building blocks ■  No theory of inference types ➤  see literature ■  CommonKADS: catalog of inferences used in practice ➤  guideline: maintain your own catalog
  • 29. Advanced knowledge modelling 29 Catalog structure ■  Inference name ■  Operation ➤  input/output features ■  Example usage ■  Static knowledge ➤  features of domain knowledge required ■  Typical task types ➤  in what kind of tasks can one expect this inference
  • 30. Advanced knowledge modelling 30 Catalog structure (continued) ■  Used in template ➤  reference to template in the CK book ■  Control behavior ➤  does it always produce a solution? ➤  can it produce multiple solutions? ■  Computation methods ➤  typical algorithms for realizing the inference ■  Remarks
  • 31. Advanced knowledge modelling 31 Inference “abstract” ■  Operation: input =data set, output= new given ■  Example: medical diagnosis: temperature > 38 degrees is abstracted to “fever” ■  Static knowledge: abstraction rules, sub-type hierarchy ■  Typical task types: mainly analytic tasks ■  Operational behavior: may succeed more than once. ■  Computational methods: Forward reasoning, generalization ■  Remarks:. Make sure to add any abstraction found to the data set to allow for chained abstraction.
  • 32. Advanced knowledge modelling 32 Inference “cover” ■  Operation: given some effect, derive a system state that could have caused it ■  Example: cover complaints about a car to derive potential faults. ■  Static knowledge: uses some sort of behavioral model of the system being diagnosed. A causal network is most common. e. ■  Typical task types: specific for diagnosis. ■  Control behavior: produces multiple solutions for same input. ■  Computational methods: abductive methods, ranging from simple to complex, depending on nature of diagnostic method ■  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 ■  Not always possible to fix the choice of a method for a task ➤  e.g. choice depends on availability of certain data ■  Therefore: need to model dynamic method selection ■  Work-around in CommonKADS ➤  introduce method-selection task
  • 34. Advanced knowledge modelling 34 Dealing with dynamic method selection associative generation generate hypothesis model-­‐based generation generation strategy heuristic match causal covering generate hypothesis causal covering single  method for  hypothesis generation work-­‐around  for   multiple  methods   for  the  same  task obtain nature  of  data
  • 35. Advanced knowledge modelling 35 Strategic knowledge ■  Knowledge about how to combine tasks to reach a goal ➤  e.g. diagnosis + planning ■  If complex: model as separate reasoning process! ➤  meta-level planning task