Skip to content

Miscellaneous Node/Javascrip utilities for preparing Arkisto repositories / RO-Crates with language data

License

Notifications You must be signed in to change notification settings

redbox-mint/language-data-commons-vocabs

 
 

Repository files navigation

Language Data Commons Vocabulary Tools

This is a set of libraries and vocabularies supporting the use of RO-Crate lanaguage data.

It contains:

  • A vocabulary (Classes, Properties, Defined Terms and Defined Term Sets) for the Language Data Commons RO-Crate Profile
  • Other vocabularies for collections held by the Lanaguage Data Commons of Australia (e.g. AusTalk)
  • A library for using these vocabularies in Node code to generate RO-Crates.

Language Data Commons Schema Terms Updates

Updates to the Language Data Commons Schema Terms can be made in ontology/ro-crate-metadata.json which is used to create ontology.md.

Capitalisation of Term Names

Classes, Defined Terms and Defined Term Sets should have uppercase names (e.g. CollectionEvent) and Properties should have lowercase (e.g. annotationOf). Capitalisation can be checked using the following regexes:

  • Find Properties that should be lowercase: terms#[A-Z].*$\n.*Property
  • Find Classes, Defined Terms and Defined Term Sets that should be uppercase: terms#[^A-Z].*$\n.*(Class|Defined)

Regenerate ontology.md

To generate a new version of ontology.md run:

make ont

About

Miscellaneous Node/Javascrip utilities for preparing Arkisto repositories / RO-Crates with language data

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • HTML 98.1%
  • JavaScript 1.8%
  • Makefile 0.1%