A General Semantic Analyser for Data Base Access
Proceedings of the Seventh International Joint Conference on Artificial Intelligence. Natural Language Applications. Pages 443-444.
© 1981 International Joint Conferences on Artificial Intelligence
Abstract
The paper discusses the design principles and current status of a natural language front end for access to data bases. This is based on the use, first, of a semantically-oriented question analyser exploiting general, language-wide semantic categories and patterns, rather than data basespecific ones; and, second, of a data base-oriented translation component for obtaining search specifications from the meaning representations for quest ions derived by the analyser • This approach is motivated by the desire to reduce the effort of providing data base-specific material for the front end, by the. belief that a general analyser is well sui ted to the "casual" data base user , and by the assumption that the rich semantic apparatus used will be both adequate as a means of analysis and appropriate as a tool for linking the characterisations of input and data language items. The paper describes this approach in more detail, with emphasis on the existing, tested, analyser.
- Waltz, D. L. "An English Language ~est ion Answering System for a Large Relational Data Base." Communications of the ACH 21 ( 1978) 526-539.
- Hendrix, D. G. et al. "Developing a Natural Language Inter face to Complex Data." ACH Transactions on Database Systems 3 ( 1978) 105-147.
- Bronnenberg, W. J. et al. "The ~estion Answering System PHLIQA 1." In Natural Language Answering Systems (Ed. Bole), London: Macmillan, 1979.
- Wilks, Y. "A Preferential, Pattern-seeking Semantics for Natural Language Inference." Artificial Intelligence 6 (1975) 53-74.
- Boguraev, B. K. "Automatic Resolution of Linguistic Ambiguities", TR-11, Computer Laboratory, University of Cambridge, Cambridge, England, 1979.
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.
ABSTRACT
The paper discusses the design principles and current status of a natural language front end for access to data bases. This is based on the use, first, of a semantically-oriented question analyser exploiting general, language-wide semantic categories and patterns, rather than data base specific ones; and, second, of a data base-oriented translation component for obtaining search specifications from the meaning representations for quest ions derived by the analyser · This approach is motivated by the desire to reduce the effort of providing data base-specific material for the front end, by the. belief that a general analyser is well sui ted to the "casual" data base user , and by the assumption that the rich semantic apparatus used will be both adequate as a means of analysis and appropriate as a tool for linking the characterisa tions of input and data language items. The paper describes this approach in more detail, with emphasis on the existing, tested, analyser.
··········
We are trying to build a front end processor for natural-language access to data bases based on the principle that the semantics as well as syntax of the language analyser should be general and not data-specific. The function of the analyser is to build a meaning representation of an input question which is then converted to a formal data base search query . specification by a separate transla tion component.
The reason for adopting this approach is to reduce the analyser's dependence on the specific properties of the data base, and hence the cost of dealing with new data bases. The properties of the data base necessarily determine the form of search specifications; but the assumption is that the transition from text question to search query is most naturally and effectively achieved by the use of a meaning representation for the input text which is normalised, i.e. reduces input text variation, and which is wholly, or at least primar 11 y, independent of the data base applica-
This research is supported by the Science Research Council.
A GENERAL SEMANTIC ANALYSER FOR DATA BASE ACCESS
B. K. Boguraev & K. Sparck Jones
Computer Laboratory, I.Jrliversity of Cambridge Corn Exchange Street, Cambridge CB2 3QG, England
tion. Data base-specific information is in translation rules linking the categories and relations of the text embodied semantic meaning
representation with those of the data base.
The claim underlying the approach is that the categories and relations of the general meaning representation language are on the one hand power fUl enough to capture the sense of the input ques tion, and on the other can be naturally linked with whatever categories and relations are used to characterise the data, both substantively and administratively. The project differs on the one hand from e.g. PLANES [1] and LADDER [2] in not relying on data base semantics in the analyser, and on the other from e.g. PHLIQA 1 [3] in not deferring ~mantic processing until translation. The analyser is essentially a general semantic processor providing question representations for further, specialised interpretation in the data
base context.
The project is based on an existing analyser developing ideas derived from Wilks [ 4]. The analyser exploits a semantic apparatus relying on an extensive system of semantic primitives and types of semantic pattern. Parsing is under the control of an ATN processor, combining the use of conventional syntax for identifying sentence constituents with semantic checks and structure building actions. The output meaning representa tion consists of a case-labelled dependency str uc ture with elements defined by semantic primitive formulas.
More specifically, the analyser is designed to identify noun phrases, clauses, and modifiers (especially prepositional phrases), using an orthodox grammar, currently of moderate extent. These sentence constituents are then inter preted and assembled, and the resulting structure labelled, by satisfying the semantic preferences expressed by the various types of pattern applied. The more important of these patterns are 'templates', representing basic propositional message forms; 'preplates' and 'prepspecs', representing prepositional modifier patterns for free prepositional phrases and post verb constr uc tions respectively; and, most important, 'verb frames', representing the case contexts of verbs. The slots in all of these patterns are defined by the semantic primitive characterisations required of the heads of individual word formulas, or, in canplex constructions, of the heads of their governing words. The essential idea behind preference semantics is that those matches which ~tisfy most requirements are selected, even if not all of the specified requirements can be met.
The approach, following Wilks, is specifically intended to deal with word sense selection, and with semantically-motivated modifier phrase attach ment. However the system differs significant! y from Wilks' in the use of conventional syntax for constituent identification, in the adoption of the ATN processing mechanism, and in the provision of a more fully structured and explicitly labelled meaning representation. As an illustration, given the question "WHAT IS THE WEIGHT OF THE BLUE PARTS WHICH ARE SUPPLIED BY CLARK TO LONDON?", the analyser outputs the representation of Figure 1. In the figure 'bel', 'supplyl' etc. identify selected input word senses which are characterised by the inunediately following semantic primitive formulae, while '@@agent' etc. are dependency structure case labels. This representation can be summarily glossed by saying we are querying the @@state weight( ··· ) of an @@agent( many ··· inanimate things) which ( ··· be) in a @@state colour( ··· ) and are ( ··· given) by an @@agent( ··· man) to a @@destination( ·.· point).
The system has already demonstrated its capacity to disambiguate lexically and structurally complex sentences [5 ]. However for the purposes of data base access the analyser must be developed: thus mechanisms for treating quantificational structures will have to be provided; it is also probable that as the meaning representations derived are not very radically normalised, further processing may be required prior to, rather than during, translation to bring different meaning representations which map onto the same search specification closer together.
The use of general semantic categories and patterns, rather than ones appropriate to particular universes of discourse, rests on what may be called an 'anti-frame' (or 'anti-script') approach to text analysis, or at least on the view that while particular pragmatic knowledge may be relevant to language understanding, it does not play a dominant part in text processing. However rejecting universe of discourse-specific concepts and relationships makes the task of the analyser much more onerous than it is in most data base systems. The use of data base-specific categories and patterns in these systems, and of dictionaries limited to germane senses of lexical items. eliminates a good deal of interpretive effort. rn this project lexical items, even if selected for their data base relevance, will not be characterised in terms of their specific data-base readings and contexts.
Unfortunate! y, this approach leads to acute difficulties with the noun-noun compounds which are
Sentence: WHAT IS THE WEIGHT OF THE BLUE PARTS WHICH ARE .SUPPLIED BY CLARK TO LDNDON? (clause (type question) (tns present) (v (be2 ((·ent subj) (((own state) obje) be)) (@@ agent ((trace (clause v obj)) (clause (type relative) (tns present) (aspect (passive)) (v (supplyl ((·org subj) ((·inan obje) ((·org recipient) (((((@recipient subj) have) cause) goal) give)))) ( @@ agent ( Clark (mal ( ind i v man) )) ) (@@ obj ((trace (clause v agent)) (clause (v (be2 ((·ent subj) (((own state) obje) be)) (@@ agent (part 1 ((·inan poss) ((work goal) (subj thing))) (@@ number many))) (@@ state colour (val (bluel ((·inan poss) (((man subj) (see sense)) (obje kind)))) ))) ))) ) (@@ destination (London (this (where point)))) ) )) )) (@@ state weight (val (query (dummy)))) ) ) )
FIGURE
especially rampant in data base worlds, for example "apartment block building regulations" or "wing flap elevator control parts". Since semantic interpretation and description is interleaved with syntactic processing in the operation of the analyser, if specialised pragmatic knowledge is required to handle such constructions, this would seem to imply that the attempt to build an analyser using only general, language-wide, knowledge is doomed to failure. However we make the distinction be tween basing the analyser primarily and explicitly on data-base specific semantics, and basing it on general semantics with provision for the invocation of supporting particular knowledge. The project is essentially an experiment designed to show whether this distinction can be maintained. Thus the intention is that the relevant specific knowledge, in the form in which it is required for the translation component, should also be available for use, in a controlled and sufficiently universal fashiOll, by the analyser.
For initial tests a relational data base will be used, with search specificatiOns in relational calculus or algebra form. It is not clear whether it will be possible or appropriate to treat the translation component just as a set of production rules mapping meaning representation structures i n to search specifications, in the style of LUNAR, or, more elaborately, as a set of procedures exploiting an enriched data base characterisation in e.g. the form of a semantic network. In either case, however, the assumption is that it will be possible to link the language of the input ques tions with that of the data base by a convnon characterisation of concepts and relationships in terms of the semantic primitives so far used in dealing with text inputs.
For example, if we hypothesise a data base dealing, in familiar style, with suppliers and parts, we will have formulas for words occurring in questions like "PART" or "SUPPLIER", and meaning representations for phrases, like "BLUE PARTS" (cf Figure 1). The data base words used in the data description, i.e. the data · base entity, attribute and relation type names, will be similarly characterised, and this common method of meaning characterisation should in principle permit the translation component to connect the elements of the input question and the search query. Of course it cannot be assumed that input expressions corre::~pond ing tO data base values can be characterised in advance: this is conspicuously a pro.blem with proper names but can occur with other words. The connection here between input and data base has to be via convnon components of input word representations, which should serve to identify appropriate search areas in the data base. Thus the representation for "BLUE" would overlap with that for COLOUR via such a common sub-formula as ((man subj)(see sense)). The semantic primitives of the question meaning representation, and espe cially the case labels, should similarly promote the translation of the question structure into an appropriate search query form. Thus, to take a very simple example,
@@agent( ··· thing) ( ·.· be) @@state( ··· kind) will map into a data language expression of the form ENTITY HAVE ATTRIBUTE. For more complex ques tions the dependency structure of the meaning representation should be easier to manipulate to derive the search query structure than the input text surface syntax. Work recently began on developing a translator along these lines.
@inproceedings{ijcai1981p86,
title = {A General Semantic Analyser for Data Base Access},
author = {Boguraev, Branimir and Jones, Karen Sparck},
booktitle = {Proceedings of the Seventh International Joint Conference on
Artificial Intelligence, {IJCAI-81}},
publisher = {International Joint Conferences on Artificial Intelligence},
editor = {Patrick J. Hayes},
pages = {443--444},
year = {1981},
month = {8},
note = {Natural Language Applications},
url = {https://ijcai.org/proceedings/1981/86},
}
TY - CPAPER TI - A General Semantic Analyser for Data Base Access AU - Boguraev, Branimir AU - Jones, Karen Sparck T2 - Proceedings of the Seventh International Joint Conference on Artificial Intelligence, IJCAI-81 PB - International Joint Conferences on Artificial Intelligence PY - 1981 SP - 443 EP - 444 UR - https://ijcai.org/proceedings/1981/86 ER -Copied
Machine-readable versions of this paper, for tools and AI agents:
Welcome
Future Conferences
AI Journal Division
IJCAI Proceedings
About IJCAI
IJCAI Awards