Top Banner
RDF/XML Syntax Specificatio n Ming Jing Team W
17

RDF/XML Syntax Specification Ming Jing Team W. Tutorial Overview - Introduction - An XML Syntax for RDF - Syntax Data Model (*) Order - Concept and Standard.

Mar 26, 2015

Download

Documents

Jake McKinney
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: RDF/XML Syntax Specification Ming Jing Team W. Tutorial Overview - Introduction - An XML Syntax for RDF - Syntax Data Model (*) Order - Concept and Standard.

RDF/XML Syntax Specification

Ming Jing

Team W

Page 2: RDF/XML Syntax Specification Ming Jing Team W. Tutorial Overview - Introduction - An XML Syntax for RDF - Syntax Data Model (*) Order - Concept and Standard.

Tutorial Overview

- Introduction

- An XML Syntax for RDF

- Syntax Data Model (*)

• Order

- Concept and Standard

- Code and reletive triple, graph

• statement mode

- Global Issues(*)

Page 3: RDF/XML Syntax Specification Ming Jing Team W. Tutorial Overview - Introduction - An XML Syntax for RDF - Syntax Data Model (*) Order - Concept and Standard.

Tutorial Outline

• The idea and macroscopic view

• Example to be analyzed

• Concept mentioned

• Specific Syntax in used

Page 4: RDF/XML Syntax Specification Ming Jing Team W. Tutorial Overview - Introduction - An XML Syntax for RDF - Syntax Data Model (*) Order - Concept and Standard.

Differents in function extended from "RDF primer"

RDF primer:

This specification:

Mainly talked about the base concept and idea in useliteral, resource, node, blank node, property, xmlns, URI. etc...Mainly talked about the simple document construction an formworkthe child element of an ancestor element,etc...And talked about various ways to abbreviate the syntaxto make property [rdf:type],and so on...

New concept built for descrbing the syntax construcion will be givenMore essential defination of the document construction will be givenMore methods to make document concise will be introduced

Page 5: RDF/XML Syntax Specification Ming Jing Team W. Tutorial Overview - Introduction - An XML Syntax for RDF - Syntax Data Model (*) Order - Concept and Standard.

The essential of the RDF construction given

1-fundational thought "route":

2-method to abbreviate:

Any complete RDF graph is made up by several "route".The RDF document is stating these routes in order from the top to the bottom of the document.

abbr. makes the document conciser, more human-readable, and more flexible.Of course, this may confuse the beginners.

Page 6: RDF/XML Syntax Specification Ming Jing Team W. Tutorial Overview - Introduction - An XML Syntax for RDF - Syntax Data Model (*) Order - Concept and Standard.

A pibotal idea

Route

ex:editor

ex:homePage

Page 7: RDF/XML Syntax Specification Ming Jing Team W. Tutorial Overview - Introduction - An XML Syntax for RDF - Syntax Data Model (*) Order - Concept and Standard.

Tutorial Outline

• The idea and macroscopic view

• Concept mentioned

• Specific Syntax in used

• Example to be analyzed

Page 8: RDF/XML Syntax Specification Ming Jing Team W. Tutorial Overview - Introduction - An XML Syntax for RDF - Syntax Data Model (*) Order - Concept and Standard.

Concept mentioned in RDF

rdf:nodeID

rdf:ID

rdf:Description

rdf:RDF

rdf:type

rdf:datatype

rdf:about

rdf:Resource

a necessary tag when use RDF

to give URIref of subject resource

to start a statement of resource

addtion information of typed Literal

to mark a Uname node

state resource with relative URIref

this resource is instance of class

K E

Y W

O R

D S

to give URIref of property value

Page 9: RDF/XML Syntax Specification Ming Jing Team W. Tutorial Overview - Introduction - An XML Syntax for RDF - Syntax Data Model (*) Order - Concept and Standard.

Concept for descibing the struction

empty Element

Property Element

Property Attributes

Node Element

A element representing an arc in graph

A property and its value apear as attribute of a Node Element instead of apearing as a "Property Element"

a element without text between tags

K E

Y W

O R

D S

A element representing a node in graph

Essentially a format to abbreviate the property with literal whose value is literal instead of resource

Literal Excluded

Page 10: RDF/XML Syntax Specification Ming Jing Team W. Tutorial Overview - Introduction - An XML Syntax for RDF - Syntax Data Model (*) Order - Concept and Standard.

Tutorial Outline

• The idea and macroscopic view

• Example to be analyzed

• Concept mentioned

• Specific Syntax in used

Page 11: RDF/XML Syntax Specification Ming Jing Team W. Tutorial Overview - Introduction - An XML Syntax for RDF - Syntax Data Model (*) Order - Concept and Standard.

Omit TechnologyBasic technology:abbreviate the different routes which have the same trunk: route 1: a_b_c_d1 route 2: a_b_c_d2<a> <b> <c> <d1> </d1> </c> </b></a><a> <b> <c> <d2> </d2> </c> </b></a>

this is essentially route Mode (property element is omitted)

Omitted:<a> <b> <c> <d1/> <d2/> </c> </b></a>

Page 12: RDF/XML Syntax Specification Ming Jing Team W. Tutorial Overview - Introduction - An XML Syntax for RDF - Syntax Data Model (*) Order - Concept and Standard.

other omit technology: I. Empty property elements II. Property Attributes III. Property Attributes on empty Property Element IV. Reifying Statements

Omit Technology

Page 13: RDF/XML Syntax Specification Ming Jing Team W. Tutorial Overview - Introduction - An XML Syntax for RDF - Syntax Data Model (*) Order - Concept and Standard.

Tutorial Outline

• The idea and macroscopic view

• Example to be analyzed

• Concept mentioned

• Specific Syntax in used

Page 14: RDF/XML Syntax Specification Ming Jing Team W. Tutorial Overview - Introduction - An XML Syntax for RDF - Syntax Data Model (*) Order - Concept and Standard.

Example replaced by other specification

RDF Vocabulary

Page 15: RDF/XML Syntax Specification Ming Jing Team W. Tutorial Overview - Introduction - An XML Syntax for RDF - Syntax Data Model (*) Order - Concept and Standard.

RDF Document

Event 1Event 2Event 3

...

...

...End Root Event

N-Triples

IF well-formed

INFORSET

extract infoset by XPATH

Events sequence without child

element

Inforset Mapping

Children accessor recursively transformed

Final Mapped by RDF/XML grammar

Page 16: RDF/XML Syntax Specification Ming Jing Team W. Tutorial Overview - Introduction - An XML Syntax for RDF - Syntax Data Model (*) Order - Concept and Standard.

Q&A and Discussion TIME

Page 17: RDF/XML Syntax Specification Ming Jing Team W. Tutorial Overview - Introduction - An XML Syntax for RDF - Syntax Data Model (*) Order - Concept and Standard.