bridge:ConvertCall Convert call
https://ns.cascadeprotocol.org/bridge/v1-draft#ConvertCall
No definition yet.
- Type
owl:Class
bridge.shapes.ttl#ConvertCall checks each bridge:ConvertCall.
| Property | Value type | How many | When it is not met |
|---|---|---|---|
bridge:document | bridge.shapes.ttl#NamedFile a sh:PropertyShape | exactly 1 | An ask or convert call names exactly one bridge:document. |
bridge:suppliedFacts | bridge.shapes.ttl#NamedFile a sh:PropertyShape | at most 1 | An ask or convert call names at most one bridge:suppliedFacts. |
bridge:envelope | sh:IRI a sh:PropertyShape | at most 1 | An ask or convert call names at most one bridge:envelope, the IRI of the envelope its document is read in. |
bridge:graphFormat | a sh:PropertyShape; in ( "turtle" "ntriples" ) | exactly 1 | A describe or convert call carries exactly one bridge:graphFormat, the format the graph is returned in: turtle or ntriples. |
bridge:expectedGraph | sh:IRI | at most 1 | A convert call names at most one bridge:expectedGraph, the graph it must return, by IRI. |
bridge:expectedFindings | sh:IRI | at most 1 | A convert call names at most one bridge:expectedFindings, the findings it must return, by IRI: naming none, it must return none. |
bridge:failure | a sh:PropertyShape; in ( bridge:documentFailure bridge:factsFailure bridge:adapterFailure bridge:vocabularyFailure bridge:fileMissingFailure bridge:bridgeFailure ) | at most 1 | A call names at most one bridge:failure, the kind it must fail with: one of bridge:documentFailure, bridge:factsFailure, bridge:adapterFailure, bridge:vocabularyFailure, bridge:fileMissingFailure, bridge:bridgeFailure. |
bridge:asksForFindings | xsd:boolean | at most 1 | A convert call asks for the findings at most once, by an xsd:boolean. |
bridge:asksForCensus | xsd:boolean | at most 1 | A convert call asks for the census at most once, by an xsd:boolean. |
On the whole node: closed true; ignoredProperties ( rdf:type ); xone ( [ path bridge:expectedGraph; minCount 1 ] [ path bridge:failure; minCount 1 ] ); sparql [ prefixes bridge.shapes.ttl; message "A convert call naming a bridge:failure names no bridge:expectedFindings."; select
SELECT $this ?value WHERE { $this bridge:failure ?kind ; bridge:expectedFindings ?value . } ]; sparql [ prefixes bridge.shapes.ttl; message "A convert call naming a bridge:expectedFindings asks for the findings, the census or both: asked for neither, it returns none."; select SELECT $this ?value WHERE {
$this bridge:expectedFindings ?value .
FILTER NOT EXISTS { $this bridge:asksForFindings true }
FILTER NOT EXISTS { $this bridge:asksForCensus true }
} ] A convert call names exactly one of bridge:expectedGraph and bridge:failure.
Where it comes from and what uses it
- Source
https://ns.cascadeprotocol.org/bridge/v1-draft#