スキル一覧に戻る
GodSpeedAI

knowledge-graph-query

by GodSpeedAI

SEA makes your enterprise feel alive, self-aware, and self-documenting.

1🍴 0📅 2026年1月24日
GitHubで見るManusで実行

SKILL.md


name: knowledge-graph-query description: Query the SEA-Forge™ Knowledge Graph using SPARQL to retrieve concepts, relationships, and semantic patterns. Use for semantic lookups, concept validation, relationship discovery, and ontology exploration. Integrates with DomainForge™ and Oxigraph. license: Complete terms in LICENSE.txt

Knowledge Graph Query

Query SEA-Forge™'s Knowledge Graph using SPARQL to discover concepts, validate semantic references, and explore ontology relationships.

For reference: DomainForge Handbook | SDS-003: Knowledge Graph Service


When to Use This Skill

  1. Validate ConceptId: Check if sea:BoundedContext exists
  2. Find Related Concepts: What concepts link to sea:Deployment?
  3. Discover Patterns: What artifacts are in stage "IntellectualCapital"?
  4. Ontology Exploration: Browse available concepts
  5. Semantic Anchoring: Link artifacts to Knowledge Graph

Quick Reference

Basic Queries

# Find all concepts in SEA ontology
PREFIX sea: <http://sea-forge.org/ontology#>

SELECT ?concept ?label
WHERE {
  ?concept a sea:Concept ;
           rdfs:label ?label .
}

Validate ConceptId

PREFIX sea: <http://sea-forge.org/ontology#>

ASK {
  sea:BoundedContext a sea:Concept .
}
# Returns: true if exists
PREFIX sea: <http://sea-forge.org/ontology#>

SELECT ?related ?relationship
WHERE {
  sea:Deployment ?relationship ?related .
}

Common Query Patterns

1. List All Bounded Contexts

PREFIX sea: <http://sea-forge.org/ontology#>

SELECT ?context ?description
WHERE {
  ?context a sea:BoundedContext ;
           sea:description ?description .
}

2. Find Artifacts by Stage

PREFIX sea: <http://sea-forge.org/ontology#>

SELECT ?artifact ?title ?stage
WHERE {
  ?artifact a sea:Artifact ;
            sea:title ?title ;
            sea:stage ?stage .
  FILTER(?stage = "IntellectualCapital")
}

3. Discover Concept Hierarchy

PREFIX sea: <http://sea-forge.org/ontology#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>

SELECT ?subclass ?superclass
WHERE {
  ?subclass rdfs:subClassOf ?superclass .
}

Integration with SEA-Forge™

CADSL Semantic Anchoring

Validate semantic refs before generating artifacts:

# Check if conceptId exists
query = """
ASK {
  sea:QualityGate a sea:Concept .
}
"""
exists = kg_service.query(query)

if exists:
    # Safe to use in artifact
    artifact["semanticRefs"] = ["sea:QualityGate"]

Case Management Enrichment

Link cases to domain concepts:

SELECT ?case ?concept ?relationship
WHERE {
  ?case a sea:Case ;
        sea:relatedTo ?concept .
  ?concept a sea:Concept .
}

References

スコア

総合スコア

60/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です