regen-network / regen-registry-standards

:seedling: RDF and SHACL schemas for Regen Registry
4 stars 1 forks source link

http://regen.network is not a good IRI prefix #39

Closed aaronc closed 1 year ago

aaronc commented 1 year ago

I'm noticing that most of our SHACL files use http://regen.network/ as their prefix.

Although it is not required that the referent of an IRI is dereferencable, it would be nice. The current design would make this pretty hard.

I propose we switch all prefixes to something that can be dereferenced. We can use https://schema.regen.network as the base URI and then for each SHACL file we should think about what its base URI would be. For instance if we published this repo to https://schema.regen.network and then downloaded shacl/common.ttl, all of the entities in that document should have the prefix https://schema.regen.network/shacl/common.ttl# (I'm not saying we adopt this structure however).

Let's think through how we structure our IRIs with this in mind.

aaronc commented 1 year ago

A couple alternatives could be:

wgwz commented 1 year ago

Hey @aaronc 👋 one thing i wanted to point out is that typically it seems that prior to deploying a schema to a domain, concatenation of all turtle files generally happens, and the output is single file with all definitions. you can see this for example in the “shacl_validate.py” script. we used a CLI tool from the apache jena software called “riot” to do that. it’s specifically designed for combining multiple schema files.

wgwz commented 1 year ago

Please add your planning poker estimate with Zenhub @blushi

wgwz commented 1 year ago

Per slack convo's it seems like we might prefer to go with this option:

https://schema.regen.network#