知识图谱——描述逻辑(Description Logic)(应试版介绍)

描述逻辑 DL 主要描述本体的概念和属性,对于本体知识库的构建提供便捷的表达形式。

举例:

  • 概念Concepts:一个领域的子集

例:学生,已婚者 : {x|student(x)}    {x|married(x)}

  • 关系relation:某领域上的二元关系

例:朋友,恋人:{<x,y>|friend(x,y)}   {<x,y>|loves(x,y)}

  • 个体individuals:一个领域内的实例

例:张三,王一:{Zhangsan, Wangyi}

 

描述逻辑的知识库 O:=<T,A> 即TBox和ABox

TBox描述概念的一般性质

例:mother,person,has_child —— Mother \subseteq \exists has_child.Person

通常为 C\equiv DC\sqsubseteq D 

 

ABox描述论域中的特定个体  (具体的人名、物名...)

例:Mother(Helen)  Person(Jack)   概念断言

        has_child(Helen,Jack)             关系断言

通常为 C(a) or R(a,b)

DL表示大全

R:Role 指属性     C:Class

  • top/bottom class:  T/\perp
  • class union:\sqcup
  • class intersection:\sqcap
  • negation: ¬

  • existential \exists R.C
  • universal \forallR.C
  • min  \geq n S.C
  • max \leq n S.C
  • subclass C \sqsubseteq D
  • subproperty R \sqsubseteq S
  • ex:mary rdf:type ex:Person .                                                        • Person(mary)

  • ex:Mother rdfs:subClassOf ex:Woman .                                      • Mother ⊑ Woman

  • ex:john ex:hasWife ex:Mary .                                                      • hasWife(john,mary)

  • ex:hasWife rdfs:subPropertyOf ex:hasSpouse                           • hasWife ⊑ hasSpouse

  • ex:hasWife rdfs:range ex:Woman .                                             • ⊤⊑\forallhasWife.Woman

  • ex:hasWife rdfs:domain ex:Man .                                                • \exists hasWife.T⊑ Man

  • owl:Thing                                                                 •⊤

  • owl:Nothing                                                             •⊥

" Mothers are exactly those who are women and parents."        Mother \equiv Woman ⊓ Parent

" Parents are exactly those who are mothers or fathers. "          Parent \equiv Mother ⊔ Father

" ChildlessPersons are exactly those who are persons and who are not parents.   ChildlessPerson \equiv Person ⊓ ¬Parent


 

  • 3
    点赞
  • 17
    收藏
    觉得还不错? 一键收藏
  • 2
    评论
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值