Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QUESTION: Is there a link to the discussion/issue on gist moving its namespace IRI from hash to slash instead? #725

Closed
pmcb55 opened this issue Sep 21, 2022 · 5 comments

Comments

@pmcb55
Copy link

pmcb55 commented Sep 21, 2022

Hi,

Please forgive me if there is a better place to ask this question (e.g., a gist mailing list or something), and I'll close this non-issue(!) and re-post there.

But I'm just trying to find out if the gist community actively discussed the transition from using hash '#' in your namespace IRI to using slash '/' instead (i.e., to become https://ontologies.semanticarts.com/gist/)...?

All I could find was this reference from issue #130 from Dec 2019: "I believe the namespace was recently changed from hash to slash".

I only ask as I'm about to propose to the W3C Data Privacy Vocabulary (DPV) group that they make the same switch before they formalise v1.0, and so I'd like to share with them any discussions, arguments, debates, etc. that you guys already went through (as I totally agree with you guys that slash is 'better' than hash for namespace IRIs in general :) !).

Cheers!

@Jamie-SA
Copy link
Contributor

I was not here for that discussion, but one point is that URI/IRI fragments are not sent to an HTTP server, therefore a server can not resolve them. A recommended best practice is that all URI/IRIs should be (or at least, could be) resolvable. Using a # in them makes them non-resolvable (at least, to the fragement level). Which is just a bad starting point IMHO.

@pmcb55
Copy link
Author

pmcb55 commented Sep 21, 2022

Thanks @Jamie-SA - yeah, absolutely (like I say, I too totally agree with the switch to slash over hash). But I'm certainly not trying to re-ignite or re-hash the discussion here (as I'm sure everyone's already very busy, and the (correct!) decision has already been made and implemented in gist).
I was just hoping I might be able to point to any pre-existing discussion/debate. If there isn't anything available publicly, then that's totally fine too of course (and I'll close this issue) - I'm just curious to see if there might be 'prior art/related work' I could share with the DPV folks (and internally where I work!) :)

@pmcb55
Copy link
Author

pmcb55 commented Sep 23, 2022

Hi @uscholdm or @rjyounes - by any chance would either of you guys have a reference to any public gist discussions of the 'switch from hash to slash'?
(I'm just anxious to provide guidance to the DPV working group before they close for comments soon, and to give them time to digest and discuss the overall issue for themselves before closing their current open-for-comments period - so any guidance at all would be greatly appreciated - thanks!)

@rjyounes
Copy link
Collaborator

That predates my tenure, so I don't. The best and most complete discussion I know on the subject is in the book Linked Data by Tom Heath and Christian Bizer, section 2.3.

@pmcb55
Copy link
Author

pmcb55 commented Sep 28, 2022

Thanks @rjyounes - and yeah, that reference is useful, but like every reference on this topic that I can find online, it merely suggests the pro's and con's of both approaches, without expressing any opinion on which one might be considered 'better'.

For me, I don't think the answer to the question is 'Well, it depends...' - I think the slash is clearly 'better' (i.e., it's the only option that allows returning only what I've ask for (i.e., just info on a specifically-asked-for term, and no other noise related to the rest of the terms that may be expressed in a vocab), while also supporting the ability to retrieve info on all vocab terms in one HTTP request if I want too (i.e., by just request the namespace IRI itself (or it's prefix-declaration-defined namespace IRI) to get info on all the terms.

Anyways, it seems there may not have ever been a publicly documented record of the gist discussions around the decision to switch over to using slash. That's fine of course (I was just hoping...), so I'll close this issue now.

@pmcb55 pmcb55 closed this as completed Sep 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants