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

Slides:



Advertisements
Similar presentations
RDF Schemata (with apologies to the W3C, the plural is not ‘schemas’) CSCI 7818 – Web Technologies 14 November 2001 Van Lepthien.
Advertisements

The Semantic Web – WEEK 4: RDF
Introduction to RDF Based on tutorial at
RDF Tutorial.
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.
Chapter 3A Semantic Web Primer 1 Chapter 3 Describing Web Resources in RDF Grigoris Antoniou Frank van Harmelen.
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.
More RDF CS 431 – Carl Lagoze – Cornell University Acknowledgements: Eric Miller Dieter Fensel.
Chapter 7: Resource Description Framework (RDF) Service-Oriented Computing: Semantics, Processes, Agents – Munindar P. Singh and Michael N. Huhns, Wiley,
Resource Description Framework Building the Semantic Web CS 431 – Carl Lagoze – Cornell University Acknowledgements: Eric Miller Dieter Fensel.
Resource Description Framework ( RDF ) Xinxia An.
1 Resource Description Framework (RDF) Presented by Igor Tatarinov.
LDK R Logics for Data and Knowledge Representation Resource Description Framework (RDF) Fausto Giunchiglia and Biswanath Dutta Fall’2011.
Resource Description Framework (RDF)
Resource Description Framework (RDF) Lecture # 6 Faculty of Computer Science, IBA.
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.
Logics for Data and Knowledge Representation Resource Description Framework (RDF) Feroz Farazi.
Chapter 3 RDF Syntax 2. Topics Basic concepts of RDF Resources, properties, values, statements, triples URIs and URIrefs RDF graphs Literals, qnames Vocabularies.
Chapter 3 RDF Syntax. RDF Overview RDF Syntax -- the XML encoding RDF Syntax – variations including N3 RDF Schema (RDFS) Semantics of RDF and RDFS – Axiomatic.
OWL Representing Information Using the Web Ontology Language.
Logics for Data and Knowledge Representation
© Copyright 2008 STI INNSBRUCK RDF and RDF Schema Semantic Web Lecture Lecture III – xx 2009 Dieter Fensel Slides.
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.
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.
Chapter 3 RDF and RDFS Semantics. Introduction RDF has a very simple data model But it is quite liberal in what you can say Semantics can be given using.
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.
RDF & RDF Schema Machine Understandable Metadata for the Web Semantic Web - Spring 2006 Computer Engineering Department Sharif University of Technology.
Practical RDF Ch.6 Creating an RDF Vocabulary DongHyuk Im SNU OOPSLA Lab. Shelley Powers, O’Reilly August 19, 2004.
Of 35 lecture 5: rdf schema. of 35 RDF and RDF Schema basic ideas ece 627, winter ‘132 RDF is about graphs – it creates a graph structure to represent.
RDF Schema (RDFS) RDF user communities need to define the vocabularies (terms) to indicate that they  are describing specific kinds or classes of resources.
Introduction The Resource Description Framework (RDF) is recommended by the World Wide Web Consortium (W3C) to model meta-data about the resources of the.
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,
Dr. Alexandra I. Cristea RDF.
Important Concepts from the W3C RDF Vocabulary/Schema Sungtae Kim SNU OOPSLA Lab. August 19, 2004.
Description of Information Resources: RDF/RDFS (an Introduction)
RDF/RDFS Tutorial. Introduction The Resource Description Framework (RDF) is recommended by the World Wide Web Consortium (W3C) to model meta-data about.
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 ดร. มารุต บูรณรัช : หัวข้อพิเศษด้านเทคโนโลยีสารสนเทศขั้นสูง - เทคโนโลยีเว็บเชิงความหมาย.
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.
Chapter 3 RDF Syntax. RDF Overview RDF Syntax -- the XML encoding RDF Syntax – variations including N3 RDF Schema (RDFS) Semantics of RDF and RDFS – Axiomatic.
Practical RDF Chapter 4. Specialized RDF Relationships: Reification, Containers, and Collections Shelley Powers, O’Reilly SNU IDB Lab. Hyewon Lim.
Silterra, April 2004 RDF, RSS and all that THREADING THE RDF MAZE.
Semantic web course – Computer Engineering Department – Sharif Univ. of Technology – Fall RDF & RDF Schema Machine Understandable Metadata for the.
Knowledge Technologies Manolis Koubarakis 1 Some Other Useful Features of RDF.
Practical RDF Chapter 3. The Basic Elements Within the RDF/XML Syntax Shelley Powers, O’Reilly SNU IDB Lab. Hyewon Kim.
Other RDF Capabilities. Exercise: Write the following information into a set of statements (triples) and then draw them into and RDF graph The article.
Semantic Web In Depth Resource Description Framework Dr Nicholas Gibbins –
Linked Data & Semantic Web Technology The Semantic Web Part 7. RDF Semantics Dr. Myungjin Lee.
8.3.7 Compound Property Values Property values can be ▫Literals ▫Resource ▫Container ▫Collection, or… ▫Compound Value Compound Value ▫Has multiple value.
Linked Data & Semantic Web Technology The Semantic Web Part 4. Resource Description Framework (1) Dr. Myungjin Lee.
Service-Oriented Computing: Semantics, Processes, Agents
Charlie Abela Department of Intelligent Computer Systems
The Semantic Web Part 6. RDF Vocabularies: RDF Schema
Service-Oriented Computing: Semantics, Processes, Agents
Resource Description Framework
Turtle: Terse RDF Triple Language
Service-Oriented Computing: Semantics, Processes, Agents
Some Other Useful Features of RDF
Department of Artificial Intelligence
ece 720 intelligent web: ontology and beyond
Resource Description Framework (RDF)
Semantic Web Basics (cont.)
Presentation transcript:

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

Linked Data & Semantic Web Technology Typed Node – the resources described as instances of specific types or classes – being classified into different kinds or categories – by providing a predefined property, rdf:type rdf:type a resource that represents a category or class of things an instance of that category or class 2

Linked Data & Semantic Web Technology Abbreviation for Describing Typed Nodes How to describe abbreviation for typed nodes – the rdf:type property and its value are removed – the rdf:Description element is replaced by an element whose name is the QName corresponding to the value of the removed rdf:type property replaced rdf:type 3

Linked Data & Semantic Web Technology How to Describe Groups a need to describe groups of things – such as, a book was created by several authors to list the students in a course Vocabularies for groups – RDF Containers groups containing the members open list – RDF Collections groups containing only the specified members closed list 4

Linked Data & Semantic Web Technology RDF Containers – to describe groups containing the members Terms – Container a resource that contains things – Member the contained things resources (including blank nodes) or literals Three types of RDf Containers – rdf:Bag – rdf:Seq – rdf:Alt 5

Linked Data & Semantic Web Technology RDF Containers Bag – a resource having type rdf:Bag – a group of resources or literals, possibly including duplicate members – no significance in the order of the members Sequence – a resource having type rdf:Seq – a group of resources or literals, possibly including duplicate members – the order of the members is significant Alternative – a resource having type rdf:Alt – a group of resources or literals that are alternatives (typically for a single value of a property) 6

Linked Data & Semantic Web Technology How to Describe a Resource of Containers to give an rdf:type property whose value is one of the predefined resources rdf:Bag, rdf:Seq, or rdf:Alt to describe each member (item) with the container resource: – in RDF Graph using a container membership property rdf:_n, where n is a decimal integer greater than one – in RDF/XML using the rdf:li property 7

Linked Data & Semantic Web Technology Bag Container Description “Course has the students Amy, Mohamed, Johann, Maria, and Phuong” 8 <rdf:RDF xmlns:rdf=" xmlns:s=" <rdf:RDF xmlns:rdf=" xmlns:s="

Linked Data & Semantic Web Technology Alt Container Description “The source code for X11 may be found at ftp.example.org, ftp1.example.org, or ftp2.example.org” 9 <rdf:RDF xmlns:rdf=" xmlns:s=" <rdf:RDF xmlns:rdf=" xmlns:s="

Linked Data & Semantic Web Technology Seq Container Description “Schedules of Monday” 10 <rdf:RDF xmlns:rdf=" xmlns:s=" Meet with CEO at 10am Luncheon at The Eatery Flight at 3pm <rdf:RDF xmlns:rdf=" xmlns:s=" Meet with CEO at 10am Luncheon at The Eatery Flight at 3pm

Linked Data & Semantic Web Technology RDF Collections A limitation of the containers – no way to close resources such as, "these are all the members of the container“ – no way to exclude the possibility that there is another graph somewhere that describes additional members RDF Collections – for describing groups containing only the specified members – a group of things represented as a list structure in the RDF graph 11

Linked Data & Semantic Web Technology How to Describe a RDF Collection to be constructed using a predefined collection vocabulary – the predefined type rdf:List – the predefined properties rdf:first and rdf:rest – and the predefined resource rdf:nil "The students in course are Amy, Mohamed, and Johann" 12

Linked Data & Semantic Web Technology How to Describe RDF/XML for a Collection rdf:parseType attribute – to indicate that the contents of an element are to be interpreted in a special way rdf:parseType="Collection" attribute – a group of nested elements representing the members of the collection 13 <rdf:RDF xmlns:rdf=" xmlns:s=" <rdf:RDF xmlns:rdf=" xmlns:s="

Linked Data & Semantic Web Technology RDF Reification What is RDF Reifications? – to describe other RDF statements using RDF – such as, to record information about when statements were made, who made them, or other similar information 14 Obama says Northern Ireland requires urgent work.

Linked Data & Semantic Web Technology Reification Quad description of a statement, reification – the type rdf:Statement – the properties rdf:subject, rdf:predicate, and rdf:object “Obama says Northern Ireland requires urgent work.” 15 ex:triple12345 rdf:type rdf:Statement. ex:triple12345 rdf:subject ex:NorthernIreland. ex:triple12345 rdf:predicate ex:require. ex:triple12345 rdf:object ex:UrgentWork. ex:triple12345 rdf:type rdf:Statement. ex:triple12345 rdf:subject ex:NorthernIreland. ex:triple12345 rdf:predicate ex:require. ex:triple12345 rdf:object ex:UrgentWork.

Linked Data & Semantic Web Technology RDF/XML for RDF Reification “Obama says Northern Ireland requires urgent work.” 16 <rdf:RDF xmlns:rdf=" xmlns:ex=" <rdf:RDF xmlns:rdf=" xmlns:ex="

Linked Data & Semantic Web Technology Notes for RDF Reification Why we need RDF Reification? – Modeling Data Provenance – Formalizing Statements about Reliability (Trust) – Definition of Metadata about Statements the conventional use of reification – do not imagine that the vocabulary defines some things that are not actually defined 17

Linked Data & Semantic Web Technology Structured Values rdf:value Property – to describe the main value (if there is one) of a structured value How to add an indication of the unit of measure (kilograms) exproduct:item10245 exterms:weight "2.4"^^xsd:decimal. This is the decimal value of weight property using typed literal. exproduct:item10245 exterms:weight _:weight _:weight10245 rdf:value "2.4"^^xsd:decimal. _:weight10245 exterms:units exunits:kilograms. exproduct:item10245 exterms:weight _:weight _:weight10245 rdf:value "2.4"^^xsd:decimal. _:weight10245 exterms:units exunits:kilograms. 18

Linked Data & Semantic Web Technology RDF/XML for Structured Value rdf:parseType=“Resource” attribute – to indicate that the contents of an element are to be interpreted as the description of a new (blank node) resource, without a nested rdf:Description element 19 exproduct:item10245 exterms:weight _:weight _:weight10245 rdf:value "2.4"^^xsd:decimal. _:weight10245 exterms:units exunits:kilograms. exproduct:item10245 exterms:weight _:weight _:weight10245 rdf:value "2.4"^^xsd:decimal. _:weight10245 exterms:units exunits:kilograms. ]> <rdf:RDF xmlns:rdf=" xmlns:exterms=" 2.4 ]> <rdf:RDF xmlns:rdf=" xmlns:exterms=" 2.4

Linked Data & Semantic Web Technology XML Literal rdf:parseType=“Literal” attribute – to indicate that the contents of the element are to be interpreted as an XML fragment 20 <rdf:RDF xmlns:rdf=" xmlns:dc=" xml:base=" The <br /> Element Considered Harmful. <rdf:RDF xmlns:rdf=" xmlns:dc=" xml:base=" The <br /> Element Considered Harmful.

Linked Data & Semantic Web Technology RDF Serialization N-Triples – RDF Test Cases, W3C Recommendation, 10 February 2004 – a line-based, plain text serialization format for storing and transmitting RDF data Notation 3 (N3) – a shorthand non-XML serialization of RDF models, designed with human- readability in mind – much more compact and readable than XML RDF notation Turtle (Terse RDF Triple Language) – W3C Candidate Recommendation, 19 February 2013 – a format for expressing data in the Resource Description Framework (RDF) data model – a subset of Notation3 (N3) language, and a superset of the minimal N-Triples format RDF/XML – W3C Recommendation, 10 February 2004 – an XML syntax for writing down and exchanging RDF graphs 21

Linked Data & Semantic Web Technology 22 "Tony Benn". "Wikipedia". "Tony Benn". "Wikipedia". <rdf:RDF xmlns:rdf=" xmlns:dc=" Tony Benn Wikipedia <rdf:RDF xmlns:rdf=" xmlns:dc=" Tony Benn dc:. dc:title "Tony Benn"; dc:publisher dc:. dc:title "Tony Benn"; dc:publisher ex:. dc:title "RDF/XML Syntax Specification (Revised)" ; ex:editor [ ex:fullname "Dave Beckett", "Dave R. Beckett"; ex:homePage ex:. dc:title "RDF/XML Syntax Specification (Revised)" ; ex:editor [ ex:fullname "Dave Beckett", "Dave R. Beckett"; ex:homePage ]. N-Triple RDF/XML N3 Turtle

Linked Data & Semantic Web Technology References

Linked Data & Semantic Web Technology 24 Dr. Myungjin Lee Twitter : Facebook : SlideShare :