A repository showing how metadata held within a CSVW metadata file could be transformed into a structure accepted by PublishMyData (PMD). Given a CSVW metadata file containing dataset metadata such as titles, descriptions etc., metadata.py will take this as an input and output a .trig containing the triple structure expected by PMD.
metadata.py contains a class, PMDMetadata with a sole method, from_csvw. A CSVW metadata file may be specified, after which a .trig file will be output.
PMDMetadata.from_csvw("./example.csv-metadata.json")An example CSV file, CSVW metadata file and .trig output have been included.