rdf/xml syntax specification ming jing team w. tutorial overview - introduction - an xml syntax for...
TRANSCRIPT
RDF/XML Syntax Specification
Ming Jing
Team W
Tutorial Overview
- Introduction
- An XML Syntax for RDF
- Syntax Data Model (*)
• Order
- Concept and Standard
- Code and reletive triple, graph
• statement mode
- Global Issues(*)
Tutorial Outline
• The idea and macroscopic view
• Example to be analyzed
• Concept mentioned
• Specific Syntax in used
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
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.
A pibotal idea
Route
ex:editor
ex:homePage
Tutorial Outline
• The idea and macroscopic view
• Concept mentioned
• Specific Syntax in used
• Example to be analyzed
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
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
Tutorial Outline
• The idea and macroscopic view
• Example to be analyzed
• Concept mentioned
• Specific Syntax in used
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>
other omit technology: I. Empty property elements II. Property Attributes III. Property Attributes on empty Property Element IV. Reifying Statements
Omit Technology
Tutorial Outline
• The idea and macroscopic view
• Example to be analyzed
• Concept mentioned
• Specific Syntax in used
Example replaced by other specification
RDF Vocabulary
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
Q&A and Discussion TIME