针对基于知识的计算机辅助创新设计系统可持续应用中的设计知识知识更新问题,从综合利用本体概念自身的语义和概念间的层次结构角度出发,研究基于本体语义块相似性匹配的设计知识更新方法。通过Jena提供的jella.ontology包中的接口函数提取本体元素。综合采用基于元素级本体匹配、基于结构级本体匹配结果,获得本体元素中的匹配概念对和待匹配概念对。提出建立概念语义块的规则。采用编辑距离法计算概念语义块单词序列中对应单词的相似度,加权求和得概念语义相似度,判定概念语义块的匹配关系,通过Jena提供的jena.ontology包中接口类、属性及实例的添加和删除函数实现设计知识更新。公司甲和公司乙产品设计知识更新应用实例验证了基于本体语义块相似匹配的设计知识更新方法的正确性和有效性,以概念语义块内语义邻居的相似性增强了相似性较强的匹配,对相似性较差的匹配则不作改变,增强了概念对匹配的可区分度。
Aiming at design knowledge updating problem in sustainable application of computer-aided innovative design system based on knowledge, the design knowledge updating method based on similarity matching of ontology semantic block is studied by synthetically considering the concept semantics and concept hierarchy structure. The ontology elements are extracted by interface functions ofjena.ontology package in Jena. Matching concept pairs and to be matched concept pairs are acquired by synthetically considering ontology matching based on ontology element and ontology matching based on concept hierarchy structure. The rules are proposed to establish the concept semantic block. Word similarity from word sequence of concept semantic block is calculated with edit distance method. The weighted sum of word similarity is calculated to determine matching relationships between concept semantic blocks. Based on similarity matching of concept semantic block, design knowledge is updated by adding and removing functions of class, property and individual of jena.ontology package. The example of of company A and company B design knowledge updating application shows the correctness and validity of design knowledge updating method based on similarity matching of ontology semantic block. The proposed method increases the distinguish degree of concept pairs matching by enhancing the strong similarity matching with semantic neighbors similarity of concept semantic block, unchanging the poor similarity matching.