https://brickschema.org/schema/BrickShape#AggregationShape
Interval expressed in an ISO 8601 Duration string, e.g. RP1D - The aggregation function applied to data in the interval which produces the value
Focus nodes of this shape (bsh:AggregationShape) can have the following properties:
| PROPERTY | DESCRIPTION | MIN | MAX | VALUE TYPE | OTHER CONSTRAINTS |
|---|---|---|---|---|---|
| brick:aggregationFunction | 1 | * |
sh:in
max, min, count, mean, sum, median, mode
|
||
| brick:aggregationInterval | 1 | * | xsd:string |
@prefix brick: <https://brickschema.org/schema/Brick#> .
@prefix bsh: <https://brickschema.org/schema/BrickShape#> .
@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#> .
bsh:AggregationShape a owl:Class,
sh:NodeShape,
brick:EntityPropertyValue ;
rdfs:subClassOf bsh:ValueShape ;
sh:property [ a sh:PropertyShape ;
skos:definition "The aggregation function applied to data in the interval which produces the value" ;
sh:in ( "max" "min" "count" "mean" "sum" "median" "mode" ) ;
sh:minCount 1 ;
sh:path brick:aggregationFunction ],
[ a sh:PropertyShape ;
skos:definition "Interval expressed in an ISO 8601 Duration string, e.g. RP1D" ;
sh:datatype xsd:string ;
sh:minCount 1 ;
sh:path brick:aggregationInterval ] .