Presentation is loading. Please wait.

Presentation is loading. Please wait.

Digital Media Technology Week 11. Stylesheet languages vs. Querying languages.

Similar presentations


Presentation on theme: "Digital Media Technology Week 11. Stylesheet languages vs. Querying languages."— Presentation transcript:

1 Digital Media Technology Week 11

2

3 Stylesheet languages vs. Querying languages

4

5 □ Design □ Implementation □ Data entry □ Analysis □ Publication Creating a database: Phases

6 The import of books from Britain into the Netherlands between 1850 and 1879 increased from f 21,085 to f 161,925, or some 760% in a 29-year period. By comparison, overall book imports in the same period went from f 341,449 to f 1,509,732 or almost 440%. In other words, if import of foreign books was booming generally, the British share in this import grew even faster. In 1850 it amounted to just over 6% of all book imports, growing to a full 10% in 1879. By 1939 the figure for books and periodicals are separate. British books by then account for 18% of all book imports; British periodicals for 43% of all periodical imports. Thus, the average of books and periodicals is 23%.We can put this remarkable growth in perspective by comparing it with the book title production within the Netherlands itself, which went up from 1732 titles in 1850 to almost 3000 (2948) in 1900: an increase of less than 200% over a 50-year period, compared to the 760% over a 29-year period in the case of British imports. Linearity

7 Date,Author last name,Author first name,Title,Vols,No. printed,No. sold,Mudie's subs,Mudie's % Jan. 1858,Eliot,George,Scenes of Clerical Life,2,1050,1006,350,35 Dec. 1858,Lytton,Edward Bulwer,What Will He Do With It?,4,4200,3801,1725,45 Jan. 1859,Eliot,George,Adam Bede,3,3416,3304,1500,45 June 1863,Speke,John Hanning,What Led to the Discovery of the Nile,1,1575,922,100,11 Structure

8 Peter Burke A Social History of the Media, from Gutenberg to the Internet. London Polity Press 2005 Structure

9 Data redundancy

10 □ A database is a collection of structured and related data which □ is organised in a structured way □ allows for random access because of its non-linear nature □ ideally maximises storage and retrieval efficiency □ Database management system (DBMS): computer program that enables users to store, modify, and extract information from a database

11 Interpretation continuum Data: relatively unstructured Information: highly structured Source: Obrst and Liu, Knowledge representation, Ontological Engineering and Topic Maps, in: XML Topic Maps, 2003

12 Tables, Rows, Columns Records (rows) Fields (columns)

13 Flat File Database AUTHOR_ ID LAST_NAMEFIRST_NAME YEAR_OF_ BIRTH YEAR_OF_ DEATH NATIONALITY 1AustenJane17751817uk 2GoldsmithOliver17301774ie 3BeckettSamuel19061989ie 4ShawGeorge Bernard 18561950ie 5PinterHarold19302008uk 6O'NeillEugene18881953us

14 LAST_NAMEFIRST_NAME YEAR_OF_ BIRTH YEAR_OF _DEATH NATIONAL ITY TITLEPUBLISHERYEAREXTENT AustenJane17751817ukMansfield ParkCambridge University Press 2005738 p. AustenJane17751817ukPersuasionCambridge University Press 2006392 p. BeckettSamuel19061989ieEndgame : a play in one act Faber and Faber196560 p. BeckettSamuel19061989ieMolloyCalder1997176 p. BeckettSamuel19061989ieWattCalder1963225 p. GoldsmithOliver17301774ieShe stoops to conquer Oxford University Press1995120 p. GoldsmithOliver17301774ieThe vicar of Wakefield George Routlede and Sons 1886320 p. O'NeillEugene18881953usStrange interlude : a play Cape1965348 p. O'NeillEugene18881953usLong day’s journey into night Cape1966156 p. HeaneySeamus1939ieDeath of a Naturalist Faber and Faber196667 p. HeaneySeamus1939ieSeeing ThingsFaber and Faber199178 p. ShawGeorge Bernard 18561950ieMajor BarbaraPenguin1957153 p. Create, Retrieve, Update, Delete

15 AUTHOR_ ID LAST_NAMEFIRST_NAME YEAR_OF_ BIRTH YEAR_OF_ DEATH NATIONALITY 1AustenJane17751817uk 2GoldsmithOliver17301774ie 3BeckettSamuel19061989ie 4ShawGeorge Bernard18561950ie 5PinterHarold1930uk 6O'NeillEugene18881953us BOOK_IDTITLE AUTHOR_ ID PUBLISHERYEAREXTENT 1Mansfield Park1Cambridge University Press 2005738 p. 2Persuasion1Cambridge University Press 2006392 p. 3Long day’s journey into night 6Cape1966156 p. 4Strange interlude : a play 6Cape1965348 p. 5Molloy3Calder1997176 p. 6The caretaker5Methuen196078 p. 7She stoops to conquer2Oxford University Press 1995120 p. 8The vicar of Wakefield2George Routlede and Sons 1886320 p. 9Endgame : a play in one act 3Faber and Faber196560 p. 10Watt3Calder1963225 p. 11The homecoming5Methuen197267 p. 12Major Barbara4Penguin1957153 p. Shared column foreign key primary key

16 Primary Key

17 Seminal publications: □ E.F. Codd, “A Relational Model of Data for Large Shared Data Banks” (1970) □ Peter Chen, “The Entity-Relationship Model: Toward a Unified View of Data” (1976)

18

19 □ Technique to visualise the various relationships between the entities in a database □ Steps: □ (1) Identify entities □ (2) Identify attributes □ (3) Establish relationships and cardinalities □ (4) Remove many-to-many relationships Entity-Relationship Modelling

20 AUTHOR BOOK PUBLISHER

21 AUTHOR P_ID FIRST_NAME LAST_NAME DATE_OF_BIRTH DATE_OF_DEATH NATIONALITY Attributes PK is underlined

22 AUTHOR BOOK STUDENT COURSE EMPLOYEE COMPANY LIBRARY BOOK writes is enrolled in works for owns

23 cardinality □ How many instances of the entity can be related to how many instance of another entity? □ The answer to this question should be one of the following: one-to-one, one-to-many, many-to-one, many-to-many.

24 ER diagrams: notational conventions □ Relationships are represented by a line connecting the two entities. The name of the relationship is written above the line. Relationship names should be verbs. □ Cardinality of many is represented by a line ending in a crow's foot.

25 AUTHOR CAPITAL STUDENT COURSE COUNTRY BOOK one-to-one one-to-many many-to-many


Download ppt "Digital Media Technology Week 11. Stylesheet languages vs. Querying languages."

Similar presentations


Ads by Google