bridge:VersioningTest Versioning test
https://ns.cascadeprotocol.org/bridge/v1-draft#VersioningTest
A test of a Bridge: name the versions in bridge:input, read as the graph a mapping constructed, its literals as written. The produced graph must be isomorphic to bridge:expectedGraph, blank nodes relabelled and IRIs and literals exact. Each bridge:expectedVersion's bridge:expectedName must name a version whose content, with the placeholder in place, has bridge:canonicalContent as its canonical N-Quads, byte for byte, and no other version may be named.
- Type
owl:Class
bridge.shapes.ttl#BridgeTest checks each bridge:LiftTest, bridge:SkeletonTest, bridge:NamingTest, bridge:BaseUrlNormalisationTest, bridge:BaseUrlRefusalTest, bridge:VersioningTest.
On the whole node: sparql [ prefixes bridge.shapes.ttl; message "A test of a Bridge is listed only in a manifest that names no bridge:adapter."; select
SELECT $this ?value WHERE {
?manifest mf:entries/rdf:rest*/rdf:first $this ;
bridge:adapter ?value .
} ]
bridge.shapes.ttl#BridgeTestResult checks each bridge:LiftTest, bridge:SkeletonTest, bridge:NamingTest, bridge:BaseUrlNormalisationTest, bridge:VersioningTest.
| Property | Value type | How many | When it is not met |
|---|---|---|---|
mf:result | exactly 1 | A test of a Bridge carries exactly one mf:result. |
bridge.shapes.ttl#Test checks each bridge:IsomorphicConversionTest, bridge:InputOnlyTest, bridge:DatasetCompletionTest, bridge:LiftTest, bridge:SkeletonTest, bridge:NamingTest, bridge:BaseUrlNormalisationTest, bridge:BaseUrlRefusalTest, bridge:VersioningTest, bridge:IdentityRelationTest, bridge:LibraryTest.
| Property | Value type | How many | When it is not met |
|---|---|---|---|
mf:name | xsd:string pattern "^[A-Za-z0-9][A-Za-z0-9_.-]*$" | exactly 1 | A test carries exactly one mf:name, the id that is also its fragment IRI. |
mf:action | sh:BlankNodeOrIRI | exactly 1 | A test carries exactly one mf:action. |
bridge:testsUnaccountedSourcePath | xsd:string | A test names each path it tests by bridge:testsUnaccountedSourcePath, an xsd:string. |
On the whole node: nodeKind sh:IRI
bridge.shapes.ttl#VersioningTest checks each bridge:VersioningTest.
| Property | Value type | How many | When it is not met |
|---|---|---|---|
mf:action | bridge.shapes.ttl#VersioningAction | ||
mf:result | bridge.shapes.ttl#VersioningResult |
Where it comes from and what uses it
- Subclass of
mf:ManifestEntry- Source
https://ns.cascadeprotocol.org/bridge/v1-draft#