SDM-TIB / SDM-RDFizer

An Efficient RML-Compliant Engine for Knowledge Graph Construction
https://doi.org/10.5281/zenodo.3872103
Apache License 2.0
107 stars 25 forks source link

Improve Whitespace in Console Output #83

Closed prohde closed 2 years ago

prohde commented 2 years ago

The use of whitespace (newlines) always bothered me a little. So I improved it from my point-of-view. The new output groups a dataset and its TriplesMaps together and leaving whitespace between two datasets. Additionally, I added the message for finishing a dataset and the end of the semantification of that dataset. In the original output, the very last message was that the last dataset (referred to by its name) was successfully semantified, I changed that to 'all datasets'. Furthermore, I added the execution time again. But feel free to remove it if you prefer to only keep it in the statistics file.

Old output

Semantifying dataset1...

TM: file:///data/mappings/TriplesMap1

TM: file:///data/mappings/TriplesMap2
Semantifying dataset2...

TM: file:///data/mappings/TriplesMap3
Successfully semantified dataset2.

New output

Semantifying dataset1...
TM: file:///data/mappings/TriplesMap1
TM: file:///data/mappings/TriplesMap2
Successfully semantified dataset1.

Semantifying dataset2...
TM: file:///data/mappings/TriplesMap3
Successfully semantified dataset2.

Successfully semantified all datasets in 1.835 seconds.