Skip to content
Alpha: see what works today →
Menu

bridge:IsomorphicConversionTest Isomorphic conversion test

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

Convert bridge:input, supplied with the facts bridge:facts names where the action names them. The produced graph must be isomorphic to bridge:expectedGraph (blank nodes relabelled, IRIs and literals exact) after every triple whose subject is the prov:agent of a prov:qualifiedAssociation that has a prov:hadPlan, the Bridge's release, is removed from both sides. The produced findings must be isomorphic to bridge:expectedFindings in the same way, except that two selectors of one kind, oa:XPathSelector or an oa:FragmentSelector conforming to JSON Pointer, are equal when their rdf:values select the same one node: a record's selector evaluated against bridge:input, a refinement against the record that selector selects, read as a document of its own. An address selecting no node, or more than one, fails the entry. A finding produced twice is two blank nodes and counts twice.

Type
owl:Class

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

PropertyValue typeHow manyWhen it is not met
mf:actionbridge.shapes.ttl#CommittedAction
mf:resultbridge.shapes.ttl#ConversionResultexactly 1 An isomorphic conversion test carries exactly one mf:result naming the expected graph and findings.

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#