diff --git a/tasks/stream-compression/index.md b/tasks/stream-compression/index.md new file mode 100644 index 0000000..5bb52d5 --- /dev/null +++ b/tasks/stream-compression/index.md @@ -0,0 +1,33 @@ +A benchmark task measuring the compression efficiency of serializations for grouped RDF streams. + +## Methodology + +### Data + +Stream distributions of any dataset in the [`stream` category](../../categories/stream/index.md) of RiverBench may be used for this task. + +### Workload + +The task consists of serializing RDF data in a grouped form (that is, as a stream of RDF graphs or RDF datasets) to bytes and measuring the size of the obtained representation. + +In this task, the time taken to serialize and deserialize the data is not considered – see the [`stream-serialization-throughput`](../stream-serialization-throughput/index.md) and [`stream-deserialization-throughput`](../stream-deserialization-throughput/index.md) tasks for that aspect. + +### Metrics + +- The primary metric is the serialized representation size of the RDF data, in bytes. +- Additionally, the compression ratio can be calculated as the ratio of the reference size to the compressed size. The reference size is the size of the same data serialized using a baseline method, e.g., the N-Triples serialization format. + - In the RDF literature, the "compression ratio" is often defined as the inverse of the above definition and expressed as a percentage. For example, a compression ratio of (50%) means that the compressed data is half the size of the reference data. + +## Results + +There are no results with RiverBench available for this task yet. + +## Examples and references + +- In the paper about the Jelly streaming protocol, such a benchmark is performed in Section IV.C. The authors have measured the output size of several methods. The presented "Compression ratio" metric there refers to the ratio between the compressed data size and the reference data size, with N-Triples used as the reference. + - Sowiński, P., Wasielewska-Michniewska, K., Ganzha, M., & Paprzycki, M. (2022, October). Efficient RDF streaming for the edge-cloud continuum. In 2022 IEEE 8th World Forum on Internet of Things (WF-IoT) (pp. 1-8). IEEE. + - https://doi.org/10.1109/WF-IoT54382.2022.10152225 + +## See also + +- Version of this task for flat RDF streams: [`flat-compression`](../flat-compression/index.md) diff --git a/tasks/stream-compression/metadata.ttl b/tasks/stream-compression/metadata.ttl new file mode 100644 index 0000000..b73f7fd --- /dev/null +++ b/tasks/stream-compression/metadata.ttl @@ -0,0 +1,22 @@ +@prefix : . +@prefix dcterms: . +@prefix foaf: . +@prefix rb: . +@prefix rbdoc: . + +:task + # General information + a rb:Task ; + dcterms:conformsTo ; + dcterms:identifier "stream-compression" ; + dcterms:title "Grouped RDF stream compression"@en ; + dcterms:description "A benchmark task measuring the compression efficiency of serializations for grouped RDF streams."@en ; + + # Authors + dcterms:creator [ + foaf:name "Piotr Sowiński" ; + foaf:nick "Ostrzyciel" ; + foaf:homepage , ; + rbdoc:hasDocWeight 1 ; + ] +. diff --git a/tasks/stream-deserialization-throughput/index.md b/tasks/stream-deserialization-throughput/index.md index 035a77c..c76d2e4 100644 --- a/tasks/stream-deserialization-throughput/index.md +++ b/tasks/stream-deserialization-throughput/index.md @@ -4,7 +4,7 @@ A benchmark task measuring the througput of deserializing a grouped RDF stream ( ### Data -Stream distributions of any dataset in the `stream` category of RiverBench may be used for this task. +Stream distributions of any dataset in the [`stream` category](../../categories/stream/index.md) of RiverBench may be used for this task. ### Workload @@ -29,3 +29,9 @@ There are no results with RiverBench available for this task yet. - In the paper about the Jelly streaming protocol, such a benchmark is performed in Section IV.B. The corresponding task in the paper is named "Raw deserialization throughput" and the performance in measured in terms of the number of triples deserialized per second. - Sowiński, P., Wasielewska-Michniewska, K., Ganzha, M., & Paprzycki, M. (2022, October). Efficient RDF streaming for the edge-cloud continuum. In 2022 IEEE 8th World Forum on Internet of Things (WF-IoT) (pp. 1-8). IEEE. - https://doi.org/10.1109/WF-IoT54382.2022.10152225 + + +## See also + +- Version of this task for flat RDF streams: [`flat-deserialization-throughput`](../flat-deserialization-throughput/index.md) +- The inverse task: [`stream-serialization-throughput`](../stream-serialization-throughput/index.md) diff --git a/tasks/stream-serialization-throughput/index.md b/tasks/stream-serialization-throughput/index.md index 7c82f0d..29ecfdb 100644 --- a/tasks/stream-serialization-throughput/index.md +++ b/tasks/stream-serialization-throughput/index.md @@ -4,7 +4,7 @@ A benchmark task measuring the througput of serializing a grouped RDF stream (th ### Data -Stream distributions of any dataset in the `stream` category of RiverBench may be used for this task. +Stream distributions of any dataset in the [`stream` category](../../categories/stream/index.md) of RiverBench may be used for this task. ### Workload @@ -30,3 +30,9 @@ There are no results with RiverBench available for this task yet. - In the paper about the Jelly streaming protocol, such a benchmark is performed in Section IV.B. The corresponding task in the paper is named "Raw serialization throughput" and the performance in measured in terms of the number of triples serialized per second. - Sowiński, P., Wasielewska-Michniewska, K., Ganzha, M., & Paprzycki, M. (2022, October). Efficient RDF streaming for the edge-cloud continuum. In 2022 IEEE 8th World Forum on Internet of Things (WF-IoT) (pp. 1-8). IEEE. - https://doi.org/10.1109/WF-IoT54382.2022.10152225 + + +## See also + +- Version of this task for flat RDF streams: [`flat-serialization-throughput`](../flat-serialization-throughput/index.md) +- The inverse task: [`stream-deserialization-throughput`](../stream-deserialization-throughput/index.md) diff --git a/tasks/stream-serialization-throughput/metadata.ttl b/tasks/stream-serialization-throughput/metadata.ttl index ef81153..90933e4 100644 --- a/tasks/stream-serialization-throughput/metadata.ttl +++ b/tasks/stream-serialization-throughput/metadata.ttl @@ -9,7 +9,7 @@ a rb:Task ; dcterms:conformsTo ; dcterms:identifier "stream-serialization-throughput" ; - dcterms:title "Grouped streaming serialization throughput"@en ; + dcterms:title "Grouped RDF stream serialization throughput"@en ; dcterms:description "A benchmark task measuring the througput of serializing a grouped RDF stream (that is, a stream in which the elements are either RDF graphs or RDF datasets)."@en ; # Authors