Chapter 3 RDF Syntax 1. Topics Basic concepts of RDF resources, properties, values, statements, triples URIs and URIrefs RDF graphs Literals and Qnames.

Slides:



Advertisements
Similar presentations
UKOLN, University of Bath
Advertisements

CH-4 Ontologies, Querying and Data Integration. Introduction to RDF(S) RDF stands for Resource Description Framework. RDF is a standard for describing.
Steffen Staab 1WeST Web Science & Technologies University of Koblenz ▪ Landau, Germany Structured Data on the Web Introduction to.
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
Introduction to RDF Based on tutorial at
1 Resource Description Framework (RDF) By David Wilczynski, USC, Based on:
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
XML Namespaces Kanda Runapongsa Dept. of Computer Engineering Khon Kaen University.
ESDSWG2011 – Semantic Web session Semantic Web Sub-group Session ESDSWG 2011 Meeting – Semantic Web sub-group session Wednesday, November 2, 2011 Norfolk,
Quratulain Rajput Faculty of Computer Science, IBA Spring2013
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.
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.
RDF: Building Block for the Semantic Web Jim Ellenberger UCCS CS5260 Spring 2011.
The RDF meta model: a closer look Basic ideas of the RDF Resource instance descriptions in the RDF format Application-specific RDF schemas Limitations.
Resource Description Framework ( RDF ) Xinxia An.
Module 2b: Modeling Information Objects and Relationships IMT530: Organization of Information Resources Winter, 2007 Michael Crandall.
Nancy Ide Vassar College USA Resource Definition Framework A Tutorial EUROLAN 2003 July 28 - August 8 Bucharest - Romania.
UKOLUG - July Metadata for the Web RDF and the Dublin Core Andy Powell UKOLN, University of Bath UKOLN.
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.
RDF Data Sources (keyword textbox) Search RDF Data Sources: LOM Binding Schemas (keyword textbox) Search XML Bindings: Dublin Core Application Profiles.
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
ISBD for the Semantic Web: namespaces, elements, vocabularies, application profile Gordon Dunsire Presented at Centar zu Stalno Stručno Usavršavanje (CSSU),
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.
Semantic web course – Computer Engineering Department – Sharif Univ. of Technology – Fall Knowledge Representation Semantic Web - Fall 2005 Computer.
Turtle – RDF Graph. Turtle – Basic Syntax Triples are terminated with a full stop URLs are encoded in angle brackets ( ) Literals are enclosed by double.
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.
EEL 5937 Ontologies EEL 5937 Multi Agent Systems Lecture 5, Jan 23 th, 2003 Lotzi Bölöni.
CS621 : Artificial Intelligence Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture 9 Continuation of Logic and Semantic Web.
Introduction The Resource Description Framework (RDF) is recommended by the World Wide Web Consortium (W3C) to model meta-data about the resources of the.
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.
The RDF meta model Basic ideas of the RDF Resource instance descriptions in the RDF format Application-specific RDF schemas Limitations of XML compared.
1 © The ATHENA Consortium. Resource Description Framework (RDF) A language for making simple statements about things (resources) Statements:
Practical RDF Ch.2 Junwon Jung SNU OOPSLA Lab. Shelley Powers, O’Reilly August 5, 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 ดร. มารุต บูรณรัช : หัวข้อพิเศษด้านเทคโนโลยีสารสนเทศขั้นสูง - เทคโนโลยีเว็บเชิงความหมาย.
CS621 : Artificial Intelligence Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture 12 RDF, OWL, Minimax.
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.
Knowledge Technologies Manolis Koubarakis 1 Some Other Useful Features of RDF.
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.
Semantic Web In Depth Resource Description Framework Dr Nicholas Gibbins –
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.
Knowledge Technologies Manolis Koubarakis 1 An Introduction to RDF.
Charlie Abela Department of Intelligent Computer Systems
Knowledge Representation Part V RDF
Chapter 2 RDF Syntax 1.
Resource Description Framework
Grid Computing 7700 Fall 2005 Lecture 18: Semantic Grid
Chapter 9 Web Services: JAX-RPC, WSDL, XML Schema, and SOAP
CC La Web de Datos Primavera 2016 Lecture 2: RDF Model & Syntax
RDF 1.1 Concepts and Abstract Syntax
Grid Computing 7700 Fall 2005 Lecture 18: Semantic Grid
Resource Description Framework (RDF)
Presentation transcript:

Chapter 3 RDF Syntax 1

Topics Basic concepts of RDF resources, properties, values, statements, triples URIs and URIrefs RDF graphs Literals and Qnames Vocabularies and modeling URIrefs as vocabularies Data modeling IN RDF Serialization of RDF graphs: XML, Turtle, …

What is RDF? A data model for representing information (esp. metadata) about resources in the Web Can represent information about things that can be identified on the Web, even when not retrievable (e.g., a book) Usecases: provide data for applications rather than directly to people

RDF Basics Core idea: identify resources using Web identifiers and describing resources in terms of simple properties and property values To identify resources, RDF uses Uniform Resource Identifiers (URIs) and URI references (URIrefs). Definition: A resource is anything that is identifiable by a URIref

Example Consider the following information: “there is a Person identified by whose name is Eric Miller, whose address is and whose title is Dr.”

Example (cont’d)

Basics The resources being described have properties which have values, and that resources can be described by making statements that specify those properties and values The part that identifies the thing the statement is about is the subject The part that identifies the property of the subject the statement specifies is the predicate The part that identifies the property’s value is the object

Example 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”

RDF Triples RDF statements can be written as triples The simple ntriples notation has a set of triples terminated by a period, where URI’s are givin inside angle bracketsntriples. "August 16, 1999". "en".

URIs and URIREFs

Uniform Resource Identifiers (URIs) URIs identify resources on the Web Unlike URLs, they aren’t limited to identifying things with network locations No organization controls who makes URIs or how they can be used Some URI schemes (http: URL’s) depend on centralized systems such as DNS Others are completely decentralized

URI Reference (URIref) A URIref is a URI with an optional fragment identifier at the end, e.g: Fragment usecase: – In HTML a # fragment refers to a place in the page – In RDF we can use fragments to refer to resources in a RDF graph that the URI denotes, e.g., subjects, predicates or objects : vocabulary for describing topics : the broader concept in SKOS Core vocabulary Like URLs, URIrefs may be either absolute or relative – Note: the empty URI refers to the resource it’s in

URIrefs in RDF (cont’d) RDF and Browsers use URIrefs to identify things, but interpret URIrefs slightly differently: – Browsers also use URIrefs to retrieve things – RDF uses URIrefs only to identify things and these might not even be retrievable Linked Data best practice is to use HTTP URIs that return RDF data for every URI – – curl –I – curl –H "Accept:application/rdf+xml”

RDF Graphs

RDF models statements by nodes and arcs in a graph A statement is represented by a node for the subject, a node for the object and an arc for the predicate (subject => object) A node may be identified by a URIref or it can be a literal or a blank node An arc is identified by a URIref Note: We will draw RDF graphs as directed graphs – But an arc can be the subject of an RDF statement – :has_parent owl:inverseOf :has_child

Example Consider the following statements: – has a creation-date whose value is August 16, – has a language whose value is English.

The RDF Graph of the Example

RDF and Related Data Models In terms of the relational model, an RDF statement is like a tuple in a relation Graph with columns Subject, Predicate, Object For first-order logic, an RDF statement is like an atomic formula triple(subj, pred, obj) where triple is a FOL predicate and subj, pred and obj are constants – Alternativedly: pred(subj, obj)

Literals and QNames

Literals What is 27? Number or string?

Plain and Typed Literals There are two kinds of literals: plain and typed Plain literals have a lexical form (their lexical value) and optionally a language tag, e.g: – “ 27 ”, “Hello RDF typed literals are formed by pairing a string with a URIref for a particular datatype, e.g.: – “27”^^ – ”27"^^xsd:int

Data Types for Literals In practice, the most widely used data typing scheme will be the one by XML Schema – But the use of any externally defined data typing scheme is allowed in RDF documents XML Schema predefines a large range of data types – E.g. Booleans, integers, floating-point numbers, times, dates, etc.

XMLSchema Datatypes

Qnames for URIrefs The ntriples notation results in very long lines We can use an XML qualified name (QName) w/o brackets for a full URI reference – – dbp:Alan_Turing A Qname has a prefix that has been assigned to a namespace URI, followed by a colon, and then a local name. The concepts of names and namespaces used in RDF originate in XML

Topics Basic concepts of RDF resources, properties, values, statements, triples URIs and URIrefs RDF graphs Literals and QNames Vocabularies and modeling URIrefs as vocabularies Data modeling IN RDF Serialization of RDF graphs: XML, Turtle, …