@prefix af-p: <http://purl.allotrope.org/ontologies/process#> .
@prefix af-s: <http://purl.allotrope.org/shape/> .
@prefix af-x: <http://purl.allotrope.org/ontologies/property#> .
@prefix bfo: <http://purl.obolibrary.org/obo/BFO> .
@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 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_0005673 a sh:NodeShape ;
    rdfs:isDefinedBy <http://purl.allotrope.org/shapes/adm/ms-intact-mass/REC/2024/12/ms-intact-data-processing.shapes> ;
    skos:prefLabel "MS-INTACT data transformation shape with id" ;
    sh:and ( af-s:AFS_0000001 ) ;
    sh:class af-p:AFP_0003598 ;
    sh:message "A MS-INTACT data transformation SHOULD have an identifier." ;
    sh:property [ sh:message "MS-INTACT data transformation MAY have one or more data extractions as an occurrent part." ;
            sh:path bfo:_0000117 ;
            sh:qualifiedMinCount 0 ;
            sh:qualifiedValueShape [ sh:class af-p:AFP_0003722 ] ],
        [ sh:message "MS-INTACT data transformation MAY have one or more data transformations as occurrent part." ;
            sh:path bfo:_0000117 ;
            sh:qualifiedMinCount 0 ;
            sh:qualifiedValueShape [ sh:class af-p:AFP_0003598 ] ],
        [ sh:message "MS-INTACT data transformation MAY have one or more integrations as occurrent part." ;
            sh:path bfo:_0000117 ;
            sh:qualifiedMinCount 0 ;
            sh:qualifiedValueShape [ sh:class af-p:AFP_0000970 ] ],
        [ sh:message "MS-INTACT data transformation MAY have one or more charge deconvolutions as occurrent part." ;
            sh:path bfo:_0000117 ;
            sh:qualifiedMinCount 0 ;
            sh:qualifiedValueShape af-s:AFS_0005698 ] ;
    sh:severity sh:Warning .

af-s:AFS_0005698 a sh:NodeShape ;
    skos:prefLabel "MS-INTACT charge deconvolution shape" ;
    sh:class af-p:AFP_0003809 ;
    sh:message "A MS-INTACT charge deconvolution MUST have a mass spectrum as data output." ;
    sh:property [ sh:message "MS-INTACT charge deconvolution MUST have exactly one data output of a deconvoluted mass spectrum that meets detailed constraints." ;
            sh:path af-x:AFX_0000544 ;
            sh:qualifiedMaxCount 1 ;
            sh:qualifiedMinCount 1 ;
            sh:qualifiedValueShape af-s:AFS_0005694 ] .

<http://purl.allotrope.org/shapes/adm/ms-intact-mass/REC/2024/12/ms-intact-data-processing.shapes> a owl:Ontology ;
    dct:description "Main module of the Allotrope MS-INTACT Data Processing 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 MS-INTACT Data Processing 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/datum.shapes>,
        <http://purl.allotrope.org/shapes/adm/core/REC/2022/06/description.shapes>,
        <http://purl.allotrope.org/shapes/adm/core/REC/2022/06/prefix.shapes>,
        <http://purl.allotrope.org/shapes/adm/ms-intact-mass/REC/2024/12/ms-intact-mass-spectrum.shapes> ;
    owl:priorVersion <http://purl.allotrope.org/shapes/adm/ms-intact-mass/REC/2022/06/ms-intact-data-processing.shapes> ;
    owl:versionIRI <http://purl.allotrope.org/shapes/adm/ms-intact-mass/REC/2024/12/ms-intact-data-processing.shapes> ;
    owl:versionInfo "REC/2024/12" ;
    skos:prefLabel "MS-INTACT data processing shapes" .

