...
首页> 外文期刊>Dr. Dobb's Journal >Building a Custom Rule Engine With Prolog
【24h】

Building a Custom Rule Engine With Prolog

机译:使用Prolog构建自定义规则引擎

获取原文
获取原文并翻译 | 示例
   

获取外文期刊封面封底 >>

       

摘要

Unlike factual or procedural knowledge, logical knowledge is difficult to encode in a computer. However, the ability for organizations to successfully encode their logical knowledge can lead to better services for users. The question, then, is how best to encode logical knowledge. It can be shoe-horned into data- and procedure-based tools, but the encoding is difficult, the knowledge becomes opaque, and maintenance becomes a nightmare. Rule-based and logic-based tools are better suited to the encoding of logical knowledge, but require the selection of the proper tool for the knowledge to be encoded, and the learning of how to use that tool. Off-the-shelf rule or logic tools sometimes provide a good solution, but often the knowledge representation of the tool doesn't fit the actual knowledge, or the reasoning engine doesn't use the knowledge as it is supposed to be used. This leads to the same coding and maintenance problems experienced with conventional tools, but to a lesser extent depending on how big the semantic gap is between the knowledge and the tool. A viable alternative is the building of a custom logic-based language and reasoning engine. This allows for the closest fit between the coding of the knowledge and the actual knowledge, and for the cleanest integration between the tool and the rest of the application context.
机译:与事实或过程知识不同,逻辑知识很难在计算机中编码。但是,组织成功地编码其逻辑知识的能力可以为用户提供更好的服务。那么,问题是如何最好地编码逻辑知识。可以将它塞入基于数据和过程的工具中,但是编码很困难,知识变得不透明,维护成为噩梦。基于规则和基于逻辑的工具更适合于逻辑知识的编码,但是需要为要编码的知识选择适当的工具,并学习如何使用该工具。现成的规则或逻辑工具有时提供了一个很好的解决方案,但是该工具的知识表示通常不适合实际的知识,或者推理引擎没有使用应该使用的知识。这导致了与常规工具相同的编码和维护问题,但是程度较小,具体取决于知识和工具之间的语义鸿沟。一种可行的选择是构建基于逻辑的自定义语言和推理引擎。这可以使知识的编码与实际知识之间的编码最接近,并使工具与应用程序上下文的其余部分之间的整合更为清晰。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号