Skip to content
Alpha: see what works today →
Menu

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: minCount 1; maxCount 1; nodeKind sh:IRI A bridge:carriedAs names exactly one bridge:asProperty, the Cascade property the path's value becomes, by IRI.
  • bridge:inRecordClass: minCount 1; maxCount 1; nodeKind sh:IRI A bridge:carriedAs names exactly one bridge:inRecordClass, the Cascade class of the record the value is written on, by IRI.
  • bridge:inSourceRecordType: maxCount 1; datatype xsd:string A 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: maxCount 0 An entry whose verdict is bridge:carried names no bridge:namesGap.
  • bridge:sameFactAs: maxCount 0 An entry whose verdict is bridge:carried names no bridge:sameFactAs.
  • bridge:because: maxCount 0 An 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: minCount 1; maxCount 1 An entry whose verdict is bridge:carriedInPart names exactly one bridge:namesGap, the gap the loss opens.
  • bridge:sameFactAs: maxCount 0 An entry whose verdict is bridge:carriedInPart names no bridge:sameFactAs.
  • bridge:because: maxCount 0 An 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: minCount 1; maxCount 1; nodeKind sh:IRI; class schema:MediaObject The 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: minCount 1; maxCount 1; nodeKind sh:IRI; class bridge:Envelope The action names exactly one bridge:envelope, a bridge:Envelope by IRI.
  • bridge:facts: maxCount 1; nodeKind sh:IRI; class schema:MediaObject The 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: maxCount 0 An entry whose verdict is bridge:consumed names no bridge:namesGap.
  • bridge:sameFactAs: maxCount 0 An entry whose verdict is bridge:consumed names no bridge:sameFactAs.
  • bridge:because: maxCount 0 An 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: minCount 1; maxCount 1; nodeKind sh:IRI; class schema:MediaObject A conversion names exactly one bridge:input, a crate File entity (schema:MediaObject).
  • bridge:envelope: minCount 1; maxCount 1; nodeKind sh:IRI; class bridge:Envelope A conversion names exactly one bridge:envelope, a bridge:Envelope by IRI.
  • bridge:facts: maxCount 1; nodeKind sh:IRI; class schema:MediaObject A conversion names at most one bridge:facts, a crate File entity (schema:MediaObject).
  • bridge:selector: maxCount 1; datatype xsd:string A 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: minCount 1; maxCount 1; nodeKind sh:IRI; class schema:MediaObject The 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: minCount 1; maxCount 1; nodeKind sh:IRI; class schema:MediaObject The 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: minCount 1; maxCount 1; nodeKind sh:IRI; node bridge.shapes.ttl#RunnableDataset The 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: minCount 1; maxCount 1; nodeKind sh:IRI; class bridge:Envelope The 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: maxCount 1; datatype xsd:integer; minInclusive 0 bridge:recordsProcessedCount is a non-negative xsd:integer, at most once.
  • bridge:outputDigest: maxCount 1; datatype xsd: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: minCount 1 An 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: minCount 1 An 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: maxCount 0 An 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: minCount 1; maxCount 1; nodeKind sh: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: minCount 1; maxCount 1; nodeKind sh:IRI An 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.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: minCount 1; maxCount 1; nodeKind sh:IRI; pattern "/$" A map of files carries exactly one bridge:iri, ending in /, that each key resolves against.
  • bridge:directory: minCount 1; maxCount 1; nodeKind sh:IRI; pattern "/$" A map of files carries exactly one bridge:directory, ending in /, whose files it holds.
  • bridge:withholds: datatype xsd:string Each bridge:withholds of a map is a key, a plain string.
  • bridge:substitute: node bridge.shapes.ttl#Substitute Each 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: minCount 1; maxCount 1; nodeKind sh:IRI A finding's target names exactly one oa:hasSource by IRI, the document the record was read from.
  • oa:hasSelector: minCount 1; maxCount 1; node bridge.shapes.ttl#RecordSelector A 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: minCount 1; maxCount 1; datatype xsd:string A host carries exactly one name, a string.
  • bridge:setup: minCount 1; maxCount 1 A host carries exactly one setup.
  • ( bridge:setup [ zeroOrMorePath rdf:rest ] rdf:first ): minCount 1; datatype xsd:string A host's setup is an argument vector, a JSON array of one or more strings.
  • bridge:command: minCount 1; maxCount 1 A host carries exactly one command.
  • ( bridge:command [ zeroOrMorePath rdf:rest ] rdf:first ): minCount 1; datatype xsd:string A host's command is an argument vector, a JSON array of one or more strings.
  • bridge:release: maxCount 1; node bridge.shapes.ttl#Release A 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: minCount 2; maxCount 2; node bridge.shapes.ttl#Conversion The 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: minCount 1; maxCount 1; datatype xsd:boolean The 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: minCount 1; maxCount 1 An entry whose verdict is bridge:ignored gives exactly one bridge:because, why the path is deliberately not carried.
  • bridge:namesGap: maxCount 0 An entry whose verdict is bridge:ignored names no bridge:namesGap.
  • bridge:sameFactAs: maxCount 0 An 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: minCount 1; maxCount 1; datatype xsd: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: minCount 1; maxCount 1; nodeKind sh:IRI The action of a lift test names exactly one bridge:input, the document lifted, by IRI.
  • bridge:elementNameBreakingText: datatype xsd:string Each 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: minCount 1; maxCount 1; nodeKind sh:IRI The 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: maxCount 1; nodeKind sh:IRI; class bridge:Adapter The manifest carries at most one bridge:adapter, a bridge:Adapter by IRI: the root entity of the adapter's crate.
  • mf:entries: minCount 1; maxCount 1; nodeKind sh:BlankNodeOrIRI The manifest carries exactly one mf:entries list.
  • ( mf:entries [ zeroOrMorePath rdf:rest ] rdf:first ): minCount 1; node bridge.shapes.ttl#Entry mf: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: minCount 1; maxCount 1; nodeKind sh:IRI A document or its facts carries exactly one bridge:iri, the IRI the caller gives it.
  • bridge:file: minCount 1; maxCount 1; nodeKind sh:IRI A 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: maxCount 1; nodeKind sh:IRI The action of a naming test names at most one qt:query, the query computing the name from ?input1 onwards, by IRI.
  • bridge:nameInputs: maxCount 1 The action of a naming test carries at most one bridge:nameInputs list.
  • bridge:input: maxCount 1; nodeKind sh:IRI The 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 [ zeroOrMorePath rdf:rest ] rdf:first ): or ( [ datatype xsd:string ] [ in ( rdf:nil ) ] [ and ( [ nodeKind sh:BlankNode ] [ path ( [ zeroOrMorePath rdf:rest ] rdf:first ); datatype xsd: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: minCount 1; maxCount 1; or ( [ nodeKind sh:IRI ] [ nodeKind sh:Literal; datatype xsd:string ] ) The result of a naming test carries exactly one bridge:expectedName, an IRI or a plain string.
  • bridge:canonicalContent: maxCount 1; nodeKind sh:IRI The 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: minCount 1; maxCount 1 An entry whose verdict is bridge:noHome names exactly one bridge:namesGap, the gap the missing predicate opens.
  • bridge:sameFactAs: maxCount 0 An entry whose verdict is bridge:noHome names no bridge:sameFactAs.
  • bridge:because: maxCount 0 An 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: maxCount 1; nodeKind sh:IRI A 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: maxCount 1; nodeKind sh:IRI A 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:hasTarget oa:hasSelector oa:refinedBy ): maxCount 0 A 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: minCount 1; maxCount 1; datatype xsd:string A selector carries exactly one rdf:value, its XPath or its JSON Pointer, a string.
  • oa:refinedBy: maxCount 1; node bridge.shapes.ttl#RefinedSelector A 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: minCount 1; maxCount 1 An entry whose verdict is bridge:redundantWith names exactly one bridge:sameFactAs, the bridge:sourcePath that carries the fact instead.
  • bridge:namesGap: maxCount 0 An entry whose verdict is bridge:redundantWith names no bridge:namesGap.
  • bridge:because: maxCount 0 An 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: minCount 1; maxCount 1; datatype xsd:string A selector carries exactly one rdf:value, its XPath or its JSON Pointer, a string.
  • oa:refinedBy: maxCount 0 A 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: minCount 1; maxCount 1; datatype xsd:string A host's release names exactly one asset, a glob, as a string.
  • bridge:path: minCount 1; maxCount 1; datatype xsd:string A host's release names exactly one path in the engine's checkout, a string.
  • bridge:command: maxCount 1 A host's release carries at most one command.
  • ( bridge:command [ zeroOrMorePath rdf:rest ] rdf:first ): datatype xsd:string A 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: minCount 1; maxCount 1 A 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: minCount 1; maxCount 1; datatype xsd:string The 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: minCount 1; maxCount 1; datatype xsd: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: minCount 1; maxCount 1; nodeKind sh:IRI The action of a skeleton test names exactly one bridge:input, the document the skeleton is built from, by IRI.
  • bridge:elementNameOfEachRecord: maxCount 1; datatype xsd:string The action of a skeleton test names at most one bridge:elementNameOfEachRecord, the local name of the XML records, a string.
  • bridge:jsonPathOfEachRecord: maxCount 1; datatype xsd:string The 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: minCount 1; maxCount 1; node bridge.shapes.ttl#FindingTarget A 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: minCount 1; maxCount 1; nodeKind sh:IRI A finding carries exactly one oa:hasBody, an IRI: the code the finding is an instance of, never a sentence.
  • oa:motivatedBy: minCount 1; maxCount 1; hasValue oa:classifying A finding carries exactly one oa:motivatedBy, oa:classifying.
  • sh:value: maxCount 1 A finding carries at most one sh:value, what in the source it is about.
  • cascade:occurrenceCount: maxCount 1; datatype xsd:integer; minInclusive 2 A 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: minCount 1; maxCount 1; in ( sh:Info sh:Warning sh: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: minCount 1; maxCount 1; datatype xsd:string A substitute carries exactly one bridge:key, a plain string.
  • bridge:file: minCount 1; maxCount 1; nodeKind sh:IRI A 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: minCount 1 A finding whose body is bridge:predicateNotDeclared carries the predicate no ontology declares as its sh:resultPath.
  • sh:resultSeverity: hasValue sh:Violation A 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: minCount 1; maxCount 1; nodeKind sh:IRI The 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 )

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: minCount 1 An 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: minCount 1; maxCount 1 A concept of a lookup table carries exactly one skos:notation, the source phrase as its key.
  • skos:inScheme: minCount 1; maxCount 1 A 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.

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: minCount 1; maxCount 1; datatype xsd:string An 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: minCount 1; maxCount 1; node facts.shapes.ttl#Agent An association names exactly one prov:agent, carrying exactly one rdfs:label and nothing else.
  • prov:hadRole: minCount 1; maxCount 1; nodeKind sh:IRI An 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: maxCount 1; datatype xsd:string The document names at most one cascade:serverBaseUrl, a plain string.
  • pav:retrievedFrom: maxCount 1; nodeKind sh:IRI The document names at most one pav:retrievedFrom, by IRI.
  • pav:retrievedOn: maxCount 1; datatype xsd:dateTime The document carries at most one pav:retrievedOn, an xsd:dateTime.
  • prov:wasGeneratedBy: maxCount 1; nodeKind sh:BlankNode; node facts.shapes.ttl#Act The document names at most one prov:wasGeneratedBy, a blank node, and the act is stated as a generating act is.
  • prov:wasAttributedTo: node facts.shapes.ttl#Agent Each prov:wasAttributedTo of the document names an agent carrying exactly one rdfs:label and nothing else.
  • cascade:authenticatedPatient: maxCount 1; datatype xsd:string The document names at most one cascade:authenticatedPatient, a plain string.
  • cascade:authenticatedAsProxy: maxCount 1; datatype xsd:boolean The document carries at most one cascade:authenticatedAsProxy, an xsd:boolean.
  • cascade:answeredAsOf: maxCount 1; datatype xsd:dateTime The document carries at most one cascade:answeredAsOf, an xsd:dateTime.
  • cascade:answersForRecordClass: nodeKind sh:IRI Each cascade:answersForRecordClass of the document names a class of record, by IRI.
  • cascade:refusedForRecordClass: nodeKind sh:IRI Each cascade:refusedForRecordClass of the document names a class of record, by IRI.
  • cascade:sourceFormatVersion: maxCount 1; datatype xsd:string The 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: maxCount 1; datatype xsd:string The import carries at most one rdfs:label, its name, a plain string.
  • prov:startedAtTime: maxCount 1; datatype xsd:dateTime The 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: maxCount 1; in ( sh:Info sh:Warning sh:Violation ) A gap declares at most one sh:resultSeverity, one of sh:Info, sh:Warning, sh:Violation.
  • bridge:concern: maxCount 1; in ( bridge:concernCodes bridge:concernDates bridge:concernReferences bridge:concernIdentity bridge:concernText ) A bridge:concern is at most one, one of bridge:concernCodes, bridge:concernDates, bridge:concernReferences, bridge:concernIdentity, bridge:concernText.
  • rdfs:seeAlso: nodeKind sh: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>.