SKILL.md
334 lines · 1,589 words
Knowledge Graph Builder
Overview
Knowledge graphs represent structured relationships between entities, enabling powerful reasoning, contextual retrieval, and explainable AI. Building production knowledge graphs requires ontology design, entity extraction, graph database selection, query optimization, and integration with LLM systems via GraphRAG patterns.
Knowledge Graph Architecture
+------------------+ +-------------------+ +------------------+
| Data Sources | --> | Extraction | --> | Graph Database |
| - Documents | | - NER | | (Person)-[:WORKS_AT]->(Company)
| - APIs | | - Relation extract| | (Paper)-[:CITES]->(Paper)
| - Databases | | - Entity linking | | (Product)-[:HAS]->(Feature)
+------------------+ +-------------------+ +------------------+
|
+------------------+ +-------------------+ +------v-----------+
| Applications | <-- | Query & Reasoning | <-- | Indexing & |
| - GraphRAG | | - Cypher / SPARQL | | Enrichment |
| - Recommendations| | - Path finding | | - Embeddings |
| - Analytics | | - Subgraph match | | - Community det. |
+------------------+ +-------------------+ +------------------+