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

Should there be a "vocabulary" table? #4

Open
esd-org-uk opened this issue Sep 30, 2019 · 2 comments
Open

Should there be a "vocabulary" table? #4

esd-org-uk opened this issue Sep 30, 2019 · 2 comments
Labels
MINOR upgrade Suggested backwards compatible change to HSDS

Comments

@esd-org-uk
Copy link
Contributor

At present all taxonomy terms are held in the "taxonomy" table. A select distinct is needed to retrieve a list of vocabularies.

We can see a need for a separate "vocabulary" table with a one to many to "taxonomy". The vocabulary table can hold a description of the taxonomy and possibly a link to the organization publishing it.

Hence an app for a specific organization could use its local vocabularies as well as generic vocabularies such as those maintained by the LGA.

@MikeThacker1
Copy link
Contributor

MikeThacker1 commented Oct 7, 2019

Note that we are using full URIs as identifiers for esd taxonomy terms, eg http://id.esd.org.uk/service/833 . If we had a vocabulary table, we could use namespaces/curies and resolve them via the vocabulary table.

@MikeThacker1
Copy link
Contributor

Version 2 of HSDS renamed the "Vocabulary" property of taxonomy terms to "taxonomy". Hence we need to consider a new table called "taxonomy". This can be kept backward compatible if the taxonomy identifier is only optional in the taxonomy_term table.

@MikeThacker1 MikeThacker1 added the MINOR upgrade Suggested backwards compatible change to HSDS label Feb 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
MINOR upgrade Suggested backwards compatible change to HSDS
Projects
None yet
Development

No branches or pull requests

2 participants