Chapter 5 The Semantic Web 1. The Semantic Web  Initiated by Tim Berners-Lee, the inventor of the World Wide Web.  A common framework that allows data.

Slides:



Advertisements
Similar presentations
1 ICS-FORTH EU-NSF Semantic Web Workshop 3-5 Oct Christophides Vassilis Database Technology for the Semantic Web Vassilis Christophides Dimitris Plexousakis.
Advertisements

CH-4 Ontologies, Querying and Data Integration. Introduction to RDF(S) RDF stands for Resource Description Framework. RDF is a standard for describing.
XML: Extensible Markup Language
Semantic Web Thanks to folks at LAIT lab Sources include :
The Semantic Web – WEEK 4: RDF
Introduction to RDF Based on tutorial at
1 RDF Tutorial. C. Abela RDF Tutorial2 What is RDF? RDF stands for Resource Description Framework It is used for describing resources on the web Makes.
CS570 Artificial Intelligence Semantic Web & Ontology 2
By Ahmet Can Babaoğlu Abdurrahman Beşinci.  Suppose you want to buy a Star wars DVD having such properties;  wide-screen ( not full-screen )  the extra.
RDF Tutorial.
Ontology Notes are from:
1 Introduction to XML. XML eXtensible implies that users define tag content Markup implies it is a coded document Language implies it is a metalanguage.
Dr. Alexandra I. Cristea RDF.
1 COS 425: Database and Information Management Systems XML and information exchange.
RDF Kitty Turner. Current Situation there is hardly any metadata on the Web search engine sites do the equivalent of going through a library, reading.
Semantic Web Presented by: Edward Cheng Wayne Choi Tony Deng Peter Kuc-Pittet Anita Yong.
The RDF meta model: a closer look Basic ideas of the RDF Resource instance descriptions in the RDF format Application-specific RDF schemas Limitations.
XML –Query Languages, Extracting from Relational Databases ADVANCED DATABASES Khawaja Mohiuddin Assistant Professor Department of Computer Sciences Bahria.
Module 2b: Modeling Information Objects and Relationships IMT530: Organization of Information Resources Winter, 2007 Michael Crandall.
4/20/2017.
Metadata Standards and Applications 4. Metadata Syntaxes and Containers.
XP New Perspectives on XML Tutorial 4 1 XML Schema Tutorial – Carey ISBN Working with Namespaces and Schemas.
RDF: Concepts and Abstract Syntax W3C Recommendation 10 February Michael Felderer Digital Enterprise.
RDF (Resource Description Framework) Why?. XML XML is a metalanguage that allows users to define markup XML separates content and structure from formatting.
Lecture 15 XML Validation. a simple element containing text attribute; attributes provide additional information about an element and consist of a name.
Chapter 16 The World Wide Web. 2 The Web An infrastructure of information combined and the network software used to access it Web page A document that.
16-1 The World Wide Web The Web An infrastructure of distributed information combined with software that uses networks as a vehicle to exchange that information.
Practical RDF Chapter 1. RDF: An Introduction
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.
The Semantic Web Service Shuying Wang Outline Semantic Web vision Core technologies XML, RDF, Ontology, Agent… Web services DAML-S.
INF 384 C, Spring 2009 Ontologies Knowledge representation to support computer reasoning.
Logics for Data and Knowledge Representation
What is XML?  XML stands for EXtensible Markup Language  XML is a markup language much like HTML  XML was designed to carry data, not to display data.
RDF and OWL Developing Semantic Web Services by H. Peter Alesso and Craig F. Smith CMPT 455/826 - Week 6, Day Sept-Dec 2009 – w6d21.
Intro. to XML & XML DB Bun Yue Professor, CS/CIS UHCL.
Chapter 27 The World Wide Web and XML. Copyright © 2004 Pearson Addison-Wesley. All rights reserved.27-2 Topics in this Chapter The Web and the Internet.
The LOM RDF binding – update Mikael Nilsson The Knowledge Management.
Metadata. Generally speaking, metadata are data and information that describe and model data and information For example, a database schema is the metadata.
Resource Description Framework (RDF) Course: Electronic Document Team member: Ding Feng Ding Wei Wang Ling Date:
Of 41 lecture 4: rdf – basics and language. of 41 RDF basic ideas the fundamental concepts of RDF  resources  properties  statements ece 720, winter.
Semantic Web - an introduction By Daniel Wu (danielwujr)
RDF and XML 인공지능 연구실 한기덕. 2 개요  1. Basic of RDF  2. Example of RDF  3. How XML Namespaces Work  4. The Abbreviated RDF Syntax  5. RDF Resource Collections.
More XML namespaces, DTDs CS 431 – Carl Lagoze – Cornell University.
Semantic web course – Computer Engineering Department – Sharif Univ. of Technology – Fall Knowledge Representation Semantic Web - Fall 2005 Computer.
Chapter 27 The World Wide Web and XML. Copyright © 2004 Pearson Addison-Wesley. All rights reserved.27-2 Topics in this Chapter The Web and the Internet.
EEL 5937 Ontologies EEL 5937 Multi Agent Systems Lecture 5, Jan 23 th, 2003 Lotzi Bölöni.
Ontology-Based Computing Kenneth Baclawski Northeastern University and Jarg.
The future of the Web: Semantic Web 9/30/2004 Xiangming Mu.
Introduction to the Semantic Web and Linked Data Module 1 - Unit 2 The Semantic Web and Linked Data Concepts 1-1 Library of Congress BIBFRAME Pilot Training.
Understanding RDF. 2/30 What is RDF? Resource Description Framework is an XML-based language to describe resources. A common understanding of a resource.
Metadata Common Vocabulary a journey from a glossary to an ontology of statistical metadata, and back Sérgio Bacelar
User Profiling using Semantic Web Group members: Ashwin Somaiah Asha Stephen Charlie Sudharshan Reddy.
Of 33 lecture 1: introduction. of 33 the semantic web vision today’s web (1) web content – for human consumption (no structural information) people search.
The RDF meta model Basic ideas of the RDF Resource instance descriptions in the RDF format Application-specific RDF schemas Limitations of XML compared.
COMP9321 Web Application Engineering Semester 2, 2015 Dr. Amin Beheshti Service Oriented Computing Group, CSE, UNSW Australia Week 4 1COMP9321, 15s2, Week.
Description of Information Resources: RDF/RDFS (an Introduction)
EEL 5937 Ontologies EEL 5937 Multi Agent Systems Lotzi Bölöni.
Working with XML. Markup Languages Text-based languages based on SGML Text-based languages based on SGML SGML = Standard Generalized Markup Language SGML.
The Semantic Web. What is the Semantic Web? The Semantic Web is an extension of the current Web in which information is given well-defined meaning, enabling.
OWL Web Ontology Language Summary IHan HSIAO (Sharon)
 XML derives its strength from a variety of supporting technologies.  Structure and data types: When using XML to exchange data among clients, partners,
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.
XML Extensible Markup Language
Semantic Web. P2 Introduction Information management facilities not keeping pace with the capacity of our information storage. –Information Overload –haphazardly.
Setting the stage: linked data concepts Moving-Away-From-MARC-a-thon.
Linked Data & Semantic Web Technology The Semantic Web Part 4. Resource Description Framework (1) Dr. Myungjin Lee.
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.
The Semantic Web By: Maulik Parikh.
Grid Computing 7700 Fall 2005 Lecture 18: Semantic Grid
Grid Computing 7700 Fall 2005 Lecture 18: Semantic Grid
Presentation transcript:

Chapter 5 The Semantic Web 1

The Semantic Web  Initiated by Tim Berners-Lee, the inventor of the World Wide Web.  A common framework that allows data to be shared and reused across application, enterprise, and community boundaries.  Link smaller elements of data and information and further assign meaning to the links between data elements. 2

Semantic Web Initiative To understand sentences is to represent Web content in a form that is  more easily machine-processible and  use intelligent techniques to take advantage of these representations. 3

Trend in Semantic Web  Providing a common syntax for machine understandable statements  Establishing common vocabularies  Agreeing on a logical language  Using the language for exchanging proofs 4

A layered Structure for the Semantic WEB A layered structure for Semantic Web  Unicode/URI  XML/Name Spaces/ XML Schema  RDF/RDF Schema  Ontology vocabulary  Logic  Proof  Trust 5

The layered-language model (Courtesy of W3C, 2001) 6

Unicode Unicode is a character set that provides a unique number to every character irrespective of the platform, program, and the language. 7

Generic URI syntax := : Example: Uniform Resource Identifiers (URIs) 8

9 Uniform Resource Names (URNs) Are special kinds of URIs that  map other namespaces into URN-space,  are required to remain globally unique and persistent,  can be specified in a single line of text,  have the scheme urn. := urn: : Examples  urn:isbn:  urn:newsml:reuters.com: :IIMFFH05643_ _ _L06154

10 Uniform Resource Locator (URL)  Another special type of URI  used to identify an Internet resource  Difference between URL, URN, and URI:  URL:  URN:  URI:

11 Markup Example of a web page of a Student Service Center

Explicit Metadata 12 Example of a web page of a Student Service Center

Ontology  Captures data relationships and their associated meaning  Is a specification of a conceptualization 13

Ontology An ontology is a precise narrative of concepts in a field of discourse ( classes or concepts ), properties of each concept narrating various features and attributes of the concept ( slots or roles or properties ), and restrictions on slots ( facets or role restrictions ). 14

Ontology development 15 Developing an ontology includes:  defining classes in the ontology  arranging the classes in a taxonomic (subclass–superclass) hierarchy  defining attributes/relationships and describing allowed values for these slots  filling in the values of slots for instances

Reasons for creating ontologies  to distribute common understanding of the information structure between individuals or software agents  to facilitate reuse of domain knowledge  to formulate exact domain assumptions  to split domain knowledge from operational knowledge  to analyze domain knowledge 16

Ontology language XML  presents syntax for structured documents but enforces no semantic constraints on the meaning of these documents.  is a Hierarchical data model  is a syntax specification for data markup  encloses data in tags  tags can relate to the meaning of the enclosed text  tags are extensible 17

Related Technologies  Document Type Definition (DTD)  XML Schema  DOM  XPath  XLinks  XPointers  XSLT 18

Advantages of XML  An XML document holds tags that indicate data types of every element.  It is straightforward to insert related data to a node in an XML document without formatting the document cumbersome.  There is nothing about XML that binds it to a specific operating system or technology.  There are numerous object-based parsers available for XML. 19

XML Example of a College CIS 20 An XML document college.xml

Data Model An ordered labeled tree 21

XML Schema A language for limiting the structure of XML documents. Constructs in an XML Schema:  simple type definitions  complex type definitions,  attribute  element declaration 22

Example of an XML schema 23

Illustration of XML Communication To maintain record of books by ISBN Hawking’s A brief history of time gives truly intimate glimpses into the intricacies of both the universe and Hawking himself. Database of books 24

XML Query Languages  path expression  Xpath, Xquery, XQL, and XML-QL  XPath  syntax for defining parts of an XML document  It uses path expressions to navigate in XML documents.  It includes almost 100 built-in functions and has become a W3C standard from

XML Document XML document college.xml 26

Tree Representation of an XML Document Tree representation for college.xml 27

XPath Query Language Query 1 : Select all lecturer elements. /college/lecturer  The expression selects all lecturer elements, which are children of the college element node that resides immediately below the root node. 28

Query 2 : Select all lecturer elements. //lecturer  In this expression, // says that you must consider every element in the document and check whether they are of type lecturer. This path expression selects all lecturer elements present anywhere in the document.  The tree representation of this query is identical to the tree representation of Query 1. XPath Query Language 29

Tree representation for Queries 1 and 2 30

XPath Query Language Query 3 : Select all courses with the title “Nonlinear Analysis”. Analysis"] Here, the test within square brackets restricts the set of selected nodes. The expression selects course elements with the title that satisfies a particular condition. 31

XPath Query Language Query 4 : Select all title attribute nodes within course elements anywhere in the document, which have the value “Nonlinear Analysis”.  This expression collects title attribute nodes of the course elements. The denotes the attribute nodes.  The tree representation of queries 3 and 4 is given in next figure. 32

Tree representation for Queries 3 and 4 33

RDF 34

What is RDF?  RDF stands for R esource D escription F ramework  RDF is a framework for describing resources on the web  RDF is designed to be read and understood by computers 35

What is RDF?  RDF is not designed for being displayed to people  RDF is written in XML  RDF is a part of the W3C's Semantic Web Activity  RDF is a W3C Recommendation 36

RDF document W3Schools Jan Egil Refsnes 37

RDF- Examples of use  Describing properties for shopping items, such as price and availability  Describing time schedules for web events  Describing information about web pages (content, author, created and modified date)  Describing content and rating for web pictures  Describing content for search engines  Describing electronic libraries 38

RDF Resource, Property, and Property value RDF identifies things using Web identifiers (URIs), and describes resources with properties and property values. 39

Explanation of Resource, Property, and Property value  A Resource is anything that can have a URI, such as "  A Property is a Resource that has a name, such as "author" or "homepage"  A Property value is the value of a Property, such as "Jan Egil Refsnes" or

Example Jan Egil Refsnes 41

RDF Statement The combination of a Resource, a Property, and a Property value forms a Statement (known as the subject, predicate and object of a Statement). 42

Example Statement: "The author of is Jan Egil Refsnes".  Subject :  Predicate : author  Object : Jan Egil Refsnes 43

RDF Graph  The underlying structure of any expression in RDF is a collection of triples, each consisting of a subject, a predicate and an object. A set of such triples is called an RDF graph  The direction of the arc is significant: it always points toward the object. 44

RDF Graph Example ols.com/rdf Jan Egil Refsnes author 45

RDF Graph 46

Use of RDF to Describe This Book 47 Using a graph to represent metadata

48 Metadata graph with URI references

49 Fragment of an RDF