Introduction to RDF Jonathan Borden The Open Healthcare Group www.openhealth.org the “Resource Description Framework”

Slides:



Advertisements
Similar presentations
UKOLN, University of Bath
Advertisements

W3C and RDF. Why OCLC is a W3C Member Access to networked information resources –the browser and online access –the breath and depth of networked information.
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
RDF Schemata (with apologies to the W3C, the plural is not ‘schemas’) CSCI 7818 – Web Technologies 14 November 2001 Van Lepthien.
Processing of structured documents Part 8. 2 Resource Description Framework (RDF) zWeb was originally built for human consumption yalthough everything.
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.
An Introduction to Semantic Web Portal
XML Technology in E-Commerce
CS570 Artificial Intelligence Semantic Web & Ontology 2
1 Web Data Management XML Schema. 2 In this lecture XML Schemas Elements v. Types Regular expressions Expressive power Resources W3C Draft:
Shelley Powers, O’Reilly SNU IDB Lab. Hyewon Kim
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.
Ontology Notes are from:
XML eXtensible Markup Language ©2010 Paula Schales.
Dr. Alexandra I. Cristea RDF.
COMP 6703 eScience Project Semantic Web for Museums Student : Lei Junran Client/Technical Supervisor : Tom Worthington Academic Supervisor : Peter Strazdins.
XML, XSL, XSLT, XHTML and others By Sean Hunter. Why XML?  XML was created to be a quick and easy way to provide structured data over the web.  Existing.
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: 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.
The Semantic Web Week 12 Term 1 Recap Lee McCluskey, room 2/07 Department of Computing And Mathematical Sciences Module Website:
The RDF meta model: a closer look Basic ideas of the RDF Resource instance descriptions in the RDF format Application-specific RDF schemas Limitations.
Module 2b: Modeling Information Objects and Relationships IMT530: Organization of Information Resources Winter, 2007 Michael Crandall.
National libraries and identity in the Semantic Web Gordon Dunsire BNE, Madrid, 14 Dec 2011.
Metadata Standards and Applications 4. Metadata Syntaxes and Containers.
RDF (Resource Description Framework) Why?. XML XML is a metalanguage that allows users to define markup XML separates content and structure from formatting.
Chapter 6 Text and Multimedia Languages and Properties
Scientific Markup Languages Birds of a Feather A 10-Minute Introduction to XML Timothy W. Cole Mathematics Librarian & Professor of.
Practical RDF Chapter 1. RDF: An Introduction
Logics for Data and Knowledge Representation
Intro. to XML & XML DB Bun Yue Professor, CS/CIS UHCL.
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.
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.
Semantic Web Technologies Web Site syllabus still developing - Readings.
EEL 5937 Ontologies EEL 5937 Multi Agent Systems Lecture 5, Jan 23 th, 2003 Lotzi Bölöni.
RDF & RDF Schema Machine Understandable Metadata for the Web Semantic Web - Spring 2006 Computer Engineering Department Sharif University of Technology.
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.
User Profiling using Semantic Web Group members: Ashwin Somaiah Asha Stephen Charlie Sudharshan Reddy.
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.
Metadata : an overview XML and Educational Metadata, SBU, London, 10 July 2001 Pete Johnston UKOLN, University of Bath Bath, BA2 7AY UKOLN is supported.
Unit 3 — Advanced Internet Technologies Lesson 11 — Introduction to XSL.
Description of Information Resources: RDF/RDFS (an Introduction)
Practical RDF Ch.4 Specialized RDF Relationships: Reification, Containers, and Collections Kim, Jong-Nam SNU OOPSLA Lab. August 12, 2004.
Pete Johnston, Eduserv Foundation 16 April 2007 An Introduction to the DCMI Abstract Model JISC.
Doc.: IEEE /0169r0 Submission Joe Kwak (InterDigital) Slide 1 November 2010 Slide 1 Overview of Resource Description Framework (RFD/XML) Date:
Representing Data with XML February 26, 2004 Neal Arthorne.
EEL 5937 Ontologies EEL 5937 Multi Agent Systems Lotzi Bölöni.
Introduction to RDF Jonathan Borden The Open Healthcare Group the “Resource Description Framework”
Lecture 23 XQuery 1.0 and XPath 2.0 Data Model. 2 Example 31.7 – User-Defined Function Function to return staff at a given branch. DEFINE FUNCTION staffAtBranch($bNo)
Semantic web course – Computer Engineering Department – Sharif Univ. of Technology – Fall RDF & RDF Schema Machine Understandable Metadata for the.
OWL Web Ontology Language Summary IHan HSIAO (Sharon)
RDFa Primer Bridging the Human and Data webs Presented by: Didit ( )
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.
Semantic Interoperability in GIS N. L. Sarda Suman Somavarapu.
XML Extensible Markup Language
Linked Data Publishing on the Semantic Web Dr Nicholas Gibbins
Linked Data Publishing on the Semantic Web Dr Nicholas Gibbins
Semantic Web In Depth Resource Description Framework Dr Nicholas Gibbins –
Setting the stage: linked data concepts Moving-Away-From-MARC-a-thon.
XML: Extensible Markup Language
XML Related Technologies
Jonathan Borden The Open Healthcare Group
RDF For Semantic Web Dhaval Patel 2nd Year Student School of IT
Resource Description Framework (RDF)
Presentation transcript:

Introduction to RDF Jonathan Borden The Open Healthcare Group the “Resource Description Framework”

RDF SubjectObject predicate

WWW c. 1989

Model zA model is a set of statements zStatement := (predicate,subject,object) zPredicate is a resource zSubject is a resource zObject is either a resource or a literal zObject = Predicate(Subject)

Resource zFrom RFC 2396: zResource A resource can be anything that has identity. Familiar examples include an electronic document, an image, a service (e.g., "today's weather report for Los Angeles"), and a collection of other resources. Not all resources are network "retrievable"; e.g., human beings, corporations, and bound books in a library can also be considered resources. The resource is the conceptual mapping to an entity or set of entities, not necessarily the entity which corresponds to that mapping at any particular instance in time. Thus, a resource can remain constant even when its content---the entities to which it currently corresponds---changes over time, provided that the conceptual mapping is not changed in the process.

Resource zA resource is identified by a URI zThe resource identified by a URI may be abstract - I.e. not network retrievable zResource is distinct from entity resolved at any particular time zhttp://

URI reference z[absoluteURI | relativeURI] [“#” fragment-id]

Edge Labeled Directed Graphs foo bar baz bop bing isa has wants plays (isa, foo, bar) (has, bar, baz) (plays, baz, bop) (wants, baz, bing)

Node labeled Directed Graph root foo bar baz href x y x z element attribute aaa 1 3

RDF is... A standard syntax to represent (edge labeled) directed graphs in XML

RDF Model can be thought of as.. … a simplified XML Infoset

Semantic Networks zA way to represent natural language circa 1970s zA format for organizing statements in a way that can be queries by computers

Semantic Networks vertebrate mammal bird canaryostrich heart spine hair fly wings walk doesn’t fly yellow isa has can freddiehugo isa

Semantic Networks z“Can freddy fly?” z“Does hugo have wings?” z“Does freddy have a spine?” z“Of all the canaries, how many live in cages?”

RDF Schemas zSemantic networks on the Web zNodes are identified by URIs zrdfs:Class zrdfs:Property zrdfs:subClassOf zrdf:type

Simplified Healthcare Schema

Simplified Healthcare Schema

Healthcare Schema

Describing things with RDF Jonathan Borden An XSLT based parser which converts an arbitrary XML document into RDF Statements

Describing things with RDF An XSLT based... Jonathan Borden description author

RDF Statements Jonathan Borden

RSS: RDF Typed nodes The xml.com site XML.com features a rich mix of information and services for the XML community.

Typed nodes rss:channel Class subClassOf type rss:title Property The xml.com site title domain

Rich/RDF Site Summary 1.0 Processing Inclusions with XSLT Processing document inclusions with general XML tools can be problematic. This article proposes a way of preserving inclusion information through SAX-based processing.

RDF Collections zrdf:Bag - an unordered collection that may have repeated members zrdf:Seq - an ordered collection zrdf:Alt - a collection of alternates

rdf:Bag z y The first member y y The third member z

The Bag foo The first member The third member _1 _2 _3

Xlink and RDF zSimple Xlink zxlink:arcrole := predicate zxlink:href := object zxlink:role := rdf:type of object

Resource Directory Description Language (RDDL) z<rddl:resource yid=“example” yxlink:arcrole=“…#schema-validation” yxlink:role=“ ema” yxlink:href=“…myschema.xsd”> z

Xlink as RDF #example myschema.xsd XMLSchema rdf:type rddl:resource #schema rdf:type

XML Namespaces RDF and RDDL

XML Namespaces zW3C Recommendation zNamespace name is a URI reference zNamespace URI might be dereferencable but what should it reference?

Namespace zTraditionally defined as a set of names zW3C recommendation defines a partition but no set

Resource Directory Description Language (RDDL) zProposed as a solution to what a namespace name URI ought reference zBoth human and machine readable zXHTML Basic + XLink resources zParsers available two weeks after initial proposal zAn XML-DEV project

RDDL zProposed January 2001 zAdopted by namespaces such as XML Schema, Schematron, RSS, Examplotron, XSLT Extension framework, SWAG zhttp://

RDDL resource z<rddl:resource yid=“myschema” yxl:role=“ yxl:arcrole =“ -validation” -- Purpose yxl:title =“My XML Schema” -- Nature y> y This is my XML Schema z

RDDL zDisplays in popular HTML browsers zDefines a namespace as a formal set of terms (id=“foo”) zReferenced resource described by its intrinsic nature and purpose within the namespace

XSLT resource z<rddl:resource yxl:role=“ orm” yxl:arcrole=“ yxl:href=“toRSS.xsl” y>

Java resources z<rddl:resource yxl:role=“…application/java-archive” yxl:arcrole=“…purposes/software#xslt- extension” yxl:href=“thisNS-xslt-extension.jar” y> The xslt extensions bound to this namespace are packaged in a JAR y

RDDL zDefines XML namespace as a set of resources zSimple model and syntax znamespace documentation is readable by people and programs zeasy conversion to RDF zA simple “Semantic Web” application

Warning!! Slightly advanced topics ahead. This is your last chance to exit.

Extracting RDF from Colloquial XML zrdfExtractify.xsl zID and about name subject nodes zrdf:resource names object nodes zUsing XPointer to name anonymous nodes

‘Colloquial XML’ Jonathan Borden <provider...

RDF Graph: ‘anonymous’ nodes Person12345 Jonathan Borden person.name given family value PersonName Literal Person

Using XPointer to name Person12345 /1/1 /1/1/1 /1/1/2 Jonathan Borden person.name given family value PersonName Literal Person

Using XPointer for collections z#foo/1 z#foo/2 z#foo/3

RDF zModel, XML Syntax and Schema zA semantic metadata framework zEverything has a URI

uses zgood simple way to represent complex data (healthcare) znewsfeeds (RSS) zshared calendars zcollaboration (RDFIG, ePinions) zontologies (wordnet, UMLS) z“Semantic Web” stuff