Flowchart · myKG
The two-pass pipeline, with review and orphan-recovery branches
NO
YES
YES
NO
Mixed input directory
LLM · 3 CALLS
Pass 1 — induce RDFS schema
concepts · properties · domain/range
Review schema?
--review flag
OPTIONAL
Edit schema.json
mykg approve-schema
LLM · PER FILE
02
Pass 2 — extract instances
nodes · edges · confidence scores
Orphans?
co-occurrence scan
LLM
Orphan-connect pass
method: orphan_inferred
DETERM
Assemble · normalize · export
dedup · alias · validate · write
JSONL · TTL · NetworkX · Obsidian