0.0.5 • Published 6 years ago

replay-timeseries v0.0.5

Weekly downloads
6
License
MIT
Repository
-
Last release
6 years ago

Replay Timeseries

Takes an RDF file of any kind (on disk) and replays it on standard ouput. Used for benchmarking purposes.

Install it as follows:

npm install -g replay-timeseries

Use it as follows:

cat rdfstream.trig | replay-timeseries --speed 2x

An RDF stream

An RDF stream object is a named graph with elements as follows:

<a> <b> <c> <graph1> .
<...> <...> <...> <graph1> .
<graph1> <http://www.w3.org/ns/prov#generatedAtTime> "2017-..." .

How it works

First it uses the http://www.w3.org/ns/prov#generatedAtTime (prov:generatedAtTime) property value of two adjacent graphs to determine the original stream frequency of the RDF stream. Then it will start writing on standard output every graph of the RDF stream based on the provided replay speed and setting the prov:generatedAtTime property of each graph containing the actual time of replay.

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago