@@ -3004,7 +3004,7 @@ <h4>Production propertyElt</h4>
3004
3004
< a href ="#literalPropertyElt "> literalPropertyElt</ a > |
3005
3005
< a href ="#parseTypeLiteralPropertyElt "> parseTypeLiteralPropertyElt</ a > |
3006
3006
< a href ="#parseTypeResourcePropertyElt "> parseTypeResourcePropertyElt</ a > |
3007
- < a href ="#parseTypeResourcePropertyElt "> parseTypeTriplePropertyElt</ a > |
3007
+ < a href ="#parseTypeTriplePropertyElt "> parseTypeTriplePropertyElt</ a > |
3008
3008
< a href ="#parseTypeCollectionPropertyElt "> parseTypeCollectionPropertyElt</ a > |
3009
3009
3010
3010
< a href ="#parseTypeOtherPropertyElt "> parseTypeOtherPropertyElt</ a > |
@@ -3059,7 +3059,8 @@ <h4>Production resourcePropertyElt</h4>
3059
3059
< a href ="#section-Reification " class ="sectionRef "> </ a >
3060
3060
and < em > e</ em > .< a href ="#eventterm-element-subject "> subject</ a > := < em > i</ em > </ p >
3061
3061
3062
- < p > If either the < code > rdf:annotation</ code > or < code > rdf:annotationNodeID</ code > attributes < em > a</ em > are given,
3062
+ < p id ="resourcePropertyElt-tests3 " data-tests ="eval#rdf12-xml-an-10 ">
3063
+ If either the < code > rdf:annotation</ code > or < code > rdf:annotationNodeID</ code > attributes < em > a</ em > are given,
3063
3064
the statement above is used to create a < a data-cite ="RDF12-CONCEPTS#dfn-triple-term "> triple term</ a > < i > t</ i > ,
3064
3065
and the following statement is added to < em > e</ em > .< a href ="#eventterm-element-parent "> parent</ a > .< a href ="#eventterm-element-graph "> graph</ a > :</ p >
3065
3066
@@ -3104,10 +3105,14 @@ <h4>Production literalPropertyElt</h4>
3104
3105
statement is reified with
3105
3106
< em > i</ em > := iri(< a href ="#eventterm-identifier-identifier "> identifier</ a > := resolve(< em > e</ em > , concat("#", < em > a</ em > .< a href ="#eventterm-attribute-string-value "> string-value</ a > )))
3106
3107
using the reification rules in
3107
-
3108
3108
< a href ="#section-Reification " class ="sectionRef "> </ a >
3109
3109
and < em > e</ em > .< a href ="#eventterm-element-subject "> subject</ a > := < em > i</ em > .</ p >
3110
- < p > If either the < code > rdf:annotation</ code > or < code > rdf:annotationNodeID</ code > attributes < em > a</ em > are given,
3110
+
3111
+ < p id ="literalPropertyElt-tests3 " data-tests ="
3112
+ eval/index.html#rdf12-xml-an-01,
3113
+ eval/index.html#rdf12-xml-an-02,
3114
+ eval/index.html#rdf12-xml-an-03 ">
3115
+ If either the < code > rdf:annotation</ code > or < code > rdf:annotationNodeID</ code > attributes < em > a</ em > are given,
3111
3116
the statement above is used to create a < a data-cite ="RDF12-CONCEPTS#dfn-triple-term "> triple term</ a > < i > t</ i > ,
3112
3117
and the following statement is added to < em > e</ em > .< a href ="#eventterm-element-parent "> parent</ a > .< a href ="#eventterm-element-graph "> graph</ a > :</ p >
3113
3118
@@ -3185,12 +3190,13 @@ <h4>Production parseTypeLiteralPropertyElt</h4>
3185
3190
3186
3191
< p > If the < code > rdf:ID</ code > attribute < em > a</ em > is given, the above
3187
3192
statement is reified with
3188
-
3189
3193
< em > i</ em > := iri(< a href ="#eventterm-identifier-identifier "> identifier</ a > := resolve(< em > e</ em > , concat("#", < em > a</ em > .< a href ="#eventterm-attribute-string-value "> string-value</ a > )))
3190
3194
using the reification rules in
3191
3195
< a href ="#section-Reification " class ="sectionRef "> </ a >
3192
3196
and < em > e</ em > .< a href ="#eventterm-element-subject "> subject</ a > := < em > i</ em > .</ p >
3193
- < p > If either the < code > rdf:annotation</ code > or < code > rdf:annotationNodeID</ code > attributes < em > a</ em > are given,
3197
+
3198
+ < p id ="parseTypeLiteralPropertyElt-tests3 " data-tests ="">
3199
+ If either the < code > rdf:annotation</ code > or < code > rdf:annotationNodeID</ code > attributes < em > a</ em > are given,
3194
3200
the statement above is used to create a < a data-cite ="RDF12-CONCEPTS#dfn-triple-term "> triple term</ a > < i > t</ i > ,
3195
3201
and the following statement is added to < em > e</ em > .< a href ="#eventterm-element-parent "> parent</ a > .< a href ="#eventterm-element-graph "> graph</ a > :</ p >
3196
3202
@@ -3238,7 +3244,8 @@ <h4>Production parseTypeResourcePropertyElt</h4>
3238
3244
< a href ="#section-Reification " class ="sectionRef "> </ a >
3239
3245
and < em > e</ em > .< a href ="#eventterm-element-subject "> subject</ a > := < em > i</ em > .</ p >
3240
3246
3241
- < p > If either the < code > rdf:annotation</ code > or < code > rdf:annotationNodeID</ code > attributes < em > a</ em > are given,
3247
+ < p id ="parseTypeResourcePropertyElt-tests3 " data-tests ="eval/index.html#rdf12-xml-an-05 ">
3248
+ If either the < code > rdf:annotation</ code > or < code > rdf:annotationNodeID</ code > attributes < em > a</ em > are given,
3242
3249
the statement above is used to create a < a data-cite ="RDF12-CONCEPTS#dfn-triple-term "> triple term</ a > < i > t</ i > ,
3243
3250
and the following statement is added to < em > e</ em > .< a href ="#eventterm-element-parent "> parent</ a > .< a href ="#eventterm-element-graph "> graph</ a > :</ p >
3244
3251
@@ -3290,7 +3297,16 @@ <h4>Production parseTypeTriplePropertyElt</h4>
3290
3297
< p > Then process the resulting sequence using production
3291
3298
< a href ="#nodeElementList "> nodeElement</ a > .</ p >
3292
3299
3293
- < p > After processing the node sequence,
3300
+ < p id ="parseTypeTriplePropertyElt-tests1 " data-tests ="
3301
+ eval/index.html#rdf12-xml-tt-01,
3302
+ eval/index.html#rdf12-xml-tt-02,
3303
+ eval/index.html#rdf12-xml-tt-03,
3304
+ eval/index.html#rdf12-xml-tt-04,
3305
+ eval/index.html#rdf12-xml-tt-05,
3306
+ eval/index.html#rdf12-xml-tt-06,
3307
+ eval/index.html#rdf12-xml-tt-07,
3308
+ eval/index.html#rdf12-xml-tt-08 ">
3309
+ After processing the node sequence,
3294
3310
< em > e</ em > .< a href ="#eventterm-element-parent "> parent</ a > .< a href ="#eventterm-element-graph "> graph</ a >
3295
3311
MUST be an < a data-cite ="RDF12-CONCEPTS#dfn-rdf-graph "> RDF graph</ a > containing a single triple.</ p >
3296
3312
@@ -3348,10 +3364,10 @@ <h4>Production parseTypeCollectionPropertyElt</h4>
3348
3364
either of the the above statements is reified with
3349
3365
< em > i</ em > := iri(< a href ="#eventterm-identifier-identifier "> identifier</ a > := resolve(< em > e</ em > , concat("#", < em > a</ em > .< a href ="#eventterm-attribute-string-value "> string-value</ a > )))
3350
3366
using the reification rules in
3367
+ < a href ="#section-Reification " class ="sectionRef "> </ a > .</ p >
3351
3368
3352
- < a href ="#section-Reification " class ="sectionRef "> </ a > .
3353
- </ p >
3354
- < p > If either the < code > rdf:annotation</ code > or < code > rdf:annotationNodeID</ code > attributes < em > a</ em > are given,
3369
+ < p id ="parseTypeCollectionPropertyElt-tests3 " data-tests ="">
3370
+ If either the < code > rdf:annotation</ code > or < code > rdf:annotationNodeID</ code > attributes < em > a</ em > are given,
3355
3371
the statement above is used to create a < a data-cite ="RDF12-CONCEPTS#dfn-triple-term "> triple term</ a > < i > t</ i > ,
3356
3372
and the following statement is added to < em > e</ em > .< a href ="#eventterm-element-parent "> parent</ a > .< a href ="#eventterm-element-graph "> graph</ a > :</ p >
3357
3373
@@ -3425,8 +3441,11 @@ <h4>Production emptyPropertyElt</h4>
3425
3441
3426
3442
< li >
3427
3443
< p > If there are no attributes < strong > or</ strong > only the
3428
- optional < code > rdf:ID</ code > attribute < em > i</ em >
3429
- then < em > o</ em > := literal(< a href ="#eventterm-literal-literal-value "> literal-value</ a > :="", < a href ="#eventterm-literal-literal-language "> literal-language</ a > := < em > e</ em > .< a href ="#eventterm-element-language "> language</ a > , < a href ="#eventterm-literal-literal-direction "> literal-direction</ a > := < em > e</ em > .< a href ="#eventterm-element-direction "> direction</ a > )
3444
+ optional < code > rdf:ID</ code > attribute < em > i</ em > ,
3445
+ or the optional attributes `rdf:annotation` or `rdf:annotationNodeID` < em > a</ em > ,
3446
+ then < em > o</ em > := literal(< a href ="#eventterm-literal-literal-value "> literal-value</ a > :="",
3447
+ < a href ="#eventterm-literal-literal-language "> literal-language</ a > := < em > e</ em > .< a href ="#eventterm-element-language "> language</ a > ,
3448
+ < a href ="#eventterm-literal-literal-direction "> literal-direction</ a > := < em > e</ em > .< a href ="#eventterm-element-direction "> direction</ a > )
3430
3449
and the following statement is added to < em > e</ em > .< a href ="#eventterm-element-parent "> parent</ a > .< a href ="#eventterm-element-graph "> graph</ a > :</ p >
3431
3450
3432
3451
< div class ="ntripleOuter "> < div class ="ntripleInner "> < p >
@@ -3439,6 +3458,16 @@ <h4>Production emptyPropertyElt</h4>
3439
3458
using the reification rules in
3440
3459
< a href ="#section-Reification " class ="sectionRef "> </ a > .</ p >
3441
3460
3461
+ < p id ="emptyPropertyElt-tests3 " data-tests ="eval/index.html#rdf12-xml-an-04 ">
3462
+ and then if < em > a</ em > is given,
3463
+ the statement above is used to create a < a data-cite ="RDF12-CONCEPTS#dfn-triple-term "> triple term</ a > < i > t</ i > ,
3464
+ and the following statement is added to < em > e</ em > .< a href ="#eventterm-element-parent "> parent</ a > .< a href ="#eventterm-element-graph "> graph</ a > :</ p >
3465
+
3466
+ < div class ="ntripleOuter "> < div class ="ntripleInner "> < p >
3467
+   < code > < em > a</ em > .< a href ="#eventterm-identifier-rdf-term "> rdf-term</ a > <http://www.w3.org/1999/02/22-rdf-syntax-ns#reifies> < em > t</ em > .< a href ="#eventterm-identifier-rdf-term "> rdf-term</ a > .</ code >
3468
+
3469
+ </ p > </ div > </ div >
3470
+
3442
3471
< p class ="note "> < strong > Test:</ strong >
3443
3472
Indicated by
3444
3473
< a href ="https://w3c.github.io/rdf-tests/rdf-xml/rdfms-empty-property-elements/test002.rdf "> test002.rdf</ a >
@@ -3533,6 +3562,21 @@ <h4>Production emptyPropertyElt</h4>
3533
3562
using the reification rules in
3534
3563
< a href ="#section-Reification " class ="sectionRef "> </ a > .</ p >
3535
3564
3565
+ < p id ="emptyPropertyElt-tests3 " data-tests ="
3566
+ eval/index.html#rdf12-xml-an-06,
3567
+ eval/index.html#rdf12-xml-an-07,
3568
+ eval/index.html#rdf12-xml-an-08,
3569
+ eval/index.html#rdf12-xml-an-09,
3570
+ eval/index.html#rdf12-xml-an-10 ">
3571
+ and then if either the < code > rdf:annotation</ code > or < code > rdf:annotationNodeID</ code > attributes < em > a</ em > are given,
3572
+ the statement above is used to create a < a data-cite ="RDF12-CONCEPTS#dfn-triple-term "> triple term</ a > < i > t</ i > ,
3573
+ and the following statement is added to < em > e</ em > .< a href ="#eventterm-element-parent "> parent</ a > .< a href ="#eventterm-element-graph "> graph</ a > :</ p >
3574
+
3575
+ < div class ="ntripleOuter "> < div class ="ntripleInner "> < p >
3576
+   < code > < em > a</ em > .< a href ="#eventterm-identifier-rdf-term "> rdf-term</ a > <http://www.w3.org/1999/02/22-rdf-syntax-ns#reifies> < em > t</ em > .< a href ="#eventterm-identifier-rdf-term "> rdf-term</ a > .</ code >
3577
+
3578
+ </ p > </ div > </ div >
3579
+
3536
3580
</ li >
3537
3581
3538
3582
</ ul >
@@ -4049,7 +4093,7 @@ <h3>RELAX NG Compact Schema</h3>
4049
4093
its:dir | its:version |
4050
4094
rdf:Description | rdf:aboutEach | rdf:aboutEachPrefix | rdf:bagID |
4051
4095
xml:* ) {
4052
- idAttr?, xmllang?, xmlbase?, versionAttr?, dirAttr?, itsVersionAttr?, nodeElement
4096
+ idAttr?, (annotationAttr | annotationNodeIDAttr)?, xmllang?, xmlbase?, versionAttr?, dirAttr?, itsVersionAttr?, nodeElement
4053
4097
}
4054
4098
4055
4099
literalPropertyElt =
@@ -4060,7 +4104,7 @@ <h3>RELAX NG Compact Schema</h3>
4060
4104
its:dir | its:version |
4061
4105
rdf:Description | rdf:aboutEach | rdf:aboutEachPrefix | rdf:bagID |
4062
4106
xml:* ) {
4063
- idAttr? , datatypeAttr?, xmllang?, xmlbase?, versionAttr?, dirAttr?, itsVersionAttr?, text
4107
+ idAttr? , (annotationAttr | annotationNodeIDAttr)?, datatypeAttr?, xmllang?, xmlbase?, versionAttr?, dirAttr?, itsVersionAttr?, text
4064
4108
}
4065
4109
4066
4110
parseTypeLiteralPropertyElt =
@@ -4071,7 +4115,7 @@ <h3>RELAX NG Compact Schema</h3>
4071
4115
its:dir | its:version |
4072
4116
rdf:Description | rdf:aboutEach | rdf:aboutEachPrefix | rdf:bagID |
4073
4117
xml:* ) {
4074
- idAttr?, parseLiteral, xmllang?, xmlbase?, versionAttr?, dirAttr?, itsVersionAttr?, literal
4118
+ idAttr?, (annotationAttr | annotationNodeIDAttr)?, parseLiteral, xmllang?, xmlbase?, versionAttr?, dirAttr?, itsVersionAttr?, literal
4075
4119
}
4076
4120
4077
4121
parseTypeResourcePropertyElt =
@@ -4082,7 +4126,7 @@ <h3>RELAX NG Compact Schema</h3>
4082
4126
its:dir | its:version |
4083
4127
rdf:Description | rdf:aboutEach | rdf:aboutEachPrefix | rdf:bagID |
4084
4128
xml:* ) {
4085
- idAttr?, parseResource, xmllang?, xmlbase?, versionAttr?, dirAttr?, itsVersionAttr?, propertyEltList
4129
+ idAttr?, (annotationAttr | annotationNodeIDAttr)?, parseResource, xmllang?, xmlbase?, versionAttr?, dirAttr?, itsVersionAttr?, propertyEltList
4086
4130
}
4087
4131
4088
4132
parseTypeTriplePropertyElt =
@@ -4091,7 +4135,7 @@ <h3>RELAX NG Compact Schema</h3>
4091
4135
its:dir | its:version |
4092
4136
rdf:Description | rdf:aboutEach | rdf:aboutEachPrefix | rdf:bagID |
4093
4137
xml:* ) {
4094
- idAttr?, parseResource, xmllang?, xmlbase?, versionAttr?, dirAttr?, itsVersionAttr?, propertyEltList
4138
+ idAttr?, (annotationAttr | annotationNodeIDAttr)?, parseResource, xmllang?, xmlbase?, versionAttr?, dirAttr?, itsVersionAttr?, propertyEltList
4095
4139
}
4096
4140
4097
4141
parseTypeCollectionPropertyElt =
@@ -4102,7 +4146,7 @@ <h3>RELAX NG Compact Schema</h3>
4102
4146
its:dir | its:version |
4103
4147
rdf:Description | rdf:aboutEach | rdf:aboutEachPrefix | rdf:bagID |
4104
4148
xml:* ) {
4105
- idAttr?, xmllang?, xmlbase?, versionAttr?, dirAttr?, itsVersionAttr?, parseCollection, nodeElementList
4149
+ idAttr?, (annotationAttr | annotationNodeIDAttr)?, xmllang?, xmlbase?, versionAttr?, dirAttr?, itsVersionAttr?, parseCollection, nodeElementList
4106
4150
}
4107
4151
4108
4152
parseTypeOtherPropertyElt =
@@ -4113,7 +4157,7 @@ <h3>RELAX NG Compact Schema</h3>
4113
4157
its:dir | its:version |
4114
4158
rdf:Description | rdf:aboutEach | rdf:aboutEachPrefix | rdf:bagID |
4115
4159
xml:* ) {
4116
- idAttr?, xmllang?, xmlbase?, versionAttr?, dirAttr?, itsVersionAttr?, parseOther, any
4160
+ idAttr?, (annotationAttr | annotationNodeIDAttr)?, xmllang?, xmlbase?, versionAttr?, dirAttr?, itsVersionAttr?, parseOther, any
4117
4161
}
4118
4162
4119
4163
emptyPropertyElt =
0 commit comments