Jonathan Borden The Open Healthcare Group

Slides:



Advertisements
Similar presentations
CH-4 Ontologies, Querying and Data Integration. Introduction to RDF(S) RDF stands for Resource Description Framework. RDF is a standard for describing.
Advertisements

The Semantic Web – WEEK 4: RDF
Introduction to RDF Based on tutorial at
XML Technology in E-Commerce
RDF Tutorial.
XML eXtensible Markup Language ©2010 Paula Schales.
Dr. Alexandra I. Cristea RDF.
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.
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.
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.
LDK R Logics for Data and Knowledge Representation Resource Description Framework (RDF) Fausto Giunchiglia and Biswanath Dutta Fall’2011.
Resource Description Framework (RDF) Lecture # 6 Faculty of Computer Science, IBA.
Nancy Ide Vassar College USA Resource Definition Framework A Tutorial EUROLAN 2003 July 28 - August 8 Bucharest - Romania.
Metadata Standards and Applications 4. Metadata Syntaxes and Containers.
Visual Models for Knowledge Engineering Madalina Croitoru
Introduction to RDF Jonathan Borden The Open Healthcare Group the “Resource Description Framework”
Scientific Markup Languages Birds of a Feather A 10-Minute Introduction to XML Timothy W. Cole Mathematics Librarian & Professor of.
Okech Odhiambo Faculty of Information Technology Strathmore University
Logics for Data and Knowledge Representation
The Resource Description Framework And its application to thegateway.org For the IIAP Jon Jablonski, Research Assistant The Information.
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.
Chapter 7: Resource Description Framework (RDF) Service-Oriented Computing: Semantics, Processes, Agents – Munindar P. Singh and Michael N. Huhns, Wiley,
RDF & RDF Schema Machine Understandable Metadata for the Web Semantic Web - Spring 2006 Computer Engineering Department Sharif University of Technology.
Introduction The Resource Description Framework (RDF) is recommended by the World Wide Web Consortium (W3C) to model meta-data about the resources of the.
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,
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.
Important Concepts from the W3C RDF Vocabulary/Schema Sungtae Kim SNU OOPSLA Lab. August 19, 2004.
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.
Pete Johnston, Eduserv Foundation 16 April 2007 An Introduction to the DCMI Abstract Model JISC.
Representing Data with XML February 26, 2004 Neal Arthorne.
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.
Introduction to RDF Jonathan Borden The Open Healthcare Group the “Resource Description Framework”
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.
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.
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 Publishing on the Semantic Web Dr Nicholas Gibbins
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 –
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.
Setting the stage: linked data concepts Moving-Away-From-MARC-a-thon.
Extensible Markup Language (XML) Pat Morin COMP 2405.
Service-Oriented Computing: Semantics, Processes, Agents
Charlie Abela Department of Intelligent Computer Systems
Service-Oriented Computing: Semantics, Processes, Agents
Resource Description Framework
Service-Oriented Computing: Semantics, Processes, Agents
RDF For Semantic Web Dhaval Patel 2nd Year Student School of IT
Department of Artificial Intelligence
ece 720 intelligent web: ontology and beyond
RDF & RDF Schema Machine Understandable Metadata for the Web
Resource Description Framework (RDF)
Semantic Web Basics (cont.)
Presentation transcript:

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

RDF predicate Subject Object

WWW c. 1989

Model A model is a set of statements Statement := (predicate,subject,object) Predicate is a resource Subject is a resource Object is either a resource or a literal Object = Predicate(Subject)

Resource From RFC 2396: Resource 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 A resource is identified by a URI The resource identified by a URI may be abstract - I.e. not network retrievable Resource is distinct from entity resolved at any particular time http://www.openhealth.org/RDF/

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

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

Node labeled Directed Graph root 1 element element x foo attribute bar attribute element attribute href baz x attribute <root> <foo href=“…” x=“1” /> <bar x=“2” y=“3”> <baz z=“aaa”/> </bar> y attribute z 3 aaa

A standard syntax to represent (edge labeled) directed graphs in XML 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 A way to represent natural language circa 1970s A format for organizing statements in a way that can be queries by computers

Semantic Networks spine has heart vertebrate isa wings hair mammal bird fly walk can isa isa isa doesn’t fly yellow canary ostrich freddie hugo

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

RDF Schemas Semantic networks on the Web Nodes are identified by URIs rdfs:Class rdfs:Property rdfs:subClassOf rdf:type

Simplified Healthcare Schema <rdfs:Class rdf:ID=“Provider”> <rdfs:subClassOf rdf:resource=“#Person”/> </rdfs:Class>

Simplified Healthcare Schema

Healthcare Schema

Describing things with RDF <rdf:Description about=“http://www.openhealth.org/RDF/rdfExtractify.xsl”> <dc:author>Jonathan Borden</dc:author> <dc:description>An XSLT based parser which converts an arbitrary XML document into RDF Statements</dc:description> </rdf:Description>

Describing things with RDF http://www.openhealth.org/RDF/rdfExtractify.xsl author description Jonathan Borden An XSLT based ...

RDF Statements <rdf:Statement> </rdf:Statement> <rdf:subject resource=“http://www.openhealth.org/RDF/rdfExtractify.xsl”> <rdf:predicate resource=“http://www.purl.org/dublin-core#author”> <rdf:object>Jonathan Borden</rdf:object> </rdf:Statement>

RSS: RDF Typed nodes <rdf:RDF> <channel rdf:about="http://www.xml.com/xml/news.rss"> <title>The xml.com site</title> <link>http://xml.com/pub</link> <description> XML.com features a rich mix of information and services for the XML community. </description> </channel> </rdf:RDF>

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

Rich/RDF Site Summary 1.0 <item rdf:about="http://xml.com/pub/2000/08/09/xslt/xslt.html" position="1"> <inchannel rdf:resource="http://www.xml.com/xml/news.rss"/> <title>Processing Inclusions with XSLT</title> <link>http://xml.com/pub/2000/08/09/xslt/xslt.html</link> <description> Processing document inclusions with general XML tools can be problematic. This article proposes a way of preserving inclusion information through SAX-based processing. </description> </item>

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

rdf:Bag <rdf:Bag ID=“foo”> </rdf:Bag> <rdf:li>The first member</rdf:li> <rdf:li rdf:resource=“http://foo.org” /> <rdf:li>The third member</rdf:li> </rdf:Bag>

The Bag The first member _1 _2 foo http://foo.org _3 The third member

Xlink and RDF Simple Xlink xlink:arcrole := predicate xlink:href := object xlink:role := rdf:type of object

Resource Directory Description Language (RDDL) <rddl:resource id=“example” xlink:arcrole=“…#schema-validation” xlink:role=“http://www.w3.org/2001/XMLSchema” xlink:href=“…myschema.xsd”> </rddl:resource>

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

XML Namespaces RDF and RDDL

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

Namespace Traditionally defined as a set of names W3C recommendation defines a partition but no set

Resource Directory Description Language (RDDL) Proposed as a solution to what a namespace name URI ought reference Both human and machine readable XHTML Basic + XLink resources Parsers available two weeks after initial proposal An XML-DEV project

RDDL Proposed January 2001 Adopted by namespaces such as XML Schema, Schematron, RSS, Examplotron, XSLT Extension framework, SWAG http://www.rddl.org/

RDDL resource <rddl:resource id=“myschema” xl:role=“http://www.w3.org/2001/XMLSchema” xl:arcrole=“http://www.rddl.org/purposes#schema-validation” -- Purpose xl:title=“My XML Schema” -- Nature > <p>This is my XML Schema</p> </rddl:resource>

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

XSLT resource <rddl:resource xl:role=“http://www.w3.org/1999/XSL/Transform” xl:arcrole=“http://purl.org/rss/1.0” xl:href=“toRSS.xsl” >

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

RDDL Defines XML namespace as a set of resources Simple model and syntax namespace documentation is readable by people and programs easy conversion to RDF A simple “Semantic Web” application

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

Extracting RDF from Colloquial XML rdfExtractify.xsl ID and about name subject nodes rdf:resource names object nodes Using XPointer to name anonymous nodes

‘Colloquial XML’ <patient ID=“Patient12345”> <person.name> <given>Jonathan</given> <family>Borden</family> <primary.care.physician> <provider ...

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

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

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

RDF Model, XML Syntax and Schema A semantic metadata framework Everything has a URI

uses good simple way to represent complex data (healthcare) newsfeeds (RSS) shared calendars collaboration (RDFIG, ePinions) ontologies (wordnet, UMLS) “Semantic Web” stuff