Giter VIP home page Giter VIP logo

ro-terms's Introduction

ro-terms

The purpose of this repository is to allow RO-crate users to create their own RO terms without having to create a new namespace, ontologies, etc.

This way, the RO-crate community can ellaborate vocabularies in a collaborative manner. Users may collaborate to a common vocabulary (vocabulary.csv) or create their own terms.

RO-crates use the following namespace:

https://w3id.org/ro/terms/YOUR_NAMESPACE#

The namespace for the common terms is:

https://w3id.org/ro/terms#

To download the terms in CSV you can do:

curl -L https://w3id.org/ro/terms

And if you want them in json-ld:

curl -H "accept:application/ld+json" -L https://w3id.org/ro/terms > context.json

Equuivalent content negotation is available for each of the folders registered under ro-terms, e.g. https://w3id.org/ro/terms/earth-science#

Contribution guidelines

This repository https://github.com/researchobject/ro-terms works in a first-come, first-serve basis. To add your own terms, simply:

  1. Fork this repository
  2. Add a new folder to reserve your own namespace. code Add a vocabulary.csv file with your terms and a short README.md file with your name/project and who the maintainer is. For an example, you can see the example folder. If you just have a few terms, you can add them to the common namespace (just edit the vocabulary.csv file at the root level). When adding your terms, please make sure that each term has a label, type, definition and a domain and range if you are defining a property.
  3. Once done, execute the python script to generate a context.json file for your terms. You can do so by doing python ./gen_context.py ./your-namespace. This writes a context.json into the your-namespace directory.
  4. Open a pull request and a maintainer from ro-terms will assess and merge the changes as soon as possible.

Why are terms collected in a CSV?

We want to quickly allow contributors to be able to understand and explore existing terms and their definitions. From the CSV we can easily create machine-readable versions of the vocabulary, including a JSON-LD context.

ro-terms's People

Contributors

simleo avatar stain avatar dgarijo avatar ptsefton avatar rapw3k avatar inutano avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.