Semantic Web 06 th March, 2002 Robert Kaminski, Thomas Panas.

Slides:



Advertisements
Similar presentations
XML-XSL Introduction SHIJU RAJAN SHIJU RAJAN Outline Brief Overview Brief Overview What is XML? What is XML? Well Formed XML Well Formed XML Tag Name.
Advertisements

XML III. Learning Objectives Formatting XML Documents: Overview Using Cascading Style Sheets to format XML documents Using XSL to format XML documents.
XML: Extensible Markup Language
Technology Reviews :XSL Park, Ho-gun. What is XSL Extensible Style sheet LanguageExtensible Style sheet Language An XML-based language used to.
 2001 Prentice Hall, Inc. All rights reserved. 1.
1 XSLT – eXtensible Stylesheet Language Transformations Modified Slides from Dr. Sagiv.
SPECIAL TOPIC XML. Introducing XML XML (eXtensible Markup Language) ◦A language used to create structured documents XML vs HTML ◦XML is designed to transport.
An Introduction to XML Based on the W3C XML Recommendations.
1 CP3024 Lecture 9 XML revisited, XSL, XSLT, XPath, XSL Formatting Objects.
XML Unit 6 October 31. XML, review XML is used to markup data Used to describe information Uses tags like HTML –But all tags are user-defined –Must be.
XSL Concepts Lecture 7. XML Display Options What can XSL Transformations do? generation of constant text suppression of content moving text (e.g., exchanging.
1 COS 425: Database and Information Management Systems XML and information exchange.
Models and languages for semistructured data Bridging documents and databases.
XML Introduction What is XML –XML is the eXtensible Markup Language –Became a W3C Recommendation in 1998 –Tag-based syntax, like HTML –You get to make.
September 15, 2003Houssam Haitof1 XSL Transformation Houssam Haitof.
1 Advanced Topics XML and Databases. 2 XML u Overview u Structure of XML Data –XML Document Type Definition DTD –Namespaces –XML Schema u Query and Transformation.
MC 365 – Software Engineering Presented by: John Ristuccia Shawn Posts Ndi Sampson XSLT Introduction BCi.
Manohar – Why XML is Required Problem: We want to save the data and retrieve it further or to transfer over the network. This.
10/06/041 XSLT: crash course or Programming Language Design Principle XSLT-intro.ppt 10, Jun, 2004.
Pemrograman Berbasis WEB XML part 2 -Aurelio Rahmadian- Sumber: w3cschools.com.
IS432: Semi-Structured Data Dr. Azeddine Chikh. 1. Semi Structured Data Object Exchange Model.
XML Anisha K J Jerrin Thomas. Outline  Introduction  Structure of an XML Page  Well-formed & Valid XML Documents  DTD – Elements, Attributes, Entities.
Introduction to XML cs3505. References –I got most of this presentation from this site –O’reilly tutorials.
Lecture 6 of Advanced Databases XML Schema, Querying & Transformation Instructor: Mr.Ahmed Al Astal.
CREATED BY ChanoknanChinnanon PanissaraUsanachote
IS432 Semi-Structured Data Lecture 5: XSLT Dr. Gamal Al-Shorbagy.
XSLT for Data Manipulation By: April Fleming. What We Will Cover The What, Why, When, and How of XSLT What tools you will need to get started A sample.
XP 1 CREATING AN XML DOCUMENT. XP 2 INTRODUCING XML XML stands for Extensible Markup Language. A markup language specifies the structure and content of.
WORKING WITH XSLT AND XPATH
1 © Netskills Quality Internet Training, University of Newcastle Introducing XML © Netskills, Quality Internet Training University.
Demystifying the eXtensible Markup Language Nick Roberts & Jim Few
1 CIS336 Website design, implementation and management (also Semester 2 of CIS219, CIS221 and IT226) Lecture 6 XSLT (Based on Møller and Schwartzbach,
Representing Web Data: XML CSI 3140 WWW Structures, Techniques and Standards.
 XML is designed to describe data and to focus on what data is. HTML is designed to display data and to focus on how data looks.  XML is created to structure,
Session IV Chapter 9 – XML Schemas
XML TUTORIAL Portions from w3 schools By Dr. John Abraham.
CITA 330 Section 6 XSLT. Transforming XML Documents to XHTML Documents XSLT is an XML dialect which is declared under namespace "
Extensible Stylesheet Language Chao-Hsien Chu, Ph.D. School of Information Sciences and Technology The Pennsylvania State University XSL-FO XSLT.
XSLT Kanda Runapongsa Dept. of Computer Engineering Khon Kaen University.
Lecture 11 XSL Transformations (part 1: Introduction)
E0262 – MIS – Multimedia Storage Techniques XML (Extensible Markup Language  XML is a markup language for creating documents containing structured information.
Waqas Anwar Next SlidePrevious Slide. Waqas Anwar Next SlidePrevious Slide XML XML stands for EXtensible Markup Language.
XML Instructor: Charles Moen CSCI/CINF XML  Extensible Markup Language  A set of rules that allow you to create your own markup language  Designed.
Accessing Data Using XML CHAPTER NINE Matakuliah: T0063 – Pemrograman Visual Tahun: 2009.
[ Part III of The XML seminar ] Presenter: Xiaogeng Zhao A Introduction of XQL.
XML Introduction. Markup Language A markup language must specify What markup is allowed What markup is required How markup is to be distinguished from.
CHAPTER 15 WPF Windows Presentation Foundation Dr. John Abraham Professor, UTPA.
CS 157B: Database Management Systems II February 11 Class Meeting Department of Computer Science San Jose State University Spring 2013 Instructor: Ron.
Web Technologies Lecture 4 XML and XHTML. XML Extensible Markup Language Set of rules for encoding a document in a format readable – By humans, and –
Unit 3 — Advanced Internet Technologies Lesson 11 — Introduction to XSL.
University of Nottingham School of Computer Science & Information Technology Introduction to XML 2. XSLT Tim Brailsford.
Martin Kruliš by Martin Kruliš (v1.1)1.
XSLT: How Do We Use It? Nancy Hallberg Nikki Massaro Kauffman.
C Copyright © 2011, Oracle and/or its affiliates. All rights reserved. Introduction to XML Standards.
Jackson, Web Technologies: A Computer Science Perspective, © 2007 Prentice-Hall, Inc. All rights reserved Chapter 7 Representing Web Data:
SEMI-STRUCTURED DATA (XML) 1. SEMI-STRUCTURED DATA ER, Relational, ODL data models are all based on schema Structure of data is rigid and known is advance.
CHAPTER NINE Accessing Data Using XML. McGraw Hill/Irwin ©2002 by The McGraw-Hill Companies, Inc. All rights reserved Introduction The eXtensible.
XML Extensible Markup Language
XML Notes taken from w3schools. What is XML? XML stands for EXtensible Markup Language. XML was designed to store and transport data. XML was designed.
Rendering XML Documents ©NIITeXtensible Markup Language/Lesson 5/Slide 1 of 46 Objectives In this session, you will learn to: * Define rendering * Identify.
CH 15 XSL Transformations 1. Objective What is XSL? Overview of XSL transformations Understanding XSL templates Computing the value of a node with xsl:value-of.
XML Databases Presented By: Pardeep MT15042 Anurag Goel MT15006.
1 Introduction to XML Babak Esfandiari. 2 What is XML? introduced by W3C in 98 Stands for eXtensible Markup Language it is more general than HTML, but.
XML: Extensible Markup Language
Unit 4 Representing Web Data: XML
XML QUESTIONS AND ANSWERS
XML in Web Technologies
Prepared for Md. Zakir Hossain Lecturer, CSE, DUET Prepared by Miton Chandra Datta
Chapter 7 Representing Web Data: XML
Unit 6 - XML Transformations
Presentation transcript:

Semantic Web 06 th March, 2002 Robert Kaminski, Thomas Panas

Comments from James Good Morning! Welcome on this beautiful morning to the presentation of Robert Kaminski and Thomas Panas about advanced XML. Please feel free to ask any questions anytime. If possible, hand them to the presenters in written form during the audio-virtual presentation in Dolby surround, so all relevant questions can be evaluated in real-time. :) All rights reserved. James

Table of contents  A Syntax for Data  Namespaces  Schema  XSLT  SMIL

A Syntax for Data

Is this Structured Data ? Microsoft

Is this Structured Data ? Microsoft Semi-structured Data “schemaless” or “self-describing”

Structured Data Microsoft

Is this Structured Data ? HTML Microsoft

A Syntax for Data  Structured Data  Describe the structure (type, schema) of the data  Create an instance of the schema  Semi-structured Data  Describe the data using a simple syntax  Microsoft  Non-structured Data  Microsoft XML+Schema Lisp

Semi-Structured Data in Lisp  Association lists (label-value pairs)  {name: “Alan”, tel: ,  Value as structure  {name: {first: “Alan”, last: “White”}, tel: ,  Graph representation name tel “Alan” 7786

Specifying a Syntax  Semi-Structures Data can be expressed as: ::= ::= atomicvalue | ::= {label :, …, label : }

Relational Databases  Is this semi-structured or structured data? Student: Semi-structured Data The schema is included into the “data-file”

Relational Databases Student:Course: row fnlntel TP1RK2

Object Databases: Tree o2o3o1 person name age country “Mary” 4517“John”“Jane”“Canada” relatives

Object Databases: Tree o2o3o1 person name age country “Mary” 4517“John”“Jane”“Canada” relatives mother sister child mother

Object Databases  Semi-Structures Data can also be presented Lisp-like { person: &o1{name: “Mary”, age: 45, child &o2, child &03}, person: &o2{name: “John”, age: 17, relatives: {mother: &o1, sister &o3}}, person: &o3{name: “Jane”, country: “Canada”, mother &o1} }

Object Databases: Graph o0 o2o3o1 o4o5o6 {Mary}{John}{Jane}

Object Databases  Semi-Structures Data becomes Structured class State (extent states) { attribute string scode; attribute string sname; attribute City capital; relationship set cities-in inverse City::state-of; }  Structured Data for one Application Area ! (Object Databases)  Solution: XML

Namespaces

Problem description Namespaces avoids name conflicts same tag for different things same tag for different format Example: Document 1: Robert Kaminski Document 2: Kaminski Robert

Solution First try Robert Kaminski Second try Robert Final solution Robert

Namespace example George Soros Counting

Default namespace George Soros Counting

Attribute name Attributes can have namespace Example: <myLink xmlns:xlink=”...” xlink:type=”simple”......

XML Schema

What is a Schema ?  A schema defines the content of a number of XML-documents  It defines  which elements and attributes can be included  the element content  the order of elements  Schema substitutes DTD  Think of classes (schema) and instances (dokument)

XML Schema  Schema is saved with postfix.xsd  A document is validated against a schema  A schema is a XML-document

XML Schema  XML Example : Movie.xmlMovie.xml  XML Schema Example :  Category.xsd Category.xsd  MovieType.xsd MovieType.xsd  MovieList.xsd MovieList.xsd

Extensible Stylesheet Language (XSL)

XSL XSL consist of formatting objects XSL Transformations (XSLT) Formatting object: specifies presentation XSLT: Transformations to arbitrary format The idea of XSLT: traverse the tree and apply a specific template at each node

XSLT Use Cases XML to XML (X)HTML Text

The XSLT language Transformation in XML dialect Example: A rule based language Output handled by the enviroment

Terminology Template rules consists of: pattern template Pattern specifies nodes a template applies to tag name attributes context Template defines the transformations

XML Example chicken soup Introduction I’ve always.. book title section title para

Template rule for book

Template rule for section

Formatting objects Formatting represents common document elements Example block external-graphic table simple-link They are specified in XML Attributes specify their appearance

Template rule with objects

SMIL

 SMIL  Synchronized Multimedia Integration Language  SMIL is an XML extension  used for multimedia presentations which integrate streaming audio and video with images, text, etc.  enables to specify what should be presented when

SMIL  Introduction  About XML  XML Schema  XML Namespaces  XSLT  Future

SMIL

SMIL Click me!

Hej da ?