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

Make classes and properties of the ontology dereferencable #267

Open
ingoboerner opened this issue Oct 24, 2024 · 0 comments
Open

Make classes and properties of the ontology dereferencable #267

ingoboerner opened this issue Oct 24, 2024 · 0 comments

Comments

@ingoboerner
Copy link
Collaborator

The ontology things are still work in progress (read: are somewhat a mess) but just for reference here:

Currently it is possible to download the v0 of the DraCor ontology at https://dracor.org/ontology. To make this system more useful and adhere to LOD principles, there should be a way to have URIs for classes and properties that are dereferencable.
There are probably two options:

  • easier, but uglier: use Hash-URIs for concepts, e.g. https://dracor.org/ontology.rdf#play_name then a HTTP request (not requesting RDF maybe) should display the ontology (as RDF)? A browser might point a user to the right place in the RDF file, maybe.
  • better integrated option: Use RestXQ and have a resolver at .../ontology/ and evaluate an URL parameter .../ontology/{local-id}, e.g. https://dracor.org/ontology/play_name. This would allow to do proper content negotiation, i.e. return RDF in different serializations (optional); provide a human readable view of a class or a property. This is more work but could maybe lead to better results.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant