170 likes | 339 Views
RDF/XML Syntax Specification. Ming Jing Team W. Tutorial Overview. • Order. - Introduction. - An XML Syntax for RDF. - Global Issues (*). - Syntax Data Model (*). • statement mode. - Concept and Standard. - Code and reletive triple, graph. Tutorial Outline.
E N D
RDF/XML Syntax Specification Ming Jing Team W
Tutorial Overview • Order - Introduction - An XML Syntax for RDF - Global Issues(*) - Syntax Data Model (*) • statement mode - Concept and Standard - Code and reletive triple, graph
Tutorial Outline • The idea and macroscopic view • Concept mentioned • Specific Syntax in used • Example to be analyzed
Differents in function extended from "RDF primer" RDF primer: Mainly talked about the base concept and idea in use literal, resource, node, blank node, property, xmlns, URI. etc... Mainly talked about the simple document construction an formwork the child element of an ancestor element,etc... And talked about various ways to abbreviate the syntax to make property [rdf:type],and so on... This specification: New concept built for descrbing the syntax construcion will be given More essential defination of the document construction will be given More methods to make document concise will be introduced
The essential of the RDF construction given 1-fundational thought "route": 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. 2-method to abbreviate: 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 K E Y W O R D S rdf:RDF a necessary tag when use RDF to give URIref of property value rdf:Resource rdf:about to give URIref of subject resource rdf:Description to start a statement of resource rdf:datatype addtion information of typed Literal to mark a Uname node rdf:nodeID state resource with relative URIref rdf:ID this resource is instance of class rdf:type
Concept for descibing the struction Literal Excluded K E Y W O R D S A element representing a node in graph Node Element Property 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" Property Attributes empty Element a element without text between tags Essentially a format to abbreviate the property with literal whose value is literal instead of resource
Tutorial Outline • The idea and macroscopic view • Concept mentioned • Specific Syntax in used • Example to be analyzed
Omit Technology Basic 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>
Omit Technology other omit technology: I. Empty property elements II. Property Attributes III. Property Attributes on empty Property Element IV. Reifying Statements
Tutorial Outline • The idea and macroscopic view • Concept mentioned • Specific Syntax in used • Example to be analyzed
Example replaced by other specification RDF Vocabulary
Events sequence without child element INFORSET Final Mapped by RDF/XML grammar extract infoset by XPATH Inforset Mapping Children accessor recursively transformed RDF Document Event 1 Event 2 Event 3 ... ... ... End Root Event N-Triples IF well-formed