The Framework of Knowledge Representation and Its Retrieval in LGS - Literature Guide System
Proceedings of the Sixth International Joint Conference on Artificial Intelligence. .
© 1979 International Joint Conferences on Artificial Intelligence
Abstract
This paper describes the framework of knowledge representation a nd the te c hniqu e s for information retrieval in a program called LGS (the Literature Guide Syst e m). LGS will answe r questions about scientific literatures in natural language, Model theoreti c approach is employed to represent the meanings of senten c es in the abstra c t s of literatures. The knowledge base is a set of interpreted logi c al formulas, and is partitioned into possible worlds. User's own view to the knowl e dge base can be incorporated into obje c ts called script frames. A script frame is defined in terms of lo g ical formulas. A query to the knowledge base is presented as a pattern. A list containing all items whi ch match the pattern will be returned as the result, A set of rules for pattern mat c hing a re defined in terms of logic, and are designed so as to cover the cases of paraphras e s and categorical implications. LGS is composed of an accommodator, a retriever, and a natur al language interface. It is under development on the personal LISP system.
- T.Nishida "A Knowledge Based Question Answering system on Scientific Literatures." Master Thesis at Kyoto University, 1979, (Japanese)
- D.Dowty "A Guide to Montague's PTQ." Indiana University Linguistic Club, 1978
- S.Doshita, K.Hiramatsu, K.Kakui "Implementation of LISP System Using Direct Accessible Bulk Memory." Trans. of IECE Japan, vol.J61-D, no.S, 1978, (Japanese)
- R.Moore "Reasoning about Knowledge and Action." in Proc. IJCAI-77, pp.223-227, 1977 IJCAI
References were extracted automatically from the PDF and may contain errors.
Full text extracted automatically from the PDF; figures, tables and equations may differ. The PDF is the version of record.
1. INTRODUCTION
LGS [1) is an experimental system which integrates knowledge about scientific litera tures and which will answer questions about them. LGS is toward a natural language data base system (NLDB system). In any NLDB system, the problems of knowledge representation and information retrieval are crucial.
We employ the model theoretic approach to a NLDB system. The model theory gives the for mal semantics to the knowledge representation in a NLDB system. The meaning of a sentence is described as a logical formula of the inten sional logic. Many aspects of natural language expressions such as modalities can be clearly explained by the concept of a possible world. Our approach to a NLDB system can be summarized in the following schema;
NATURAL LANGUAGE EXPRESSION (STEFl) syntactic analysis LAMBDA EXPRESSION (STEP2) lambda calculus LOGICAL FORMULA OF INTENSIONAL LOGIC (STEP3) interpretation DOMAIN DESCRIPTION BY META-LANGUAGE (STEP4) accommodation THE KNOWLEDGE BASE
The idea about STEP! and STEP2 is formalized in MG (Montague Grammar) [2) which is imple mented in the natural language interface, In this paper, we concentrate on STEP3 and STEP4. In STEP3, meta-language expressions are c r eated from logical formulas, and in STEP4, they are accommodated into the knowledge base with some auxiliary data objects which are called frames,
Information retrieva l plays an important part in question answering. Pa tte rn matching among meta-expressions is a basic technique in information retrieval, Rules for pattern matching are defined in terms of logic. The concept hierarchy is defined as logical impli cations between concept predicateb, The rules are presented to cope with the cases of para phrases and categorical implications.
We are implementing those ideas as LGS. Currently, we have a limited version, LGS-0, where simple dialogs are ava ilable using Japa nese or query commands.
- KNOWLEDGE REPRESENTATION AND THE KNOWLEDGE BASE
2.1 Meta-language Expressions
In general, the interpretation of natural language, that is, the prope r generation of domain description from a given natural language expression, is accompanied with much dif ficulty, especially when treating quantifiers, So, by employing some conventional expressions in meta-language to leave ambiguity in translation, we shall put aside those problems temporarily. Here we show some of those representations, (Representations in natural language are enclosed by fl ··· fl.)
- (El) indef[x; program(x)) for "a program"
- (E2) def[x; program(x)] for "the program"
Def and indef are a definite operator and an indefinite operator, respectively,
- (E3) love("she","he") in a possible world P, for "he believes that she loves him."
Where the possible world P is the one which is "believed by him."
2.2 The Knowledge Base
Conceptually, the knowledge base is a set of meta-expressions which are partitioned into possible worlds. In the actual implementation, the knowledge base is constructed from data structures, called paragraphs, units, and frames. A paragraph is a possible world management block, A unit is a data structure for internal represen tation of a meta-expression. There are four types of a unit, 1-, P-, F-, and 0-unit, An ! unit (Individual-unit) is used for an object, which includes a set of references to the object. A P-unit (Predicate-unit) is for a predicate. Not only a set of references but also a list of 'case slot and filler' pairs for the predicate are included. A F-unit · (Function-unit) is for a function, An 0-unit (Operator-unit) is for an operator.
A frame is a data structure for repre senting more complicated but stereotyped knowl edge. Two levels of a frame, a basic frame and a script frame are defined. A basic frame is a data structure defined for each predicate symbol and function symbol. It includes the definition of the symbol and the index of its occurences in the knowledge base, The concept hierarchy, which plays a key part in inference on the knowledge base, is embedded in the collection of basic frames as implication relationships among predicate symbols. A script frame is a data structure defined for more complicated situation. It includes case structure, frame definition, and knowledge base search strategies. Users can define script frames with their own case structure and knowledge base search strategies. Here we shall show an example of a script schema about a "natural language understanding system."
script-name:=
NATURAL-LANGUAGE-UNDERSTANDING-SYSTEM;
- VARIABLE DECLARATIONS: DCL x,y,z,w objects; DCL P,Q,R,S,T,U predicates;
- INSTANTIATION CONDITIONS:
- P:understand(x,y) & Q:written-in(y,z) & R:natural-language(z) & S:system(x);
- CASE DEFINITIONS: name:=w such that name(x,w), theme:=y, method:=T such that method(P,T), performance:=U such that actor(U)=x;
Script frames will be created for all knowledge structures that fill the instantiation condi tions,
2.3 Interpretation and Accommodation
In this section, we shall overview how the meta-expression ls created from a given logical formula, and accommodated into the knowledge base. First, a paragraph is created for the actual world, Then the knowledge structure con struction program reads logical formulas one by one. Let a given formula be f, then the con struction process proceeds as follows;
- set a pointer (WP) to the actual world,
- seek a possible world which is related to the actual world by a modal operator or an intensional operator in the formula, If it is found, move WP to the possible world, and if not, create a new possible world corresponding to the operator and move WP to the new world. Remove the operator from f.
- remove indef and def operators if possible, If f is a predicate P(~indef[x;q(x)) ··· ), and P is an extensional predicate, create a new object c in the possible world pointed by WP, and generate internal structure corresponding to P( ··· c ··· ) and q(c). If f is a predicate P( ··· def[x;q(x)] ··· ), search the object that satisfies q(x), and if it is found, replace def[x;q(x)) by the object.
- ---4) construct a network structure for the resulting formula and put it into the world pointed by WP.
- add an index to the related basic frames.
Steps 2-5 may be called recursively when the given formula is nested, Script frames may be instantiated for the generated knowledge struc ture if the instantiation conditions are filled.
3. INFORMATION RETRIEVAL
An important type of an information retrieval request may be "for the given predicate P, find all objects (x's) such that P(x) is true in some possible world." Any object y should be retrieved if D(y)->P(y) holds in some possible world, where D(y) is the conjunction of all descriptions about y. In LGS, the pattern matching method is used to test the implication, since the direct proof of the implication by a resolution-based theorem prover is inefficient and inflexible. Each formula is regarded as a symbolic pattern. The predicate match[P*,y] is tested instead of D(y)->P(y), where P* is indef[x;P(x)].
-----The retriever consists of an index search er, a matcher, and a modality generator. The index searcher examines the index structure of basic frames to produce a list of candidates. Then for each element y in the list of candi dates, the matcher tests if the pattern matches y. Any ~andidates that do not match the pattern are removed from the list. Finally, the modality generator may add appropriate modal operators to the remaining candidates so that they may be the predicates in the actual world.
A set of rules are defined for pattern matching. Especially,
(RULE!) categorical implication rule: a pattern P matches another pattern D if
- D f- P.
(RULE2) paraphrasing rule: a pattern P matches another pattern D if there exists a predicate Q such that
P f- Q and D f- Q,
where natural deductions are used with the set of axioms for the concept hierarchy.
RULE! covers the cases of categorical impli cations. For example, the pattern "animal" matches "human-being". RULE2 covers the cases of paraphrases. For example, a predicate
give(actor·A,object=B,direction=C) can match the predicate
get(actor=C,object=B,source=A) where the predicate Q is
transfer(object=B,source=A,direction=C). The range of the applications of deductions in RULE2 should be limited for plausibility.
4. EXPERIMENTS
LGS is under development on the personal LISP system (LISP1.7) [3]. We currently have a limited version of LGS (LGS-0). LGS-0 can inte grate the knowledge about the literatures and answer questions. The interactions can be done in natural language. LGS-0 consists of three program modules (the natural language interface, the accommodator, and the retriever) and the knowledge base. The natural language interface is used (1) to translate both sentences of lite ratures and queries into logical formulas of intensional logic, and (2) to generate natural language outputs as the replies to queries. The details are described in [1].
LGS-0 can perform simple dialogs like below in Japanese.
- U: do you know any literature about a question answering system?
(Information retrieval is done.)
- S: YES, I KNOW 20 SUCH SYSTEMS.
- U: take one of them!
- U: what is the name?
- S: LGS
- U: what kind of questions can it answer?
- S: IT WILL ANSWER QUESTIONS ABOUT SCIENTIFIC LITERATURES.
(Question answering about the found object.)
- U: which papers describe it?
- S: THE PAPER THAT IS SUBMITTED TO THE 6TH IJCAI. (A literature is guided.)
- U: what aspects does it describe?
- S: THE FRAMEWORK OF KNOWLEDGE REPRESENTATION AND INFORMATION RETRIEVAL IS DESCRIBED.
- (U: a user, S: the system)
5. CONCLUSION
In this paper, we have attempted to show our model theoretic approach to a NLDB system. We think LGS is a good example for such an approach. Of course, there are lots of problems to be solved in future. Especially, the problem of inferences in the possible world domain [4] is important.
@inproceedings{ijcai1979p145,
title = {The Framework of Knowledge Representation and Its Retrieval in LGS - Literature Guide System},
author = {Nishida, Toyoaki and Doshita, Shuji},
booktitle = {Proceedings of the Sixth International Joint Conference on
Artificial Intelligence, {IJCAI-79}},
publisher = {International Joint Conferences on Artificial Intelligence},
editor = {Bruce G. Buchanan},
year = {1979},
month = {8},
url = {https://ijcai.org/proceedings/1979/145},
}
TY - CPAPER TI - The Framework of Knowledge Representation and Its Retrieval in LGS - Literature Guide System AU - Nishida, Toyoaki AU - Doshita, Shuji T2 - Proceedings of the Sixth International Joint Conference on Artificial Intelligence, IJCAI-79 PB - International Joint Conferences on Artificial Intelligence PY - 1979 UR - https://ijcai.org/proceedings/1979/145 ER -Copied
Machine-readable versions of this paper, for tools and AI agents: