Ontology Sync
Sync vault to TTL knowledge graph.
Usage
Basic Sync
source .venv/bin/activate && \
python .claude/skills/ontology-sync/scripts/sync_vault.py
With Options
source .venv/bin/activate && \
python .claude/skills/ontology-sync/scripts/sync_vault.py \
--vault ./my-vault \
--output ./knowledge.ttl
Parameters
| Parameter |
Default |
Description |
--vault |
./vault |
Vault directory |
--output |
./knowledge.ttl |
Output TTL file |
--persons-dir |
persons |
Person files folder |
--projects-dir |
projects |
Project files folder |
--archives-dir |
archives |
Archives folder |
Output
knowledge.ttl - RDF triples in Turtle format
Statistics
After sync, displays:
- Person count
- Project count
- Meeting count
- Organization count
- Topic count
- Total triples
When to Use
- After adding new person/project files
- After updating meeting records
- Before querying the knowledge graph
- As part of vault maintenance workflow
Dependencies
- ontology-engine skill (vault_to_ttl.py)
- rdflib, pyyaml