SPARQL aggregates ontology
Links
| Link | |
|---|---|
| Ontology IRI | https://w3id.org/rdf-tensor/aggregatesSupports content negotiation |
| Turtle | https://w3id.org/rdf-tensor/aggregates.ttl |
| N-Triples | https://w3id.org/rdf-tensor/aggregates.nt |
| Jelly | https://w3id.org/rdf-tensor/aggregates.jelly |
| JSON-LD | https://w3id.org/rdf-tensor/aggregates.jsonld |
| RDF/XML | https://w3id.org/rdf-tensor/aggregates.rdf |
Ontology source (LinkML)
This LinkML source is converted to RDFS using LinkML-Scala.
id: https://w3id.org/rdf-tensor/aggregates
name: rdf-tensor-aggregates
title: RDF-tensor SPARQL aggregates
description: SPARQL aggregates for processing grouped data tensors.
imports:
- linkml:types
prefixes:
tensor: https://w3id.org/rdf-tensor/vocab#
rdfs: http://www.w3.org/2000/01/rdf-schema#
sd: http://www.w3.org/ns/sparql-service-description#
dcterms: http://purl.org/dc/terms/
linkml: https://w3id.org/linkml/
default_prefix: tensor
default_range: string
license: https://www.apache.org/licenses/LICENSE-2.0
contributors:
- https://github.com/cinekele
- https://github.com/Ostrzyciel
- https://github.com/nk2ishere
emit_prefixes:
- tensor
- sd
enums:
TensorAggregates:
enum_uri: sd:Aggregate
permissible_values:
"SUM":
meaning: tensor:SUM
title: "Sum"
description: "Sums grouped tensors"
created_by: https://github.com/cinekele
created_on: "2024-07-28"
"AVG":
meaning: tensor:AVG
title: "Average"
description: "Averages grouped tensors by summing them elementwise and dividing the result by the number of tensors"
created_by: https://github.com/cinekele
created_on: "2024-07-28"
"VAR":
meaning: tensor:VAR
title: "Variance"
description: "Calculates the variance of grouped tensors"
created_by: https://github.com/cinekele
created_on: "2024-07-28"
"STD":
meaning: tensor:STD
title: "Standard Deviation"
description: "Calculates the standard deviation of grouped tensors"
created_by: https://github.com/cinekele
created_on: "2024-07-28"
Ontology source (Turtle)
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX sd: <http://www.w3.org/ns/sparql-service-description#>
PREFIX tensor: <https://w3id.org/rdf-tensor/vocab#>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
sd:Aggregate rdf:type rdfs:Class .
tensor:SUM rdf:type sd:Aggregate;
rdfs:label "Sum";
rdfs:comment "Sums grouped tensors" .
tensor:AVG rdf:type sd:Aggregate;
rdfs:label "Average";
rdfs:comment "Averages grouped tensors by summing them elementwise and dividing the result by the number of tensors" .
tensor:VAR rdf:type sd:Aggregate;
rdfs:label "Variance";
rdfs:comment "Calculates the variance of grouped tensors" .
tensor:STD rdf:type sd:Aggregate;
rdfs:label "Standard Deviation";
rdfs:comment "Calculates the standard deviation of grouped tensors" .