Configuring the Ontology for a New Use-case¶
- Create a use-case folder under
src/ontology/(no spaces; use hyphens, e.g.my-org). SetCOMPASS_USE_CASEto that name in.env. - Copy
src/ontology/template-source-data.odsinto the new folder and rename itsource-data.ods. - Open the workbook in Google Sheets or another spreadsheet app, fill in the
schemes,concepts, andpinssheets with the use-case data, then save it back as.ods. - Generate Turtle from the workbook:
just data::generate
Shared files (shapes.ttl, shacl-shacl.ttl, the template) stay at the ontology
root. Instance data (source-data.ods, generated compass.ttl / vocab.ttl)
lives under src/ontology/<COMPASS_USE_CASE>/.