lambdamusic / Ontospy

Python library and command-line interface for inspecting and visualizing RDF models aka ontologies.
http://lambdamusic.github.io/Ontospy/
MIT License
219 stars 52 forks source link

Define Prefix for schema.org #119

Closed tobiasschweizer closed 1 year ago

tobiasschweizer commented 1 year ago

rdflib has changed the default prefix for http://schema.org to schema1, schema now refers to the TLS version https://schema.org.

In my generated docs, everything is prefixed with schema1 now which is essentially correct but looks wrong.

Is there be a good way to configure the prefixes and pass them to the CLI version of Ontospy?

I think internally this could be achieved by setting the prefixes as defined by the client in the namespace manager, see https://github.com/RDFLib/pySHACL/issues/118#issuecomment-1026252226.

tobiasschweizer commented 1 year ago

Seems that the issue is gone as of rdflib 6.2.0