Linked Data & Semantic Web Technology The Semantic Web Part 4. Resource Description Framework (1) Dr. Myungjin Lee.

Slides:



Advertisements
Similar presentations
RDF/XML Syntax Specification Ming Jing Team W. Tutorial Overview - Introduction - An XML Syntax for RDF - Syntax Data Model (*) Order - Concept and Standard.
Advertisements

UKOLN, University of Bath
The Semantic Web – WEEK 4: RDF
Knowledge Technologies Manolis Koubarakis
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
RDF Tutorial.
RDF formats for Linked Data by Mabi Harandi. RDF is not a format, it is a model for data So: It will provide supports for different formats like :  Turtle.
Chapter 3 RDF Syntax 1. Topics Basic concepts of RDF resources, properties, values, statements, triples URIs and URIrefs RDF graphs Literals and Qnames.
Dr. Alexandra I. Cristea RDF.
State of the Art in Semantic Web standards and technologies Andreas Duscher.
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.
RDF: Building Block for the Semantic Web Jim Ellenberger UCCS CS5260 Spring 2011.
Sunday, June 28, 2015 Abdelali ZAHI : FALL 2003 : XML Schemas XML Schemas Presented By : Abdelali ZAHI Instructor : Dr H.Haddouti.
Resource Description Framework ( RDF ) Xinxia An.
Module 2b: Modeling Information Objects and Relationships IMT530: Organization of Information Resources Winter, 2007 Michael Crandall.
Master Informatique 1 Semantic Technologies Part 3RDF/XML: Encoding RDF into XML Werner Nutt.
Metadata Standards and Applications 4. Metadata Syntaxes and Containers.
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.
Chapter 3 RDF Syntax 2. Topics Basic concepts of RDF Resources, properties, values, statements, triples URIs and URIrefs RDF graphs Literals, qnames Vocabularies.
INF 384 C, Spring 2009 Ontologies Knowledge representation to support computer reasoning.
OWL Representing Information Using the Web Ontology Language.
Logics for Data and Knowledge Representation
By: Dan Johnson & Jena Block. RDF definition What is Semantic web? Search Engine Example What is RDF? Triples Vocabularies RDF/XML Why RDF?
The RDF/XML Serialization RDF statements can be written in RDF/XML very much like descriptions in non-RDF XML XML is increasingly used in all kinds of.
RDF (Resource Description Framework). 2 Table of Contents  Introduction  Basic RDF –Basic RDF Model –Basic Syntax  Containers  Statements about Statements.
CC L A W EB DE D ATOS P RIMAVERA 2015 Lecture 2: RDF Model & Syntax Aidan Hogan
Of 41 lecture 4: rdf – basics and language. of 41 RDF basic ideas the fundamental concepts of RDF  resources  properties  statements ece 720, winter.
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.
Practical RDF Chapter 2. RDF: Heart and Soul Shelley Powers, O’Reilly SNU IDB Lab. Taikyoung Kim.
Part I. Resource and AAA In the Semantic Web, anything is a ‘resource’ if anything can be said about it by anyone for any purpose The AAA slogan applies.
The Semantic Web and expert metadata: pull apart then bring together Presented at 12.seminar Arhivi, Knjižnice, Muzeji Nov 2008, Pore č, Croatia.
Chapter 7: Resource Description Framework (RDF) Service-Oriented Computing: Semantics, Processes, Agents – Munindar P. Singh and Michael N. Huhns, Wiley,
RDF Containers In N3, we could say that Ed (with id 21) and Bill (with id 34) created a certain document
Semantic Web Exam 1 Review.
EEL 5937 Ontologies EEL 5937 Multi Agent Systems Lecture 5, Jan 23 th, 2003 Lotzi Bölöni.
RDF Schema (RDFS) RDF user communities need to define the vocabularies (terms) to indicate that they  are describing specific kinds or classes of resources.
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.
Chapter 7: Resource Description Framework (RDF) Service-Oriented Computing: Semantics, Processes, Agents – Munindar P. Singh and Michael N. Huhns, Wiley,
Problems with XML & XML Schemas XML falls apart on the Scalability design goal. 1.The order in which elements appear in an XML document is significant.
Practical RDF Ch.2 Junwon Jung SNU OOPSLA Lab. Shelley Powers, O’Reilly August 5, 2004.
Practical RDF Ch.4 Specialized RDF Relationships: Reification, Containers, and Collections Kim, Jong-Nam SNU OOPSLA Lab. August 12, 2004.
Doc.: IEEE /0169r0 Submission Joe Kwak (InterDigital) Slide 1 November 2010 Slide 1 Overview of Resource Description Framework (RFD/XML) Date:
RDF Syntax and examples ดร. มารุต บูรณรัช : หัวข้อพิเศษด้านเทคโนโลยีสารสนเทศขั้นสูง - เทคโนโลยีเว็บเชิงความหมาย.
RDF & SPARQL Introduction Dongfang Xu Ph.D student, School of Information, University of Arizona Sept 10, 2015.
EEL 5937 Ontologies EEL 5937 Multi Agent Systems Lotzi Bölöni.
Chapter 3 RDF. Introduction Problem: What does an XML document mean? – XML is about data structures – Their meaning (semantics) is not apparent to a machine.
Motivation Dynamically identify and understand information sources Provide interoperability between agents in a semantic manner Enable distributed extensible.
1 RDF, XML & interoperability Metadata : a reprise Communities, communication & XML An introduction to RDF RDF, XML and interoperability.
Silterra, April 2004 RDF, RSS and all that THREADING THE RDF MAZE.
Practical RDF Chapter 3. The Basic Elements Within the RDF/XML Syntax Shelley Powers, O’Reilly SNU IDB Lab. Hyewon Kim.
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.
Linked Data & Semantic Web Technology The Semantic Web Part 5. Resource Description Framework (2) Dr. Myungjin Lee.
Semantic Web In Depth Resource Description Framework Dr Nicholas Gibbins –
8.3.7 Compound Property Values Property values can be ▫Literals ▫Resource ▫Container ▫Collection, or… ▫Compound Value Compound Value ▫Has multiple value.
Setting the stage: linked data concepts Moving-Away-From-MARC-a-thon.
Knowledge Technologies Manolis Koubarakis 1 An Introduction to RDF.
Service-Oriented Computing: Semantics, Processes, Agents
Charlie Abela Department of Intelligent Computer Systems
Chapter 2 RDF Syntax 1.
Service-Oriented Computing: Semantics, Processes, Agents
Resource Description Framework
Service-Oriented Computing: Semantics, Processes, Agents
CmpE 583- Web Semantics: Theory and Practice INTRODUCTION TO RDF
CC La Web de Datos Primavera 2016 Lecture 2: RDF Model & Syntax
Resource Description Framework (RDF)
Presentation transcript:

Linked Data & Semantic Web Technology The Semantic Web Part 4. Resource Description Framework (1) Dr. Myungjin Lee

Linked Data & Semantic Web Technology Problem of XML Park Ji Sung has the phone number (+82)  We need a method to represent data on abstract level. Park Ji Sung (+82) Park Ji Sung (+82) (+82) (+82)

Linked Data & Semantic Web Technology Problem of XML Park Ji Sung has the phone number (+82)  We need a method to represent semantics of data. Park Ji Sung (+82) Park Ji Sung (+82) Park Ji Sung (+82) Park Ji Sung (+82) Park Ji Sung (+82) Park Ji Sung (+82)

Linked Data & Semantic Web Technology Basic Concept of Knowledge Representation has a creator whose value is John Smith – the thing the statement describes (the Web page, in this case) – a specific property (creator, in this case) of the thing the statement describes – the thing the statement says is the value of this property (who the creator is), for the thing the statement describes intuitive knowledge representation with directed graph John Smith creator

Linked Data & Semantic Web Technology RDF (Resource Description Framework) to be used as a general method for conceptual description or modeling of information that is implemented in web resources, using a variety of syntax notations and data serialization formats based on the idea that the things being described have properties which have values, and that resources can be described by making statements

Linked Data & Semantic Web Technology Terminology for the Various Parts of Statements has a creator whose value is John Smith – the subject is the URL – the predicate is the word "creator" – the object is the phrase "John Smith" John Smith creator

Linked Data & Semantic Web Technology Two Things for Processing by Machines a system of machine-processable identifiers for identifying a subject, predicate, or object in a statement without any possibility of confusion with a similar-looking identifier that might be used by someone else on the Web.  Use URI (Uniform Resource Identifier) a machine-processable language for representing these statements and exchanging them between machines.  Use XML syntax

Linked Data & Semantic Web Technology Use URIs RDF uses URIs as the basis of its mechanism for identifying the subjects, predicates, and objects in statements. URI references (URIref) – a URI, together with an optional fragment identifier at the end –

Linked Data & Semantic Web Technology Use the XML Syntax To represent RDF statements in a machine-processable way, RDF uses the Extensible Markup Language. RDF/XML – for use in representing RDF information, and for exchanging it between machines – and to delimit the text content Eric Miller and Dr.

Linked Data & Semantic Web Technology Statements English Statement – has a creator whose value is John Smith RDF Statement – a subject – a predicate – and an object RDF Graph Model – a node for the subject – a node for the object – an arc for the predicate, directed from the subject node to the object node

Linked Data & Semantic Web Technology Groups of Statements has a creation-date whose value is August 16, has a language whose value is English

Linked Data & Semantic Web Technology Triple an alternative way of writing down the statements written as a simple triple of subject, predicate, and object, in that order. "August 16, 1999". "en".. "August 16, 1999". "en".

Linked Data & Semantic Web Technology Shorthand Way of Writing Triples QName (XML Qualified Name) – a valid identifier for elements and attributes – a prefix that has been assigned to a namespace URI, followed by a colon, and then a local name For Example, – prefix dc:, namespace URI: – prefix ex:, namespace URI: – prefix exterms:, namespace URI: – prefix exstaff:, namespace URI: ex:index.htmldc:creatorexstaff: ex:index.htmlexterms:creation-date"August 16, 1999". ex:index.htmldc:language"en". ex:index.htmldc:creatorexstaff: ex:index.htmlexterms:creation-date"August 16, 1999". ex:index.htmldc:language"en".

Linked Data & Semantic Web Technology Structure of Statements Subject URI reference Predicate URI reference Object URI reference or Literal Statement

Linked Data & Semantic Web Technology URIref and Literal URIref – to identify the things – shown as ellipses – not only the subject of the original statement, but also the predicate and object Literal – constant values represented by character strings – shown as boxes – Literals may not be used as subjects or predicates in RDF statements.

Linked Data & Semantic Web Technology Literal Plain Literal – a string combined with an optional language tag Types Literal – a string combined with a datatype URI – based on XML Schema datatypes

Linked Data & Semantic Web Technology XML Schema Datatypes Namespace of XML Schema – Datatypes Simple TypeExamples stringConfirm this is electric integer...-1, 0, 1,... long ,... -1, 0, 1, float-INF, -1E4, -0, 0, 12.78E-2, 12, INF, NaN date time13:20:00.000, 13:20: :00 booleantrue, false, 1, 0

Linked Data & Semantic Web Technology Blank Nodes a way to represent multi-valued relationships Why we need blank nodes? – structured information consisting of separate values exstaff:85740 exterms:address"1501 Grant Avenue, Bedford, Massachusetts 01730". exstaff:85740 exterms:address exaddressid: exaddressid:85740 exterms:street "1501 Grant Avenue". exaddressid:85740 exterms:city "Bedford". exaddressid:85740 exterms:state "Massachusetts". exaddressid:85740 exterms:postalCode "01730". exstaff:85740 exterms:address exaddressid: exaddressid:85740 exterms:street "1501 Grant Avenue". exaddressid:85740 exterms:city "Bedford". exaddressid:85740 exterms:state "Massachusetts". exaddressid:85740 exterms:postalCode "01730". the node itself provides the necessary connectivity between the various other parts of the graph

Linked Data & Semantic Web Technology Blank Nodes exstaff:85740 exterms:address _:johnaddress. _:johnaddress exterms:street "1501 Grant Avenue". _:johnaddress exterms:city "Bedford". _:johnaddress exterms:state "Massachusetts". _:johnaddress exterms:postalCode "01730". exstaff:85740 exterms:address _:johnaddress. _:johnaddress exterms:street "1501 Grant Avenue". _:johnaddress exterms:city "Bedford". _:johnaddress exterms:state "Massachusetts". _:johnaddress exterms:postalCode "01730". blank node identifiers, having the form _:name, to indicate the presence of blank nodes

Linked Data & Semantic Web Technology Example of Blank Nodes An actor appears two movies as different roles. movie:TomCruisemovie:JackReacher movie:appear movie:TopGun movie:JackReachermovie:LTPeteMitchell movie:appear movie:role movie:TomCruise movie:JackReacher movie:appear movie:TopGun movie:JackReacher movie:LTPeteMitchell movie:appear movie:role movie:hasMovie

Linked Data & Semantic Web Technology RDF/XML – an XML syntax for writing down and exchanging RDF graphs – the normative syntax for writing RDF has a creation-date whose value is August 16, 1999 ex:index.html exterms:creation-date "August 16, 1999" <rdf:RDF xmlns:rdf=" 3. xmlns:exterms=" August 16, <rdf:RDF xmlns:rdf=" 3. xmlns:exterms=" August 16, English Statement RDF Graph Triple RDF/XML

Linked Data & Semantic Web Technology <rdf:RDF xmlns:rdf=" 3. xmlns:exterms=" August 16, <rdf:RDF xmlns:rdf=" 3. xmlns:exterms=" August 16, XML Declaration Root Element of RDF/XML Document Namespace for RDF Vocabularies Another XML Namespace Declaration RDF Statement Element for Description of a Resource Attribute to specify the URIref of the Subject Subject of Statement Property of Statement Plain Literal Value of Statement RDF/XML Document

Linked Data & Semantic Web Technology RDF/XML for Two Statements ex:index.html exterms:creation-date "August 16, 1999". ex:index.html dc:language "en". ex:index.html exterms:creation-date "August 16, 1999". ex:index.html dc:language "en" <rdf:RDF xmlns:rdf=" 3. xmlns:dc=" 4. xmlns:exterms=" August 16, en <rdf:RDF xmlns:rdf=" 3. xmlns:dc=" 4. xmlns:exterms=" August 16, en Triples RDF/XML

Linked Data & Semantic Web Technology Abbreviating Multiple Properties ex:index.html dc:creator exstaff: ex:index.html exterms:creation-date "August 16, 1999". ex:index.html dc:language "en". ex:index.html dc:creator exstaff: ex:index.html exterms:creation-date "August 16, 1999". ex:index.html dc:language "en" <rdf:RDF xmlns:rdf=" 3. xmlns:dc=" 4. xmlns:exterms=" August 16, en <rdf:RDF xmlns:rdf=" 3. xmlns:dc=" 4. xmlns:exterms=" August 16, en Triples RDF/XML RDF Graph Attribute to indicates that the property element's value is another resource

Linked Data & Semantic Web Technology RDF/XML Describing a Blank Node <rdf:RDF xmlns:rdf=" 3. xmlns:dc=" 4. xmlns:exterms=" RDF/XML Syntax Specification (Revised) Dave Beckett <rdf:RDF xmlns:rdf=" 3. xmlns:dc=" 4. xmlns:exterms=" RDF/XML Syntax Specification (Revised) Dave Beckett Attribute to declare and refer a blank node

Linked Data & Semantic Web Technology Anonymous Blank Nodes <rdf:RDF xmlns:rdf=" 3. xmlns:dc=" 4. xmlns:exterms=" RDF/XML Syntax Specification (Revised) Dave Beckett <rdf:RDF xmlns:rdf=" 3. xmlns:dc=" 4. xmlns:exterms=" RDF/XML Syntax Specification (Revised) Dave Beckett Attribute to declare Anonymous blank node

Linked Data & Semantic Web Technology RDF/XML Using a Typed Literal ex:index.html exterms:creation-date " "^^xsd:date <rdf:RDF xmlns:rdf=" 3. xmlns:exterms=" <exterms:creation-date rdf:datatype= " <rdf:RDF xmlns:rdf=" 3. xmlns:exterms=" <exterms:creation-date rdf:datatype= " Attribute to specify the datatype

Linked Data & Semantic Web Technology Defining Base URI XML Base – facility for defining base URIs for parts of XML documents – to specify a base URI other than the base URI of the document or external entity ]> 3. <rdf:RDF xmlns:rdf=" 4. xmlns:exterms=" 5. xml:base=" Overnighter ]> 3. <rdf:RDF xmlns:rdf=" 4. xmlns:exterms=" 5. xml:base=" Overnighter “Overnighter”^^&xsd;string exterms:model 2^^&xsd;integer exterms:sleeps

Linked Data & Semantic Web Technology rdf:ID Attribute – to specify a fragment identifier, given by the value of the rdf:ID attribute – interpreted relative to a base URI appending the character " # " ]> 3. <rdf:RDF xmlns:rdf=" 4. xmlns:exterms=" 5. xml:base=" Overnighter ]> 3. <rdf:RDF xmlns:rdf=" 4. xmlns:exterms=" 5. xml:base=" Overnighter “Overnighter”^^&xsd;string exterms:model 2^^&xsd;integer exterms:sleeps

Linked Data & Semantic Web Technology rdf:ID and rdf:about The two forms are essentially synonyms: the full URIref formed by RDF/XML is the same in either case. Using rdf:ID provides an additional check when assigning a set of distinct names. – A given value of the rdf:ID attribute can only appear once relative to the same base URI.

Linked Data & Semantic Web Technology References