From e02f1353c9252dd4555b223f0f469cab52515407 Mon Sep 17 00:00:00 2001 From: Ostrzyciel Date: Thu, 29 Aug 2024 10:46:08 +0200 Subject: [PATCH] Add class for ASCII control char stats Issue: https://github.com/RiverBench/RiverBench/issues/115 --- src/documentation.ttl | 7 +++++-- src/metadata.ttl | 7 +++++++ 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/src/documentation.ttl b/src/documentation.ttl index d85bb1d..d7c6bf6 100644 --- a/src/documentation.ttl +++ b/src/documentation.ttl @@ -320,6 +320,9 @@ foaf:homepage rbdoc:hasDocGroup rbdoc:groupGeneralInfo ; rbdoc:hasDocWeight "20"^^xsd:int . +rb:AsciiControlCharacterCountStatistics rbdoc:hasLabelOverride "ASCII control chars"@en . + + rb:BlankNodeCountStatistics rbdoc:hasLabelOverride "Blank nodes"@en . @@ -447,8 +450,8 @@ rb:standardDeviation rbdoc:hasLabelOverride "St. dev."@en ; rb:sum rbdoc:hasDocWeight "2100"^^xsd:int . -rb:uniqueCount rbdoc:hasDocWeight "2101"^^xsd:int ; - rbdoc:hasLabelOverride "Unique (approx.)"@en . +rb:uniqueCount rbdoc:hasLabelOverride "Unique (approx.)"@en ; + rbdoc:hasDocWeight "2101"^^xsd:int . rb:usesGeneralizedRdfDatasets rbdoc:hasDocGroup rbdoc:groupTechnicalMetadata ; diff --git a/src/metadata.ttl b/src/metadata.ttl index ad30274..4049a06 100644 --- a/src/metadata.ttl +++ b/src/metadata.ttl @@ -496,6 +496,13 @@ dcat:DatasetSeries rdf:type owl:Class ; sh:NodeShape rdf:type owl:Class . +### https://w3id.org/riverbench/schema/metadata#AsciiControlCharacterCountStatistics +rb:AsciiControlCharacterCountStatistics rdf:type owl:Class ; + rdfs:subClassOf rb:Statistics ; + rdfs:comment "Statistics about the number of ASCII control characters except HT, LF, and CR (0x00-0x08, 0x0B, 0x0C, 0x0E-0x1F) in literals. These characters are allowed in RDF literals, but some serializations (e.g., RDF/XML) may not be able to encode them. See the documentation page \"Dataset compatibility notes\" for more details."@en ; + rdfs:label "ASCII control character count statistics"@en . + + ### https://w3id.org/riverbench/schema/metadata#BenchmarkProtocol rb:BenchmarkProtocol rdf:type owl:Class ; rdfs:subClassOf irao:Protocol ,