https://cacontology.projectvic.org/us/ncmec#AggregateReportStatisticShape
Validates published aggregate transparency statistics: each statistic must carry exactly one primary numeric value, a unit, and a reporting period. - Optional published change relative to the prior period. - Optional links to the category, program, or concept nodes the statistic describes. - Optional qualifier from the published source (e.g., 'more than').
Focus nodes of this shape (cacontology-us-ncmec:AggregateReportStatistic) can have the following properties:
| PROPERTY | DESCRIPTION | MIN | MAX | VALUE TYPE | OTHER CONSTRAINTS |
|---|---|---|---|---|---|
| cacontology-us-ncmec:percentChangeFromPriorPeriod | Published percentage change of this statistic relative to the prior reporting period (positive for increase, negative for decrease). | 0 | 1 |
sh:or
( xsd:decimal | xsd:integer )
|
|
| cacontology-us-ncmec:reportingPeriod | The reporting period the statistic covers, as stated in the published source (e.g., '2025', 'as of 2025-12-31', '2023-2025 cumulative'). sh:message An aggregate report statistic must state the reporting period it covers (e.g., '2025', 'as of 2025-12-31'). |
1 | 1 | xsd:string | |
| cacontology-us-ncmec:statisticQualifier | Qualifier applied to the statistic value in the published source (e.g., 'more than', 'approximately', 'just over', 'average'). | 0 | 1 | xsd:string | |
| cacontology-us-ncmec:statisticTopic | Links an aggregate statistic to the reporting category, program, or concept it describes (e.g., an online enticement category node or the Take It Down service). | 0 | * | sh:IRI | |
| cacontology-us-ncmec:statisticUnit | The unit of the statistic value (e.g., 'reports', 'files', 'percent', 'hashes', 'days', 'organizations', 'reports per day'). sh:message An aggregate report statistic must state the unit of its value (e.g., 'reports', 'files', 'percent'). |
1 | 1 | xsd:string | |
| cacontology-us-ncmec:statisticValue | The primary numeric value of the published statistic. 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. |
1 | 1 |
sh:or
( xsd:decimal | xsd:integer )
|
@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 .