I'm following up with Edmond Chuc to get the script that he used for the current ones. It was originally written by Harold Solbrig.If we can't get it, we can quite easily rewrite it (since it's only a bunch of queries against a vocab/ont for Classes & Properties in the namespace).
Yes, we could consider a separate RDFlib package to store lots of Namespace, if we had lots. So far, I've not been swamped! We could indeed couple our DefinedNamespace production to a system like Archivo for auto-update, but then also allow Git Pushes for people to update also. I think a GitHub Action could work here: push RDF file to the repo and, when merged by a maintainer, a new DefinedNamespace is created. Nick On Thu, Sep 23, 2021 at 6:57 PM Natanael Arndt <[email protected]> wrote: > 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) > > 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). 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 > --- > 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/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 > <https://groups.google.com/d/msgid/rdflib-dev/97961e87-7996-6431-7c83-80eadff63ca1%40gmail.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/CAP7nqh1CWeTsjSXPYtHTpveesQYjYEjU-Zng5x3jZ5gC4gq8HA%40mail.gmail.com.
