To save content items to your account,
please confirm that you agree to abide by our usage policies.
If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account.
Find out more about saving content to .
To save content items to your Kindle, first ensure no-reply@cambridge.org
is added to your Approved Personal Document E-mail List under your Personal Document Settings
on the Manage Your Content and Devices page of your Amazon account. Then enter the ‘name’ part
of your Kindle email address below.
Find out more about saving to your Kindle.
Note you can select to save to either the @free.kindle.com or @kindle.com variations.
‘@free.kindle.com’ emails are free but can only be saved to your device when it is connected to wi-fi.
‘@kindle.com’ emails can be delivered even when you are not connected to wi-fi, but note that service fees apply.
In this chapter we present and discuss examples of the syntactic and translation rules of the QE-III fragment whose definition was given in Chapter 6. As we pointed out in that presentation, the PTQ fragment stands essentially intact as the core of QE-III. There are, however, certain changes to this core. One major change is our use of the logic ILs as the intermediate translation language; this logic is a modification to Montague's IL, and makes explicit the hidden abstraction over indices that is a part of the evaluation process in Montague's PTQ analysis. In defining ILs we have already shown that we evaluate any expression α with respect to a state s by forming the expression: [λiα](s).
Moreover, in presenting the pragmatics of QE-III, we showed how the pragmatic interpretation of any sentential expression was essentially given by the denotation of the expression formed by λ-abstracting over all of the free individual variables and also evaluating with respect to now.
In addition to this change in the underlying logic and method of evaluation, the following additional modifications have been made to the rules of the PTQ fragment:
Rule S4 has been modified to perform the single function of combining a Term with an IV to form a sort of proto-sentence. It no longer performs the verb inflection for third person singular present tense. The entire treatment of tense and time adverbials is now performed more systematically by rules S101 through S106. (The tensing functions of S17 have therefore been totally eliminated.)
In the previous chapters of this book we have presented the historical relational database model HRDM as a means of formally incorporating a temporal semantics into the relational database model. We now turn our attention to the problem of providing a semantics for querying an hrdb using natural language, specifically English. Our method will be to define the semantics of queries expressed in English in terms of the semantics of the HRDM model already presented by defining a small query fragment as a Montague Grammar (as in [Mon73], henceforth PTQ.) The correlation between the database semantics we have already defined and this query language will be made explicit by providing the semantics of the query fragment via an indirect translation into the intensional logic ILs. The translations will provide for a completely extensional treatment of verbs, (i.e., there will be no verbs like “seek” which can be nonextensional in object position in the PTQ treatment). This treatment is dictated by the application of the Montague Semantics approach to a database environment, in which existence is tantamount to existence in the database. Through these translations, then, the model for ILs that we defined as induced by the database will also serve as the model for a formal definition of the semantics of the English queries. In addition to providing a semantic interpretation, which in model-theoretic terms is called its denotation, we also provide for each expression a pragmatic interpretation in a manner to be explained.
It is difficult to imagine a successful semantic theory that does not include time as an integral component. Yet all of today's major data models – models which purport to provide a general theory on how to represent information for convenient and rapid storage and retrieval on digital computers – completely ignore this essential aspect of semantics. In this work we examine the connection between two areas of semantics, namely the semantics of databases and the semantics of natural language, and link them together via a common view of the semantics of time. In the first part we argue that an essential ingredient for the success of efforts to incorporate more real world semantics into database models is a coherent theory of the semantics of time. We describe such a database theory, and then proceed to present a formally defined English database query language whose semantic theory makes explicit reference to the notion of denotation with respect to a moment of time.
The idea that time might be an important consideration in providing an enriched database semantics is not new to this work, but it is nonetheless a relatively recent concern of database research. [Bub77], [Ser80], [Klo81], [And81], [AM82], [CW83], [Sno84], [GV85], [CC87], [GY88], and [CC88a] are among the many works that have lately investigated ways in which time might be added to a database model.
In a series of papers culminating in [Mon 73], henceforth PTQ, Richard Montague embarked upon a program of providing a formal syntax coupled with a model-theoretic semantics for increasingly sophisticated fragments of English. The semantics for the PTQ fragment is given indirectly, as follows. The set of sentences of the fragment is defined inductively from a set of Basic Expressions (words). Direct translations into an Intensional Logic (IL) are provided for each of the Basic Terms. Each of the formation rules in the inductive definition is coupled with a translation rule which specifies the translation into IL of the output of the rule as a function of the translations of the input(s) to the rule. Thus the interpretation of any English sentence in the fragment is given by means of the model-theoretic interpretation given by the semantics of the logic to its corresponding representation in IL.
Subsequent to the presentation of the PTQ fragment, a number of researchers (e.g. [Tho72], [Ben74], [Par75], [Tho76], [Kar77], [Ben79], [Dow79], [Hir83], and [Hin88]) have explored various extensions to the PTQ fragment. These extensions have been motivated by the desire to provide a formal syntax and semantics to a larger set of English syntactic constructs; occasionally they have necessitated changes or extensions to the underlying logic IL. [DWP81] provides an excellent introduction to the area known as Montague Semantics, while [vB88] surveys the entire field of intensional logic.
In this Chapter we give a formal specification of a simple English Query Fragment, QE-III, for the historical department store database example discussed in earlier chapters. This fragment incorporates all of the features that we discussed in the previous chapter. Towards the end of the chapter we present a Fragment Schema for a QE-III type query language that could be adapted to other domains by defining the relevant vocabulary in the categories of the fragment. The schema and the guidelines for defining such a fragment are intended both to help a database administrator in the process of designing a language for a new domain, and also to show some of the general principles relating aspects of the HRDM model to the query language semantics.
We present the language definition in three parts. First we describe the syntactic component, which consists of defining the categories of the language and the basic expressions of these categories, followed by the rules of formation. Together these constitute an inductive definition of the set of meaningful expressions of QE-III. The semantics of the language is presented next, following Montague's general procedure in PTQ. This consists of giving, for each syntactic rule, a corresponding rule of translation into the logic ILs, for which a direct semantic interpretation has already been specified (in Chapter 2.) Finally, we provide a pragmatics for the language when used in the assumed context of a question-answering system.
The relational database model proposed by Codd [Cod70] views a database as a collection of “time-varying relations of assorted degrees” [Cha78]. However the model itself incorporates neither the concept of time nor any theory of temporal semantics. Our research suggests that the concept of time can be of interest in real-world databases, and presents a technique for incorporating a semantics of time into a database model. The relational model is used as the formal database framework within which the work is cast, but it is not an essential ingredient in the work discussed. Indeed in [CC88a] we address the issue of modelling the temporal dimension of data within the context of an object-oriented database model.
A great deal of attention has been given lately to the role that formal logic can play in providing a formal mathematical theory to unify the theory and semantics of database concepts and operations ([GM78] is an excellent reference for these issues.) We believe that this is a healthy trend that can only serve to clarify and make precise otherwise vague ideas and theories. Moreover, a great deal of the meta-theory of formal logic can be applied directly toward the understanding and the proof of many notions in database theory. In this work we propose the concept of a historical database as a tool for modelling the changing states of information about some part of the real world.
In this Chapter we describe the relationship between HRDM and the logic ILs and its model theory. This relationship is first presented formally, and is then followed by an informal discussion that emphasizes insights that it can provide into the way that a database models the real world, and into the nature of entities and relationships, of key and non-key attributes, of queries and data constraints, and of the interaction of time with all of these concepts. The formalism is presented in the interests of completeness and rigor, but it is easy to get lost in some of the notation; the informal discussion provides a better overview both of how the temporal dimension is incorporated into, and how it affects, the traditional relational model.
In Chapter 2 we described the syntax and semantics of the language ILs. To be more precise we should rather say the family of ILs languages, any particular language in this family being determined by the set C of non-logical constants. The historical relational database concept presented in Chapter 3 will now be related to the discussion of the intensional logic as follows. First we show that a particular HRDB scheme defines a particular logic in the family of ILs languages that provides a formal expression of the historical database semantics and that serves as the target language for translations from our English Query Language which will be described in the latter half of this work.
Under the general assumption that in any scientific enterprise the development of a formal logical theory is a fruitful endeavor, we have attempted in this work to develop such formal theories for the incorporation of a temporal component into a database model, and for the specification of an English query language facility for such a database. Because of the power of the logical formalism of IL developed by Richard Montague [Mon74] we have been able to express both of these theories in terms of the same logical apparatus. Thus two areas which may have seemed only marginally related at the outset were seen to have a closer connection.
Beginning first with formalizing a historical database model, we presented the model HRDM. This model turned out to be a simple extension to an entity-relationship semantics imposed upon the relational database model. The temporal component was included in a very simple but fundamental way as a basic component of the model, and its significance from both the informal, intuitive view of three-dimensional relations extending in both directions of time, and from the formal, model-theoretic view, were discussed. In order to present as general a model of time as possible, we put only the barest of constraints upon the temporal dimension – linear order and density.
The HRDM model was seen as providing a number of insights into the nature of a database and how it functions as a model of the real world.
By
Richard A Volz, Dept. of Computer Science, Texas A&M Univ., College Station, Texas, U.S.A., 77843.,
Padmanabhan Krishnan, Dept. of Elec. Eng. & Comp. Sci., The Univ. of Michigan, Ann Arbor, Mich. U.S.A., 48109.,
Ronald Theriault, Dept. of Computer Science, Texas A&M Univ., College Station, Texas, U.S.A., 77843.
This paper describes the design and implementation of a Distributed Ada system. The language is not well defined with respect to distribution, and any implemtation for distributed execution must make a number of decisions regarding the language. The objectives in the implementation described here are to remain as close to the current definition of Ada as possible, and to learn through experience what changes are necessary in future versions. The approach we take translates a single Distributed Ada program into a number of Ada programs (one per site), each of which may then be compiled by an existing Ada compiler. Issues discussed include the ramifications of sharing of data types, objects, subprograms, tasks and task types. The implementation techniques used in the translator are described. We also develop a model of the performance of our system and validate it through performance benchmarks.
INTRODUCTION
The importance of distributed systems cannot be over-emphasized, especially with the reduction in the cost of high speed connection between powerful processing elements. Distributed computing has made inroads into many important areas such as manufacturing, avionic systems and space systems. The cost of developing software for such systems, however, is reaching astronomical proportions [1]. A major concern is the creation of software tools to economically harness the increased computing power.
Central to distributed software development is the language used to program these distributed devices.
By
Brian Dobbing, Alsys Limited Newtown Road, Henley on Thames, Oxon RG9 1EN, England,
Ian Caldwell, Alsys Limited Newtown Road, Henley on Thames, Oxon RG9 1EN, England
This paper describes firstly a general model for implementing Ada in a distributed or parallel system using existing compilation systems and without extensions to, or restrictions on, the Ada language definition. It then describes an instance of the model, namely how to implement an application across a network of transputers in Ada using the current Alsys Ada Compilation System for the Transputer.
INTRODUCTION
Much debate has already taken place regarding the inadequacies of Ada to support a single program running on a distributed or parallel architecture. This has led to a set of twelve requirements from the Parallel/Distributed Systems Working Group for consideration by the Ada 9X Project Requirements Team [DoD89]. Whilst we await Ada 9X, it is very important to be able to demonstrate that current Ada can be used to program distributed systems efficiently, without compromising Ada's goals of security and portability. This document describes how Ada can be used in this way in the general case and also gives an example of distributed Ada on the Inmos transputer. The transputer has been chosen primarily as a precursor to a study commissioned by the European Space Agency into the problems of, and recommendations for, mapping Ada onto a multi-transputer network for on-board space applications.
The intention of the general model is to be able to demonstrate support for the needs of distributed systems such as:
program partitioning and configuration;
dynamic reconfiguration and fault tolerance;
different perception of time in different partitions;
This paper presents the current position of the York Distributed Ada Project. The project has developed an approach to the programming of loosely coupled distributed systems in Ada, this being based on a single Ada program consisting of virtual nodes which communicate by message passing. A prototype development environment has been produced to support this approach, and an example distributed embedded system has been built. Preliminary work has been undertaken on mechanisms to support the construction of fault-tolerant systems within the approach.
INTRODUCTION
The Ada programming language, together with an appropriate support environment, is well suited to the development of large software engineering applications. Many such projects involve programming embedded computer systems, which often include loosely coupled distributed processing resources — collections of processing elements which are connected by some communication system but which share no common memory. It is now a commonly accepted view (Wellingsl987) that the Ada language by itself does not provide adequate support for the programming of these systems. The York Distributed Ada (YDA) Project has addressed this problem and developed an approach which allows Ada programs to be constructed for execution on distributed systems. (The YDA project was originally funded through the UK's Alvey Software Engineering Directorate as part of the ASPECT(Hall1985) project. It is currently funded by the Admiralty Research Establishment.) The current position of the project is presented in this paper.
By
Anders Ardö, Department of Computer Engineering University of Lund, P.O. Box 118 S-221 00 Lund, Sweden,
Lars Lundberg, Department of Computer Engineering University of Lund, P.O. Box 118 S-221 00 Lund, Sweden
Now, when the internal speed of computers is close to the physical limitations of electronic devices cf. [Wil83,Mea83] parallelism is the main way to increase the computing capacity. This conclusion has been obvious for quite some time now, and multiprocessor systems have attracted much attention during the last years.
In order to achieve parallelism, new computer structures and internal organizations are needed. There are, however, still no general solutions to those problems. Finding general and efficient ways to organize for parallelism in computer systems is one main interest of computer architecture research today.
One application of multiprocessors that is likely to increase rapidly is based on the use of parallel languages. As parallel languages has not been generally available, there is still very little knowledge among software designers how to take advantage of program parallelism. Now, when parallel languages like Ada are becoming readily available, the programming community will take advantage of the new possibilities they offer.
There are strong reasons to believe that parallelism in programming will be used even aside from the possibilities of increasing the speed with parallel hardware. Many computational problems have an inherent parallelism that obviously will be used when only parallelism has become part of the programmers' daily life. This will also increase program understandability [Hoa78]. Real-time programming is an obvious example for which these arguments are relevant, but as experience grows the same will show to be true for a variety of application areas.