-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
There are several differences between manifest.jsonld and manifest.ttl. Using #1Adot_pass as an example:
- manifest.ttl has the triple:
<1Adot_pass> sht:trait sht:TriplePattern .and manifest.jsonld does not. - manifest.jsonld has the triple
<1Adot_pass> sht:extensionResults rdf:nil .and manifest.ttl does not - The actions in manifest.jsonld all use the
https://shexspec.github.io/shexTest/ns#nameaspace (e.g._:x <https://shexspec.github.io/shexTest/ns#focus> <http://a.example.s1> .. The actions in manifest.ttl usehttp://www.w3.org/ns/shacl/test-suite#(e.g._:x <http://www/w3.org/ns/shacl/test-suite#focus> <http://a.example.s1> .
Following is a dump of the manifest.ttl entry for #1Adot_pass:
# ========== Turtle
# *** Triples ***
[('http://www.w3.org/1999/02/22-rdf-syntax-ns#type', 'http://www.w3.org/ns/shacl/test-suite#ValidationTest'),
('http://www.w3.org/2000/01/rdf-schema#comment', '<S> { a . } on { <s1> a <o1> }'),
('http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#action', 'ub1bL1608C15'),
('http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#name', '1Adot_pass'),
('http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#status',
'http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#proposed'),
('http://www.w3.org/ns/shacl/test-suite#trait', 'http://www.w3.org/ns/shacl/test-suite#TriplePattern')]
# *** Actions ***
[('ub1bL1608C15',
'http://www.w3.org/ns/shacl/test-suite#data',
'https://raw.githubusercontent.com/shexSpec/shexTest/master/validation/Is1_a_Io1.ttl'),
('ub1bL1608C15', 'http://www.w3.org/ns/shacl/test-suite#focus', 'http://a.example/s1'),
('ub1bL1608C15',
'http://www.w3.org/ns/shacl/test-suite#schema',
'https://raw.githubusercontent.com/shexSpec/shexTest/master/schemas/1Adot.shex'),
('ub1bL1608C15', 'http://www.w3.org/ns/shacl/test-suite#shape', 'http://a.example/S1')]and the equivalent in manifest.jsonld:
# ========== JSON LD
# *** Triples ***
[('http://www.w3.org/1999/02/22-rdf-syntax-ns#type', 'http://www.w3.org/ns/shacl/test-suite#ValidationTest'),
('http://www.w3.org/2000/01/rdf-schema#comment', '<S> { a . } on { <s1> a <o1> }'),
('http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#action', 'Ncb947f75e745477486da7f22d6f65cb5'),
('http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#extensionResults',
'http://www.w3.org/1999/02/22-rdf-syntax-ns#nil'),
('http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#name', '1Adot_pass'),
('http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#status',
'http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#proposed')]
# *** Actions ***
[('Ncb947f75e745477486da7f22d6f65cb5',
'https://shexspec.github.io/shexTest/ns#data',
'https://raw.githubusercontent.com/shexSpec/shexTest/master/validation/Is1_a_Io1.ttl'),
('Ncb947f75e745477486da7f22d6f65cb5', 'https://shexspec.github.io/shexTest/ns#focus', 'http://a.example/s1'),
('Ncb947f75e745477486da7f22d6f65cb5',
'https://shexspec.github.io/shexTest/ns#schema',
'https://raw.githubusercontent.com/shexSpec/shexTest/master/schemas/1Adot.shex'),
('Ncb947f75e745477486da7f22d6f65cb5', 'https://shexspec.github.io/shexTest/ns#shape', 'http://a.example/S1')]Metadata
Metadata
Assignees
Labels
No labels