-
Notifications
You must be signed in to change notification settings - Fork 161
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
Move entity definitions to separate page(s) #567
Comments
also pinging @nqueder |
yes, good idea ... this came up in the past as well (e.g., here: #200 (comment)) |
I'd like to see a separate definitions page. I did not think about looking for definitions in common principles until I did a search in the PDF. As someone not as familiar with the spec as most people, it wasn't the first place I thought to look. |
I've drafted up an extremely rough attempt at what I'm proposing in #568. The real deal would build off of some of the early schema work we've done in #475, but this first attempt should at least allow folks to judge how the changes would render in the specification. Also, thanks @satra for pinging potentially interested folks! |
Hi Folks, As @satra mentioned, we have mined all the BIDS specification PDF documents and extracted terms used in BIDS into JSON-LD documents: https://github.com/NIDM-Terms/terms/tree/master/terms/BIDS_Terms. These are searchable and we have implemented a little tool at OHBM Brainhack (which needs some additional functionality) that let's you search through these terms and add them with selected properties to export a Markdown table for inclusion in your BIDS specifications: https://github.com/nqueder/bids_terms_to_markdown_table. This code also let's you add a new BIDS term, checks whether its label collides with another BIDS term and writes out a new JSON-LD document for the term (it doesn't currently issue a pull request to the main NIDM-Terms repo which is something we'd like to finish up so one can contribute new proposed BIDS terms to the group). Further we have loaded the BIDS specification terms into InterLex and are working on a process where InterLex updates its list of terms by pulling from the terms repo above: https://neuinfo.org/interlex/search?q=BIDS. We are currently working on parsing the YAML schema files that @tsalo has been working on to verify we have all the BIDS terms and would like to work with you on coordinating our activities of managing terms used in BIDS. Cheers, |
Thanks @dbkeator! I think that the best course of action in synchronizing For this issue, my goal is mostly to start reorganizing the specification so that it's compatible with the full schema conversion once that transition happens. That reorganization will involve identifying what text can be truly modularized/sectioned off into schema files, and what text is necessary as section-specific "glue". In this case, entity definitions should be consistent across modalities, so they can be easily separated out without a lot of effort. |
Currently, entities are defined in one section where they're used with a heading (which helps find the definition in the search bar), and are then referenced in all other sections where they're used. The problem is that this spreads those entity definitions out across various sections, with no interlinking between them, and with variable text at each location.
For example, the
run
entity is defined under "Anatomy imaging data" with the following:However, in the MEG and EEG sections, at least, the
run
entity is not defined. It is just used in the filename templates. I should note, though, that in most cases where a definition is included, it's the same as the main definition with the heading. This is good for the specification, but it requires good maintenance instead of being automated as it could be.I propose that we move the "canonical" definitions to either one page for all of them or one page for each, and then include links to the entity definitions in specification text. This will (1) standardize the definitions and (2) prepare us for when entities must be defined only once, in a canonical manner, as in #540.
Alternatives to consider
mdinclude
or something similar to simply include the full definitions in all of the relevant sections of the specification text. I don't know how this would interact withpandoc
or the search-bar, but it would be more readable.The text was updated successfully, but these errors were encountered: