Hey Nick,that sound like a good idea in general, to have more vocabularies available in python through the RDFlib. But I have some doubts about including a set of defined namespaces directly into the RDFlib. Vocabularies and their terms evolve over time. This would bring in problems when we include the vocabularies as they are in the rdflib releases. I would suggest to put the vocabularies in a separate project/package and directly generate the DefinedNamespaces from the vocabularies, e.g. based on https://archivo.dbpedia.org/
Currently the DefinedNamespace modules already contain a line "Generated from: …" did anyone find out which script was used for that, already?
Kind regards, Natanael On 18.09.21 02:19, Nicholas Car wrote:
(as per Issue https://github.com/RDFLib/rdflib/issues/1415 <https://github.com/RDFLib/rdflib/issues/1415>)As of rdflib 6.0.0, we have DefinedNamespaces which contain the elements of a namespace (ontology/vocabulary/profile etc) and make them available for type hinting and warning-based validation.If people would like to create DefinedNamespaces for interesting/important/their favourite namespaces, we can include them in [rdflib's `rdflib.namespace` package](https://github.com/RDFLib/rdflib/tree/master/rdflib/namespace <https://github.com/RDFLib/rdflib/tree/master/rdflib/namespace>). This will make your namesapces more visible and less prone to error in use.If you are interested, have a look at those already there and put a PR in to add yours.-- http://github.com/RDFLib <http://github.com/RDFLib> ---You received this message because you are subscribed to the Google Groups "rdflib-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected] <mailto:[email protected]>. To view this discussion on the web visit https://groups.google.com/d/msgid/rdflib-dev/CAP7nqh3OP1krXyqCLn_8mopuVCXppm%3DRbM9Wxkzy91eeuOvWDw%40mail.gmail.com <https://groups.google.com/d/msgid/rdflib-dev/CAP7nqh3OP1krXyqCLn_8mopuVCXppm%3DRbM9Wxkzy91eeuOvWDw%40mail.gmail.com?utm_medium=email&utm_source=footer>.
-- http://github.com/RDFLib--- You received this message because you are subscribed to the Google Groups "rdflib-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/rdflib-dev/97961e87-7996-6431-7c83-80eadff63ca1%40gmail.com.
OpenPGP_signature
Description: OpenPGP digital signature
