ontology¶
The RDF ontology export (Turtle and JSON-LD).
Keys¶
| Key | Type | Default | Description |
|---|---|---|---|
enabled |
bool |
true |
Build and export the ontology. |
export_formats |
list |
[turtle, json-ld] |
Serialisations to write. |
include_raw_metadata |
bool |
false |
Copy each asset's metadata dict into the ontology as a JSON string (cmp:hasRawMetadata). |
In config.yaml¶
config.yaml (ontology)
ontology:
enabled: true
export_formats:
- turtle
- json-ld
include_raw_metadata: false
Read from the annotated example config.yaml and the CloudGConfig models in cloudg/config.py.