Chapter Three of Software Agentf
Chapter Three of Software Agentf
Chapter three:
Contents
Agent communication and knowledge sharing.
Introduction to Ontology Engineering
KQML as an Agent Communication Language
08/08/2021 1
Knowledge Level Communication
08/08/2021 2
Knowledge Level Communication
A communication language
08/08/2021 3
Knowledge Level Communication
Interaction protocol:
knowing with whom to talk and how to find them
08/08/2021 4
Knowledge Sharing
08/08/2021 5
Ontology: Definition /1 choose
Types of AI theories
Mechanism theories:
“Secrets of making machines intelligent”
Content theories:
A kind of theory of the domain on which the mechanism theory works
08/08/2021 7
What is Ontology? (2)
08/08/2021 8
What is Ontology? (3) Describe
Two Approaches
08/08/2021 9
What is Ontology? (4) Choose
Philosophy viewpoint:
Dealing with the nature of being or reality (Theory of
Existence)
AI viewpoint:
An explicit representation of conceptualization
08/08/2021 10
What is Ontology? (5)
the intension comprises all features valid for all those objects
08/08/2021 11
Ontology in KM Choose
08/08/2021 12
Ontology: Properties
08/08/2021 13
Why Ontology? (1)
08/08/2021 14
Why Ontology? (2)
08/08/2021 15
Ontology as Artifact
A pragmatic view:
08/08/2021 17
Ontology vs. KB: Differences
08/08/2021 19
Ontological Analysis (2)
By
associating terms with the concepts and relations in the ontology;
08/08/2021 20
Ontology vs. OO (1) compare and contrast
08/08/2021 21
Ontology vs. OO (2)
Classes and objects in ontologies are about and must reflect the structure of
the world; OO objects may not.
08/08/2021 22
Ontological Analysis : Benefits
Shared ontologies can thus form the basis for domain specific
knowledge representation languages
08/08/2021 23
Levels of Ontology (1)
Level 1
Defining the concepts and the hierarchy
e.g., Yahoo Ontology
Level 2
Unambiguously defining the meaning of concepts
Adding relationship definition
Level 3
Task ontology
08/08/2021 24
Levels of Ontology (2)
08/08/2021 25
Potential Applications of ontology
Description
Semantic integration
08/08/2021 26
Potential Applications of ontology
Semantic integration
08/08/2021 27
Semantic Integration /1
08/08/2021 28
Semantic Integration /2
08/08/2021 30
Agent Mediated KM
These two points come from the fact that agents are autonomous
and social entities.
08/08/2021 31
UIMA
08/08/2021 32
Conclusion
08/08/2021 34
KQML as an Agent Communication Language
08/08/2021 35
Introduction
use local information and knowledge to manage local resources and handle requests from peer
agents.
08/08/2021 37
1. Mutual Understanding
Mutual understanding of what is represented may be divided into two sub
problems:
Translation from one representation language to another (or from one family of
representation languages to another).
Sharing the semantic content of the represented knowledge among different applications.
Translation alone is not sufficient because each knowledge base holds implicit
assumptions about the meaning of what is represented.
08/08/2021 38
2. Communication
08/08/2021 39
2. Communication
08/08/2021 40
2. Communication
08/08/2021 41
2. Communication
08/08/2021 42
How to Interact agents?
08/08/2021 43
Representation Language: KIF define
Knowledge Interchange Format (KIF) is a language for the syntactic aspects of
representations for knowledge sharing.
KIF can be used to support translation from one content language to another, or as
a common content language between two agents which use different native
representation languages.
08/08/2021 44
Communication Language: KQML
Sharing content requires more than a representation language (i.e., KIF) and a
communication language (i.e., KQML).
The language description includes both a specification for its syntax and
its semantics.
08/08/2021 47
Knowledge Interchange Format (KIF)
Content layer
Communication layer
Message layer
08/08/2021 49
Knowledge Query Manipulation Language (KQML)
Content layer:
it bears the actual content of the message, in the programs own
representation language.
KQML can carry any representation language, including languages
expressed as ASCII strings and those expressed using a binary notation.
Every KQML implementation ignores the content portion of the
message, except to determine where it ends
08/08/2021 50
Knowledge Query Manipulation Language (KQML)
08/08/2021 51
Knowledge Query Manipulation Language (KQML)
Message layer:
is used to encode a message that one application would like to transmit to
another.
It determines the kinds of interactions one can have with a KQML-speaking
agent.
The prime function of the message layer is to identify the protocol to be
used to deliver the message and to supply a performative which the sender
attaches to the content (such as that it is an assertion, a query, a command,
or any of a set of known performatives).
08/08/2021 52
Knowledge Query Manipulation Language (KQML)
Message layer:
Since the content is opaque to KQML, this layer also includes optional
features which describe the content language, the ontology it assumes,
and some type of description of the content, such as a descriptor naming
a topic within the ontology.
These features make it possible for KQML implementations to analyze,
route and properly deliver messages even though their content is
inaccessible.
08/08/2021 53
Communication Protocols
08/08/2021 54
Communication Protocols
08/08/2021 55
Communication Protocols
The client does not know when each reply message will be
arriving and may be busy performing some other task when they
do.
08/08/2021 56
Facilitators Define
08/08/2021 58
Example: Facilitators
08/08/2021 59
Example: Facilitators
08/08/2021 60
Conclusions
08/08/2021 61