yaml configurations, external rdf files support #3
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Added YAML configuration file support
In the
data
folder, instead of iterating through all .ttl and .config files, the application now checks for all yaml files. These yaml files can contain configuration as follows:Vocabularies can also be loaded from an external source. This applies both to the RDF file and the config. In order to do so, specify the
type
asfetch
. When no filetype is clear from the url (if it ends in something other than the normal file extension), it can be explicitly stated as well:Getting files from private repositories
GitHub
When retrieving files from a private GitHub repository, it is also possible to specify an access token. Also note the
alwaysRefresh
setting on the config, which is used to make the application import this dataset again even if it is already imported into the application, to update it:GitLab
Getting a file from a private GitLab repository uses the URL where the file can be found when browsing the GitLab site and navigating through the code to the file you need. The URL should be similar to the one in the example below. The token you provide must have access to the Repository Files API.