Shapes other shapes use
The shapes no term's page shows: those another shape sends a value to with node, and those whose class or property has no page.
bridge.shapes.ttl#CarriedAs
bridge.shapes.ttl#CarriedAs checks what another shape sends it.
bridge:asProperty: minCount1; maxCount1; nodeKindsh:IRIA bridge:carriedAs names exactly one bridge:asProperty, the Cascade property the path's value becomes, by IRI.
bridge:inRecordClass: minCount1; maxCount1; nodeKindsh:IRIA bridge:carriedAs names exactly one bridge:inRecordClass, the Cascade class of the record the value is written on, by IRI.
bridge:inSourceRecordType: maxCount1; datatypexsd:stringA bridge:carriedAs names at most one bridge:inSourceRecordType, a string: the source's own name for the kind of record the path is read in, a FHIR resource type or a C-CDA templateId's root.
bridge.shapes.ttl#CarriedEntry
bridge.shapes.ttl#CarriedEntry checks what another shape sends it.
On the whole node: target [ a sh:SPARQLTarget; prefixes bridge.shapes.ttl; select
SELECT ?this WHERE { ?this a bridge:PathEntry ; bridge:verdict bridge:carried } ]
bridge:namesGap: maxCount0An entry whose verdict is bridge:carried names no bridge:namesGap.
bridge:sameFactAs: maxCount0An entry whose verdict is bridge:carried names no bridge:sameFactAs.
bridge:because: maxCount0An entry whose verdict is bridge:carried gives no bridge:because.
bridge.shapes.ttl#CarriedInPartEntry
bridge.shapes.ttl#CarriedInPartEntry checks what another shape sends it.
On the whole node: target [ a sh:SPARQLTarget; prefixes bridge.shapes.ttl; select
SELECT ?this WHERE { ?this a bridge:PathEntry ; bridge:verdict bridge:carriedInPart } ]
bridge:namesGap: minCount1; maxCount1An entry whose verdict is bridge:carriedInPart names exactly one bridge:namesGap, the gap the loss opens.
bridge:sameFactAs: maxCount0An entry whose verdict is bridge:carriedInPart names no bridge:sameFactAs.
bridge:because: maxCount0An entry whose verdict is bridge:carriedInPart gives no bridge:because.
bridge.shapes.ttl#CommittedAction
bridge.shapes.ttl#CommittedAction checks what another shape sends it.
On the whole node: closed true; ignoredProperties ( rdf:type )
bridge:input: minCount1; maxCount1; nodeKindsh:IRI; classschema:MediaObjectThe action of a committed-input test names exactly one bridge:input, and it is a crate File entity (schema:MediaObject), not a bare IRI naming nothing.
bridge:envelope: minCount1; maxCount1; nodeKindsh:IRI; classbridge:EnvelopeThe action names exactly one bridge:envelope, a bridge:Envelope by IRI.
bridge:facts: maxCount1; nodeKindsh:IRI; classschema:MediaObjectThe action names at most one bridge:facts, the Turtle file of facts supplied with its input, and it is a crate File entity (schema:MediaObject), not a bare IRI naming nothing.
bridge.shapes.ttl#ConsumedEntry
bridge.shapes.ttl#ConsumedEntry checks what another shape sends it.
On the whole node: target [ a sh:SPARQLTarget; prefixes bridge.shapes.ttl; select
SELECT ?this WHERE { ?this a bridge:PathEntry ; bridge:verdict bridge:consumed } ]
bridge:namesGap: maxCount0An entry whose verdict is bridge:consumed names no bridge:namesGap.
bridge:sameFactAs: maxCount0An entry whose verdict is bridge:consumed names no bridge:sameFactAs.
bridge:because: maxCount0An entry whose verdict is bridge:consumed gives no bridge:because.
bridge.shapes.ttl#Conversion
bridge.shapes.ttl#Conversion checks what another shape sends it.
On the whole node: closed true; ignoredProperties ( rdf:type )
bridge:input: minCount1; maxCount1; nodeKindsh:IRI; classschema:MediaObjectA conversion names exactly one bridge:input, a crate File entity (schema:MediaObject).
bridge:envelope: minCount1; maxCount1; nodeKindsh:IRI; classbridge:EnvelopeA conversion names exactly one bridge:envelope, a bridge:Envelope by IRI.
bridge:facts: maxCount1; nodeKindsh:IRI; classschema:MediaObjectA conversion names at most one bridge:facts, a crate File entity (schema:MediaObject).
bridge:selector: maxCount1; datatypexsd:stringA conversion carries at most one bridge:selector, a plain string: where the record it names stood in its input.
bridge.shapes.ttl#ConversionResult
bridge.shapes.ttl#ConversionResult checks what another shape sends it.
On the whole node: closed true; ignoredProperties ( rdf:type )
bridge:expectedGraph: minCount1; maxCount1; nodeKindsh:IRI; classschema:MediaObjectThe result names exactly one bridge:expectedGraph, the expected Turtle, and it is a crate File entity (schema:MediaObject), not a bare IRI naming nothing.
bridge:expectedFindings: minCount1; maxCount1; nodeKindsh:IRI; classschema:MediaObjectThe result names exactly one bridge:expectedFindings, the Turtle graph of the findings the entry must produce, and it is a crate File entity (schema:MediaObject), not a bare IRI naming nothing.
bridge.shapes.ttl#DatasetAction
bridge.shapes.ttl#DatasetAction checks what another shape sends it.
On the whole node: closed true; ignoredProperties ( rdf:type )
bridge:dataset: minCount1; maxCount1; nodeKindsh:IRI; nodebridge.shapes.ttl#RunnableDatasetThe action of a dataset completion test names exactly one bridge:dataset, by the crate entity's IRI: a Dataset with a contentUrl, one a Bridge can fetch.
bridge:envelope: minCount1; maxCount1; nodeKindsh:IRI; classbridge:EnvelopeThe action names exactly one bridge:envelope, a bridge:Envelope by IRI.
bridge.shapes.ttl#DatasetResult
bridge.shapes.ttl#DatasetResult checks what another shape sends it.
On the whole node: closed true; ignoredProperties ( rdf:type )
bridge:recordsProcessedCount: maxCount1; datatypexsd:integer; minInclusive0bridge:recordsProcessedCount is a non-negative xsd:integer, at most once.
bridge:outputDigest: maxCount1; datatypexsd:string; pattern"^sha256:[0-9a-f]{64}$"bridge:outputDigest is the string sha256:<64 lowercase hex>, at most once.
bridge.shapes.ttl#Entry
bridge.shapes.ttl#Entry checks what another shape sends it.
On the whole node: nodeKind sh:IRI; xone ( [ class bridge:IsomorphicConversionTest ] [ class bridge:InputOnlyTest ] [ class bridge:DatasetCompletionTest ] [ class bridge:LiftTest ] [ class bridge:SkeletonTest ] [ class bridge:NamingTest ] [ class bridge:BaseUrlNormalisationTest ] [ class bridge:BaseUrlRefusalTest ] [ class bridge:VersioningTest ] [ class bridge:IdentityRelationTest ] [ class bridge:LibraryTest ] ) A manifest entry is an IRI typed with exactly one of bridge:IsomorphicConversionTest, bridge:InputOnlyTest, bridge:DatasetCompletionTest, bridge:LiftTest, bridge:SkeletonTest, bridge:NamingTest, bridge:BaseUrlNormalisationTest, bridge:BaseUrlRefusalTest, bridge:VersioningTest, bridge:IdentityRelationTest, bridge:LibraryTest.
bridge.shapes.ttl#EntryLookingItsValuesUp
bridge.shapes.ttl#EntryLookingItsValuesUp checks what another shape sends it.
On the whole node: target [ a sh:SPARQLTarget; prefixes bridge.shapes.ttl; select
SELECT ?this WHERE {
?this a bridge:PathEntry .
{ ?this bridge:lookupIn ?map } UNION { ?this bridge:lookupNamesGap ?gap }
} ]
bridge:lookupIn: minCount1An entry naming a bridge:lookupNamesGap names the bridge:lookupIn that gap is a value outside: a lookup is a concept map and the gap a value the map lacks opens, and neither half stands without the other.
bridge:lookupNamesGap: minCount1An entry naming a bridge:lookupIn names the bridge:lookupNamesGap a value outside that map opens: a lookup is a concept map and the gap a value the map lacks opens, and neither half stands without the other.
bridge.shapes.ttl#EntryReachingNoGraph
bridge.shapes.ttl#EntryReachingNoGraph checks what another shape sends it.
On the whole node: target [ a sh:SPARQLTarget; prefixes bridge.shapes.ttl; select
SELECT ?this WHERE {
?this a bridge:PathEntry ; bridge:verdict ?verdict .
FILTER (?verdict NOT IN (bridge:carried, bridge:carriedInPart))
} ]
bridge:carriedAs: maxCount0An entry whose verdict is not bridge:carried or bridge:carriedInPart names no bridge:carriedAs: its path's value reaches no graph.
bridge.shapes.ttl#ExpectedVersion
bridge.shapes.ttl#ExpectedVersion checks what another shape sends it.
On the whole node: closed true; ignoredProperties ( rdf:type )
bridge:expectedName: minCount1; maxCount1; nodeKindsh:IRI; pattern"^ni:///sha-256;[A-Za-z0-9_-]{43}$"An expected version names exactly one bridge:expectedName, ni:///sha-256; and 43 unpadded base64url characters.
bridge:canonicalContent: minCount1; maxCount1; nodeKindsh:IRIAn expected version names exactly one bridge:canonicalContent, the N-Quads its name is the hash of, by IRI.
bridge.shapes.ttl#FailingForAMissingFile
bridge.shapes.ttl#FailingForAMissingFile checks what another shape sends it.
On the whole node: target [ a sh:SPARQLTarget; prefixes bridge.shapes.ttl; select
SELECT ?this WHERE {
{ ?this bridge:failure bridge:fileMissingFailure } UNION { ?this bridge:missingFile ?file }
} ]
bridge:failure: hasValuebridge:fileMissingFailureA call naming a bridge:missingFile fails with bridge:fileMissingFailure.
bridge:missingFile: minCount1A call failing with bridge:fileMissingFailure names the bridge:missingFile it must name.
bridge.shapes.ttl#FileMap
bridge.shapes.ttl#FileMap checks what another shape sends it.
On the whole node: closed true; ignoredProperties ( rdf:type ) A map of files carries only a bridge:iri, a bridge:directory, its bridge:withholds and its bridge:substitute.
bridge:iri: minCount1; maxCount1; nodeKindsh:IRI; pattern"/$"A map of files carries exactly one bridge:iri, ending in /, that each key resolves against.
bridge:directory: minCount1; maxCount1; nodeKindsh:IRI; pattern"/$"A map of files carries exactly one bridge:directory, ending in /, whose files it holds.
bridge:withholds: datatypexsd:stringEach bridge:withholds of a map is a key, a plain string.
bridge:substitute: nodebridge.shapes.ttl#SubstituteEach bridge:substitute of a map names a bridge:key and the bridge:file held under it.
bridge.shapes.ttl#FindingTarget
bridge.shapes.ttl#FindingTarget checks what another shape sends it.
On the whole node: sparql [ prefixes bridge.shapes.ttl; message "A finding's target carries a selector of its own, shared with no other finding: selectors on one node are alternative ways of selecting the same thing."; select
SELECT $this ?value WHERE {
$this oa:hasSelector ?value .
?other oa:hasSelector ?value .
FILTER (?other != $this)
} ]; sparql [ prefixes bridge.shapes.ttl; message "A finding carries a target of its own, shared with no other finding: two findings on one target stand on that target's one selector, and which node each finding is about is then unrecoverable."; select SELECT $this ?value WHERE {
?value oa:hasTarget $this .
?other oa:hasTarget $this .
FILTER (?other != ?value)
} ]
oa:hasSource: minCount1; maxCount1; nodeKindsh:IRIA finding's target names exactly one oa:hasSource by IRI, the document the record was read from.
oa:hasSelector: minCount1; maxCount1; nodebridge.shapes.ttl#RecordSelectorA finding's target carries exactly one oa:hasSelector, the record's selector.
bridge.shapes.ttl#Host
bridge.shapes.ttl#Host checks what another shape sends it.
schema:name: minCount1; maxCount1; datatypexsd:stringA host carries exactly one name, a string.
bridge:setup: minCount1; maxCount1A host carries exactly one setup.
- (
bridge:setup[ zeroOrMorePathrdf:rest]rdf:first): minCount1; datatypexsd:stringA host's setup is an argument vector, a JSON array of one or more strings.
bridge:command: minCount1; maxCount1A host carries exactly one command.
- (
bridge:command[ zeroOrMorePathrdf:rest]rdf:first): minCount1; datatypexsd:stringA host's command is an argument vector, a JSON array of one or more strings.
bridge:release: maxCount1; nodebridge.shapes.ttl#ReleaseA host carries at most one release, a JSON object naming an asset and a path.
bridge.shapes.ttl#IdentityAction
bridge.shapes.ttl#IdentityAction checks what another shape sends it.
On the whole node: closed true; ignoredProperties ( rdf:type )
bridge:conversion: minCount2; maxCount2; nodebridge.shapes.ttl#ConversionThe action of an identity relation test carries exactly two bridge:conversion, each naming an input and its envelope, at most one file of facts and at most one bridge:selector.
bridge.shapes.ttl#IdentityResult
bridge.shapes.ttl#IdentityResult checks what another shape sends it.
On the whole node: closed true; ignoredProperties ( rdf:type )
bridge:sameRecord: minCount1; maxCount1; datatypexsd:booleanThe result of an identity relation test carries exactly one bridge:sameRecord, an xsd:boolean.
bridge.shapes.ttl#IgnoredEntry
bridge.shapes.ttl#IgnoredEntry checks what another shape sends it.
On the whole node: target [ a sh:SPARQLTarget; prefixes bridge.shapes.ttl; select
SELECT ?this WHERE { ?this a bridge:PathEntry ; bridge:verdict bridge:ignored } ]
bridge:because: minCount1; maxCount1An entry whose verdict is bridge:ignored gives exactly one bridge:because, why the path is deliberately not carried.
bridge:namesGap: maxCount0An entry whose verdict is bridge:ignored names no bridge:namesGap.
bridge:sameFactAs: maxCount0An entry whose verdict is bridge:ignored names no bridge:sameFactAs.
bridge.shapes.ttl#LibraryCall
bridge.shapes.ttl#LibraryCall checks what another shape sends it.
On the whole node: nodeKind sh:BlankNode; xone ( [ class bridge:DescribeCall ] [ class bridge:LoadCall ] [ class bridge:AskCall ] [ class bridge:ConvertCall ] [ class bridge:TestCall ] ) A library call is a blank node typed with exactly one of bridge:DescribeCall, bridge:LoadCall, bridge:AskCall, bridge:ConvertCall, bridge:TestCall.
bridge.shapes.ttl#LiftAction
bridge.shapes.ttl#LiftAction checks what another shape sends it.
On the whole node: closed true; ignoredProperties ( rdf:type )
bridge:sourceMediaType: minCount1; maxCount1; datatypexsd:string; pattern"^(application/(xml|json)|text/xml|[a-z]+/[a-z0-9.!#$&^_-]+[+](xml|json))$"The action of a test of a Bridge names exactly one bridge:sourceMediaType, which selects the lift: application/xml, text/xml or a +xml type for the XML lift, application/json or a +json type for the JSON lift.
bridge:input: minCount1; maxCount1; nodeKindsh:IRIThe action of a lift test names exactly one bridge:input, the document lifted, by IRI.
bridge:elementNameBreakingText: datatypexsd:stringEach bridge:elementNameBreakingText of a lift test's action is a string, the local name of an element that breaks text, as an adapter names one.
bridge.shapes.ttl#LiftResult
bridge.shapes.ttl#LiftResult checks what another shape sends it.
On the whole node: closed true; ignoredProperties ( rdf:type )
bridge:expectedGraph: minCount1; maxCount1; nodeKindsh:IRIThe result of a lift test names exactly one bridge:expectedGraph, the graph the lift must be isomorphic to, by IRI.
bridge.shapes.ttl#Manifest
bridge.shapes.ttl#Manifest checks each mf:Manifest.
On the whole node: sparql [ prefixes bridge.shapes.ttl; message "A manifest listing an adapter's test (bridge:IsomorphicConversionTest, bridge:InputOnlyTest, bridge:DatasetCompletionTest, bridge:IdentityRelationTest) carries exactly one bridge:adapter, a bridge:Adapter by IRI: the root entity of the adapter's crate."; select
SELECT DISTINCT $this (bridge:adapter AS ?path) WHERE {
$this mf:entries/rdf:rest*/rdf:first/rdf:type ?type .
FILTER (?type IN (bridge:IsomorphicConversionTest, bridge:InputOnlyTest, bridge:DatasetCompletionTest, bridge:IdentityRelationTest))
FILTER NOT EXISTS { $this bridge:adapter ?adapter }
} ]; sparql [ prefixes bridge.shapes.ttl; message "The manifest's bridge:adapter names an adapter whose bridge:testManifest is this manifest."; select SELECT $this ?value WHERE {
$this bridge:adapter ?value .
FILTER NOT EXISTS { ?value bridge:testManifest $this }
} ]; sparql [ prefixes bridge.shapes.ttl; message "Every bridge:envelope in an entry's action is one the manifest's adapter lists."; select SELECT $this ?value WHERE {
$this bridge:adapter ?adapter ;
mf:entries/rdf:rest*/rdf:first/mf:action/bridge:conversion?/bridge:envelope ?value .
FILTER NOT EXISTS { ?adapter bridge:envelope ?value }
} ]
bridge:adapter: maxCount1; nodeKindsh:IRI; classbridge:AdapterThe manifest carries at most one bridge:adapter, a bridge:Adapter by IRI: the root entity of the adapter's crate.
mf:entries: minCount1; maxCount1; nodeKindsh:BlankNodeOrIRIThe manifest carries exactly one mf:entries list.
- (
mf:entries[ zeroOrMorePathrdf:rest]rdf:first): minCount1; nodebridge.shapes.ttl#Entrymf:entries lists at least one test, and every member is a test of exactly one bridge: test type.
bridge.shapes.ttl#NamedFile
bridge.shapes.ttl#NamedFile checks what another shape sends it.
On the whole node: closed true; ignoredProperties ( rdf:type )
bridge:iri: minCount1; maxCount1; nodeKindsh:IRIA document or its facts carries exactly one bridge:iri, the IRI the caller gives it.
bridge:file: minCount1; maxCount1; nodeKindsh:IRIA document or its facts names exactly one bridge:file, its bytes, by IRI.
bridge.shapes.ttl#NamingAction
bridge.shapes.ttl#NamingAction checks what another shape sends it.
On the whole node: closed true; ignoredProperties ( rdf:type ); or ( [ path qt:query; maxCount 0 ] [ path ( bridge:nameInputs [ zeroOrMorePath rdf:rest ] rdf:first ); datatype xsd:string ] ); not [ and ( [ path qt:query; minCount 1 ] [ path bridge:input; minCount 1 ] ) ]; xone ( [ path bridge:nameInputs; minCount 1 ] [ path bridge:input; minCount 1 ] ) The action of a naming test carries exactly one of a bridge:nameInputs list and a bridge:input, never a bridge:input beside a qt:query, and a nested list of inputs only without a qt:query.
qt:query: maxCount1; nodeKindsh:IRIThe action of a naming test names at most one qt:query, the query computing the name from ?input1 onwards, by IRI.
bridge:nameInputs: maxCount1The action of a naming test carries at most one bridge:nameInputs list.
bridge:input: maxCount1; nodeKindsh:IRIThe action of a naming test names at most one bridge:input, the content named, by IRI.
bridge:nameInputs: not [ in (rdf:nil) ]bridge:nameInputs lists at least one input.
- (
bridge:nameInputs[ zeroOrMorePathrdf:rest]rdf:first): or ( [ datatypexsd:string] [ in (rdf:nil) ] [ and ( [ nodeKindsh:BlankNode] [ path ( [ zeroOrMorePathrdf:rest]rdf:first); datatypexsd:string] ) ] )Each member of bridge:nameInputs is a plain string, or a list of plain strings.
bridge.shapes.ttl#NamingResult
bridge.shapes.ttl#NamingResult checks what another shape sends it.
On the whole node: closed true; ignoredProperties ( rdf:type )
bridge:expectedName: minCount1; maxCount1; or ( [ nodeKindsh:IRI] [ nodeKindsh:Literal; datatypexsd:string] )The result of a naming test carries exactly one bridge:expectedName, an IRI or a plain string.
bridge:canonicalContent: maxCount1; nodeKindsh:IRIThe result of a naming test names at most one bridge:canonicalContent, the N-Quads the name is the hash of, by IRI.
bridge.shapes.ttl#NoHomeEntry
bridge.shapes.ttl#NoHomeEntry checks what another shape sends it.
On the whole node: target [ a sh:SPARQLTarget; prefixes bridge.shapes.ttl; select
SELECT ?this WHERE { ?this a bridge:PathEntry ; bridge:verdict bridge:noHome } ]
bridge:namesGap: minCount1; maxCount1An entry whose verdict is bridge:noHome names exactly one bridge:namesGap, the gap the missing predicate opens.
bridge:sameFactAs: maxCount0An entry whose verdict is bridge:noHome names no bridge:sameFactAs.
bridge:because: maxCount0An entry whose verdict is bridge:noHome gives no bridge:because.
bridge.shapes.ttl#OutputValidationFinding
bridge.shapes.ttl#OutputValidationFinding checks the subject of any sh:resultPath, sh:focusNode.
sh:resultPath: maxCount1; nodeKindsh:IRIA finding about the produced graph carries at most one sh:resultPath, by IRI: the predicate the SHACL result that made it stands on.
sh:focusNode: maxCount1; nodeKindsh:IRIA finding about the produced graph carries at most one sh:focusNode, and carries it only where the node the SHACL result is about is an IRI: a blank node of the produced graph names nothing a reader can follow.
- (
oa:hasTargetoa:hasSelectoroa:refinedBy): maxCount0A finding about the produced graph selects the record its result came from, refined no further: which node broke is sh:focusNode and sh:resultPath, not a place in the source.
bridge.shapes.ttl#RecordSelector
bridge.shapes.ttl#RecordSelector checks what another shape sends it.
On the whole node: or ( [ class oa:XPathSelector ] [ class oa:FragmentSelector; property [ path dct:conformsTo; hasValue https://www.rfc-editor.org/rfc/rfc6901 ] ] ); sparql [ prefixes bridge.shapes.ttl; message "A selector refining a record's selector is of its kind: an oa:XPathSelector refines an oa:XPathSelector, and an oa:FragmentSelector an oa:FragmentSelector."; select
SELECT $this ?value WHERE {
$this oa:refinedBy ?value .
FILTER NOT EXISTS {
$this a ?kind .
?value a ?kind .
FILTER (?kind IN (oa:XPathSelector, oa:FragmentSelector))
}
} ] A record's selector is an oa:XPathSelector, or an oa:FragmentSelector whose dcterms:conformsTo is JSON Pointer, <https://www.rfc-editor.org/rfc/rfc6901>.
rdf:value: minCount1; maxCount1; datatypexsd:stringA selector carries exactly one rdf:value, its XPath or its JSON Pointer, a string.
oa:refinedBy: maxCount1; nodebridge.shapes.ttl#RefinedSelectorA record's selector is refined by at most one selector, the one the finding names inside the record.
bridge.shapes.ttl#RedundantWithEntry
bridge.shapes.ttl#RedundantWithEntry checks what another shape sends it.
On the whole node: target [ a sh:SPARQLTarget; prefixes bridge.shapes.ttl; select
SELECT ?this WHERE { ?this a bridge:PathEntry ; bridge:verdict bridge:redundantWith } ]
bridge:sameFactAs: minCount1; maxCount1An entry whose verdict is bridge:redundantWith names exactly one bridge:sameFactAs, the bridge:sourcePath that carries the fact instead.
bridge:namesGap: maxCount0An entry whose verdict is bridge:redundantWith names no bridge:namesGap.
bridge:because: maxCount0An entry whose verdict is bridge:redundantWith gives no bridge:because.
bridge.shapes.ttl#RefinedSelector
bridge.shapes.ttl#RefinedSelector checks what another shape sends it.
On the whole node: or ( [ class oa:XPathSelector ] [ class oa:FragmentSelector; property [ path dct:conformsTo; hasValue https://www.rfc-editor.org/rfc/rfc6901 ] ] ) A selector refining a record's selector is an oa:XPathSelector, or an oa:FragmentSelector whose dcterms:conformsTo is JSON Pointer, <https://www.rfc-editor.org/rfc/rfc6901>.
rdf:value: minCount1; maxCount1; datatypexsd:stringA selector carries exactly one rdf:value, its XPath or its JSON Pointer, a string.
oa:refinedBy: maxCount0A selector refining a record's selector is refined no further.
bridge.shapes.ttl#Release
bridge.shapes.ttl#Release checks what another shape sends it.
bridge:asset: minCount1; maxCount1; datatypexsd:stringA host's release names exactly one asset, a glob, as a string.
bridge:path: minCount1; maxCount1; datatypexsd:stringA host's release names exactly one path in the engine's checkout, a string.
bridge:command: maxCount1A host's release carries at most one command.
- (
bridge:command[ zeroOrMorePathrdf:rest]rdf:first): datatypexsd:stringA release's command is an argument vector, a JSON array of strings.
bridge.shapes.ttl#RunnableDataset
bridge.shapes.ttl#RunnableDataset checks what another shape sends it.
On the whole node: class schema:Dataset
schema:contentUrl: minCount1; maxCount1A dataset a test runs carries exactly one schema:contentUrl.
bridge.shapes.ttl#ServerBaseUrl
bridge.shapes.ttl#ServerBaseUrl checks what another shape sends it.
On the whole node: closed true; ignoredProperties ( rdf:type )
cascade:serverBaseUrl: minCount1; maxCount1; datatypexsd:stringThe action and the result of a base URL test each carry exactly one cascade:serverBaseUrl, a plain string.
bridge.shapes.ttl#SkeletonAction
bridge.shapes.ttl#SkeletonAction checks what another shape sends it.
On the whole node: closed true; ignoredProperties ( rdf:type ); xone ( [ path bridge:elementNameOfEachRecord; minCount 1 ] [ path bridge:jsonPathOfEachRecord; minCount 1 ] ) The action of a skeleton test names exactly one of bridge:elementNameOfEachRecord, the local name of the XML records, and bridge:jsonPathOfEachRecord, the JSONPath selecting the JSON records.
bridge:sourceMediaType: minCount1; maxCount1; datatypexsd:string; pattern"^(application/(xml|json)|text/xml|[a-z]+/[a-z0-9.!#$&^_-]+[+](xml|json))$"The action of a test of a Bridge names exactly one bridge:sourceMediaType, which selects the lift: application/xml, text/xml or a +xml type for the XML lift, application/json or a +json type for the JSON lift.
bridge:input: minCount1; maxCount1; nodeKindsh:IRIThe action of a skeleton test names exactly one bridge:input, the document the skeleton is built from, by IRI.
bridge:elementNameOfEachRecord: maxCount1; datatypexsd:stringThe action of a skeleton test names at most one bridge:elementNameOfEachRecord, the local name of the XML records, a string.
bridge:jsonPathOfEachRecord: maxCount1; datatypexsd:stringThe action of a skeleton test names at most one bridge:jsonPathOfEachRecord, the JSONPath selecting the JSON records, a string.
bridge.shapes.ttl#SourceFinding
bridge.shapes.ttl#SourceFinding checks each oa:Annotation.
On the whole node: nodeKind sh:BlankNode A finding is a blank node written for that one finding: a name is one node for every finding, and which target, body and severity standing on it belong to which finding is then unrecoverable.
oa:hasTarget: minCount1; maxCount1; nodebridge.shapes.ttl#FindingTargetA finding about the source document carries exactly one oa:hasTarget, naming the document the record was read from and selecting the node the finding is about.
oa:hasBody: minCount1; maxCount1; nodeKindsh:IRIA finding carries exactly one oa:hasBody, an IRI: the code the finding is an instance of, never a sentence.
oa:motivatedBy: minCount1; maxCount1; hasValueoa:classifyingA finding carries exactly one oa:motivatedBy, oa:classifying.
sh:value: maxCount1A finding carries at most one sh:value, what in the source it is about.
cascade:occurrenceCount: maxCount1; datatypexsd:integer; minInclusive2A finding carries at most one cascade:occurrenceCount, how many nodes of the record stand at the path it is about, an xsd:integer of 2 or more: a count of one is written by omitting it.
sh:resultSeverity: minCount1; maxCount1; in (sh:Infosh:Warningsh:Violation)A finding carries exactly one sh:resultSeverity, one of sh:Info, sh:Warning, sh:Violation.
bridge.shapes.ttl#SubjectOfASourcePath
bridge.shapes.ttl#SubjectOfASourcePath checks what another shape sends it.
On the whole node: target [ a sh:SPARQLTarget; prefixes bridge.shapes.ttl; select
SELECT ?this WHERE { ?this bridge:sourcePath ?path } ]; class bridge:PathEntry A subject of a bridge:sourcePath is a bridge:PathEntry.
bridge.shapes.ttl#Substitute
bridge.shapes.ttl#Substitute checks what another shape sends it.
On the whole node: closed true; ignoredProperties ( rdf:type )
bridge:key: minCount1; maxCount1; datatypexsd:stringA substitute carries exactly one bridge:key, a plain string.
bridge:file: minCount1; maxCount1; nodeKindsh:IRIA substitute names exactly one bridge:file, by IRI.
bridge.shapes.ttl#UndeclaredPredicateFinding
bridge.shapes.ttl#UndeclaredPredicateFinding checks what another shape sends it.
On the whole node: target [ a sh:SPARQLTarget; prefixes bridge.shapes.ttl; select
SELECT ?this WHERE { ?this oa:hasBody bridge:predicateNotDeclared } ]
sh:resultPath: minCount1A finding whose body is bridge:predicateNotDeclared carries the predicate no ontology declares as its sh:resultPath.
sh:resultSeverity: hasValuesh:ViolationA finding whose body is bridge:predicateNotDeclared carries sh:resultSeverity sh:Violation: a predicate outside every ontology the adapter is read against leaves the graph unreadable.
bridge.shapes.ttl#VersioningAction
bridge.shapes.ttl#VersioningAction checks what another shape sends it.
On the whole node: closed true; ignoredProperties ( rdf:type )
bridge:input: minCount1; maxCount1; nodeKindsh:IRIThe action of a versioning test names exactly one bridge:input, the N-Triples a mapping constructed, by IRI.
bridge.shapes.ttl#VersioningResult
bridge.shapes.ttl#VersioningResult checks what another shape sends it.
On the whole node: closed true; ignoredProperties ( rdf:type )
bridge:expectedGraph: minCount1; maxCount1; nodeKindsh:IRIThe result of a versioning test names exactly one bridge:expectedGraph, the graph with every version named, by IRI.
bridge:expectedVersion: minCount1; nodebridge.shapes.ttl#ExpectedVersionThe result of a versioning test carries a bridge:expectedVersion for each version the input holds.
carried-as.shapes.ttl#EntryReachingTheGraph
carried-as.shapes.ttl#EntryReachingTheGraph checks what another shape sends it.
On the whole node: target [ a sh:SPARQLTarget; prefixes carried-as.shapes.ttl; select
SELECT ?this WHERE {
?this a bridge:PathEntry ; bridge:verdict ?verdict .
FILTER (?verdict IN (bridge:carried, bridge:carriedInPart))
} ]
bridge:carriedAs: minCount1An entry whose verdict is bridge:carried or bridge:carriedInPart names at least one bridge:carriedAs: the Cascade property its path's value becomes, and the class of the record it is written on.
concept-map.shapes.ttl#ConceptOfALookupTable
concept-map.shapes.ttl#ConceptOfALookupTable checks each skos:Concept.
On the whole node: xone ( [ property [ path skos:exactMatch; minCount 1; maxCount 1; nodeKind sh:IRI ], [ path skos:closeMatch; maxCount 0 ] ] [ property [ path skos:closeMatch; minCount 1; maxCount 1; nodeKind sh:IRI ], [ path skos:exactMatch; maxCount 0 ] ] ); sparql [ prefixes concept-map.shapes.ttl; message "A skos:notation is written as the key it is looked up by: the source phrase under SPARQL's LCASE, stripped of leading and trailing space, tab, carriage return and line feed. A value's key can never equal a notation written in any other form."; select
SELECT $this ?value WHERE {
$this skos:notation ?value .
FILTER (STR(?value) != LCASE(REPLACE(STR(?value), "^[ \t\r\n]+|[ \t\r\n]+$", "")))
} ]; sparql [ prefixes concept-map.shapes.ttl; message "One key is the skos:notation of one concept of a scheme: two concepts whose notations lowercase to it leave which Cascade term the phrase maps to unanswerable."; select SELECT $this ?value WHERE {
$this skos:inScheme ?scheme ;
skos:notation ?value .
?other skos:inScheme ?scheme ;
skos:notation ?otherValue .
FILTER (?other != $this)
FILTER (LCASE(REPLACE(STR(?value), "^[ \t\r\n]+|[ \t\r\n]+$", ""))
= LCASE(REPLACE(STR(?otherValue), "^[ \t\r\n]+|[ \t\r\n]+$", "")))
} ] A concept of a lookup table matches its Cascade term by exactly one skos:exactMatch, or by exactly one skos:closeMatch where the phrase and the term do not mean the same thing, and never by both: the term is named by IRI.
skos:notation: minCount1; maxCount1A concept of a lookup table carries exactly one skos:notation, the source phrase as its key.
skos:inScheme: minCount1; maxCount1A concept of a lookup table is skos:inScheme exactly one scheme, the one its file carries.
facts.shapes.ttl#Act
facts.shapes.ttl#Act checks what another shape sends it.
On the whole node: closed true A generating act carries prov:qualifiedAssociation, and nothing else.
prov:qualifiedAssociation: minCount1; nodefacts.shapes.ttl#AssociationThe generating act carries at least one prov:qualifiedAssociation, and each names one prov:agent, carrying one rdfs:label, and one prov:hadRole by IRI.
facts.shapes.ttl#Agent
facts.shapes.ttl#Agent checks what another shape sends it.
On the whole node: closed true An agent carries rdfs:label, and nothing else.
rdfs:label: minCount1; maxCount1; datatypexsd:stringAn agent carries exactly one rdfs:label, a plain string.
facts.shapes.ttl#Association
facts.shapes.ttl#Association checks what another shape sends it.
On the whole node: closed true An association carries prov:agent and prov:hadRole, and nothing else.
prov:agent: minCount1; maxCount1; nodefacts.shapes.ttl#AgentAn association names exactly one prov:agent, carrying exactly one rdfs:label and nothing else.
prov:hadRole: minCount1; maxCount1; nodeKindsh:IRIAn association names exactly one prov:hadRole, by IRI.
facts.shapes.ttl#Document
facts.shapes.ttl#Document checks what another shape sends it.
On the whole node: closed true; sparql [ prefixes facts.shapes.ttl; message "The document is attributed to an agent that is no author or custodian of its generating act: {$value} is none."; select
SELECT $this ?value WHERE {
$this prov:wasAttributedTo ?value .
FILTER NOT EXISTS {
$this prov:wasGeneratedBy/prov:qualifiedAssociation ?association .
?association prov:agent ?value ; prov:hadRole ?role .
FILTER (?role IN (cascade:AuthorRole, cascade:CustodianRole))
}
} ]; sparql [ prefixes facts.shapes.ttl; message "The author or custodian {$value} is not attributed: the document's prov:wasAttributedTo names each."; select SELECT $this ?value WHERE {
$this prov:wasGeneratedBy/prov:qualifiedAssociation ?association .
?association prov:agent ?value ; prov:hadRole ?role .
FILTER (?role IN (cascade:AuthorRole, cascade:CustodianRole))
FILTER NOT EXISTS { $this prov:wasAttributedTo ?value }
} ] The document is supplied cascade:serverBaseUrl, pav:retrievedFrom, pav:retrievedOn, prov:wasGeneratedBy, prov:wasAttributedTo, cascade:authenticatedPatient, cascade:authenticatedAsProxy, cascade:sourceFormatVersion, cascade:answeredAsOf, cascade:answersForRecordClass and cascade:refusedForRecordClass, and nothing else: what a Bridge computes, bridge:sha256 among it, is never supplied, and a role is stated on an association of the generating act, never on a prov:qualifiedAttribution.
cascade:serverBaseUrl: maxCount1; datatypexsd:stringThe document names at most one cascade:serverBaseUrl, a plain string.
pav:retrievedFrom: maxCount1; nodeKindsh:IRIThe document names at most one pav:retrievedFrom, by IRI.
pav:retrievedOn: maxCount1; datatypexsd:dateTimeThe document carries at most one pav:retrievedOn, an xsd:dateTime.
prov:wasGeneratedBy: maxCount1; nodeKindsh:BlankNode; nodefacts.shapes.ttl#ActThe document names at most one prov:wasGeneratedBy, a blank node, and the act is stated as a generating act is.
prov:wasAttributedTo: nodefacts.shapes.ttl#AgentEach prov:wasAttributedTo of the document names an agent carrying exactly one rdfs:label and nothing else.
cascade:authenticatedPatient: maxCount1; datatypexsd:stringThe document names at most one cascade:authenticatedPatient, a plain string.
cascade:authenticatedAsProxy: maxCount1; datatypexsd:booleanThe document carries at most one cascade:authenticatedAsProxy, an xsd:boolean.
cascade:answeredAsOf: maxCount1; datatypexsd:dateTimeThe document carries at most one cascade:answeredAsOf, an xsd:dateTime.
cascade:answersForRecordClass: nodeKindsh:IRIEach cascade:answersForRecordClass of the document names a class of record, by IRI.
cascade:refusedForRecordClass: nodeKindsh:IRIEach cascade:refusedForRecordClass of the document names a class of record, by IRI.
cascade:sourceFormatVersion: maxCount1; datatypexsd:stringThe document carries at most one cascade:sourceFormatVersion, a plain string.
facts.shapes.ttl#Import
facts.shapes.ttl#Import checks what another shape sends it.
On the whole node: closed true The import is supplied rdfs:label and prov:startedAtTime, and nothing else.
rdfs:label: maxCount1; datatypexsd:stringThe import carries at most one rdfs:label, its name, a plain string.
prov:startedAtTime: maxCount1; datatypexsd:dateTimeThe import carries at most one prov:startedAtTime, an xsd:dateTime.
facts.shapes.ttl#Subject
facts.shapes.ttl#Subject checks what another shape sends it.
On the whole node: target [ a sh:SPARQLTarget; prefixes facts.shapes.ttl; select "SELECT DISTINCT ?this WHERE { ?this ?predicate ?object }" ]; sparql [ prefixes facts.shapes.ttl; message "Facts are stated of bridge:thisDocument, bridge:thisImport, the document's generating act, its associations, the agents they name and the agents the document is attributed to, and of nothing else: {$this} is none of them."; select
SELECT $this WHERE {
FILTER ($this NOT IN (bridge:thisDocument, bridge:thisImport))
FILTER NOT EXISTS {
bridge:thisDocument (
prov:wasAttributedTo
| prov:wasGeneratedBy
| prov:wasGeneratedBy/prov:qualifiedAssociation
| prov:wasGeneratedBy/prov:qualifiedAssociation/prov:agent
) $this
}
} ]
gap-scheme.shapes.ttl#Gap
gap-scheme.shapes.ttl#Gap checks each skos:Concept.
sh:resultSeverity: maxCount1; in (sh:Infosh:Warningsh:Violation)A gap declares at most one sh:resultSeverity, one of sh:Info, sh:Warning, sh:Violation.
bridge:concern: maxCount1; in (bridge:concernCodesbridge:concernDatesbridge:concernReferencesbridge:concernIdentitybridge:concernText)A bridge:concern is at most one, one of bridge:concernCodes, bridge:concernDates, bridge:concernReferences, bridge:concernIdentity, bridge:concernText.
rdfs:seeAlso: nodeKindsh:IRI; pattern"^https://github\\.com/[A-Za-z0-9_.-]+/[A-Za-z0-9_.-]+/(issues|pull)/[1-9][0-9]*$"A gap's rdfs:seeAlso is a GitHub issue or pull request address, https://github.com/<owner>/<repo>/issues/<n> or .../pull/<n>.