Connectome-Implementation-Team / rescs_shacl_shapes

SHACL Shapes for RESCS
GNU Affero General Public License v3.0
1 stars 0 forks source link

Generated Docs contain schema Prefix twice #11

Open tobiasschweizer opened 2 years ago

tobiasschweizer commented 2 years ago

Figure out why there is a schema and schema1 prefix for the same thing Screenshot 2022-01-28 at 09 12 09 .

tobiasschweizer commented 2 years ago

note that one is https ...

tobiasschweizer commented 2 years ago

Q: Should we write 'https://schema.org' or 'http://schema.org' in our markup?

There is a general trend towards using 'https' more widely, and you can already write 'https://schema.org' in your structured data. We have migrated the schema.org site itself towards using https: as the default version of the site and our preferred form in examples. However 'http://schema.org' -based URLs in structured data markup will remain widely understood for the forseeable future and there should be no urgency about migrating existing data. This is a lengthy way of saying that both 'https://schema.org' and 'http://schema.org' are fine.

see https://schema.org/docs/faq.html#19

tobiasschweizer commented 2 years ago

rdflib recently switched from http to https for schema.org and schema is now the prefix for https://schema.org, see https://github.com/RDFLib/pySHACL/issues/118

tobiasschweizer commented 2 years ago

I think we should switch to HTTPS but I am not sure about the implications regarding the standard prefixes in Nexus, see https://github.com/BlueBrain/nexus/issues/3085