@prefix af-s: <http://purl.allotrope.org/shape/> .
@prefix chebi: <http://purl.obolibrary.org/obo/CHEBI> .
@prefix dct: <http://purl.org/dc/terms/> .
@prefix obi: <http://purl.obolibrary.org/obo/OBI> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@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_0000212 a sh:PropertyShape ;
    rdfs:isDefinedBy <http://purl.allotrope.org/shapes/adm/core/REC/2022/06/material.shapes> ;
    skos:prefLabel "has exactly 1 grain of molecular entity" ;
    sh:message "It MUST have exactly 1 grain of molecular entity." ;
    sh:name "has exactly 1 grain of molecular entity" ;
    sh:path obi:_0000643 ;
    sh:qualifiedMaxCount 1 ;
    sh:qualifiedMinCount 1 ;
    sh:qualifiedValueShape [ sh:message "Has grain MUST point to a molecular entity or a subclass." ;
            sh:property [ sh:hasValue chebi:_23367 ;
                    sh:message "Grain MUST be subclass of molecular entity." ;
                    sh:minCount 1 ;
                    sh:path [ sh:oneOrMorePath rdfs:subClassOf ] ] ] ;
    sh:qualifiedValueShapesDisjoint true .

<http://purl.allotrope.org/shapes/adm/core/REC/2022/06/material.shapes> a owl:Ontology ;
    dct:description "Module with material shapes of Allotrope 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 Material Shapes (REC/2022/06)" ;
    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/qudt/REC/2022/06/qudt.shapes> ;
    owl:priorVersion <http://purl.allotrope.org/shapes/adm/core/REC/2021/12/material.shapes> ;
    owl:versionIRI <http://purl.allotrope.org/shapes/adm/core/REC/2022/06/material.shapes> ;
    owl:versionInfo "REC/2022/06" ;
    skos:prefLabel "material shapes (adm::core)" .

