INFORMATICA UMANISTICA B DA DATI NON STRUTTURATI A DATI STRUTTURATI: LINGUAGGI DI MARCATURA XML TEI.

Slides:



Advertisements
Presentazioni simili
Trieste, 26 novembre © 2005 – Renato Lukač Using OSS in Slovenian High Schools doc. dr. Renato Lukač LinuxDay Trieste.
Advertisements

Sfogliandomi… Viaggio tra me e me alla scoperta dellaltro… A travel between me and myself discovering the other…
Preposizioni semplici e articolate
I numeri, l’ora, I giorni della settimana
Poesie d’Autunno October
Giovanni Falcone & Paolo Borsellino.
Open Document Format for Office Applications Organization for the Advancement of Structured Information Standards Sergio Capone ITP.
Obiettivo: To be confident when describing yourself and others
Laurea Magistrale in Informatica Thecnologies for Innovation
10.2 Aggettivi e pronomi dimonstrativi. Rigoletto is an opera in three acts by Giuseppe Verdi. The Italian libretto was written by Francesco Maria Piave.
Surprise Culture Grammatica I verbi Vocab
piacere The verb to like does not have a direct equivalent in Italian.
© and ® 2011 Vista Higher Learning, Inc.4B.1-1 Punto di partenza Italian uses two principal tenses to talk about events in the past: the passato prossimo.
Cancer Pain Management Guidelines
Sta andando meglio? oppure ti senti uguale? Is it getting better? Or do you feel the same?
Che ore è? Che ore Sono?.
L’albero della famiglia
© and ® 2011 Vista Higher Learning, Inc.4B.2-1 Punto di partenza The verbs conoscere and sapere both mean to know. The choice of verb depends on its context.
Punto di partenza Reciprocal verbs are reflexives that express a shared or reciprocal action between two or more people or things. In English we often.
Ratifica dei trattati internazionali - Italia
Un DataBase Management System (DBMS) relazionale client/server.
Raffaele Cirullo Head of New Media Seconda Giornata italiana della statistica Aziende e bigdata.
J0 1 Marco Ronchetti - Corso di Formazione Sodalia – Febbraio 2001 – Modulo Web Programming Tomcat configuration.
1. Conoscere luso delle collezioni in Java Comprendere le principali caratteristiche nelle varie classi di Collection disponibili Saper individuare quali.
RHYTHM. Literary texts = expressive texts Sounds and rhythm = examples of stylistic variation Rhythm in narrative prose = melody Melodic unit: sequence.
2000 Prentice Hall, Inc. All rights reserved. 1 Capitolo 3 - Functions Outline 3.1Introduction 3.2Program Components in C++ 3.3Math Library Functions 3.4Functions.
ANNUNCI Modulo B: IL 26 MARZO NIENTE LEZIONE
INFORMATICA UMANISTICA B STRUTTURE DATI BASI DI DATI RAPPRESENTAZIONE DELLA CONOSCENZA ONTOLOGIE.
Metadati gestionali e amministrativi per oggetti digitali nativi Antonio Scolari Seminario nazionale sui metadati Roma, 3 aprile 2001.
Chistmas is the most loved holiday of the years. Adults and children look forward to Chistmas and its magical atmosphere. It is traditional to decorate.
Le regole Giocatori: da 2 a 10, anche a coppie o a squadre Scopo del gioco: scartare tutte le carte per primi Si gioca con 108 carte: 18 carte.
I Saluti Le Presentazioni.
CANADA AT ITS WORST THE SEAL SLAUGHTER FROM A SEALS POINT OF VIEW.
Guardate le seguenti due frasi:
My Italian Experience By Ryan Davidson. My daily routine in Urbino If there was no field trip in the morning, my daily routine in Urbino was very basic.
Leggi lo scritto di Leonardo e ...soffia!
MERRY CHRISTMAS ! BUON NATALE ! Veniva nel mondo la luce vera, quella che illumina ogni uomo. (Gv 1,9) For the Light was coming into the world,the true.
Enzo Anselmo Ferrari By Giovanni Amicucci. Di Enzo Questo è Enzo Anselmo Ferrari. Enzo compleanno è diciotto febbraio Enzo muore è quattordici agosto.
DIRECT OBJECT PRONOUNS 21 marzo 2012 TURN TO PAGE 134 in your Textbook.
Enzo anselmo ferrari By: Orazio Nahar.
Essere avere To Be To Have.
FOR EVERY CALLOUT THAT YOU WILL SEE IN ENGLISH PROVIDE (IN WRITING) THE CORRECT ITALIAN SENTENCE OR EXPRESSION. REMEMBER TO LOOK AT THE VERBS AND PAY.
Hi! What period is it?. What is the UK made up of?
EMPOWERMENT OF VULNERABLE PEOPLE An integrated project.
The Beatles. Love, love, Love. Love, Love, Love. Love, Love, Love. There's nothing you can do that can't be done. Nothing you can sing that can't be sung.
Come Together is the song that opens the album Abbey Road Beatles, released in September Despite being signed as usual by Lennon / McCartney, is.
It’s a chain story created by our little pupils of pre-school and first classes of primary. It’s a scraper-book made by several materials and by their.
You’ve got a friend in me!
Canta: Daniele Falaschi
Italian 6 Preparation for Final Exam Signorina Troullos.
Passato Prossimo. What is it?  Passato Prossimo is a past tense and it is equivalent to our:  “ed” as in she studied  Or “has” + “ed” as in she has.
Saluti ed espressioni Greetings in Italian.
Italian 1 -- Capitolo 2 -- Strutture
Ratifica dei trattati internazionali - Italia Art. 87 Costituzione “Il Presidente della Repubblica…ratifica i trattati internazionali, previa, quando occorra,
Well and Truly by Roni Horn. Mind map Artist’s name Techniques Life Groupworks Artworks My opinion Her message My artwork inspiried by…
Buon giorno Io sono Professoressa Kachmar. Buon giorno Io sono Professoressa Kachmar.
Come Together is the song that opens the album Abbey Road Beatles, released in September Despite being signed as usual by Lennon / McCartney, is.
Imagine.
EMINEM CINDERELLA MEN Cinderella man Send the fellow Shady dang came to wrap the game up in cellophane, Raise hell from hell he came, But didn't come.
PINK FLOYD DOGS You gotta be crazy, you gotta have a real need. You gotta sleep on your toes. And when you're on the street. You gotta be able to pick.
Let It Be Let It Be – Beatles 1969.
GLI INTERROGATIVI.
Let It Be – Beatles When I find myself in times of trouble Mother Mary comes to me Speaking words of wisdom, let it be. And in my hour of darkness.
Gstaad Some have heard of it – some haven’t. Gstaad is a little place in Europe located in the french part of Switzerland. With a population of 3,400 it’s.
Nessuno può servire due padroni:perché, o amerà l’uno e odierà l’altro oppure preferirà il primo e disprezzerà il secondo. Non potete servire Dio e i.
CRISTO - CHRIST a.C. a.C. - UOMO UOMO della Storia Storia - d.C. B.C. B.C. - The Man of History -A.D. DIO DIO con noi !God with Us !
Translate this story Ero alla festa da circa cinque minuti quando una donna venne da me e disse :”Salve”. Non l’avevo mai vista prima e certamente non.
La Grammatica Italiana Avanti! p
Transcript della presentazione:

INFORMATICA UMANISTICA B DA DATI NON STRUTTURATI A DATI STRUTTURATI: LINGUAGGI DI MARCATURA XML TEI

AGGIUNGERE STRUTTURA A DATI NON STRUTTURATI USANDO LINGUAGGI DI MARCATURA In questa lezione e la prossima discuteremo di come sia possibile usare LINGUAGGI DI MARCATURA come XML per rendere parzialmente strutturati dati testuali Oggi: aggiungere struttura a testi Prossima lezione: aggiungere informazione semantica

LINGUAGGI DI MARCATURA Permettono di aggiungere informazione (annotare) un testo Due tipi di informazione: Aspetto (formattazione, disposizione degli elementi sulla pagina) HTML Struttura logica XML

TIPI DI LINGUAGGI DI MARCATURA Procedurali (TeX, LaTeX, nroff, troff) Indicano alla macchina la procedura di formattazione da seguire per un certo testo Generici o dichiarativi (SGML e discendenti) Dichiarano la funzione LOGICA del testo

TeX e LaTeX The quadratic formula is $-b \pm \sqrt{b^2 - 4ac} \over 2a$ \end

a XML SGML HTML XHTML WML MathML ……

SGML Sviluppato nel 1986 da Charles Goldfarb Obiettivo: sviluppare uno standard per lINTERSCAMBIO di testi Consente di definire marcatori (TAGS) che permettono di strutturare un testo ed i loro ATTRIBUTI Utilizzato per: BNC OED

STRUTTURA SGML NEL BNC TROUSERS SUIT There is nothing masculine about these new trouser suits in summer 's soft pastels. Smart and acceptable for city wear but soft enough for relaxed days TAG ATTRIBUTO

DTD La specifica degli elementi e dei loro attributi in un documento SGML costituisce la DEFINIZIONE DEL TIPO DI DOCUMENTO o DTD

HTML Un linguaggio di marcatura basato su SGML (una DTD SGML) Tipo di elementi e fissato

LINGUAGGI DI MARCATURA: HTML My first HTML Hello, World!

XML Una versione semplificata di SGML sviluppata dal W3C Come in SGML, ed a differenza di HTML, le TAG non sono predefinite ma definite usando un DTD o SCHEMA

ALBERI I documenti SGML, HTML ed XML hanno una struttura ad ALBERO

DOCUMENTI XML HANNO UNA STRUTTURA AD ALBERO Must have a UNIQUE root element

LA STRUTTURA AD ALBERO DEI DOCUMENTI HTML (ED XML) My first HTML Hello, World!

LA STRUTTURA AD ALBERO DEI DOCUMENTI HTML html headbody titlep

ACCESSO AD UN ALBERO html headbody titlep figlie madre

XML PER LA STRUTTURA LOGICA DI TESTI Peanut butter on a spoon Peanut butter Stick a spoon in a jar of peanut butter, scoop and pull out a big glob of peanut butter.

ALBERI + ATTRIBUTI IN XML verse Seest thou yon dreary Plain, forlorn and wild, poem title = Paradise Lost author = jm year= 1667 verse

ATTRIBUTI IN XML TITLE: Paradise Lost AUTHOR: John Milton YEAR: 1667 Seest thou yon dreary Plain, forlorn and wild, The seat of desolation, void of light, Save what the glimmering of these livid flames Casts pale and dreadful?

ATTRIBUTI Elements can contain one or more attributes Names are case sensitive The values of the attributes must be enclosed within single or double quotes (either both single or both double) Attributes cannot be empty (name only) No attribute can be repeated twice within an element

BASI DATI IN XML: RUBRICA Giulio Cesare Bruto 10 Roma Giovanni Pompeo Catilina 12 Milano

RUBRICA COME ALBERO

XML e DATABASE Invoice = { date : " " invoiceNumber : 421 InvoiceItems : { Item : { description : "Wool Paddock Shet Ret Double Bound Yellow 4'0" quantity : 1 unitPrice : } Item : { description : "Wool Race Roller and Breastplate Red Double" quantity : 1 unitPrice : } Item : { description : "Paddock Jacket Red Size Medium Inc Embroidery" quantity : 2 unitPrice : } } }

XML E DATABASE Wool Paddock Shet Ret Double Bound Yellow 4'0" Wool Race Roller and Breastplate Red Double Paddock Jacket Red Size Medium Inc Embroidery

TEXT ENCODING INITIATIVE Uniniziativa internazionale per sviluppare standards per larchiviazione di testi Inizi: 1987 Standard basato su SGML agli inizi, ora XML Definizione :

TESTI IN FORMATO TEI [informazioni della testata TEI] [materiali dell'avantesto] [testo unitario] [materiali annessi]

TEXT ENCODING INITIATIVE una testata TEI, codificata come (frontespizio elettronico), che raccoglie la serie delle informazioni paratestuali e metatestuali di riferimento (descrizione dell'esemplare elettronico, di quello cartaceo di riferimento, delle norme di codifica seguite e delle revisioni effettuate) il testo vero e proprio, marcato con l'elemento, suddiviso in tre elementi: (avantesto: frontespizio dell'esemplare cartaceo di riferimento e materiali introduttivi come prefazioni, dediche, sommari, introduzioni, indici etc.) (corpo del documento, a sua volta strutturato in partizioni significative del componimento, variabili a seconda della tipologia: testo in prosa, in versi, testo teatrale, ecc.) (materiali annessi come glossari, indici, note, bibliografie, colophon etc.)

TEI Header

Lelemento contiene tutte le informazioni bibliografiche

TEI HEADER: titleStmt Two stories by Edgar Allen Poe: a machine readable transcription Poe, Edgar Allen ( ) compiled by James D. Benson

TEI HEADER: publicationStmt Oxford University Press Oxford Copyright 1989, Oxford University Press

TEI HEADER: IL PRINCIPE Il Principe Machiavelli Niccolò …. Prima edizione ca. 200 kb ….. Bologna 1 ….

KING LEAR IN FORMATO PROJECT GUTENBERG Kent. Now by Apollo, king, Thou swear'st thy gods in vain. Lear. O vassal! miscreant! [Laying his hand on his sword.] Alb. and Corn. Dear sir, forbear! Kent. Do; Kill thy physician, and the fee bestow Upon the foul disease. Revoke thy gift, Or, whilst I can vent clamour from my throat, I'll tell thee thou dost evil.

KING LEAR IN FORMATO TEI Kent Now by Apollo, king, Thou swear'st thy gods in vain. Lear O vassal! miscreant! Laying his hand on his sword. Alb. and Corn. Dear sir, forbear! Kent. Do; Kill thy physician, and the fee bestow Upon the foul disease. Revoke thy gift, Or, whilst I can vent clamour from my throat, I'll tell thee thou dost evil.

TEI: JANE EYRE CHAPTER 38 READER, I married him. A quiet wedding we had: he and I, the par- son and clerk, were alone present. When we got back from church, I went into the kitchen of the manor-house, where Mary was cooking the dinner, and John cleaning the knives, and I said – 'Mary, I have been married to Mr Rochester this morning.' The housekeeper and her husband were of that decent, phlegmatic order of people, to whom one may at any time safely communicate a remarkable piece of news without incurring the danger of having one's ears pierced by some shrill ejaculation and subsequently stunned by a torrent of wordy wonderment. Mary did look up, and she did stare at me; the ladle with which she was basting a pair of chickens roasting at the fire, did for some three minutes hang suspended in air, and for the same space of time John's knives also had rest from the polishing process; but Mary, bending again over the roast, said only --

Text markup Reader, I married him. A quiet wedding we had: he and I, the parson and clerk, were alone present. When we got back from church, I went into the kitchen of the manor-house, where Mary was cooking the dinner, and John cleaning the knives, and I said — Mary, I have been married to Mr Rochester this morning. The housekeeper and her husband were of that decent, phlegmatic order of people, to whom one may at any time safely communicate a remarkable piece of news without incurring the danger of having one's ears pierced by some shrill ejaculation and subsequently stunned by a torrent of wordy wonderment. Mary did look up, …

ARCHIVI BASATI SULLA TEI Biblioteca Italiana: Electronic Text Center: etext.lib.virginia.edu Humanities Text Initiative: Oxford Text Archive ota.ahds.ac.uk

LA BIBLIOTECA ITALIANA

XML – DTD – XSL Un file XML specifica il contenuto Un DTD o SCHEMA specifica la SINTASSI Un file XSL specifica come VISUALIZZARE

IDEE PRINCIPALI LEZIONE DI OGGI Linguaggi di marcatura XML Struttura ad albero Attributi Text Encoding Initiative Archivi basati sulla TEI

LETTURE Tomasi, cap. 4 Linguaggi di Marcatura XML TEI: Tutorials: Gentle introduction to XML doc/en/html/SG.html TEI-LITE