Replies: 1 comment 1 reply
-
GitHub is not very good at such things - it assumes that the contents of the repo are an interconnected whole. I am assuming that you are trying to get a download of the term definitions for a release, not the internal files that go to building a release. If that is the case, a good place to start would be the Schema.org developers page where you can download a single* file (in a format of your choice) that contains those definitions. You can select your preference for terms defined using http or https URIs, then which serialisation you require (XML, JSON-LD, etc.) Beyond that there is a choice of the 'current' terms or 'all' terms. If you select 'all' the file will include terms that have been previously removed from the vocabulary (known as being placed into the 'attic' area). This facility operates for the latest release of the vocabulary (currently version 12.0) Once you have identified the file/format that is useful for you, that file for non-latest releases can be manually downloaded from the relevant release directory in Github. Hope this helps. *CSV format definitions are included in two files. |
Beta Was this translation helpful? Give feedback.
-
I found this, but there were many different recommendations, so I wasn't sure which one to try:
https://stackoverflow.com/questions/600079/how-do-i-clone-a-subdirectory-only-of-a-git-repository/52269934
Is there a way to just download part of the schemaorg git repo?
E.g. If I want release 12, is there a recommended way to download just release 12? (I don't think I care about all the git stuff that would come with it, so just the files.)
In the meantime, I'll experiment with the various suggestions in Stackoverflow.
Also, a newbie, like myself, it would be nice to also have an example from each file from the release, so that I can more easily determine which files I actually want to download.
TIA.
Beta Was this translation helpful? Give feedback.
All reactions