@prefix af-p: <http://purl.allotrope.org/ontologies/process#> .
@prefix af-s: <http://purl.allotrope.org/shape/> .
@prefix dct: <http://purl.org/dc/terms/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix ro: <http://purl.obolibrary.org/obo/RO> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

af-s:AFS_0000463 a sh:NodeShape ;
    rdfs:isDefinedBy <http://purl.allotrope.org/shapes/adm/sqd-ms/REC/2024/12/sqd-ms-process.shapes> ;
    skos:prefLabel "SQD-MS process shape" ;
    sh:and ( af-s:AFS_0000001 ) ;
    sh:message "An SQD-MS process SHOULD have exactly 1 spectrometer." ;
    sh:property [ sh:message "An SQD-MS process SHOULD have as a participant exactly 1 single quadropole mass spectrometer." ;
            sh:path ro:_0000057 ;
            sh:qualifiedMaxCount 1 ;
            sh:qualifiedMinCount 1 ;
            sh:qualifiedValueShape af-s:AFS_0000466 ;
            sh:qualifiedValueShapesDisjoint true ;
            sh:severity sh:Warning ] ;
    sh:severity sh:Warning ;
    sh:targetClass af-p:AFP_0003747 .

af-s:AFS_0000527 a sh:NodeShape ;
    rdfs:isDefinedBy <http://purl.allotrope.org/shapes/adm/sqd-ms/REC/2024/12/sqd-ms-process.shapes> ;
    skos:prefLabel "SQD-MS process with ID shape" ;
    sh:and ( af-s:AFS_0000001 af-s:AFS_0000465 ) ;
    sh:message "An SQD-MS process SHOULD be identified by an ID." ;
    sh:severity sh:Warning ;
    sh:targetClass af-p:AFP_0001109 .

<http://purl.allotrope.org/shapes/adm/sqd-ms/REC/2024/12/sqd-ms-process.shapes> a owl:Ontology ;
    dct:description "Main module of the Allotrope SQD-MS Process Shape library." ;
    dct:license <http://purl.allotrope.org/voc/creative-commons-attribution-license> ;
    dct:publisher <http://www.allotrope.org> ;
    dct:rights <http://purl.allotrope.org/voc/attribution>,
        <http://purl.allotrope.org/voc/copyright> ;
    dct:title "Allotrope SQD-MS Process Shape Library (REC/2024/12)" ;
    owl:imports <http://purl.allotrope.org/shapes/adm/core/REC/2022/06/common.shapes>,
        <http://purl.allotrope.org/shapes/adm/core/REC/2022/06/prefix.shapes>,
        <http://purl.allotrope.org/shapes/adm/sqd-ms/REC/2024/12/sqd-ms-data-processing.shapes> ;
    owl:priorVersion <http://purl.allotrope.org/shapes/adm/sqd-ms/REC/2022/06/sqd-ms-process.shapes> ;
    owl:versionIRI <http://purl.allotrope.org/shapes/adm/sqd-ms/REC/2024/12/sqd-ms-process.shapes> ;
    owl:versionInfo "REC/2024/12" ;
    skos:prefLabel "SQD-MS process shapes" .

