CS240A:A sample LDL++ Session Carlo Zaniolo Department of Computer Science University of California, Los Angeles December, 2001.

Slides:



Advertisements
Similar presentations
CS240A: Databases and Knowledge Bases From Deductive Rules to Active Rules Carlo Zaniolo Department of Computer Science University of California, Los Angeles.
Advertisements

CS240A: Databases and Knowledge Bases From Deductive Rules to Active Rules Carlo Zaniolo Department of Computer Science University of California, Los Angeles.
Some Introductory Programming 1. Structured Query Language (SQL) - used for queries. - a standard database product. 2. Visual Basic for Applications -
Examples in Transformative Undergraduate Preparation of Future Teachers in STEM M.Y. S.P.A.C.E Team Activities Hong-lie Qiu, P.H.D. Department of Geosciences.
Introduction to Access. What is Access? Database tool Creates a database Good data query (lookup and analysis) ability Good entry forms Good reports Multi-user.
CS240A: Databases and Knowledge Bases Fixpoint Semantics of Datalog Carlo Zaniolo Department of Computer Science University of California, Los Angeles.
CS240A: Databases and Knowledge Bases A Taxonomy of Temporal DBs Carlo Zaniolo Department of Computer Science University of California, Los Angeles.
Using Relational Databases and SQL Steven Emory Department of Computer Science California State University, Los Angeles Lecture 6: Midterm Review.
Exploring Windows 98 and Essential Computing Concepts - Chapter 2 1 Exploring the Internet Chapter 2 Search Engines: Finding Information on the Web.
Understanding the Mainline Logical Flow Through a Program (continued)
UNIX Command-line Introduction Terence Parr. Navigating  cd  pwd  ls  pushd/pod  cd  pwd  ls  pushd/pod.
2 $ command Command Line Options ls –a –l hello hi Command Arguments.
SoftwareTools CGS 3460, Lecture 7 Jan 25, 2006 Zhen Yang.
1 LaTeX Introduction Wenguang Wang Department of Computer Science University of Saskatchewan February 28, 2000.
Chapter 8 Printing 1. In COBOL you send data to the printer by writing data to a file. In COBOL, the printer is defined as a file, and it is opened, closed,
CS240A: Databases and Knowledge Bases Introduction Carlo Zaniolo Department of Computer Science University of California, Los Angeles.
Managing Software using RPM. ♦ Overview In Linux, Red Hat Package Manager referred as RPM is a tool used for managing software packages and its main function.
Databases Setting up a Database.
CS161 Topic #21 CS161 Introduction to Computer Science Topic #2.
Intro to By Debra Dimas Special thanks to David Fogliatti and Armand Amarento of Oceanside HS in San Diego.
Part 1. Persistent Data Web applications remember your setting by means of a database linked to the site.
UNIX and Shell Programming (06CS36) Unit 1 Continued… Shrinivas R. Mangalwede Department of Computer Science and Engineering K.L.S. Gogte Institute of.
Vim Editor and Unix Command gcc compiler Computer Networks.
Activity 1 Record and edit your voice using Audacity 1.Download Audacity (a free and open source audio editing software from
Presentation to Department Heads Cloud Computing Information Systems Division November 5, 2010.
Access Class Outline Data Organization Tables Import and Export of Data Queries Select Calculate Values Aggregation (Count, Sum) Create Append Delete Crosstab.
Shell Scripting AFNOG IX Rabat, Morocco May 2008.
Sharda University P. K. Mishra (Asst.Prof) Department of Computer Science & Technology Subject Name: Programming Using C Sub Code: CSE-106 Programming.
Retrieving data from MySQL using PHP Basharat Mahmood, Department of Computer Science,CIIT,Islamabad, Pakistan. 1.
CS240A: Databases and Knowledge Bases Recursive Queries in SQL 1999 Carlo Zaniolo Department of Computer Science University of California, Los Angeles.
Fall 08, Oct 31ELEC Lecture 8 (Updated) 1 Lecture 8: Design, Simulation Synthesis and Test Tools ELEC 2200: Digital Logic Circuits Nitin Yogi
What have we learned?. What is a database? An organized collection of related data.
Lesson 01: Introduction to Database Software. At the end of this lesson, students should be able to: State the usage of database software. Start a database.
1 MIS309 Database Systems Introduction to Microsoft Access.
Shell Advanced Features. Module 8 Shell Advanced Features ♦ Introduction In Linux systems, the shells are often referred to as command line interfaces.
3 Copyright © 2004, Oracle. All rights reserved. Working in the Forms Developer Environment.
Linux and Java Basics. What is Linux? Operating system by Linus Torvalds that was a clone of Unix (thus Linux) Free and open source – this is the reason.
1May 16, 2005 Week 2 Lab Agenda Command Line FTP Commands Review More UNIX commands to learn File name expansion - * Introduction of vi.
Login & environment variable setting in CVS Presented by Pooja Jain.
Parsing BLAST output. Output of a local BLAST search “less” program Full path to the BLAST output file.
Critical Thinking Curriculum Model Bill Robertson University of Texas at El Paso Teacher Education Department Science & Technology Education.
12 CVS Mauro Jaskelioff (originally by Gail Hopkins)
CSCI 330 UNIX and Network Programming Unit III Shell, Part 1.
Module 1 - Introduction to Linux. Users must log-in Linux is case sensitive File and Directories naming conventions (No spaces!) Files and Directories.
CS240A: Databases and Knowledge Bases Temporal Databases Carlo Zaniolo Department of Computer Science University of California, Los Angeles.
Basic Unix Commands & GCC Saurav Karmakar Spring 2007.
Merger By Dave Doulton University of Southampton.
CS 201 Lecture 1 (b) Using an IDE Tarik Booker CS 201: Introduction to Programming California State University, Los Angeles.
CS 350 Lecture 3 UNIX/Linux Shells by İlker Korkmaz and Kaya Oğuz.
Tutorial Six Linux Basics CompSci Semester Two 2016.
First Day in Lab Making a C++ program
Tutorial Six Recap & Linux Basics CompSci Semester Two 2016.
CS422 Principles of Database Systems Course Overview
COMP Introduction to Operating Systems Project 1 – Installing CentOS
CS522 Advanced database Systems
Hierarchy of Data in a Database
Spam Database Tool Use The purpose of this Tool is to Store all SPAM Numbers in Database for matching and excluding from CDRs. Note All files will be stored.
Gulf Region Retail Sales
Global Update: Practice May Make Your Results Perfect
CSCI The UNIX System Shell History and Directory Stacks
CSCI The UNIX System Shell Startup and Variables
CSCI The UNIX System Shell Substitution and Sequences
An Open-Source Based Speech Recognition Android Application for Helping Handicapped Students Writing Programs Tong Lai Yu, Santhrushna Gande.
CSCI The UNIX System Shell: Aliases
Activity 1 Record and edit your voice using Audacity
CSCI N207 Data Analysis Using Spreadsheet
Gulf Region Retail Sales
Windows Installation Tutorial
CSCI The UNIX System Editing files
CS240A: Databases and Knowledge Bases A Taxonomy of Temporal DBs
Presentation transcript:

CS240A:A sample LDL++ Session Carlo Zaniolo Department of Computer Science University of California, Los Angeles December, 2001

BSD UNIX whale 206 % which ldl++ /u/class/cs249cz/ldl++/LDL++5.1 whale 208 % pwd /u/f3/zaniolo/recent/cs240a/example whale 209 % ls city.fac city.prg whale 210 % ldl++ ************************************************************************* * LDL++ System (Version 5.1) * etc.... rest of the banner ldl++(1)> ldl++(1)> open city.prg Opening file : city.prg... done.

Open—Compile —Close ldl++(2)> compile Compiling all query forms in global module... Error: Free variables in head are not covered in the following unsafe rule: 1 : lcity_ff(C, Popl) _bb ldl++(3)> close Closing all modules... done. %HERE I EDIT THE PROGRAM ldl++(4)> open city.prg ldl++(5)> compile Compiling all query forms in global module... done.

display and initdb ldl++(6)> display export Export in Module [ ldl++_main_module ] : export lcity(X, Y). ** compiled ** export lcity($X, Y). ** compiled ** ldl++(7)> initdb city.fac Initializing database from city.fac... done. ldl++(8)> query lcity(X,Y) Querying : lcity(X,Y)... (Houston, ) (Austin, ) (San Antonio, ) The number of records is 3.

Command Completion ldl++(1)> e % followed by space edit exit ldl++(1)> exit Exiting LDL++... Good Bye !!