Semantics of query languages for network databases
- 1 September 1985
- journal article
- Published by Association for Computing Machinery (ACM) in ACM Transactions on Database Systems
- Vol. 10 (3) , 347-394
- https://doi.org/10.1145/3979.214293
Abstract
Semantics determines the meaning of language constructs; hence it says much more than syntax does about implementing the language. The main purpose of this paper is a formal presentation of the meaning of basic language constructs employed in many database languages (sublanguages). Therefore, stylized query languages SSL (Sample Selection Language) and J (Joins) are introduced, wherein most of the typical entries present in other query languages are collected. The semantics of SSL and J are defined by means of the denotational method and explained informally. In SSL and J, four types of expressions are introduced: a selector (denotes a set of addresses), a term (denotes a set of values), a formula (denotes a truth value), and a join (denotes a set of n-tuples of addresses or values). In many cases alternative semantics are given and discussed. In order to obtain more general properties of the proposed languages, a new database access model is introduced, intended to be a tool for the description of the logical access paths to data. In particular, the access paths of the network and relational models can be described. SSL and J expressions may be addressed to both data structures. In the case of the relational model, expressions of J are similar to SQL or QUEL statements. Thus J may be considered a generalization of relational query languages for the network model. Finally, a programming language, based on SSL and J, is outlined, and the issues of SSL and J implementation are considered.Keywords
This publication has 24 references indexed in Scilit:
- Comparison of database interfaces for application programmingInformation Systems, 1983
- EAS-EACM Transactions on Database Systems, 1983
- Navigational facilities for relational data baseInformation Systems, 1983
- On Database LogicJournal of the ACM, 1982
- Query optimisation using a data dictionaryInformation Systems, 1982
- The functional data model and the data languages DAPLEXACM Transactions on Database Systems, 1981
- A query-maintenance language for the data independent accessing model IIInformation Systems, 1980
- Linguistic approach to database theory: DDL-s for hierarchical modelInformation Systems, 1978
- Towards a more familiar relational retrieval languageInformation Systems, 1977
- The design and implementation of INGRESACM Transactions on Database Systems, 1976