codemeta: Codemeta content negotiation is not correct
Hello,
I want to use Codemeta on our next version of OntoSoft. However, the content negotiation of the schema is not correct. When I do
curl -sH "accept:application/json+ld" -L https://codemeta.github.io/terms/
I am expected to obtain https://raw.githubusercontent.com/codemeta/codemeta/1.0/codemeta.jsonld, i.e., a machine readable description of the schema. Instead, I am redirected to the human-readable html page.
I don’t think you can enable content negotiation on GitHub pages, but maybe having a w3id would be desirable.
About this issue
- Original URL
- State: open
- Created 5 years ago
- Comments: 21 (12 by maintainers)
BTW, in RO-Crate call today we agreed to add the additional codemeta terms to our context, so we’ll use the newer w3id namespace for now in anticipation of this issue (as I would be reluctant to add a
github.ionamespace)Considering #321 I would propose https://w3id.org/codemeta# as namespace in agreement with @dgarijo. As this is a v3.0 (major change in https://semver.org/) and only affect a couple of additional terms like
softwareSuggestions(not the majority which remain in http://schema.org) v3 would be the right time to do it.Vocabulary namespace should not be versioned, so that their semantic meaning can stay the same over time, although the exact interpretation/definition may change slightly as the vocabulary evolves. In this case we only have a textual representation of the vocabulary anyway (no stringent OWL file etc) so it shouldn’t matter.
Shouldn’t be an issue, we rewrote other parts of the
.Rmd-based website generation to Python and Hugo templates in recent months.Thanks. I prefer hash + changelog + obsolete terms, but if we follow schema.org style, slash is preferred.
The best practices you linked is the document I always recommend.
El vie., 6 oct. 2023 12:46 p. m., Stian Soiland-Reyes < @.***> escribió: