Skip to content

Commit

Permalink
provrc: parameterconnection
Browse files Browse the repository at this point in the history
  • Loading branch information
simleo committed Oct 18, 2024
1 parent 3b6c7d0 commit 3c1464d
Show file tree
Hide file tree
Showing 7 changed files with 2,511 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# Copyright (c) 2024 CRS4
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

@prefix ro: <./> .
@prefix ro-crate: <https://github.com/crs4/rocrate-validator/profiles/ro-crate/> .
@prefix provenance-run-crate: <https://github.com/crs4/rocrate-validator/profiles/provenance-run-crate/> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix schema: <http://schema.org/> .
@prefix bioschemas: <https://bioschemas.org/> .
@prefix bioschemas-cw: <https://bioschemas.org/ComputationalWorkflow#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix wfrun: <https://w3id.org/ro/terms/workflow-run#> .

provenance-run-crate:ProvRCParameterConnectionRequired a sh:NodeShape ;
sh:name "ProvRC ParameterConnection MUST" ;
sh:description "Required properties of a Provenance Run Crate ParameterConnection" ;
sh:targetClass wfrun:ParameterConnection ;
sh:property [
a sh:PropertyShape ;
sh:name "ParameterConnection sourceParameter" ;
sh:description "ParameterConnection must have a sourceParameter that references a FormalParameter" ;
sh:path wfrun:sourceParameter ;
sh:class bioschemas:FormalParameter ;
sh:minCount 1 ;
sh:message "ParameterConnection must have a sourceParameter that references a FormalParameter" ;
] ;
sh:property [
a sh:PropertyShape ;
sh:name "ParameterConnection targetParameter" ;
sh:description "ParameterConnection must have a targetParameter that references a FormalParameter" ;
sh:path wfrun:targetParameter ;
sh:class bioschemas:FormalParameter ;
sh:minCount 1 ;
sh:message "ParameterConnection must have a targetParameter that references a FormalParameter" ;
] .
Loading

0 comments on commit 3c1464d

Please sign in to comment.