Knowledge Graph - Property Graph Schema Designer
/install property-graph-schema-designer
Property Graph Schema Designer
Design Neo4j-style property graph schemas from domain descriptions.
This skill translates domain models, requirements, and entity descriptions into structured property graph schemas with node labels, relationships, properties, and constraints.
Quick Start
Use When
- Designing property graph schemas for Neo4j
- Converting domain documentation → graph models
- Creating graph database data models
- Modeling entities and relationships
- Bootstrapping graph projects
Inputs
- Domain descriptions
- System architecture docs
- Entity relationship diagrams
- Relational schemas
- JSON/API schemas
- Business rules
Outputs
- Node labels (e.g., Student, Course)
- Relationship types (e.g., ENROLLED_IN, TEACHES)
- Node properties with types
- Relationship properties
- Index recommendations
- Constraint suggestions
- Cypher implementation templates
Example
Input:
A university has students, professors, courses, and departments.
Students enroll in courses. Professors teach courses.
Departments manage professors and courses.
Output:
Node Labels:
- Student (properties: student_id, name, email, enrollment_year)
- Professor (properties: professor_id, name, research_area)
- Course (properties: course_id, title, credits)
- Department (properties: dept_id, name, budget)
Relationships:
- (Student)-[:ENROLLED_IN {semester}]->(Course)
- (Professor)-[:TEACHES {semester}]->(Course)
- (Department)-[:MANAGES]->(Course)
- (Department)-[:EMPLOYS]->(Professor)
Constraints:
- CREATE CONSTRAINT student_id UNIQUE on Student.student_id
- CREATE CONSTRAINT course_id UNIQUE on Course.course_id
- CREATE INDEX on Professor.name
Execution Steps
- Identify Entities – Extract nouns/concepts from domain text
- Map to Node Labels – Determine PascalCase labels
- Identify Relationships – Extract verbs and connections
- Map Relationship Types – Determine SCREAMING_SNAKE_CASE types
- Extract Properties – Identify node & relationship attributes
- Suggest Constraints – Recommend unique constraints
- Suggest Indexes – Recommend indexes for queries
- Generate Cypher – Output implementation templates
Schema Components
Node Labels
PascalCase naming
Examples: Student, Professor, Course, Department
Relationship Types
SCREAMING_SNAKE_CASE naming
Directional: A-[TYPE]->B
Examples: ENROLLED_IN, TEACHES, MANAGES
Properties
Node properties: camelCase (student_id, name, email)
Relationship properties: camelCase (semester, grade)
Include types: String, Integer, Date, Float
Constraints & Indexes
Unique constraints on identifiers
Indexes on frequently queried properties
Recommended indexes for relationships
Recommended Libraries
- Drivers: neo4j, py2neo
- Graph modeling: networkx
- Visualization: pyvis, graphviz
- Data: pandas
Best Practices
✓ Use clear, consistent naming (PascalCase, SCREAMING_SNAKE_CASE, camelCase)
✓ Avoid redundant relationships
✓ Prefer directional relationships
✓ Use unique constraints on identifiers
✓ Index frequently queried properties
✓ Keep nodes focused, avoid over-nesting
✓ Separate schema concerns from instance data
✓ Plan for query patterns upfront
References
See schema-patterns.md for property graph design patterns and example-schemas.md for domain schema examples.
Version: 1.0.0
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install property-graph-schema-designer - After installation, invoke the skill by name or use
/property-graph-schema-designer - Provide required inputs per the skill's parameter spec and get structured output
What is Knowledge Graph - Property Graph Schema Designer?
Design property graph schemas for knowledge graph systems using Neo4j-style node labels, relationships, and properties based on domain descriptions or develo... It is an AI Agent Skill for Claude Code / OpenClaw, with 38 downloads so far.
How do I install Knowledge Graph - Property Graph Schema Designer?
Run "/install property-graph-schema-designer" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Knowledge Graph - Property Graph Schema Designer free?
Yes, Knowledge Graph - Property Graph Schema Designer is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Knowledge Graph - Property Graph Schema Designer support?
Knowledge Graph - Property Graph Schema Designer is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Knowledge Graph - Property Graph Schema Designer?
It is built and maintained by Muhammad Asif (@fisa712); the current version is v1.0.0.