@prefix af-p: <http://purl.allotrope.org/ontologies/process#> .
@prefix af-s: <http://purl.allotrope.org/shape/> .
@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_0000452 a sh:NodeShape ;
    rdfs:isDefinedBy <http://purl.allotrope.org/shapes/adm/chromatography/REC/2022/06/chromatography-results-only.process.shapes> ;
    skos:prefLabel "chromatography results-only process shape" ;
    sh:and ( af-s:AFS_0000001 af-s:AFS_0001766 ) ;
    sh:message "A chromatography results-only process SHOULD have subprocesses of 1 injection, MUST have at least 1 detecting. It MUST have exactly 1 device system as participant. It SHOULD have exactly 1 sample as material input. It SHOULD have at least 1 identifier." ;
    sh:property [ sh:message "An chromatography process SHOULD have as an occurrent part at least 1 detecting or measuring process with key settings as data input and a data output of a chromatogram." ;
            sh:path bfo:_0000117 ;
            sh:qualifiedMinCount 1 ;
            sh:qualifiedValueShape [ sh:or ( [ sh:class af-p:AFP_0002294 ] [ sh:class af-p:AFP_0000925 ] ) ] ;
            sh:qualifiedValueShapesDisjoint true ],
        af-s:AFS_0000433 ;
    sh:targetClass af-p:AFP_0001321 .

af-s:AFS_0000433 a sh:PropertyShape ;
    rdfs:isDefinedBy <http://purl.allotrope.org/shapes/adm/chromatography/REC/2022/06/chromatography-results-only.process.shapes> ;
    skos:prefLabel "chromatography process with injection" ;
    sh:and ( af-s:AFS_0000001 ) ;
    sh:message "A chromatography process SHOULD have as an occurrent part exactly 1 injection process." ;
    sh:name "chromatography process with injection" ;
    sh:path bfo:_0000117 ;
    sh:qualifiedMaxCount 1 ;
    sh:qualifiedMinCount 1 ;
    sh:qualifiedValueShape [ sh:class af-p:AFP_0001611 ] ;
    sh:qualifiedValueShapesDisjoint true ;
    sh:severity sh:Warning .

<http://purl.allotrope.org/shapes/adm/chromatography/REC/2022/06/chromatography-results-only.process.shapes> a owl:Ontology ;
    dct:description "Process module of the Allotrope Chromatography Results-only 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 Chromatography Results-Only Process Shape Library - (REC/2022/06)" ;
    owl:imports <http://purl.allotrope.org/shapes/adm/chromatography/REC/2022/06/chromatography-process.shapes>,
        <http://purl.allotrope.org/shapes/adm/core/REC/2022/06/common.shapes>,
        <http://purl.allotrope.org/shapes/adm/core/REC/2022/06/identifier.shapes>,
        <http://purl.allotrope.org/shapes/adm/core/REC/2022/06/prefix.shapes> ;
    owl:priorVersion <http://purl.allotrope.org/shapes/adm/chromatography/REC/2021/12/chromatography-results-only.process.shapes> ;
    owl:versionIRI <http://purl.allotrope.org/shapes/adm/chromatography/REC/2022/06/chromatography-results-only.process.shapes> ;
    owl:versionInfo "REC/2022/06" ;
    skos:changeNote "[2020-11-03] Ontology has been created from LCUV results only model. [Allotrope]" ;
    skos:prefLabel "chromatography results-only process shapes" .

