The module MUST write our ontology as Turtle, N-Triples, N-Quads and JSON-LD (the kernel's writers), and as SHACL shapes and JSON Schema (from class schemas), SKOS concept schemes (from code lists), SQL code-list tables, SSSOM mappings (from terms that name a standard's term and the relation to it, each justified as manual curation), an HTML view of an ontology (its classes, properties, code lists and the basis of each term, one self-contained page, so that it can be read without TypeScript), and OWL, RDF/XML and a DCAT entry for each published ontology (FR-016 to FR-019).
Enforced (check): .github: cd commons/mizan && bun test suite/ — mizan-integrations.test.ts: SQL, SKOS, SHACL, JSON Schema and SSSOM written from a class schema, a code list and the mappings of terms; tests/commons-mizan-ontology.test.ts: Mizan's own exports are current. RDF/XML, OWL and DCAT: FR-016 to FR-019
Proved by: mizan/suite/mizan-integrations.test.ts, mizan/suite/mizan.test.ts, tests/commons-mizan-ontology.test.ts
Tests: passed: suite/mizan-integrations.test.ts a class schema is written as a JSON Schema (the one fields required, many an array, words ; passed: suite/mizan-integrations.test.ts a code list is written as a SKOS concept scheme that the reader reads back, one concept ea; passed: suite/mizan-integrations.test.ts a code list is written as a SQL table with its quotes escaped, and a table name that is no; passed: suite/mizan-integrations.test.ts mappings are written as an SSSOM TSV with its curie map, set id, license and justification; passed: suite/mizan.test.ts the HTML view escapes every text, says it is generated, and shows classes, properties, cod and 1 more
Cited by: generate-ontology, Libraries, publish-ontology, Mizan, integrations/pure/export-html, integrations/pure/export, integrations/pure/types, mizan/mizan, Mizan, the IF Spec Profile