Open
Description
Metadata of data sources (title, description, license, licenseUrl, copyright, homepage...) needs to hard-coded in config.json
but data sources should be able to provide their own metadata. Some thoughts:
- the
Datasource
interface should be extended with an optional method to fetch metadata about the datasource - the
IndexDatasource
class needs to call this method to get additional triples from a datasource - the
title
of a data source is also used on instantiation inbin/ldf-server
. It should better be access by an accessor of the created data source instead of (or as fallback to) its raw configuration.
By the way this should also allow for VoID files as data sources (new class VoidDatasource
):
- data source is configured with location of the VoID file
- VoID file contains title, description... and URL of SPARQL endpoint or RDF data dump
By the way my use case of this feature is BEACON files as data sources. A BEACON link dump contains a list of links and additional metadata about this data set.