Skip to content
Alpha: see what works today →
Menu

bridge:IdentityRelationTest Identity relation test

https://ns.cascadeprotocol.org/bridge/v1-draft#IdentityRelationTest

Convert each bridge:conversion of the action on its own: its bridge:input, in its bridge:envelope, supplied with the facts its bridge:facts names. Each conversion names one record: the record of the version whose arrival's oa:hasSelector has the conversion's bridge:selector as its rdf:value or, where the conversion carries none, the one record of its graph a version arrived for. Where the result's bridge:sameRecord is true the two records' names must be equal, and where it is false they must differ. A conversion naming no record, or more than one, fails the entry.

Type
owl:Class

bridge.shapes.ttl#IdentityRelationTest checks each bridge:IdentityRelationTest.

PropertyValue typeHow manyWhen it is not met
mf:actionbridge.shapes.ttl#IdentityAction
mf:resultbridge.shapes.ttl#IdentityResultexactly 1 An identity relation test carries exactly one mf:result, saying whether its conversions name one record.

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.

PropertyValue typeHow manyWhen it is not met
mf:namexsd: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:actionsh:BlankNodeOrIRIexactly 1 A test carries exactly one mf:action.
bridge:testsUnaccountedSourcePathxsd: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#