bridge:SkeletonTest Envelope skeleton test
https://ns.cascadeprotocol.org/bridge/v1-draft#SkeletonTest
A test of a Bridge offering bridge:sparql-1.1: build the envelope skeleton of bridge:input by the lift the action's bridge:sourceMediaType selects, its records named by the action's bridge:elementNameOfEachRecord or bridge:jsonPathOfEachRecord. The produced graph must be isomorphic to bridge:expectedGraph, blank nodes relabelled and IRIs and literals exact. Nothing is removed from either side.
- 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#SkeletonTest checks each bridge:SkeletonTest.
| Property | Value type | How many | When it is not met |
|---|---|---|---|
mf:action | bridge.shapes.ttl#SkeletonAction | ||
mf:result | bridge.shapes.ttl#LiftResult |
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
Where it comes from and what uses it
- Subclass of
mf:ManifestEntry- Source
https://ns.cascadeprotocol.org/bridge/v1-draft#