LinkedDataFragments / Server.js

A Triple Pattern Fragments server for Node.js
http://linkeddatafragments.org/
Other
175 stars 59 forks source link

Support metadata about datasources coming from datasources #66

Open nichtich opened 6 years ago

nichtich commented 6 years ago

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:

By the way this should also allow for VoID files as data sources (new class VoidDatasource):

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.

rubensworks commented 6 years ago

FYI, a new major version of the server is in the works, which will make (possibly external) extensions like these very easy to make.

RubenVerborgh commented 6 years ago

@rubensworks Yes, but do we have an extension point for this specific case, i.e., datasources adding in extra metadata?

rubensworks commented 6 years ago

@RubenVerborgh No, not at the moment. It's currently implemented in the same way as in the current version. But we could add a hook for that.