linked-conservation-data / conservation-vocabularies

Datasets of contributed conservation vocabularies alongside vocabulary alignment data.
10 stars 1 forks source link

Provide machine-readable list of vocabularies #3

Open nichtich opened 12 months ago

nichtich commented 12 months ago

Is the content of https://www.ligatus.org.uk/lcd/controlled-vocabularies available in machine-readable form? It looks like the data shown at https://www.ligatus.org.uk/lcd/ is not fully included in GitHub.

I'm also interested in the vocabulary of categories such as https://www.ligatus.org.uk/lcd/category/195.

natuk commented 12 months ago

I am afraid, only the pilot vocabularies are on GitHub at the moment. However, pages like the one you mentioned (https://www.ligatus.org.uk/lcd/category/195) should bring up a list of vocabularies on glass. This must have been broken during a recent migration. I will sort it out.

natuk commented 12 months ago

OK, this https://www.ligatus.org.uk/lcd/category/195 should now list the relevant vocabularies for each term. I can see if I can produce the full list as a CSV file or similar.

nichtich commented 12 months ago

Thanks! It looks like the "categories" are more plain "tags" or "term". How can be call this vocabulary and how to get a full list? By the way BARTOC was also powered by Drupal once.

natuk commented 11 months ago

Sorry @nichtich , I am not sure exactly what you are after. Can you give me a brief example of what you are thinking of? I can create a mini-API if you need requests served as json or similar.

nichtich commented 11 months ago

I'd like to get a complete list of all vocabularies and a complete list of all categories. Basically the content of https://www.ligatus.org.uk/lcd/controlled-vocabularies in some form of JSON (at least title, URL, categories for each vocabulary). Workaround would be screen-scraping but less stable.

natuk commented 11 months ago

I see, I think I can put something together - possibly even this week.

natuk commented 11 months ago

Hello, I put this together rather quickly, but I hope it will allow you to do some automatic parsing: https://www.ligatus.org.uk/lcd/controlled-vocabularies/rest See if it's enough.