CALMO (Context-Aware Language Model Ontology) is an ontology-vocabulary designed to provide context and guidance to large language models like ChatGPT, enabling them to generate more context-aware content. CALMO builds upon schema.org, Prov-O, and SKOS and leverages linked data principles to enhance the understanding of JSON key-value pairs.
context/
: JSON-LD context filesmodules/
: Individual ontology modulespatterns/
: Ontology design patternsversions/
: Different versions of the ontologycompetency-questions/
: Competency questions that the ontology should answerprovenance-logs/
: Logs related to the development of the ontology, e.g., updates and changesdocumentation/
: Detailed documentation for the ontology, including usage and examplesscripts/
: Utility scripts for ontology validation, conversion, and other tasks.github/
: GitHub workflows for ontology management, testing, and continuous integration
CALMO is available in both JSON-LD and Turtle formats. The JSON-LD format is designed for web developers who are more familiar with JSON and is suitable for large language models that work well with JSON data. The Turtle format is a popular and human-readable RDF syntax, favored by the Semantic Web and Linked Data communities.
To use CALMO in your project, follow these steps:
- Choose the format (JSON-LD or Turtle) that best fits your needs.
- Download the corresponding file from the
versions/
folder or use the w3id.org identifiers to reference the ontology. - Include the ontology in your application as needed, and follow the documentation for guidance on how to use the ontology to provide context and guidance to your language models.
Please refer to the documentation/
folder for detailed documentation on CALMO, including usage examples and explanations of the ontology concepts, properties, and relationships.
We welcome contributions to CALMO! If you'd like to contribute, please follow these steps:
- Fork the repository.
- Create a new branch for your changes.
- Commit your changes to the branch.
- Create a pull request, and provide a detailed description of your changes.
Before submitting a pull request, please ensure that your changes follow the existing ontology structure and guidelines.
This project is licensed under the Creative Commons Attribution 4.0 International License. You are free to share and adapt the material, as long as you give appropriate credit, provide a link to the license, and indicate if changes were made.