为让计算机智能地处理物流应急预案,将每个物流应急预案表示为一个应急预案本体,通过计算概念和应急预案本体的相关程度,从而找到所需物流应急预案。用OWL:imports和Jena规则可连接应急预案本体,从而形成内容更全面的预案,但会破坏原有应急预案本体语义,产生不一致问题,所提出的约束原则有效避免了这一问题。应用SPARQL查询应急预案本体,并通过自定义原语和规则弥补应急预案本体在表达能力上的不足,以有效地对应急预案本体进行推理,从而找到所需结论,进而实现了基于本体的物流应急预案的表示和应用。利用本体的语义表达能力以及推理和查询机制,解决了物流应急预案智能处理的问题。
To compute the logistics emergency plan intelligently,this paper represented logistics emergency plan as emergency plan ontology.The relevance between concepts and emergency plan ontology could be computed,in this way the required emergency plan could be found.The semantics of the emergency plan ontology might be violated and the inconsistency might occur during linking the emergency plan ontology by OWL:imports and the rules in Jena,constrains were defined to avoid that.The emergency plan ontology could be queried by SPARQL and be effectively reasoned with custom builtin and rules which could make up for the expression ability of emergency plan ontology.Thus,implemented representation and application of ontology based emergency plan for logistics,solved the problem of logistics emergency plan intelligent processing based on the ability of expression,inference and query of ontology.