首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >AI推理系统

AI推理系统
EN

Stack Overflow用户
提问于 2018-04-04 04:31:52
回答 1查看 76关注 0票数 0

我想知道是否有任何系统/基础设施能够执行一些人工推理过程,例如:Context: A is a pen Question: is A vertical or horizontal Reasoning process: 1. horizontal is anything parallel to the ground 2. A is parallel to the ground 3. A is horizontal

这个推理系统的最终目标是它能够生成具有一些预定义规则的事实。

提前谢谢你!

EN

回答 1

Stack Overflow用户

发布于 2018-04-05 03:00:31

你可以通过本体论来实现这一点。您可以使用Protege,这是一个免费的本体编辑器,配备了推理器来推断隐含的知识。按如下方式指定本体将达到预期的结果:

代码语言:javascript
运行
复制
ObjectProperty: hasOrientation
    Domain: Object
    Range: Orientation

ObjectProperty: isParallel
    Domain: Object
    Range: Surface

Class: Object

Class: Orientation
    EquivalentTo: {Horizontal , Vertical}

Class: Pen
    SubClassOf: Object

Class: Surface
    EquivalentTo: {Ground , Rock , Wall}

Individual: Ground
    Types: Surface

Individual: Horizontal
    Types: Orientation    
    DifferentFrom: Vertical

Individual: Rock
    Types: Surface

Individual: Vertical
    Types: Orientation
    DifferentFrom: Horizontal

Individual: Wall
    Types: Surface

Individual: myPen
    Types: Pen
    Facts:  isParallel  Ground

Rule: 
    Pen(?aPen), isParallel(?aPen, Ground) -> hasOrientation(?aPen, Horizontal)
    Pen(?aPen), isParallel(?aPen, Wall) -> hasOrientation(?aPen, Vertical)

这个推断是用Pen(?aPen), isParallel(?aPen, Ground) -> hasOrientation(?aPen, Horizontal)实现的,它基本上说明,如果aPen是一个Pen,并且aPenGround处于isParallel关系中,那么aPen具有Horizontal方向。

顺便说一句,您可能会对this research感兴趣。

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/49638695

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档