以文本方式查看主题

-  中文XML论坛 - 专业的XML技术讨论区  (http://bbs.xml.org.cn/index.asp)
--  『 Web Services & Semantic Web Services 』  (http://bbs.xml.org.cn/list.asp?boardid=10)
----  [求助]subsume的含义?  (http://bbs.xml.org.cn/dispbbs.asp?boardid=10&rootid=&id=45816)


--  作者:bettermanlu
--  发布时间:4/22/2007 10:27:00 PM

--  [求助]subsume的含义?
大家好,我在看Semantic Matching of Web Services Capabilities论文的时候,对subsume有些疑惑。该论文中有一段计算匹配程度的代码,如下:
degreeOfMatch(outR,outA):
if outA=outR then return exact;
if outR subclassOf outA then return exact; (*1)
if outA subsumes outR then return plugin; (*2)
if outR subsumes outA then return subsumes;
otherwise fail.

请问(*1),(*2)行,outA subsumes outR的含义不是outR is subclassOf outA吗?如果不是,那subsume是什么含义呢?

谢谢!


--  作者:timothy
--  发布时间:4/23/2007 9:37:00 AM

--  
刚好我也看到这里,这里的subsume是“包含”的意思。
     请你看到该文第八页的脚注,我在这里列出,方便大家讨论:
subclassOf in DAML also defines a subsumption relation,therefore the exact match defined above is also based on the subsumption relation.The rules for plug in matching apply when the concepts are not the same and no subclassOf relation holds.
    简单的解释就是:exact的一种情况是outR是outA的直接子类,而plug in 是指outR是outA的非直接子类,以该文的图5所示,类Sedan和类Vehicle的关系就是这种关系。不知道你理解了没有!??
--  作者:jope1982
--  发布时间:4/23/2007 10:51:00 AM

--  
我也在看这篇,毕业设计要做一个和这个有关的,不知道要从哪里入手。。。
--  作者:bettermanlu
--  发布时间:4/24/2007 9:45:00 AM

--  
如果说subclassOf是直接子类的含义,那我就理解了,但,是直接子类的含义吗?
关于subsume有正式的、标准的定义吗?还是这篇文章给了当前这种特殊的含义?谢谢。

另外,还有个问题,在3.2 An Example中
他举了两种情况
(1)Advertisement中声明卖car,request中声明要买sedan,car是sedan的直接父类,则两者exact匹配
(2)Advertisement中声明卖vehicle,request中声明要买sedan,则两者plugin匹配
对于第二种情况,他说是因为当卖方有可能卖的是bus,此时bus。
但对于第一种情况卖方可能卖的是SUV呀。
既然卖方在自己的Advertisement中声明卖的是Vehicle,那他就应该支持Bus和Car,如果只是卖bus,那为何要声明vehicle,直接声明为bus不更合适吗?

总之,对于他说的如果Ad是req的直接父类,也表示exact匹配,我不理解。
请大家赐教,谢谢。

以下是引用timothy在2007-4-23 9:37:00的发言:
刚好我也看到这里,这里的subsume是“包含”的意思。
      请你看到该文第八页的脚注,我在这里列出,方便大家讨论:
subclassOf in DAML also defines a subsumption relation,therefore the exact match defined above is also based on the subsumption relation.The rules for plug in matching apply when the concepts are not the same and no subclassOf relation holds.
     简单的解释就是:exact的一种情况是outR是outA的直接子类,而plug in 是指outR是outA的非直接子类,以该文的图5所示,类Sedan和类Vehicle的关系就是这种关系。不知道你理解了没有!??


--  作者:wuquanwang
--  发布时间:1/9/2012 10:10:00 AM

--  
我也看到了这里,此处确实有争议啊。
--  作者:wuquanwang
--  发布时间:1/9/2012 10:11:00 AM

--  
我也看到了这里,此处确实有争议啊。
W 3 C h i n a ( since 2003 ) 旗 下 站 点
苏ICP备05006046号《全国人大常委会关于维护互联网安全的决定》《计算机信息网络国际联网安全保护管理办法》
46.875ms