Local MCP Server
在Termux中运行本地MCP服务器,支持Ollama模型的文件读取与命令执行。
下载 11
根据领域描述自动生成 RDF/OWL 知识图谱本体与模式。
openclaw skills install @fisa712/rdf-owl-schema-drafting命令、参数、文件名以原文为准
为语义网和知识图谱系统设计 RDF 和 OWL 本体。
此技能将领域模型、实体描述和需求转换为机器可读的 RDF/OWL 模式,包含类、属性和约束。
输入:
一个科研系统包含研究人员、论文和机构。
研究人员撰写论文,并隶属于某个机构。
论文具有标题和发表年份。输出:
@prefix ex: <http://example.org/ontology#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://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" .owl:Class - 核心实体
示例:Researcher、Paper、Institution
命名规范:PascalCaseowl:ObjectProperty - 连接类之间的关系
示例:writes、affiliatedWith、publishedIn
域(Domain):源类
范围(Range):目标类
命名规范:camelCaserdf:Property - 表示字符串或数值类型的属性
示例:name、email、publicationYear
命名规范:camelCase@prefix ex: <http://example.org/ontology#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .✓ 使用清晰的命名空间 URI
✓ 将类与实例分离
✓ 定义域/范围约束
✓ 属性使用 camelCase,类使用 PascalCase
✓ 复用现有词汇表(如 FOAF、Dublin Core、Schema.org)
✓ 保持本体模块化且易于维护
✓ 使用 rdfs:label 为类和属性添加文档说明
参见 [ontology-patterns.md](references/ontology-patterns.md) 了解 OWL 设计模式,以及 [example-ontologies.md](examples/example-ontologies.md) 获取领域本体示例。
版本: 1.0.0
已收录 2 个 Skill