Presentation is loading. Please wait.

Presentation is loading. Please wait.

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

Similar presentations


Presentation on theme: "Introduction to RDF Jonathan Borden The Open Healthcare Group www.openhealth.org the “Resource Description Framework”"— Presentation transcript:

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

2 RDF SubjectObject predicate

3 WWW c. 1989

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

5 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.

6 Resource zA resource is defined by a URI zThe resource identified by a URI may be abstract - I.e. not network retrievable zhttp://www.openhealth.org/RDF/

7 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)

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

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

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

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

12 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?”

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

14 Simplified Healthcare Schema

15 Simplified Healthcare Schema

16 Healthcare Schema

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

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

19 RDF Statements Jonathan Borden

20 RSS: RDF Typed nodes XML.com http://xml.com/pub XML.com features a rich mix of information and services for the XML community.

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

22 Rich/RDF Site Summary 1.0 Processing Inclusions with XSLT http://xml.com/pub/2000/08/09/xslt/xslt.html Processing document inclusions with general XML tools can be problematic. This article proposes a way of preserving inclusion information through SAX-based processing.

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

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

25 ‘Colloquial XML’ Jonathan Borden <provider...

26 RDF Graph: ‘anonymous’ nodes Person12345 Jonathan Borden person.name first last value PersonName Literal Person

27 Using XPointer to name Person12345 /1/1 /1/1/1 /1/1/2 Jonathan Borden person.name first last value PersonName Literal Person

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


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

Similar presentations


Ads by Google