This approach is not solid at all, since the Storer is able to export RDF files with a variety of different file extensions. Those files couldn't be found through the current implementation of find_paths. A noteworthy example is the '.nquads' extension of the provenance files.
Either another approach should be applied or the current one should be extended.
Function
find_paths
only considers files with extension '.json' and '.ttl'. See the code for reference here: https://github.com/opencitations/oc_ocdm/blob/33e4c6e24286c194058dd52aa61f1eaec03ce75f/oc_ocdm/support/support.py#L272-L275This approach is not solid at all, since the
Storer
is able to export RDF files with a variety of different file extensions. Those files couldn't be found through the current implementation offind_paths
. A noteworthy example is the '.nquads' extension of the provenance files.Either another approach should be applied or the current one should be extended.