Ontology Version: 3.1.0

cacontology-us-ncmec:AggregateReportStatisticShape leaf node


URI

https://cacontology.projectvic.org/us/ncmec#AggregateReportStatisticShape

Label

Aggregate Report Statistic Shape

Description

Validates published aggregate transparency statistics: each statistic must carry exactly one primary numeric value, a unit, and a reporting period. - Optional links to the category, program, or concept nodes the statistic describes. - Optional published change relative to the prior period. - Optional qualifier from the published source (e.g., 'more than').

Shape Properties

Instances of cacontology-us-ncmec:AggregateReportStatistic can have the following properties:

PROPERTY

MIN COUNT

MAX COUNT

TYPE

cacontology-us-ncmec:AggregateReportStatistic
cacontology-us-ncmec:percentChangeFromPriorPeriod 1
cacontology-us-ncmec:reportingPeriod 1 1 xsd:string
cacontology-us-ncmec:statisticQualifier 1 xsd:string
cacontology-us-ncmec:statisticTopic
cacontology-us-ncmec:statisticUnit 1 1 xsd:string
cacontology-us-ncmec:statisticValue 1 1

Implementation

@prefix cacontology-us-ncmec: <https://cacontology.projectvic.org/us/ncmec#> .
@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 xsd: <http://www.w3.org/2001/XMLSchema#> .
cacontology-us-ncmec:AggregateReportStatisticShape a sh:NodeShape ;
    rdfs:label "Aggregate Report Statistic Shape"@en ;
    rdfs:comment "Validates published aggregate transparency statistics: each statistic must carry exactly one primary numeric value, a unit, and a reporting period."@en ;
    sh:property [ sh:maxCount 1 ;
            sh:message "An aggregate report statistic must have exactly one numeric statisticValue (xsd:decimal or xsd:integer); decompose compound published claims into one statistic per value."@en ;
            sh:minCount 1 ;
            sh:or ( [ sh:datatype xsd:decimal ] [ sh:datatype xsd:integer ] ) ;
            sh:path cacontology-us-ncmec:statisticValue ],
        [ sh:datatype xsd:string ;
            sh:maxCount 1 ;
            sh:message "An aggregate report statistic must state the unit of its value (e.g., 'reports', 'files', 'percent')."@en ;
            sh:minCount 1 ;
            sh:path cacontology-us-ncmec:statisticUnit ],
        [ sh:datatype xsd:string ;
            sh:maxCount 1 ;
            sh:message "An aggregate report statistic must state the reporting period it covers (e.g., '2025', 'as of 2025-12-31')."@en ;
            sh:minCount 1 ;
            sh:path cacontology-us-ncmec:reportingPeriod ],
        [ rdfs:comment "Optional qualifier from the published source (e.g., 'more than')."@en ;
            sh:datatype xsd:string ;
            sh:maxCount 1 ;
            sh:path cacontology-us-ncmec:statisticQualifier ],
        [ rdfs:comment "Optional published change relative to the prior period."@en ;
            sh:maxCount 1 ;
            sh:or ( [ sh:datatype xsd:decimal ] [ sh:datatype xsd:integer ] ) ;
            sh:path cacontology-us-ncmec:percentChangeFromPriorPeriod ],
        [ rdfs:comment "Optional links to the category, program, or concept nodes the statistic describes."@en ;
            sh:nodeKind sh:IRI ;
            sh:path cacontology-us-ncmec:statisticTopic ] ;
    sh:targetClass cacontology-us-ncmec:AggregateReportStatistic .