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.

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

Natural Language Systems, Department of Informatics, University of Hamburg NATS IR in WWW Dozentin: C. Vertan Autor: M. Hoffmann RDF Resource Description.
Copyright © 2003 Pearson Education, Inc. Slide 5-1 Created by Cheryl M. Hughes, Harvard University Extension School Cambridge, MA The Web Wizards Guide.
Transforming XML XMLNamespaces, XSLT. XML Namespaces Sometimes it is necessary to mix XML elements –Different types of content –Use of markup to convey.
February Harvesting RDF metadata Building digital library portals with harvested metadata workshop EU-DL All Projects concertation meeting DELOS.
Dr. Alexandra I. Cristea CS 253: Topics in Database Systems: C3.
XML Schema Heewon Lee. Contents 1. Introduction 2. Concepts 3. Example 4. Conclusion.
CH-4 Ontologies, Querying and Data Integration. Introduction to RDF(S) RDF stands for Resource Description Framework. RDF is a standard for describing.
RDF Schemata (with apologies to the W3C, the plural is not ‘schemas’) CSCI 7818 – Web Technologies 14 November 2001 Van Lepthien.
The Semantic Web – WEEK 4: RDF
17 Apr 2002 XML Namespaces Andy Clark. The Problem Documents use different vocabularies – Example 1: CD music collection – Example 2: online order transaction.
Introduction to RDF Based on tutorial at
An Introduction to RDF(S) and a Quick Tour of OWL
An Introduction to Semantic Web Portal
E © 2002 Dario Aganovic Resource Description Framework Schema (RDFS) Dario Aganovic Industrial PhD-student NPI Production Kista, Ericsson AB and Production.
CS570 Artificial Intelligence Semantic Web & Ontology 2
RDF – RESOURCE DESCRIPTION FRAMEWORK Antonio Bucchiarone FBK-IRST Trento, Italy 20 Novembre 2009.
RDFa: Embedding RDF Knowledge in HTML Some content from a presentation by Ivan Herman of the W3c, Introduction to RDFa, given at the 2011 Semantic Technologies.
Web Services Seminar: Service Description Languages
Introduction to RDF and RDFS Editor: MR 3 Susumu Tamagawa OSM 2011, Lecture and Exercise, Web Intelligence.
XML Namespaces Kanda Runapongsa Dept. of Computer Engineering Khon Kaen University.
The Vision and Basic Technologies of the Semantic Web.
Shelley Powers, O’Reilly SNU IDB Lab. Hyewon Kim
SPECIAL TOPIC XML. Introducing XML XML (eXtensible Markup Language) ◦A language used to create structured documents XML vs HTML ◦XML is designed to transport.
ESDSWG2011 – Semantic Web session Semantic Web Sub-group Session ESDSWG 2011 Meeting – Semantic Web sub-group session Wednesday, November 2, 2011 Norfolk,
Языки описания информации Лекция ХХХ. Кафедра «ОСУ» Весенний семестр 2010/2011 уч. года RDF схемы.
RDF Tutorial.
CSCE Ontology Development Lecture 03 Semantic Web CSCE 510 April 29, 2013 Figure from Model Driven Architecture and Ontology Development.
Quratulain Rajput Faculty of Computer Science, IBA Spring2013
An Introduction to XML Based on the W3C XML Recommendations.
XML XML What XML is and what it means to me as a Computer Scientist By: Derek Edwards CS 376 March 10, 2003.
Chapter 3 RDF Syntax 1. Topics Basic concepts of RDF resources, properties, values, statements, triples URIs and URIrefs RDF graphs Literals and Qnames.
Ontology Notes are from:
Dr. Alexandra I. Cristea RDF.
RDF: Data Description With HTML, the Web is for reading With XML, the Web is for processing Necessary to know  who wrote this?  who owns it?  who authorised.
Introduction to XML Rashmi Kukanur. XML XML stands for Extensible Markup Language XML was designed to carry data XML and HTML designed with different.
Nancy Ide Vassar College USA Resource Definition Framework A Tutorial EUROLAN 2003 July 28 - August 8 Bucharest - Romania.
XP New Perspectives on XML Tutorial 4 1 XML Schema Tutorial – Carey ISBN Working with Namespaces and Schemas.
Visual Models for Knowledge Engineering Madalina Croitoru
RDF (Resource Description Framework) Why?. XML XML is a metalanguage that allows users to define markup XML separates content and structure from formatting.
IS432 Semi-Structured Data Lecture 5: XSLT Dr. Gamal Al-Shorbagy.
CIS 375—Web App Dev II XSL. 2 XSL Introduction XSL stands for _____________________________. XSL is the language used for manipulating and displaying.
1 XML An Overview Roger Debreceny University of Hawai`i Skip White University of Delaware XBRL Workshop, August 2006.
RDF – RESOURCE DESCRIPTION FRAMEWORK Antonio Bucchiarone FBK-IRST Trento, Italy 01Dicembre 2009.
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.
EEL 5937 Ontologies EEL 5937 Multi Agent Systems Lecture 5, Jan 23 th, 2003 Lotzi Bölöni.
1 Tutorial 14 Validating Documents with Schemas Exploring the XML Schema Vocabulary.
Understanding RDF. 2/30 What is RDF? Resource Description Framework is an XML-based language to describe resources. A common understanding of a resource.
Internet & World Wide Web How to Program, 5/e. © by Pearson Education, Inc. All Rights Reserved.2.
Introduction to HTML Year 8. What is HTML O Hyper Text Mark-up Language O The language that all the elements of a web page are written in. O It describes.
Dr. Alexandra I. Cristea RDF.
Dr. Bhavani Thuraisingham September 24, 2008 Building Trustworthy Semantic Webs Lecture #9: RDF and RDF Security.
Doc.: IEEE /0169r0 Submission Joe Kwak (InterDigital) Slide 1 November 2010 Slide 1 Overview of Resource Description Framework (RFD/XML) Date:
Tutorial 2: XML Working with Namespaces. 2 Name Collision This figure shows two documents each with a Name element.
Semantic Web 06 T 0006 YOSHIYUKI Osawa. Problem of current web  limits of search engines Most web pages are only groups of character strings. Most web.
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.
Other RDF Capabilities. Exercise: Write the following information into a set of statements (triples) and then draw them into and RDF graph The article.
XML Namespaces In this first lesson XML Namespaces, you will learn to:
1 Extensible Stylesheet Language (XSL) Extensible Stylesheet Language (XSL)
RDF RESOURCE DESCRIPTION FRAMEWORK Scott Ainsworth & Louis Nguyen Old Dominion University, CS 791: Web Syndication Formats, February 20,
Linked Data & Semantic Web Technology The Semantic Web Part 4. Resource Description Framework (1) Dr. Myungjin Lee.
Charlie Abela Department of Intelligent Computer Systems
SPARQL.
Chapter 7 Representing Web Data: XML
Namespace Review 21-Nov-18.
RDF 1.1 Concepts and Abstract Syntax
Namespace Review 29-Dec-18.
Lecture #6: RDF and RDF Security Dr. Bhavani Thuraisingham
Namespace Review 14-Oct-19.
New Perspectives on XML
Presentation transcript:

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 use of URIs to identify web resources and is written in XML RDF is a web standard

C. Abela RDF Tutorial3 Designed to be read by Computers RDF was designed to provide a common way to describe information so it can be read (and understood) by computer applications. RDF descriptions are not designed to be displayed on the web.

C. Abela RDF Tutorial4 Makes use of URIs RDF uses a URI (Uniform Resource Identifier) to identify a web resource, and properties to describe the resource Unlike URLs, URIs are not limited to identifying things that have a network location A URI reference (URIref) is a URI, together with an optional fragment identifier at the end.

C. Abela RDF Tutorial5 Simple Example Jan Egil Refsnes November 1, 1999 February 1, 2004

C. Abela RDF Tutorial6 Example explained In the example: the URI " default.asp" is used to identify a web page, the property "author" describes the author of the page, the property value is "Jan Egil Refsnes". The property "created" tells when the page was created, and the property "modified" when it was last modified.

C. Abela RDF Tutorial7 Subject, Predicate & Object RDF terminology also use the words subject, predicate and object. The resource is the subject The property "author" is the predicate The value "Jan Egil Refsnes" is the object

C. Abela RDF Tutorial8 Example 2 <rdf:RDF xmlns:rdf=" ns#" xmlns:cd=" <rdf:Description rdf:about=" Burlesque"> Bob Dylan USA Columbia

C. Abela RDF Tutorial9 Example 2 (cont) <rdf:Description rdf:about=" your heart"> Bonnie Tyler UK CBS Records

C. Abela RDF Tutorial10 List of Triples NumberSubjectPredicateObject 1http:// Burlesquehttp:// Dylan" 2http:// Burlesquehttp:// 3http:// Burlesquehttp:// 4http:// Burlesquehttp:// 5http:// Burlesquehttp://

C. Abela RDF Tutorial11 Directed Graph Representation Using RDF Validator:

C. Abela RDF Tutorial12 Details of Example 2 The first line in the XML file is the XML declaration, telling the version of XML. The rdf:RDF element indicates that the content is RDF. The xmlns:rdf namespace, specifies that tags with the rdf: prefix are from the namespace defined by " syntax-ns#". The xmlns:cd namespace, specifies that tags with the cd: prefix are from the namespace defined by " The rdf:Description element contains the description of a resource identified by the rdf:about attribute. The cd:artist element describes a property of the resource, and so does cd:country, etc.

C. Abela RDF Tutorial13 Main Elements The RDF Element The RDF element is the root of the RDF document. It defines the XML document to be an RDF document and contains a reference to the xmlns:rdf namespace:.. Description goes here. The root element must always have a reference to the RDF namespace: ns#

C. Abela RDF Tutorial14 Main Elements (cont) The Description Element The Description element describes a resource. The about attribute identifies the resource. Property elements are used to describe the resource In example 2: The property elements (artist, country, company, price, and year) are defined in the namespace xmln:cd.

C. Abela RDF Tutorial15 RDF Container Elements The Bag Element The Bag element contains an unordered list of value elements The Seq Element The Seq element contains an ordered list of value elements The Alt Element The Alt element contains a list of alternative values for an element

C. Abela RDF Tutorial16 rdf:Bag

C. Abela RDF Tutorial17 rdf:Bag graph

C. Abela RDF Tutorial18 RDF Collections An RDF collection is a group of things represented as a list structure in the RDF graph. A list structure constructed using a predefined collection vocabulary consisting of predefined type rdf:List, predefined properties rdf:first and rdf:rest, predefined resource rdf:nil. In RDF/XML, a collection can be described by a property element that has the attribute rdf:parseType="Collection", and that contains a group of nested elements representing the members of the collection.

C. Abela RDF Tutorial19 RDF Collections RDF/XML

C. Abela RDF Tutorial20 RDF Collections Graph

C. Abela RDF Tutorial21 RDF Schema RDF Schema provides the framework to describe application-specific classes and properties Classes in RDF Schema are much like classes in object oriented programming languages. This allows resources to be defined as instances of classes, and subclasses of classes

C. Abela RDF Tutorial22 RDFS example <rdf:RDF xmlns:rdf= " xmlns:rdfs=" xml:base= "

C. Abela RDF Tutorial23 Next lecture Introduction to OWL