Closed aaronc closed 1 year ago
A couple alternatives could be:
https://schema.regen.network#
instead of https://schema.regen.network/shacl/common.ttl#
http://regen.network
when the HTTP Accept
header is text/turtle
. Unfortunately we can't do this with the current http://regen.network/
prefix, but it would have worked if we had chosen http://regen.network#
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.
Please add your planning poker estimate with Zenhub @blushi
Per slack convo's it seems like we might prefer to go with this option:
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 tohttps://schema.regen.network
and then downloadedshacl/common.ttl
, all of the entities in that document should have the prefixhttps://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.