8 research outputs found

    Computing only minimal answers in disjunctive deductive databases

    Full text link
    A method is presented for computing minimal answers in disjunctive deductive databases under the disjunctive stable model semantics. Such answers are constructed by repeatedly extending partial answers. Our method is complete (in that every minimal answer can be computed) and does not admit redundancy (in the sense that every partial answer generated can be extended to a minimal answer), whence no non-minimal answer is generated. For stratified databases, the method does not (necessarily) require the computation of models of the database in their entirety. Compilation is proposed as a tool by which problems relating to computational efficiency and the non-existence of disjunctive stable models can be overcome. The extension of our method to other semantics is also considered.Comment: 48 page

    Perspectives in deductive databases

    Get PDF
    AbstractI discuss my experiences, some of the work that I have done, and related work that influenced me, concerning deductive databases, over the last 30 years. I divide this time period into three roughly equal parts: 1957–1968, 1969–1978, 1979–present. For the first I describe how my interest started in deductive databases in 1957, at a time when the field of databases did not even exist. I describe work in the beginning years, leading to the start of deductive databases about 1968 with the work of Cordell Green and Bertram Raphael. The second period saw a great deal of work in theorem providing as well as the introduction of logic programming. The existence and importance of deductive databases as a formal and viable discipline received its impetus at a workshop held in Toulouse, France, in 1977, which culminated in the book Logic and Data Bases. The relationship of deductive databases and logic programming was recognized at that time. During the third period we have seen formal theories of databases come about as an outgrowth of that work, and the recognition that artificial intelligence and deductive databases are closely related, at least through the so-called expert database systems. I expect that the relationships between techniques from formal logic, databases, logic programming, and artificial intelligence will continue to be explored and the field of deductive databases will become a more prominent area of computer science in coming years

    Treatment of imprecision in data repositories with the aid of KNOLAP

    Get PDF
    Traditional data repositories introduced for the needs of business processing, typically focus on the storage and querying of crisp domains of data. As a result, current commercial data repositories have no facilities for either storing or querying imprecise/ approximate data. No significant attempt has been made for a generic and applicationindependent representation of value imprecision mainly as a property of axes of analysis and also as part of dynamic environment, where potential users may wish to define their β€œown” axes of analysis for querying either precise or imprecise facts. In such cases, measured values and facts are characterised by descriptive values drawn from a number of dimensions, whereas values of a dimension are organised as hierarchical levels. A solution named H-IFS is presented that allows the representation of flexible hierarchies as part of the dimension structures. An extended multidimensional model named IF-Cube is put forward, which allows the representation of imprecision in facts and dimensions and answering of queries based on imprecise hierarchical preferences. Based on the H-IFS and IF-Cube concepts, a post relational OLAP environment is delivered, the implementation of which is DBMS independent and its performance solely dependent on the underlying DBMS engine

    Disjunctive deductive databases.

    Get PDF
    by Hwang Hoi Yee Cothan.Thesis (M.Phil.)--Chinese University of Hong Kong, 1996.Includes bibliographical references (leaves 68-70).Abstract --- p.iiAcknowledgement --- p.iiiChapter 1 --- Introduction --- p.1Chapter 1.1 --- Objectives of the Thesis --- p.1Chapter 1.2 --- Overview of the Thesis --- p.7Chapter 2 --- Background and Related Work --- p.8Chapter 2.1 --- Deductive Databases --- p.8Chapter 2.2 --- Disjunctive Deductive Databases --- p.10Chapter 2.3 --- Model tree for disjunctive deductive databases --- p.11Chapter 3 --- Preliminary --- p.13Chapter 3.1 --- Disjunctive Logic Program --- p.13Chapter 3.2 --- Data-disjunctive Logic Program --- p.14Chapter 4 --- Semantics of Data-disjunctive Logic Program --- p.17Chapter 4.1 --- Model-theoretic semantics --- p.17Chapter 4.2 --- Fixpoint semantics --- p.20Chapter 4.2.1 --- Fixpoint operators corresponding to the MMSpDD --- p.22Chapter 4.2.2 --- "Fixpoint operator corresponding to the contingency model, CMP" --- p.25Chapter 4.3 --- Equivalence between the model-theoretic and fixpoint semantics --- p.26Chapter 4.4 --- Operational Semantics --- p.30Chapter 4.5 --- Correspondence with the I-table --- p.31Chapter 5 --- Disjunctive Deductive Databases --- p.33Chapter 5.1 --- Disjunctions in deductive databases --- p.33Chapter 5.2 --- Relation between predicates --- p.35Chapter 5.3 --- Transformation of Disjunctive Deductive Data-bases --- p.38Chapter 5.4 --- Query answering for Disjunctive Deductive Data-bases --- p.40Chapter 6 --- Magic for Data-disjunctive Deductive Database --- p.44Chapter 6.1 --- Magic for Relevant Answer Set --- p.44Chapter 6.1.1 --- Rule rewriting algorithm --- p.46Chapter 6.1.2 --- Bottom-up evaluation --- p.49Chapter 6.1.3 --- Examples --- p.49Chapter 6.1.4 --- Discussion on the rewriting algorithm --- p.52Chapter 6.2 --- Alternative algorithm for Traditional Answer Set --- p.54Chapter 6.2.1 --- Rule rewriting algorithm --- p.54Chapter 6.2.2 --- Examples --- p.55Chapter 6.3 --- Contingency answer set --- p.56Chapter 7 --- Experiments and Comparison --- p.57Chapter 7.1 --- Experimental Results --- p.57Chapter 7.1.1 --- Results for the Traditional answer set --- p.58Chapter 7.1.2 --- Results for the Relevant answer set --- p.61Chapter 7.2 --- Comparison with the evaluation method for Model tree --- p.63Chapter 8 --- Conclusions and Future Work --- p.66Bibliography --- p.6

    Dmodel and Dalgebra : a data model and algebra for office documents

    Get PDF
    This dissertation presents a data model (called D_model) and an algebra (called D_ algebra) for office documents. The data model adopts a very natural view of modeling office documents. Documents are grouped into classes; each class is characterized by a frame template , which describes the properties (or attributes) for the class of documents. A frame template is instantiated by providing it with values to form a frame instance which becomes the synopsis of the document of the class associated with the frame template. Different frame instances can be grouped into a folder. Therefore, a folder is a set of frame instances which need not be over the same frame template. The D_model is a dual model which describes documents using two hierarchies: a document type hierarchy which depicts the structural organization of the documents and a folder organization, which represents the user\u27s real-world document filing system. The document type hierarchy exploits structural commonalities between frame templates. Such a hierarchy helps classify various documents. The folder organization mimics the user\u27s real-world document filing system and provides the user with an intuitively clear view of the filing system. This facilitates document retrieval activities. The D_algebra includes a family of operators which together comprise the fundamental query language for the D_model. The algebra provides operators that can be applied to folders which contain frame instances of different types. It has more expressive power than the relational algebra. It extends the classical relational algebra by associating attributes with types, and supporting attribute inheritance. Aggregate operators which can be applied to different frame instances in a folder are also provided. The proposed algebra is used as a sound basis to express the semantics of a high level query language for a document processing system, called TEXPROS. In the model, frame instances can represent incomplete information. Null values of the form value at present unknown are used to denote missing information in some fields of the incomplete frame instances. This dissertation provides a proof-theoretic characterization of the data model and defines the semantics of the null values within the proof-theoretic paradigm

    Studies related to the process of program development

    Get PDF
    The submitted work consists of a collection of publications arising from research carried out at Rhodes University (1970-1980) and at Heriot-Watt University (1980-1992). The theme of this research is the process of program development, i.e. the process of creating a computer program to solve some particular problem. The papers presented cover a number of different topics which relate to this process, viz. (a) Programming methodology programming. (b) Properties of programming languages. aspects of structured. (c) Formal specification of programming languages. (d) Compiler techniques. (e) Declarative programming languages. (f) Program development aids. (g) Automatic program generation. (h) Databases. (i) Algorithms and applications

    SQUALID: A deductive DBMS

    Get PDF
    Most modern companies probably could not function without a database management system (DBMS). Although current DBMSs are becoming increasingly sophisticated, they are still deficient in several areas. One of these areas is deduction. Human beings have the interesting ability to derive facts from a set of data, even though these facts are not explicitly represented in the data. That is, given appropriate information, humans can deduce new information by applying rules. A deductive database is a database which can perform similar deductions on the data stored within it. This has the advantage that some data can be stored implicitly using rules, rather than explicitly. This reduces the amount of storage the database occupies. The use of rules also allows us to store new kinds of data, such as recursive data or indefinite data. Several deductive database systems have been developed, but many of them only approach the problem from a theoretical point of view; practical considerations such as efficiency and ease of use for end-users have often been neglected. Many systems were also developed completely from scratch, rather than taking advantage of existing facilities. That is, it should be possible to take an existing DBMS, and extend it with deductive capabilities. In this work we introduce the concept of a deductive database, and some of the problems associated with implementing such a system. We then discuss the implementation of a system called SQUALID (for Structured Query And Logical Inference Database). This system is based on an existing DBMS, Rdb/VMS, which has been extended with facilities for creating and manipulating rules. An extended version of the standard query language SQL is used. All rules and data are stored in a conventional database, allowing SQUALID to take advantage of the efficiency of the underlying DBMS.Unpublished[Agrawal 1988] R. Agrawal. Alpha: An extension of relational algebra to express a class of recursive queries. IEEE Transactions on Software Engineering, 14(7), 1988. [Bancilhon and Ramakrishnan 1986] F. Bancilhon and R. Ramakrishnan. An amateur’s introduction to recursive query processing strategies. In Proc. SIGMOD ’86, pages 16–52, Washington, 1986. [Bancilhon et al. 1986] F. Bancilhon, D. Maier, Y. Sagiv and J.D. Ullman. Magic sets and other strange ways to implement logic programs. In Proc. 5th ACM SIGMODSIGACT Symposium on Principles of Database Systems, pages 1–15, Cambridge, 1986. [Bell et al. 1990] D.A. Bell, J. Shao and M.E.C Hull. Integrated deductive database system implementation: A systematic study, The Computer Journal, 33(1):40–48, 1990. [Boas and Boas 1986] G. van Emde Boas and P. van Emde Boas. Storing and evaluating Hornclause rules in a relational database. IBM Journal of Research and Development, 30(1):80–92, 1986. [Bossu and Siegel 1984] G. Bossu and P. Siegel. Nonmonotonic reasoning and databases. In H. Gallaire et al., editors, Advances in Database Theory, Volume 2, pages 239–284. Plenum, New York, 1984. [Bossu and Siegel 1985] G. Bossu and P. Siegel. Saturation, nonmonotonic reasoning and the closed-world assumption. Artificial Intelligence, 25:13–63, 1985. [Bratko 1986] I. Bratko. Prolog Programming for Artificial Intelligence. Addison-Wesley, Reading, Mass., 1986. [Chamberlin and Boyce 1974] D.D. Chamberlin and R.F. Boyce. SEQUEL: A structured English query language. In Proc. ACM SIGMOD Workshop on Data Description, Access and Control, Ann Arbor, Mich., 1974. [Chang 1978] C.L. Chang. DEDUCE 2: Further investigations of deduction in relational databases. In H. Gallaire and J. Minker, editors, Logic and Data Bases, pages 291–236, Plenum, New York, 1978. [Cheiney and de Maindreville 1989] J.-P. Cheiney and C. de Maindreville. Relational storage and efficient retrieval of rules in a deductive DBMS. In Proc. 5th International Conference on Data Engineering, pages 644–651, Los Angeles, U.S.A. IEEE Computer Society Press, Washington D.C., 1989. [Chisholm et al. 1987] P. Chisholm, D. Chen, P. Ferbrache, P. Thanisch and M.H. Williams. Coping with indefinite and negative data in deductive databases: A survey. Data and Knowledge Engineering, 2:259–284, 1987. [Clark 1978] K.L. Clark. Negation as failure. In H. Gallaire and J. Minker, editors, Logic and Data Bases, pages 293–322, Plenum, New York, 1978. [Codd 1970] E.F. Codd. A relational model of data for large shared data banks. Communications of the ACM, 13(6):377–387, 1970. [Dahl 1982] V. Dahl. On database systems development through logic. ACM Transactions on Database Systems, 7(1):102–123, 1982. [Date 1981] C.J. Date. An Introduction to Database Systems. Addison-Wesley, Reading, Mass., 3rd edition, 1981. [Date 1986] C.J. Date. Relational Database: Selected Writings. Addison-Wesley, Reading, Mass., 1986. [Date 1987] C.J. Date. A Guide to the SQL Standard. Addison-Wesley, Reading, Mass., 1987. [Date 1990] C.J. Date. An Introduction to Database Systems, Volume 1. Addison-Wesley, Reading, Mass., 5th edition, 1990. [DEC 1989a] VAX Rdb/VMS Guide to Using SQL. Digital Equipment Corporation, 1989. [DEC 1989b] VAX Rdb/VMS SQL Reference Manual. Digital Equipment Corporation, 1989. [Gabbay and Sergot 1986] D.M. Gabbay and M.J. Sergot. Negation and inconsistency, I. Journal of Logic Programming, 3(1):1–35, 1986. [Gallaire and Minker 1978] H. Gallaire and J. Minker. Logic and Data Bases. Plenum, New York, 1978. [Gallaire et al. 1984] H. Gallaire, J. Minker and J.-M. Nicolas. Logic and databases: A deductive approach. ACM Computing Surveys, 16(2):153–185, 1984. [Gardarin 1987] G. Gardarin. Magic functions: A technique to optimize extended Datalog recursive programs. In Proc. 13th Very Large Data Bases Conference, pages 21–30, Brighton, 1987. [Grant and Minker 1986] J. Grant and J. Minker. Answering queries in indefinite databases and the null value problem. Advances in Computing Research, 3:247–257, 1986. [Gurk and Minker 1961] H. Gurk and J. Minker. The design and simulation of an information processing system. Journal of the ACM, 8(2):260–270, 1961. [Helman and Veroff 1988] P. Helman and R. Veroff. Designing deductive databases. Journal of Automated Reasoning, 4:29–68, 1988. [Henschen and Naqvi 1984] L. Henschen and S. Naqvi. On compiling queries in recursive first-order databases. Journal of the ACM, 31(1):47–85, 1984. [Kellogg et al. 1978] C. Kellogg, P. Klahr and L. Travis. Deductive planning and pathfinding for relational data bases. In H. Gallaire and J. Minker, editors, Logic and Data Bases, pages 179–200, Plenum, New York, 1978. [Kowalski 1974] R. Kowalski. Predicate logic as a programming language. In Proceedings of IFIP 4, pages 569–574, Amsterdam, 1974. [Kowalski 1978] R. Kowalski. Logic for data description. In H. Gallaire and J. Minker, editors, Logic and Data Bases, pages 77–103. Plenum, New York, 1978. [Lifschitz 1985] V. Lifschitz. Closed world databases and circumscription. Artificial Intelligence, 27:229–235, 1985. [Lloyd 1984] J.W. Lloyd. Foundations of Logic Programming. Springer, 1984. [Lloyd and Topor 1984] J.W. Lloyd and R.W. Topor. Making PROLOG more expressive. Journal of Logic Programming, 1(3):225–240, 1984. [Lloyd and Topor 1985] J.W. Lloyd and R.W. Topor. A basis for deductive databases, I. Journal of Logic Programming, 2(2):93–109, 1985. [Lloyd and Topor 1986] J.W. Lloyd and R.W. Topor. A basis for deductive databases, II. Journal of Logic Programming, 3(1):55–67, 1986. [McCarthy 1980a] J. McCarthy. Circumscriptionβ€”a form of non-monotonic reasoning. Artificial Intelligence, 13:27–39, 1980. [McCarthy 1980b] J. McCarthy. Circumscription and other non-monotonic formalisms. Artificial Intelligence, 13:171–172, 1980. [Mendelson 1979] E. Mendelson. Introduction to Mathematical Logic. D. van Nostrand, Princeton, 2nd edition, 1979. [Minker 1978] J. Minker. An experimental relational database system based on logic. In H. Gallaire and J. Minker, editors, Logic and Data Bases, pages 107–147. Plenum, New York, 1978. [Minker 1982] J. Minker, On indefinite databases and the closed world assumption. In Proc. 6th International Conference on Automated Deduction, pages 292–308. Springer-Verlag, 1982. (Springer-Verlag Lecture Notes in Computer Science, Vol. 138.) [Minker 1983] J. Minker. On deductive relational databases. In Proc. 5th International Conference on Collective Phenomena, pages 181–200, 1983. (Annals of the New York Academy of Science, Vol. 410.) [Minker 1988] J. Minker. Perspectives in deductive databases. Journal of Logic Programming, 5(1):33–60, 1988. [Naish and Thom 1983] L. Naish and J.A. Thom. The MU-Prolog deductive database. Technical Report 83/10, Dept. of Computer Science, University of Melbourne, 1983. (Springer-Verlag Lecture Notes in Computer Science, Vol. 138.) [Nicolas and Gallaire 1978] J.-M. Nicolas and H. Gallaire. Data base: Theory vs. interpretation. In H. Gallaire and J. Minker, editors, Logic and Data Bases, pages 33-54. Plenum, New York, 1978. [Nicolas and Yazdanian 1982] J.-M. Nicolas and K. Yazdanian. An outline of BDGEN: A deductive DBMS. In Proceedings of IFIP 83 Congress, pages 711–717, North-Holland, Amsterdam, 1983. [Pratt 1990] P.J. Pratt. A Guide to SQL. Boyd & Fraser, Boston, 1990. [Przymusinski 1986a] T.C. Przymusinski. On the semantics of stratified deductive databases. In J. Minker, editor, Proc. Workshop on Foundations of Deductive Databases and Logic Programming, pages 433–443, Washington, 1986. [Przymusinski 1986b] T.C. Przymusinski. A query answering algorithm for circumscriptive theories. In Proc. ACM SIGART International Symposium on Methodologies for Intelligent Systems, pages 85–93, Knoxville, Tenn., 1986. [Reiter 1978] R. Reiter. On closed world data bases. In H. Gallaire and J. Minker, editors, Logic and Data Bases, pages 33–54. Plenum, New York, 1978. [Reiter 1982] R. Reiter. Circumscription implies predicate completion (sometimes). In Proc. International Joint Conference on Artificial Intelligence, pages 418–420, 1982. [Reiter 1984] R. Reiter. Towards a logical reconstruction of relational database theory. In M.L. Brodie, J.L. Mylopoulos and J.W. Schmidt, editors, On Conceptual Modelling: Perspectives from Artificial Intelligence, Databases and Programming Languages, pages 191–238. Springer-Verlag, 1984. [Robinson 1965] J.A. Robinson. A machine-oriented logic based on the resolution principle. Journal of the ACM, 12(1):23–41, 1965. [Small 1988] C. Small. The implementation of the Exegesis system. The Computer Journal, 31(2):125–132, 1988. [Spyratos 1987] N. Spyratos. The partition model: A deductive database model. ACM Transactions on Database Systems, 12(1):1–37, 1987. [Tsang 1990] Personal communication. [Yahya and Henschen 1985] H. Yahya and L.J. Henschen. Deduction in non-Horn databases. Journal of Automated Reasoning, 1:141–160, 1985
    corecore