Rdf Owl Schema Drafting
/install rdf-owl-schema-drafting
RDF / OWL Schema Drafting
Design RDF and OWL ontologies for semantic web and knowledge graph systems.
This skill translates domain models, entity descriptions, and requirements into machine-readable RDF/OWL schemas with classes, properties, and constraints.
Quick Start
Use When
- Designing new RDF/OWL ontologies
- Converting domain models → semantic schemas
- Building linked data systems
- Creating triple store ontologies
- Designing semantic knowledge graphs
Inputs
- Domain descriptions
- Entity models or ER diagrams
- JSON/CSV structures
- Knowledge graph requirements
- Relational schemas
Outputs
- RDF classes (rdfs:Class)
- OWL classes (owl:Class)
- Object properties (owl:ObjectProperty)
- Datatype properties (rdf:Property)
- Domain/range constraints
- Turtle/RDF serialization
Example
Input:
A research system contains researchers, papers, and institutions.
Researchers write papers and are affiliated with institutions.
Papers have titles and publication years.
Output:
@prefix ex: \x3Chttp://example.org/ontology#> .
@prefix owl: \x3Chttp://www.w3.org/2002/07/owl#> .
@prefix rdfs: \x3Chttp://www.w3.org/2000/01/rdf-schema#> .
ex:Researcher a owl:Class ;
rdfs:label "Researcher" .
ex:Paper a owl:Class ;
rdfs:label "Paper" .
ex:writes a owl:ObjectProperty ;
rdfs:domain ex:Researcher ;
rdfs:range ex:Paper ;
rdfs:label "writes" .
ex:name a rdf:Property ;
rdfs:label "name" .
Execution Steps
- Identify Classes – Extract core concepts/entities
- Identify Properties – Extract relationships and attributes
- Define Domain/Range – Specify property constraints
- Map to OWL – Convert to OWL/RDF structures
- Generate Ontology – Output Turtle or RDF/XML
Schema Components
Classes (Concepts)
owl:Class - Core entities
Example: Researcher, Paper, Institution
Naming: PascalCase
Object Properties (Relationships)
owl:ObjectProperty - Connect classes
Example: writes, affiliatedWith, publishedIn
Domain: Source class
Range: Target class
Naming: camelCase
Datatype Properties (Attributes)
rdf:Property - String/numeric values
Example: name, email, publicationYear
Naming: camelCase
Namespace Structure
@prefix ex: \x3Chttp://example.org/ontology#> .
@prefix rdf: \x3Chttp://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: \x3Chttp://www.w3.org/2000/01/rdf-schema#> .
@prefix owl: \x3Chttp://www.w3.org/2002/07/owl#> .
Recommended Libraries
- Core: rdflib, owlready2
- Utilities: networkx, pyvis
- Validation: pyshacl
- Visualization: graphviz
Best Practices
✓ Use clear namespace URIs
✓ Separate classes from instances
✓ Define domain/range constraints
✓ Use camelCase for properties, PascalCase for classes
✓ Reuse existing vocabularies (FOAF, Dublin Core, Schema.org)
✓ Keep ontologies modular and maintainable
✓ Document classes and properties with rdfs:label
References
See ontology-patterns.md for OWL design patterns and example-ontologies.md for domain ontology examples.
Version: 1.0.0
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install rdf-owl-schema-drafting - 安装完成后,直接呼叫该 Skill 的名称或使用
/rdf-owl-schema-drafting触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Rdf Owl Schema Drafting 是什么?
Draft RDF or OWL ontologies and schemas for knowledge graph systems using domain descriptions, entity models, or schema requirements. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 39 次。
如何安装 Rdf Owl Schema Drafting?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install rdf-owl-schema-drafting」即可一键安装,无需额外配置。
Rdf Owl Schema Drafting 是免费的吗?
是的,Rdf Owl Schema Drafting 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Rdf Owl Schema Drafting 支持哪些平台?
Rdf Owl Schema Drafting 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Rdf Owl Schema Drafting?
由 Muhammad Asif(@fisa712)开发并维护,当前版本 v1.0.0。