Skip to content

Commit e080edb

Browse files
pfpsgkellogg
andauthored
fix some semantics tests, mostly because triple terms are now transparent (#200)
* fix some tests, mostly because triple terms are now transparent * Automated manifest generation * Manifest changes suggested by @TallTed. * Manually update indexes. --------- Co-authored-by: pfps <[email protected]> Co-authored-by: Gregg Kellogg <[email protected]>
1 parent 5d495dc commit e080edb

File tree

3 files changed

+40
-41
lines changed

3 files changed

+40
-41
lines changed

rdf/rdf12/rdf-semantics/index.html

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ <h2>
8989
</dt>
9090
<dd inlist='true' property='mf:entry' resource='../rdf-semantics#all-identical-triple-terms-are-the-same' typeof='mf:PositiveEntailmentTest'>
9191
<div property='rdfs:comment'>
92-
<p>Multiple occurences of the same triple terms are undistinguishable in the abstract model.</p>
92+
<p>Multiple occurrences of the same triple term are the same domain element.</p>
9393
</div>
9494
<dl class='test-detail'>
9595
<dt>type</dt>
@@ -110,7 +110,7 @@ <h2>
110110
<a class='testlink' href='#triple-terms-no-spurious'>
111111
triple-terms-no-spurious:
112112
</a>
113-
<span about='../rdf-semantics#triple-terms-no-spurious' property='mf:name'>quoted-triples-no-spurious</span>
113+
<span about='../rdf-semantics#triple-terms-no-spurious' property='mf:name'>triple-terms-no-spurious</span>
114114
</dt>
115115
<dd inlist='true' property='mf:entry' resource='../rdf-semantics#triple-terms-no-spurious' typeof='mf:NegativeEntailmentTest'>
116116
<div property='rdfs:comment'>
@@ -408,13 +408,13 @@ <h2>
408408
</a>
409409
<span about='../rdf-semantics#malformed-literal' property='mf:name'>malformed-literal</span>
410410
</dt>
411-
<dd inlist='true' property='mf:entry' resource='../rdf-semantics#malformed-literal' typeof='mf:NegativeEntailmentTest'>
411+
<dd inlist='true' property='mf:entry' resource='../rdf-semantics#malformed-literal' typeof='mf:PositiveEntailmentTest'>
412412
<div property='rdfs:comment'>
413-
<p>Malformed literals are allowed when in triple terms.</p>
413+
<p>Malformed literals are allowed in triple terms, but cause inconsistency.</p>
414414
</div>
415415
<dl class='test-detail'>
416416
<dt>type</dt>
417-
<dd>mf:NegativeEntailmentTest</dd>
417+
<dd>mf:PositiveEntailmentTest</dd>
418418
<dt>approval</dt>
419419
<dd property='mf:approval' resource=''></dd>
420420
<dt>action</dt>
@@ -477,11 +477,11 @@ <h2>
477477
<a class='testlink' href='#malformed-literal-bnode-neg'>
478478
malformed-literal-bnode-neg:
479479
</a>
480-
<span about='../rdf-semantics#malformed-literal-bnode-neg' property='mf:name'>malformed-literal-bnode</span>
480+
<span about='../rdf-semantics#malformed-literal-bnode-neg' property='mf:name'>malformed-literal-bnode-neg</span>
481481
</dt>
482482
<dd inlist='true' property='mf:entry' resource='../rdf-semantics#malformed-literal-bnode-neg' typeof='mf:NegativeEntailmentTest'>
483483
<div property='rdfs:comment'>
484-
<p>Malformed literals can not be replaced by blank nodes.</p>
484+
<p>Malformed literals cannot be replaced by blank nodes.</p>
485485
</div>
486486
<dl class='test-detail'>
487487
<dt>type</dt>
@@ -506,7 +506,7 @@ <h2>
506506
</dt>
507507
<dd inlist='true' property='mf:entry' resource='../rdf-semantics#opaque-literal-control' typeof='mf:PositiveEntailmentTest'>
508508
<div property='rdfs:comment'>
509-
<p>Checks that xsd:integer is indeed recognized, to ensure that opaque-literal does not pass spuriously.</p>
509+
<p>Checks that xsd:integer is indeed recognized; was to ensure that opaque-literal did not pass spuriously.</p>
510510
</div>
511511
<dl class='test-detail'>
512512
<dt>type</dt>
@@ -529,13 +529,13 @@ <h2>
529529
</a>
530530
<span about='../rdf-semantics#opaque-literal' property='mf:name'>opaque-literal</span>
531531
</dt>
532-
<dd inlist='true' property='mf:entry' resource='../rdf-semantics#opaque-literal' typeof='mf:NegativeEntailmentTest'>
532+
<dd inlist='true' property='mf:entry' resource='../rdf-semantics#opaque-literal' typeof='mf:PositiveEntailmentTest'>
533533
<div property='rdfs:comment'>
534-
<p>Literals within triple terms are opaque, even when their datatype is recognized.</p>
534+
<p>Literals within triple terms are transparent.</p>
535535
</div>
536536
<dl class='test-detail'>
537537
<dt>type</dt>
538-
<dd>mf:NegativeEntailmentTest</dd>
538+
<dd>mf:PositiveEntailmentTest</dd>
539539
<dt>approval</dt>
540540
<dd property='mf:approval' resource=''></dd>
541541
<dt>action</dt>
@@ -556,7 +556,7 @@ <h2>
556556
</dt>
557557
<dd inlist='true' property='mf:entry' resource='../rdf-semantics#opaque-language-string-control' typeof='mf:PositiveEntailmentTest'>
558558
<div property='rdfs:comment'>
559-
<p>Checks that language strings are indeed recognized, to ensure that opaque-language-string does not pass spuriously.</p>
559+
<p>Checks that language strings are indeed recognized; was to ensure that opaque-language-string did not pass spuriously.</p>
560560
</div>
561561
<dl class='test-detail'>
562562
<dt>type</dt>
@@ -579,13 +579,13 @@ <h2>
579579
</a>
580580
<span about='../rdf-semantics#opaque-language-string' property='mf:name'>opaque-language-string</span>
581581
</dt>
582-
<dd inlist='true' property='mf:entry' resource='../rdf-semantics#opaque-language-string' typeof='mf:NegativeEntailmentTest'>
582+
<dd inlist='true' property='mf:entry' resource='../rdf-semantics#opaque-language-string' typeof='mf:PositiveEntailmentTest'>
583583
<div property='rdfs:comment'>
584-
<p>Literals within reifying terms (including language strings) are opaque, even when their datatype is recognized.</p>
584+
<p>Literals within reifying terms (including language strings) are transparent.</p>
585585
</div>
586586
<dl class='test-detail'>
587587
<dt>type</dt>
588-
<dd>mf:NegativeEntailmentTest</dd>
588+
<dd>mf:PositiveEntailmentTest</dd>
589589
<dt>approval</dt>
590590
<dd property='mf:approval' resource=''></dd>
591591
<dt>action</dt>
@@ -606,7 +606,7 @@ <h2>
606606
</dt>
607607
<dd inlist='true' property='mf:entry' resource='../rdf-semantics#opaque-iri-control' typeof='mf:PositiveEntailmentTest'>
608608
<div property='rdfs:comment'>
609-
<p>Check that owl:sameAs works as expected, to ensure that opaque-iri does not pass spuriously.</p>
609+
<p>Check that owl:sameAs works as expected; was to ensure that opaque-iri did not pass spuriously.</p>
610610
</div>
611611
<dl class='test-detail'>
612612
<dt>type</dt>
@@ -629,13 +629,13 @@ <h2>
629629
</a>
630630
<span about='../rdf-semantics#opaque-iri' property='mf:name'>opaque-iri</span>
631631
</dt>
632-
<dd inlist='true' property='mf:entry' resource='../rdf-semantics#opaque-iri' typeof='mf:NegativeEntailmentTest'>
632+
<dd inlist='true' property='mf:entry' resource='../rdf-semantics#opaque-iri' typeof='mf:PositiveEntailmentTest'>
633633
<div property='rdfs:comment'>
634-
<p>Triple term IRIs are opaque.</p>
634+
<p>Triple term IRIs are transparent.</p>
635635
</div>
636636
<dl class='test-detail'>
637637
<dt>type</dt>
638-
<dd>mf:NegativeEntailmentTest</dd>
638+
<dd>mf:PositiveEntailmentTest</dd>
639639
<dt>approval</dt>
640640
<dd property='mf:approval' resource=''></dd>
641641
<dt>action</dt>
@@ -681,7 +681,7 @@ <h2>
681681
</dt>
682682
<dd inlist='true' property='mf:entry' resource='../rdf-semantics#annotated-asserted' typeof='mf:PositiveEntailmentTest'>
683683
<div property='rdfs:comment'>
684-
<p>Annotated triples are asserted.</p>
684+
<p>Annotated triples are asserted. This is about shorthand expansion, and is not really a semantics test.</p>
685685
</div>
686686
<dl class='test-detail'>
687687
<dt>type</dt>
@@ -706,7 +706,7 @@ <h2>
706706
</dt>
707707
<dd inlist='true' property='mf:entry' resource='../rdf-semantics#annotation' typeof='mf:PositiveEntailmentTest'>
708708
<div property='rdfs:comment'>
709-
<p>Annotation are about the reifying triple.</p>
709+
<p>Annotations are about the reifying triple. This is about shorthand expansion, and is not really a semantics test.</p>
710710
</div>
711711
<dl class='test-detail'>
712712
<dt>type</dt>
@@ -731,7 +731,7 @@ <h2>
731731
</dt>
732732
<dd inlist='true' property='mf:entry' resource='../rdf-semantics#annotation-unfolded' typeof='mf:PositiveEntailmentTest'>
733733
<div property='rdfs:comment'>
734-
<p>Annotation is the same as separate assertions.</p>
734+
<p>Annotations are the same as separate assertions. This is about shorthand expansion, and is not really a semantics test.</p>
735735
</div>
736736
<dl class='test-detail'>
737737
<dt>type</dt>

rdf/rdf12/rdf-semantics/manifest.ttl

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ trs:manifest a mf:Manifest;
8484
) .
8585

8686
trs:all-identical-triple-terms-are-the-same a mf:PositiveEntailmentTest;
87-
rdfs:comment "Multiple occurences of the same triple terms are undistinguishable in the abstract model.";
87+
rdfs:comment "Multiple occurrences of the same triple term are the same domain element.";
8888
mf:action <test001a.ttl>;
8989
mf:entailmentRegime "simple";
9090
mf:name "all-identical-triple-terms-are-the-same";
@@ -94,7 +94,7 @@ trs:all-identical-triple-terms-are-the-same a mf:PositiveEntailmentTest;
9494
test:approval test:NotClassified .
9595

9696
trs:annotated-asserted a mf:PositiveEntailmentTest;
97-
rdfs:comment "Annotated triples are asserted.";
97+
rdfs:comment "Annotated triples are asserted. This is about shorthand expansion, and is not really a semantics test.";
9898
mf:action <test007a.ttl>;
9999
mf:entailmentRegime "simple";
100100
mf:name "annotated-asserted";
@@ -104,7 +104,7 @@ trs:annotated-asserted a mf:PositiveEntailmentTest;
104104
test:approval test:NotClassified .
105105

106106
trs:annotation a mf:PositiveEntailmentTest;
107-
rdfs:comment "Annotation are about the reifying triple.";
107+
rdfs:comment "Annotations are about the reifying triple. This is about shorthand expansion, and is not really a semantics test.";
108108
mf:action <test007a.ttl>;
109109
mf:entailmentRegime "simple";
110110
mf:name "annotation";
@@ -114,7 +114,7 @@ trs:annotation a mf:PositiveEntailmentTest;
114114
test:approval test:NotClassified .
115115

116116
trs:annotation-unfolded a mf:PositiveEntailmentTest;
117-
rdfs:comment "Annotation is the same as separate assertions.";
117+
rdfs:comment "Annotations are the same as separate assertions. This is about shorthand expansion, and is not really a semantics test.";
118118
mf:action <test007a2.ttl>;
119119
mf:entailmentRegime "simple";
120120
mf:name "annotation-unfolded";
@@ -227,14 +227,14 @@ trs:triple-terms-no-spurious a mf:NegativeEntailmentTest;
227227
rdfs:comment "This test ensures that other entailments are not spurious.";
228228
mf:action <test002a.ttl>;
229229
mf:entailmentRegime "simple";
230-
mf:name "quoted-triples-no-spurious";
230+
mf:name "triple-terms-no-spurious";
231231
mf:recognizedDatatypes ();
232232
mf:result <test005.ttl>;
233233
mf:unrecognizedDatatypes ();
234234
test:approval test:NotClassified .
235235

236-
trs:malformed-literal a mf:NegativeEntailmentTest;
237-
rdfs:comment "Malformed literals are allowed when in triple terms.";
236+
trs:malformed-literal a mf:PositiveEntailmentTest;
237+
rdfs:comment "Malformed literals are allowed in triple terms, but cause inconsistency.";
238238
mf:action <malformed-literal.ttl>;
239239
mf:entailmentRegime "RDF";
240240
mf:name "malformed-literal";
@@ -254,10 +254,10 @@ trs:malformed-literal-accepted a mf:PositiveEntailmentTest;
254254
test:approval test:NotClassified .
255255

256256
trs:malformed-literal-bnode-neg a mf:NegativeEntailmentTest;
257-
rdfs:comment "Malformed literals can not be replaced by blank nodes.";
257+
rdfs:comment "Malformed literals cannot be replaced by blank nodes.";
258258
mf:action <malformed-literal.ttl>;
259259
mf:entailmentRegime "RDF";
260-
mf:name "malformed-literal-bnode";
260+
mf:name "malformed-literal-bnode-neg";
261261
mf:recognizedDatatypes (xsd:integer);
262262
mf:result <test002or.ttl>;
263263
mf:unrecognizedDatatypes ();
@@ -283,8 +283,8 @@ trs:malformed-literal-no-spurious a mf:NegativeEntailmentTest;
283283
mf:unrecognizedDatatypes ();
284284
test:approval test:NotClassified .
285285

286-
trs:opaque-iri a mf:NegativeEntailmentTest;
287-
rdfs:comment "Triple term IRIs are opaque.";
286+
trs:opaque-iri a mf:PositiveEntailmentTest;
287+
rdfs:comment "Triple term IRIs are transparent.";
288288
mf:action <superman.ttl>;
289289
mf:entailmentRegime "RDFS-Plus";
290290
mf:name "opaque-iri";
@@ -294,7 +294,7 @@ trs:opaque-iri a mf:NegativeEntailmentTest;
294294
test:approval test:NotClassified .
295295

296296
trs:opaque-iri-control a mf:PositiveEntailmentTest;
297-
rdfs:comment "Check that owl:sameAs works as expected, to ensure that opaque-iri does not pass spuriously.";
297+
rdfs:comment "Check that owl:sameAs works as expected; was to ensure that opaque-iri did not pass spuriously.";
298298
mf:action <control-sameas-a.ttl>;
299299
mf:entailmentRegime "RDFS-Plus";
300300
mf:name "opaque-iri-control";
@@ -303,8 +303,8 @@ trs:opaque-iri-control a mf:PositiveEntailmentTest;
303303
mf:unrecognizedDatatypes ();
304304
test:approval test:NotClassified .
305305

306-
trs:opaque-language-string a mf:NegativeEntailmentTest;
307-
rdfs:comment "Literals within reifying terms (including language strings) are opaque, even when their datatype is recognized.";
306+
trs:opaque-language-string a mf:PositiveEntailmentTest;
307+
rdfs:comment "Literals within reifying terms (including language strings) are transparent.";
308308
mf:action <lowercase-language-string.ttl>;
309309
mf:entailmentRegime "RDF";
310310
mf:name "opaque-language-string";
@@ -314,7 +314,7 @@ trs:opaque-language-string a mf:NegativeEntailmentTest;
314314
test:approval test:NotClassified .
315315

316316
trs:opaque-language-string-control a mf:PositiveEntailmentTest;
317-
rdfs:comment "Checks that language strings are indeed recognized, to ensure that opaque-language-string does not pass spuriously.";
317+
rdfs:comment "Checks that language strings are indeed recognized; was to ensure that opaque-language-string did not pass spuriously.";
318318
mf:action <lowercase-language-string-control.ttl>;
319319
mf:entailmentRegime "RDF";
320320
mf:name "opaque-language-string-control";
@@ -323,8 +323,8 @@ trs:opaque-language-string-control a mf:PositiveEntailmentTest;
323323
mf:unrecognizedDatatypes ();
324324
test:approval test:NotClassified .
325325

326-
trs:opaque-literal a mf:NegativeEntailmentTest;
327-
rdfs:comment "Literals within triple terms are opaque, even when their datatype is recognized.";
326+
trs:opaque-literal a mf:PositiveEntailmentTest;
327+
rdfs:comment "Literals within triple terms are transparent.";
328328
mf:action <non-canonical-literal.ttl>;
329329
mf:entailmentRegime "RDF";
330330
mf:name "opaque-literal";
@@ -334,7 +334,7 @@ trs:opaque-literal a mf:NegativeEntailmentTest;
334334
test:approval test:NotClassified .
335335

336336
trs:opaque-literal-control a mf:PositiveEntailmentTest;
337-
rdfs:comment "Checks that xsd:integer is indeed recognized, to ensure that opaque-literal does not pass spuriously.";
337+
rdfs:comment "Checks that xsd:integer is indeed recognized; was to ensure that opaque-literal did not pass spuriously.";
338338
mf:action <non-canonical-literal-control.ttl>;
339339
mf:entailmentRegime "RDF";
340340
mf:name "opaque-literal-control";

rdf/rdf12/rdf-semantics/test001a.ttl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
prefix : <http://example.com/ns#>
22

33
:a1 :p1 <<( :a :b :c )>> .
4-
:a1 :p1 <<( :a :b :c )>> .

0 commit comments

Comments
 (0)