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

Download links to rdf serializations of the ontology #227

Open
pwoltjer opened this issue Jun 6, 2024 · 3 comments
Open

Download links to rdf serializations of the ontology #227

pwoltjer opened this issue Jun 6, 2024 · 3 comments

Comments

@pwoltjer
Copy link

pwoltjer commented Jun 6, 2024

It would be nice for the end-user to provide a download link in the documentation to one or more rdf serializations of the ontology.

@hoijui
Copy link
Contributor

hoijui commented Dec 5, 2024

In my opinion, this should be done through content negotiation on the ontologies URI (which is already displayed in the generated HTML). That would be following best-practices. Providing such serializations through the HTML documentation, would make it less likely that people would implement through content negotiation, and thus it would promote an anti-pattern.
Doing it through content negotiation is the most natural way of providing different serializations, and it makes the ontology machine-readable.

@hoijui
Copy link
Contributor

hoijui commented Dec 5, 2024

... What could be useful though, if it was possible in HTML (I don;t know) to make links that request a specific content-type, so then we could combine the two, and the links not working would then be a good thing, as it would mean people would report that, and thus the ontology maintainers would be pressured to implement correct content negotiation.

@graybeal
Copy link

graybeal commented Dec 5, 2024

Yes, both should be possible. The content negotiation does not preclude explicit IRIs that result in the same download. (I think there is a standard practice for including the requested format after the IRI.)

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