SlideShare a Scribd company logo
1 of 66
The Role of Ontology  in Modern  Expert Systems Development Jason Morris Morris Technical Solutions LLC
Long-Distance Dedication
Outline ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Prologue: Setting the Stage Concepts and Context
Key Questions ,[object Object],[object Object],[object Object],To answer these questions, we require some background.  Let’s tackle question #1 now.
Old vs. New Expert Systems ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Old New
Modern Expert Systems ,[object Object],[object Object],[object Object],[object Object],[object Object]
The AI Value Proposition Why care about AI/ expert systems at all? By reasoning about information using applied knowledge, expert systems help stakeholders make timely and reliable decisions. => Modern businesses need to make complex decisions. 1 Complex decisions require lots of information and applied knowledge. 2 Such decisions must be made quickly and reliably. 3
Market Drivers & Enablers What is driving the apparent renaissance in AI? An incubator for new technologies and a source for new markets – a “killer-app”! 3 INTERNET Dramatic increases in CPU speed, RAM capacity, storage, etc. 1 Hardware Power Mass-production has lowered technology costs.  2 Hardware Cost
What is an ontology? ,[object Object],[object Object],[object Object],In the AI context, an ontology is:
What is an ontology? ,[object Object],[object Object],[object Object]
Linking ES and Ontologies Ontology Ontologies disambiguate meaning. =
Part I: Knowledge Engineering Moving from Noise  to Knowledge
Our Knowledge Engineer ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Our Domain Expert ,[object Object],[object Object],[object Object],[object Object]
From the Engineer’s POV Our knowledge engineer would prefer that her project get recognition here… Rather than here.
Knowledge Representation ,[object Object],[object Object],[object Object],Typically in ES development, the first design decision is how knowledge will be represented in the system.  Ontologies provide:
Parlez-Vous AI? “ Instances are the actual  data  in your  knowledge  base … If you have to make changes to your class or slot structure after instances have been entered, you may lose some  information .” Anything odd about this? From a popular ontology editor help file…
Noise Defined as the universe of  all  possible  invariants … … an endless sea of qualitative and quantitative values without a  cognitive pattern .
Data Noise is filtered and sampled to separate  useful  measurements (facts) and to form data. Thus, in a sense, data is  created  via our cognitive attention.
Information Data is analyzed and interpreted, to uncover  meaning  and  relationships , producing actionable information. Information aids  decisions . x y
Knowledge ,[object Object],[object Object],[object Object],[object Object]
Declarative Knowledge Rules We can represent them by  asserting  a fact or facts when certain other facts are present. IF  fact(s) THEN  assert fact(s) These represent the invariants that can be inferred when one or more invariants hold. Context Invariant(s) Invariants(s) =>
Procedural Knowledge Rules These represent the  actions  to take when certain invariants hold. Context We can represent them by calling  functions  when certain facts are present. IF  fact(s) THEN  call function foo Invariant(s) Actions(s) =>
Declarative vs. Procedural An example of  declarative  knowledge.  IF  (instance-of ?x THING) (composed-of ?x CLAY) (composed-of ?x SAND) (composed-of ?x SILT) THEN (instance-of ?x SOIL) THEN  we can compute the soil property IF  we have the soil property values An example of  procedural  knowledge.
Ontological Commitment “ An  agreement  to use a  vocabulary  (i.e., ask queries and make assertions) in a way that is consistent (but not complete) with respect to the theory specified by an  ontology   … An agent  commits  to an ontology if its  observable actions  are consistent with the definitions in the ontology.” – Tom Gruber
Tacit (Implicit) Knowledge ,[object Object],[object Object],[object Object],[object Object]
The “Bottleneck” Issue Converting Expert Knowledge To Rules Elicitation How can they make each other understand what each knows?
Part I: Ontology Fundamentals The How, What, Where, When, and Why of Ontologies
Ontological Classes CLASS Represents a “thing” or concept.  CLASS FACET 1 FACET  m FACET An allowed value for a slot [optional]. SLOT 1 SLOT ( n  – 1) SLOT  n SLOT A data field within a class. Type is optional.
Classes vs. Instances organic_carbon symbol  “_6A1” value  0.06 units  “kg/kg” stdev  0.01 id  42 Soil Property symbol  STRING value  FLOAT units  STRING stdev  STRING id  INTEGER
Specializing vs. Inheriting CLASS A CLASS B CLASS C Subclassing  or extending a parent class, superclass, or base-class CLASS X CLASS Y CLASS Z Inheritance  from one or more parent classes
Subclass / Inherit Examples Soil Acrisol Vertisol  Acrisol  and  Vertisol  are  specializations  of Soil. Horizon A Horizon B Horizon AB A soil horizon can  inherit  properties from distinct types.
Ontological Relationships Relationships  connect pairs of classes. CLASS X CLASS Y is-a CLASS Z has-a
Ontological Relationships Relationships  are modeled as slots. FUZZY_TRAINING_CLASS PEDOTRANSFER_FUNCTION uses-a TRAINING_CLASS is-a CENTROID has-a
Taxonomy vs. Ontology  ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Taxonomies: Ontologies:
Upper Ontologies ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Common Sense Domain  Ontology Generality Middle and Fuzzy Ontologies
Implied Ontologies (deftemplate soil-property "A fact describing a soil property“ (slot symbol)  (slot value) (slot error) (slot units)) Using these templates, what could an expert system reason about implicitly? (deftemplate ptf "A fact describing a pedotransfer function" (slot symbol) (multislot args) (slot value) (slot units))
How do ontologies help? Ontologies Semantic  Search (Web 2.0) Business  Rules General Inferencing  Rules Knowledge Layer Entity  Relationship Diagrams SQL  Queries Data  Exchange Data Layer Design Layer OOP Object  Models UML  Diagrams
Why create ontologies? ,[object Object],[object Object],[object Object],[object Object],[object Object],Source: Noy, N.; McGuinness, D. 2001
Why create ontologies? ,[object Object],[object Object],[object Object],[object Object]
Problem Solving Methods ,[object Object],[object Object],[object Object],[object Object],[object Object],You design your application ontology to support your problem solving method. William Clancey B. Chandrasekaran John McDermott Allen Newell Robert Wielinga Key PSM Authors Defined as reasoning strategies for solving certain problem types.  See Also  Generic Tasks. Classical PSM
Problem Solving Methods In “Preliminary Steps Towards a Taxonomy of Problem Solving Methods”, McDermott says… “… In traditional expert systems terminology, a problem-solving method is called an  inference engine .” In our case, we are using a  rule-engine  as our inference engine.  So,  forward-chaining  through rules  is  our problem-solving method.
PSMs, Tasks, and Goals PSM goal_1:  task_1_1 task_1_2 goal_2 task_2_1 task_2_2 task_2_m goal_n task_n_1 Rule Engine module_1:  rule_1_1 rule_1_2 module_2 rule_2_1 rule_2_2 rule_2_m module_n rule _n_1
Ontology Bifurcation Doing this allows developers to make explicit tradeoffs between  reusability  and  granularity  of the required domain knowledge.  Separates out  control  and  procedural  knowledge. Domain Ontology Defines a domain’s set of terms and relations independent of any problem-solving method. Application Ontology Contains terms and relations unique to a particular problem-solving method. Ontology
Closed World Assumption ,[object Object],[object Object],If a thing or concept is  not  explicitly defined in an ontology where CWA holds, then: CWA is used when a “best” answer is required despite an incomplete knowledge base.
Linking Rules & Ontology ,[object Object],[object Object],[object Object],[object Object]
Part II: Ontology Creation How to design and build a domain ontology.
Ontology Truisms ,[object Object],[object Object],[object Object],[object Object],[object Object]
Ontology Creation Basics ,[object Object],[object Object],[object Object]
Markup Technologies ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Using an Ontology IDE ,[object Object],[object Object],[object Object],[object Object]
Ontology Languages / Tools ,[object Object],[object Object],[object Object],[object Object],[object Object]
Part IV: SINFERS Example Lessons Learned from the Soil Inferencing System (SINFERS) Project
SINFERS Project ,[object Object],[object Object],[object Object],[object Object]
SINFERS Design Task PTF Rulebase Working Memory PTF Database Jess Rule Engine Given an initial set, { P } of  n  soil properties p * rule compute-ptf-p* IF   { q }:   { q }    { P } PTF({q}) THEN  compute  p * and  add to working memory p 1 p 2 p ( n -1) p n
SINFERS in Protégé Script Tab Lets you drive the Protégé API via your favorite script engine Jess Tab Lets you write and test Jess rules based on your ontological instances Queries Tab Used to define queries for looking up all instances matching some pattern Instances Tab Used to browse and edit current instances Forms Tab Automatically generates forms for populating the knowledgebase with instances Slots Tab Used to define and edit all slots through out the ontology Class Tab Used to define abstract and concrete ontological classes
How Ontology Pays Off ,[object Object],[object Object],[object Object],[object Object]
Epilogue References and Q & A
Web Ontology History RDF DAML OIL SHOE DAML+OIL OWL 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2008 2007
Famous Ontology Folks Many of their colleagues and students are also great sources of ontology literature. Tom Gruber Deb McGuinness Dieter Fensel
Take-Away Points ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Developing a domain ontology can help:
References I ,[object Object],[object Object],[object Object],[object Object]
References II ,[object Object],[object Object],[object Object],[object Object]
The entire archive of ontology papers used in this presentation is available as a ZIP Please ask me or James Owen if you’d like a copy.
Thank you all for  your kind attention!! 15 Minutes for Questions

More Related Content

What's hot

Presentation on "Knowledge acquisition & validation"
  Presentation on "Knowledge acquisition & validation"  Presentation on "Knowledge acquisition & validation"
Presentation on "Knowledge acquisition & validation"Aditya Sarkar
 
Knowledge representation In Artificial Intelligence
Knowledge representation In Artificial IntelligenceKnowledge representation In Artificial Intelligence
Knowledge representation In Artificial IntelligenceRamla Sheikh
 
Artificial Intelligence and Expert Systems
Artificial Intelligence and Expert SystemsArtificial Intelligence and Expert Systems
Artificial Intelligence and Expert SystemsSiddhant Agarwal
 
Knowledge representation and reasoning
Knowledge representation and reasoningKnowledge representation and reasoning
Knowledge representation and reasoningMaryam Maleki
 
Introduction and architecture of expert system
Introduction  and architecture of expert systemIntroduction  and architecture of expert system
Introduction and architecture of expert systempremdeshmane
 
Artificial Intelligence
Artificial IntelligenceArtificial Intelligence
Artificial IntelligenceGagan Deep
 
Ontology Engineering for the Semantic Web and beyond
Ontology Engineering for the Semantic Web and beyondOntology Engineering for the Semantic Web and beyond
Ontology Engineering for the Semantic Web and beyondPeter Geil
 
Artificial Intelligence: The Nine Phases of the Expert System Development Lif...
Artificial Intelligence: The Nine Phases of the Expert System Development Lif...Artificial Intelligence: The Nine Phases of the Expert System Development Lif...
Artificial Intelligence: The Nine Phases of the Expert System Development Lif...The Integral Worm
 
Expert System With Python -1
Expert System With Python -1Expert System With Python -1
Expert System With Python -1Ahmad Hussein
 
Knowledge representation in AI
Knowledge representation in AIKnowledge representation in AI
Knowledge representation in AIVishal Singh
 
02 knowledge-based systems
02 knowledge-based systems02 knowledge-based systems
02 knowledge-based systemsNatig Vahabov
 
Uncertainty classification of expert systems a rough set approach
Uncertainty classification of expert systems   a rough set approachUncertainty classification of expert systems   a rough set approach
Uncertainty classification of expert systems a rough set approachEr. rahul abhishek
 
helbredte
helbredtehelbredte
helbredtebutest
 
Lec 6 learning
Lec 6 learningLec 6 learning
Lec 6 learningEyob Sisay
 

What's hot (20)

Presentation on "Knowledge acquisition & validation"
  Presentation on "Knowledge acquisition & validation"  Presentation on "Knowledge acquisition & validation"
Presentation on "Knowledge acquisition & validation"
 
Artificial intelligance
Artificial intelliganceArtificial intelligance
Artificial intelligance
 
Knowledge representation In Artificial Intelligence
Knowledge representation In Artificial IntelligenceKnowledge representation In Artificial Intelligence
Knowledge representation In Artificial Intelligence
 
5 ai lecture-05 expert system
5  ai lecture-05 expert system5  ai lecture-05 expert system
5 ai lecture-05 expert system
 
Expert Systems
Expert SystemsExpert Systems
Expert Systems
 
Artificial Intelligence and Expert Systems
Artificial Intelligence and Expert SystemsArtificial Intelligence and Expert Systems
Artificial Intelligence and Expert Systems
 
Knowledge representation and reasoning
Knowledge representation and reasoningKnowledge representation and reasoning
Knowledge representation and reasoning
 
Introduction and architecture of expert system
Introduction  and architecture of expert systemIntroduction  and architecture of expert system
Introduction and architecture of expert system
 
Artificial Intelligence
Artificial IntelligenceArtificial Intelligence
Artificial Intelligence
 
6.expert systems
6.expert systems6.expert systems
6.expert systems
 
Ontology Engineering for the Semantic Web and beyond
Ontology Engineering for the Semantic Web and beyondOntology Engineering for the Semantic Web and beyond
Ontology Engineering for the Semantic Web and beyond
 
Artificial Intelligence: The Nine Phases of the Expert System Development Lif...
Artificial Intelligence: The Nine Phases of the Expert System Development Lif...Artificial Intelligence: The Nine Phases of the Expert System Development Lif...
Artificial Intelligence: The Nine Phases of the Expert System Development Lif...
 
Expert System With Python -1
Expert System With Python -1Expert System With Python -1
Expert System With Python -1
 
Artificial intelligance
Artificial intelligance Artificial intelligance
Artificial intelligance
 
Knowledge representation in AI
Knowledge representation in AIKnowledge representation in AI
Knowledge representation in AI
 
02 knowledge-based systems
02 knowledge-based systems02 knowledge-based systems
02 knowledge-based systems
 
Uncertainty classification of expert systems a rough set approach
Uncertainty classification of expert systems   a rough set approachUncertainty classification of expert systems   a rough set approach
Uncertainty classification of expert systems a rough set approach
 
AI ch1
AI ch1AI ch1
AI ch1
 
helbredte
helbredtehelbredte
helbredte
 
Lec 6 learning
Lec 6 learningLec 6 learning
Lec 6 learning
 

Similar to The Role Of Ontology In Modern Expert Systems Dallas 2008

Different Semantic Perspectives for Question Answering Systems
Different Semantic Perspectives for Question Answering SystemsDifferent Semantic Perspectives for Question Answering Systems
Different Semantic Perspectives for Question Answering SystemsAndre Freitas
 
Semantic IoT Semantic Inter-Operability Practices - Part 1
Semantic IoT Semantic Inter-Operability Practices - Part 1Semantic IoT Semantic Inter-Operability Practices - Part 1
Semantic IoT Semantic Inter-Operability Practices - Part 1iotest
 
On Machine Learning and Data Mining
On Machine Learning and Data MiningOn Machine Learning and Data Mining
On Machine Learning and Data Miningbutest
 
Artificial Intelligence_ Knowledge Representation
Artificial Intelligence_ Knowledge RepresentationArtificial Intelligence_ Knowledge Representation
Artificial Intelligence_ Knowledge RepresentationThenmozhiK5
 
Frame-Script and Predicate logic.pptx
Frame-Script and Predicate logic.pptxFrame-Script and Predicate logic.pptx
Frame-Script and Predicate logic.pptxnilesh405711
 
Introduction to Machine Learning.
Introduction to Machine Learning.Introduction to Machine Learning.
Introduction to Machine Learning.butest
 
Open IE tutorial 2018
Open IE tutorial 2018Open IE tutorial 2018
Open IE tutorial 2018Andre Freitas
 
SMalL - Semantic Malware Log Based Reporter
SMalL  - Semantic Malware Log Based ReporterSMalL  - Semantic Malware Log Based Reporter
SMalL - Semantic Malware Log Based ReporterStefan Prutianu
 
Patterns of Assigning Responsibilities
Patterns of Assigning ResponsibilitiesPatterns of Assigning Responsibilities
Patterns of Assigning Responsibilitiesguest2a92cd9
 
Semantic Perspectives for Contemporary Question Answering Systems
Semantic Perspectives for Contemporary Question Answering SystemsSemantic Perspectives for Contemporary Question Answering Systems
Semantic Perspectives for Contemporary Question Answering SystemsAndre Freitas
 
AI Beyond Deep Learning
AI Beyond Deep LearningAI Beyond Deep Learning
AI Beyond Deep LearningAndre Freitas
 
Knowledge representation Problem in AI.pptx
Knowledge representation Problem in AI.pptxKnowledge representation Problem in AI.pptx
Knowledge representation Problem in AI.pptxSandeepGupta229023
 
Chapter 6 expert system
Chapter 6 expert systemChapter 6 expert system
Chapter 6 expert systemwahab khan
 
Effective Semantics for Engineering NLP Systems
Effective Semantics for Engineering NLP SystemsEffective Semantics for Engineering NLP Systems
Effective Semantics for Engineering NLP SystemsAndre Freitas
 

Similar to The Role Of Ontology In Modern Expert Systems Dallas 2008 (20)

Itm 3
Itm 3Itm 3
Itm 3
 
Different Semantic Perspectives for Question Answering Systems
Different Semantic Perspectives for Question Answering SystemsDifferent Semantic Perspectives for Question Answering Systems
Different Semantic Perspectives for Question Answering Systems
 
Ontology
OntologyOntology
Ontology
 
Semantic IoT Semantic Inter-Operability Practices - Part 1
Semantic IoT Semantic Inter-Operability Practices - Part 1Semantic IoT Semantic Inter-Operability Practices - Part 1
Semantic IoT Semantic Inter-Operability Practices - Part 1
 
PowerMagpie
PowerMagpiePowerMagpie
PowerMagpie
 
On Machine Learning and Data Mining
On Machine Learning and Data MiningOn Machine Learning and Data Mining
On Machine Learning and Data Mining
 
Artificial Intelligence_ Knowledge Representation
Artificial Intelligence_ Knowledge RepresentationArtificial Intelligence_ Knowledge Representation
Artificial Intelligence_ Knowledge Representation
 
Frame-Script and Predicate logic.pptx
Frame-Script and Predicate logic.pptxFrame-Script and Predicate logic.pptx
Frame-Script and Predicate logic.pptx
 
Introduction to Machine Learning.
Introduction to Machine Learning.Introduction to Machine Learning.
Introduction to Machine Learning.
 
Open IE tutorial 2018
Open IE tutorial 2018Open IE tutorial 2018
Open IE tutorial 2018
 
SMalL - Semantic Malware Log Based Reporter
SMalL  - Semantic Malware Log Based ReporterSMalL  - Semantic Malware Log Based Reporter
SMalL - Semantic Malware Log Based Reporter
 
Patterns of Assigning Responsibilities
Patterns of Assigning ResponsibilitiesPatterns of Assigning Responsibilities
Patterns of Assigning Responsibilities
 
Semantic Perspectives for Contemporary Question Answering Systems
Semantic Perspectives for Contemporary Question Answering SystemsSemantic Perspectives for Contemporary Question Answering Systems
Semantic Perspectives for Contemporary Question Answering Systems
 
AI: Logic in AI
AI: Logic in AIAI: Logic in AI
AI: Logic in AI
 
AI: Logic in AI
AI: Logic in AIAI: Logic in AI
AI: Logic in AI
 
AI Beyond Deep Learning
AI Beyond Deep LearningAI Beyond Deep Learning
AI Beyond Deep Learning
 
Knowledge representation Problem in AI.pptx
Knowledge representation Problem in AI.pptxKnowledge representation Problem in AI.pptx
Knowledge representation Problem in AI.pptx
 
The basics of ontologies
The basics of ontologiesThe basics of ontologies
The basics of ontologies
 
Chapter 6 expert system
Chapter 6 expert systemChapter 6 expert system
Chapter 6 expert system
 
Effective Semantics for Engineering NLP Systems
Effective Semantics for Engineering NLP SystemsEffective Semantics for Engineering NLP Systems
Effective Semantics for Engineering NLP Systems
 

Recently uploaded

Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Orbitshub
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Bhuvaneswari Subramani
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxRemote DBA Services
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityWSO2
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...apidays
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamUiPathCommunity
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Victor Rentea
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
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 Takeoffsammart93
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelDeepika Singh
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...apidays
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Zilliz
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdfSandro Moreira
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024The Digital Insurer
 

Recently uploaded (20)

Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
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
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 

The Role Of Ontology In Modern Expert Systems Dallas 2008

  • 1. The Role of Ontology in Modern Expert Systems Development Jason Morris Morris Technical Solutions LLC
  • 3.
  • 4. Prologue: Setting the Stage Concepts and Context
  • 5.
  • 6.
  • 7.
  • 8. The AI Value Proposition Why care about AI/ expert systems at all? By reasoning about information using applied knowledge, expert systems help stakeholders make timely and reliable decisions. => Modern businesses need to make complex decisions. 1 Complex decisions require lots of information and applied knowledge. 2 Such decisions must be made quickly and reliably. 3
  • 9. Market Drivers & Enablers What is driving the apparent renaissance in AI? An incubator for new technologies and a source for new markets – a “killer-app”! 3 INTERNET Dramatic increases in CPU speed, RAM capacity, storage, etc. 1 Hardware Power Mass-production has lowered technology costs. 2 Hardware Cost
  • 10.
  • 11.
  • 12. Linking ES and Ontologies Ontology Ontologies disambiguate meaning. =
  • 13. Part I: Knowledge Engineering Moving from Noise to Knowledge
  • 14.
  • 15.
  • 16. From the Engineer’s POV Our knowledge engineer would prefer that her project get recognition here… Rather than here.
  • 17.
  • 18. Parlez-Vous AI? “ Instances are the actual data in your knowledge base … If you have to make changes to your class or slot structure after instances have been entered, you may lose some information .” Anything odd about this? From a popular ontology editor help file…
  • 19. Noise Defined as the universe of all possible invariants … … an endless sea of qualitative and quantitative values without a cognitive pattern .
  • 20. Data Noise is filtered and sampled to separate useful measurements (facts) and to form data. Thus, in a sense, data is created via our cognitive attention.
  • 21. Information Data is analyzed and interpreted, to uncover meaning and relationships , producing actionable information. Information aids decisions . x y
  • 22.
  • 23. Declarative Knowledge Rules We can represent them by asserting a fact or facts when certain other facts are present. IF fact(s) THEN assert fact(s) These represent the invariants that can be inferred when one or more invariants hold. Context Invariant(s) Invariants(s) =>
  • 24. Procedural Knowledge Rules These represent the actions to take when certain invariants hold. Context We can represent them by calling functions when certain facts are present. IF fact(s) THEN call function foo Invariant(s) Actions(s) =>
  • 25. Declarative vs. Procedural An example of declarative knowledge. IF (instance-of ?x THING) (composed-of ?x CLAY) (composed-of ?x SAND) (composed-of ?x SILT) THEN (instance-of ?x SOIL) THEN we can compute the soil property IF we have the soil property values An example of procedural knowledge.
  • 26. Ontological Commitment “ An agreement to use a vocabulary (i.e., ask queries and make assertions) in a way that is consistent (but not complete) with respect to the theory specified by an ontology … An agent commits to an ontology if its observable actions are consistent with the definitions in the ontology.” – Tom Gruber
  • 27.
  • 28. The “Bottleneck” Issue Converting Expert Knowledge To Rules Elicitation How can they make each other understand what each knows?
  • 29. Part I: Ontology Fundamentals The How, What, Where, When, and Why of Ontologies
  • 30. Ontological Classes CLASS Represents a “thing” or concept. CLASS FACET 1 FACET m FACET An allowed value for a slot [optional]. SLOT 1 SLOT ( n – 1) SLOT n SLOT A data field within a class. Type is optional.
  • 31. Classes vs. Instances organic_carbon symbol “_6A1” value 0.06 units “kg/kg” stdev 0.01 id 42 Soil Property symbol STRING value FLOAT units STRING stdev STRING id INTEGER
  • 32. Specializing vs. Inheriting CLASS A CLASS B CLASS C Subclassing or extending a parent class, superclass, or base-class CLASS X CLASS Y CLASS Z Inheritance from one or more parent classes
  • 33. Subclass / Inherit Examples Soil Acrisol Vertisol Acrisol and Vertisol are specializations of Soil. Horizon A Horizon B Horizon AB A soil horizon can inherit properties from distinct types.
  • 34. Ontological Relationships Relationships connect pairs of classes. CLASS X CLASS Y is-a CLASS Z has-a
  • 35. Ontological Relationships Relationships are modeled as slots. FUZZY_TRAINING_CLASS PEDOTRANSFER_FUNCTION uses-a TRAINING_CLASS is-a CENTROID has-a
  • 36.
  • 37.
  • 38. Implied Ontologies (deftemplate soil-property "A fact describing a soil property“ (slot symbol) (slot value) (slot error) (slot units)) Using these templates, what could an expert system reason about implicitly? (deftemplate ptf "A fact describing a pedotransfer function" (slot symbol) (multislot args) (slot value) (slot units))
  • 39. How do ontologies help? Ontologies Semantic Search (Web 2.0) Business Rules General Inferencing Rules Knowledge Layer Entity Relationship Diagrams SQL Queries Data Exchange Data Layer Design Layer OOP Object Models UML Diagrams
  • 40.
  • 41.
  • 42.
  • 43. Problem Solving Methods In “Preliminary Steps Towards a Taxonomy of Problem Solving Methods”, McDermott says… “… In traditional expert systems terminology, a problem-solving method is called an inference engine .” In our case, we are using a rule-engine as our inference engine. So, forward-chaining through rules is our problem-solving method.
  • 44. PSMs, Tasks, and Goals PSM goal_1: task_1_1 task_1_2 goal_2 task_2_1 task_2_2 task_2_m goal_n task_n_1 Rule Engine module_1: rule_1_1 rule_1_2 module_2 rule_2_1 rule_2_2 rule_2_m module_n rule _n_1
  • 45. Ontology Bifurcation Doing this allows developers to make explicit tradeoffs between reusability and granularity of the required domain knowledge. Separates out control and procedural knowledge. Domain Ontology Defines a domain’s set of terms and relations independent of any problem-solving method. Application Ontology Contains terms and relations unique to a particular problem-solving method. Ontology
  • 46.
  • 47.
  • 48. Part II: Ontology Creation How to design and build a domain ontology.
  • 49.
  • 50.
  • 51.
  • 52.
  • 53.
  • 54. Part IV: SINFERS Example Lessons Learned from the Soil Inferencing System (SINFERS) Project
  • 55.
  • 56. SINFERS Design Task PTF Rulebase Working Memory PTF Database Jess Rule Engine Given an initial set, { P } of n soil properties p * rule compute-ptf-p* IF { q }: { q }  { P } PTF({q}) THEN compute p * and add to working memory p 1 p 2 p ( n -1) p n
  • 57. SINFERS in Protégé Script Tab Lets you drive the Protégé API via your favorite script engine Jess Tab Lets you write and test Jess rules based on your ontological instances Queries Tab Used to define queries for looking up all instances matching some pattern Instances Tab Used to browse and edit current instances Forms Tab Automatically generates forms for populating the knowledgebase with instances Slots Tab Used to define and edit all slots through out the ontology Class Tab Used to define abstract and concrete ontological classes
  • 58.
  • 60. Web Ontology History RDF DAML OIL SHOE DAML+OIL OWL 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2008 2007
  • 61. Famous Ontology Folks Many of their colleagues and students are also great sources of ontology literature. Tom Gruber Deb McGuinness Dieter Fensel
  • 62.
  • 63.
  • 64.
  • 65. The entire archive of ontology papers used in this presentation is available as a ZIP Please ask me or James Owen if you’d like a copy.
  • 66. Thank you all for your kind attention!! 15 Minutes for Questions

Editor's Notes

  1. OPENING REMARKS ============= I’d like to thank James Owens for asking me to speak today – it is an honor and a privilege to present to all of you. Many of the topics that you all will be attending over these three days will be very specific, technical talks. Some will paint the future with a broad brush, others will detail the latest new thing. What I’m hoping that you will take away in the VERY short hour that I have with you is a sense of awareness and fundamental understanding of the most basic problem that you will face in building any kind of rule-based system. I am not pitching anything new or original – just a practical way to help alleviate that problem. Along the way, I will try to make the business case for this approach, but the talk will mostly be a high-level technical survey. At the risk of being cliché, it is true that people don’t plan to fail but rather they fail to plan. And we have all heard the statistics that some incredible percentage of software projects either fail outright or are at least challenged . While it is generally accepted that this is bad, I did see an article by Anthony Berglas on TheServerSide.com this month that argued that it was actually good for the economy. http://berglas.org/Articles/ImportantThatSoftwareFails/ImportantThatSoftwareFails.html In any case, for sake of argument, let’s grant that a disproportionately high percentage of software development projects fail outright. Common sense says that the more complex the project, the more opportunities there are for things to go wrong, hence the risk of failure is greater. Expert systems are arguably more complex than your average web app, therefore their risk of failure is commensurately higher. As developers and architects, we are approach this problem from the architectural and design perspectives. We’ll assume in our talk today that we have the authority to effect and enforce change at this level. So the questions is… how can you mitigate the risk of failure of your expert systems projects from an architectural and design perspective? Let’s move on…