㳿

[ 1 ] [ 2 ] [ 3 ] [ 4 ] [ 5 ] [ 6 ] [ 7 ] [ 8 ] [ 9 ] [ 10 ] [ 11 ] [ 12 ] [ 13 ] [ 14 ] [ 15 ]
[ 16 ] [ 17 ] [ 18 ] [ 19 ] [ 20 ] [ 21 ] [ 22 ] [ 23 ] [ 24 ] [ 25 ] [ 26 ] [ 27 ] [ 28 ] [ 29 ] [ 30 ] [ 31 ] [ 32 ]
[ 33 ] [ 34 ] [ 35 ] [ 36 ] [ 37 ] [ 38 ] [ 39 ] [ 40 ] [ 41 ] [ 42 ] [ 43 ] [ 44 ] [ 45 ] [ 46 ] [ 47 ] [ 48 ] [ 49 ] [ 50 ]

RDF :

[1] RDF ::= ['<rdf:RDF>'] description* ['</rdf:RDF>']
 [2] description ::= '<rdf:Description' idAboutAttr? '>' propertyElt*
 '</rdf:Description>'
 [3] idAboutAttr ::= idAttr | aboutAttr
 [4] aboutAttr ::= 'about="' URI-reference '"'
 [5] idAttr ::= 'ID="' IDsymbol '"'
 [6] propertyElt   ::= '<' propName '>' value '</' propName '>'
 | '<' propName resourceAttr '/>'
 [7] propName ::= Qname
 [8] value ::= description | string
 [9] resourceAttr ::= 'resource="' URI-reference '"'
 [10] Qname ::= [ NSprefix ':' ] name
 [11] URI-reference ::= string, interpreted per [URI]
 [12] IDsymbol ::= (any legal XML name symbol)
 [13] name ::= (any legal XML name symbol)
 [14] NSprefix ::= (any legal XML namespace prefix)
 [15] string ::= (any XML text, with "<", ">", and "&" escaped)

 

, . 5.4.

<?xml version="1.0"?>
<rdf:RDF
 xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
 xmlns:s="http://description.org/schema/">
 <rdf:Description about="http://www.ise.kiev.ua">
 <s:Admin> ..</s:Admin>
 </rdf:Description>
</rdf:RDF> 

 

:

<?xml version="1.0"?>
<RDF
 xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
 xmlns:s="http://description.org/schema/">
 <Description about="http://www.ise.kiev.ua">
 <s:Admin> ..</s:Admin>
 </Description>
</RDF>

 

XML DTD RDF-. :
1.  , Description . XML- . :

<rdf:RDF>
<rdf:Description about=http://www.ise.kiev.ua>
 <s:Publisher> . .</s:Publisher>
 <s:Title>     
</s:Title>
 <s:Date>2002-02-11021:40</s:Date>
 </rdf:Description>
</rdf:RDF>

 

:

<rdf:RDF>
 <rdf:Description about=http://www.ise.kiev.ua>
 s:Publisher=" .."
 s:Title="     "
 s:Date="2002-02-11T021:40"/>
</rdf:RDF>

 

2.  RDF- , ᒺ -
- .
:

<rdf:RDF>
 <rdf:Description about="http://www.ise.kiev.ua">
 <s:Creator>
 <rdf:Description about="http://www.ise.kiev.ua/ise_prepod.htm#Koz">
 <v:Name> ..</v:Name>
 <v:Email>[email protected]</v:Email>
 </rdf:Description>
 </s:Creator>
 </rdf:Description>
</rdf:RDF> 

:

<rdf:RDF>
 <rdf:Description about="http://www.ise.kiev.ua">
 <s:Creator rdf:resource="http://www.ise.kiev.ua/ise_prepod#Koz"
 v:Name=" .."
 v:Email="[email protected]" />
 </rdf:Description>
</rdf:RDF>

 

3.  , . , , , , . :

 
<rdf:RDF 
 xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
 xmlns:s="http://description.org/schema/">
 <rdf:Description about="http://www.w3.org/Home/Lassila">
 <s:Creator>
 <rdf:Description about="http://www.w3.org/staffId/85740">
 <rdf:type resource="http://description.org/schema/Person"/>
 <v:Name>Ora Lassila</v:Name>
 <v:Email>[email protected]</v:Email>
 </rdf:Description>
 </s:Creator>
 </rdf:Description>
</rdf:RDF> 
 
  :
<rdf:RDF>
 xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
 xmlns:s="http://description.org/schema/">
<rdf:Description about="http://www.w3.org/Home/Lassila">
 <s:Creator>
 <s:Person about="http://www.w3.org/staffId/85740">
 <v:Name>Ora Lassila</v:Name>
 <v:Email>[email protected]</v:Email>
 </s:Person>
 </s:Creator>
 </rdf:Description>
</rdf:RDF>

, [2] [6] :

 
[2a] description ::= '<rdf:Description' idAboutAttr? propAttr* '/>'
| '<rdf:Description' idAboutAttr? propAttr* '>' propertyElt* '</rdf:Description>'
 | typedNode
 [6a] propertyElt ::= '<' propName '>' value '</' propName '>' | '<' propName resourceAttr? propAttr* '/>'
 [16] propAttr ::= propName '="' string '"'
 (with embedded quotes escaped)
 [17] typedNode ::= '<' typeName idAboutAttr? propAttr* '/>'
| '<' typeName idAboutAttr? propAttr* '>'
 property* '</' typeName '>'
 

RDF ( ):
, : .. , . . http://www.ise.kiev.ua:

 
<rdf:RDF
 xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
 xmlns:a="http://description.org/schema/">
 <rdf:Description>
 <rdf:subject resource="http://www.ise.kiev.ua>
 <rdf:predicate resource="http://description.org/schema/Creator" />
 <rdf:object> ..</rdf:object>
 <rdf:type resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#Statement"/>
 <a:attributedTo> ..</a:attributedTo>
 </rdf:Description>
</rdf:RDF>
 

; , , , , .
RDF , .
RDF ᒺ:

  • (bag) ;
  • (sequence) ;
  • (alternative) , .

̳ .

[18] container     ::= sequence | bag | alternative
 [19] sequence   ::= '<rdf:Seq' idAttr? '>' member* '</rdf:Seq>'
 [20] bag ::= '<rdf:Bag' idAttr? '>' member* '</rdf:Bag>'
 [21] alternative  ::= '<rdf:Alt' idAttr? '>' member+ '</rdf:Alt>'
 [22] member ::= referencedItem | inlineItem
 [23] referencedItem ::= '<rdf:li' resourceAttr '/>'
 [24] inlineItem ::= '<rdf:li>' value '</rdf:li>'

, :

[1a] RDF  ::= '<rdf:RDF>' obj* '</rdf:RDF>'
 [8a] value ::= obj | string
 [25] obj ::= description | container

: 4.8102 , , , , :

 
<rdf:RDF>
 <rdf:Description about="http://myuniver.edu/courses/4.8102">
 <s:students>
 <rdf:Bag>
 <rdf:li resource="http://myuniver.edu/students/"/>
 <rdf:li resource="http://myuniver.edu/students/"/>
 <rdf:li resource="http://myuniver.edu/students/"/>
 <rdf:li resource="http://myuniver.edu/students/"/>
 <rdf:li resource="http://myuniver.edu/students/"/>
 </rdf:Bag>
 </s:students>
 </rdf:Description>
</rdf:RDF>
 

, :

 
[3a] idAboutAttr     ::= idAttr | aboutAttr | aboutEachAttr
 [26] aboutEachAttr ::= 'aboutEach="' URI-reference '"'
 

:

 
<rdf:Description about="http://foo.org/doc/page1">
 <s:Copyright> 1998, The Foo Organization</s:Copyright>
</rdf:Description>
<rdf:Description about="http://foo.org/doc/page2">
 <s:Copyright> 1998, The Foo Organization</s:Copyright>
</rdf:Description> 

:

<rdf:Description aboutEach="#docpages">
 <s:Copyright> 1998, The Foo Organization</s:Copyright>
</rdf:Description>
<rdf:Bag ID="docpages">
 <rdf:li resource="http://foo.org/doc/page1"/>
 <rdf:li resource="http://foo.org/doc/page2"/>
</rdf:Bag>

 

:

[2b] description ::= '<rdf:Description' idAboutAttr? bagIDAttr? propAttr* '/>'| '<rdf:Description' idAboutAttr? bagIDAttr? propAttr* '>' propertyElt* '</rdf:Description>'
[27] bagIDAttr   ::= 'bagID="' IDsymbol '"'

 

D , , bagID , . D bagID.
:

<rdf:Bag ID="pages">
 <rdf:li resource="http://foo.org/foo.html" />
 <rdf:li resource="http://bar.org/bar.html" />
</rdf:Bag>
 
<rdf:Description about="#pages">
 <s:Creator>Ora Lassila</s:Creator>
</rdf:Description>

 

RDF:

 [6.1] RDF ::= ['<rdf:RDF>'] obj* ['</rdf:RDF>'] 
 [6.2] obj ::= description | container 
 [6.3] description ::= '<rdf:Description' idAboutAttr? bagIdAttr? propAttr* '/>'
| '<rdf:Description' idAboutAttr? bagIdAttr? propAttr* '>'
propertyElt* '</rdf:Description>'
| typedNode 
 [6.4] container ::= sequence | bag | alternative 
 [6.5] idAboutAttr ::= idAttr | aboutAttr | aboutEachAttr 
 [6.6] idAttr ::= ' ID="' IDsymbol '"'
 [6.7] aboutAttr ::= ' about="' URI-reference '"'
 [6.8] aboutEachAttr ::= ' aboutEach="' URI-reference '"'
| ' aboutEachPrefix="' string '"'
 [6.9] bagIdAttr ::= ' bagID="' IDsymbol '"'
 [6.10] propAttr ::= typeAttr 
| propName '="' string '"' (with embedded quotes escaped)
 [6.11] typeAttr ::= ' type="' URI-reference '"'
 [6.12] propertyElt ::= '<' propName idAttr? '>' value '</' propName '>'
| '<' propName idAttr? parseLiteral '>'
literal '</' propName '>'
| '<' propName idAttr? parseResource '>'
propertyElt* '</' propName '>'
| '<' propName idRefAttr? bagIdAttr? propAttr* '/>'
 [6.13] typedNode ::= '<' typeName idAboutAttr? bagIdAttr? propAttr* '/>'
| '<' typeName idAboutAttr? bagIdAttr? propAttr* '>'
propertyElt* '</' typeName '>'
 [6.14] propName ::= Qname 
 [6.15] typeName ::= Qname 
 [6.16] idRefAttr ::= idAttr | resourceAttr 
 [6.17] value ::= obj | string 
 [6.18] resourceAttr ::= ' resource="' URI-reference '"'
 [6.19] Qname ::= [ NSprefix ':' ] name 
 [6.20] URI-reference ::= string, interpreted per [URI]
 [6.21] Idsymbol ::= (any legal XML name symbol)
 [6.22] name ::= (any legal XML name symbol)
 [6.23] Nsprefix ::= (any legal XML namespace prefix)
 [6.24] string ::= (any XML text, with "<", ">", and "&" escaped)
 [6.25] sequence ::= '<rdf:Seq' idAttr? '>' member* '</rdf:Seq>'
| '<rdf:Seq' idAttr? memberAttr* '/>'
 [6.26] bag ::= '<rdf:Bag' idAttr? '>' member* '</rdf:Bag>'
| '<rdf:Bag' idAttr? memberAttr* '/>'
 [6.27] alternative ::= '<rdf:Alt' idAttr? '>' member+ '</rdf:Alt>'
| '<rdf:Alt' idAttr? memberAttr? '/>'
 [6.28] member ::= referencedItem | inlineItem 
 [6.29] referencedItem ::= '<rdf:li' resourceAttr '/>'
 [6.30] inlineItem ::= '<rdf:li' '>' value </rdf:li>'
| '<rdf:li' parseLiteral '>' literal </rdf:li>'
| '<rdf:li' parseResource '>' propertyElt* </rdf:li>'
 [6.31] memberAttr ::= ' rdf:_n="' string '"' (where n is an integer)
 [6.32] parseLiteral ::= ' parseType="Literal"'
 [6.33] parseResource ::= ' parseType="Resource"'
 [6.34] literal ::= (any well-formed XML)


, , ᒺ , , .
RDF Schema [20] , .
, RDF-, URI- http://www.w3.org/2000/01/rdf-schema#.
RDF Schema ( ᒺ- ).
RDF Schema (MotorVehicle), , (subClass): (Passen-
gerVehicle), (Truck), (Van) (MiniVan). (Person), (driver), ( rearSeatLegRoom):

[ 1 ] [ 2 ] [ 3 ] [ 4 ] [ 5 ] [ 6 ] [ 7 ] [ 8 ] [ 9 ] [ 10 ] [ 11 ] [ 12 ] [ 13 ] [ 14 ] [ 15 ]
[ 16 ] [ 17 ] [ 18 ] [ 19 ] [ 20 ] [ 21 ] [ 22 ] [ 23 ] [ 24 ] [ 25 ] [ 26 ] [ 27 ] [ 28 ] [ 29 ] [ 30 ] [ 31 ] [ 32 ]
[ 33 ] [ 34 ] [ 35 ] [ 36 ] [ 37 ] [ 38 ] [ 39 ] [ 40 ] [ 41 ] [ 42 ] [ 43 ] [ 44 ] [ 45 ] [ 46 ] [ 47 ] [ 48 ] [ 49 ] [ 50 ]


! , . . . / , .
© 2007-2018 BPK Group.