以文本方式查看主题

-  计算机科学论坛  (http://bbs.xml.org.cn/index.asp)
--  『 Semantic Web(语义Web)/描述逻辑/本体 』  (http://bbs.xml.org.cn/list.asp?boardid=2)
----  owl-s  (http://bbs.xml.org.cn/dispbbs.asp?boardid=2&rootid=&id=60841)


--  作者:annmmliu
--  发布时间:4/3/2008 10:46:00 AM

--  owl-s
我目前刚接触owl-s,我想请问一下;
1:那个owls的上层本体有4个,process.owl.profile.owl.....,而真正的服务是只有一个*.owl;请问这4个和*.owl是什么关系
2:命名空间和imports有什么区别?
例如:
<?xml version="1.0"?>
<rdf:RDF
    xmlns:process="http://www.daml.org/services/owl-s/1.1/Process.owl#"
    xmlns:list="http://www.daml.org/services/owl-s/1.1/generic/ObjectList.owl#"
    xmlns:wi2="http://www.example.org/owls/CheckHash.owl#"
    xmlns:swrl="http://www.w3.org/2003/11/swrl#"
    xmlns:time="http://www.isi.edu/~pan/damltime/time-entry.owl#"
    xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
    xmlns:owl="http://www.w3.org/2002/07/owl#"
    xmlns:wi1="http://www.example.org/owls/HashString.owl#"
    xmlns="http://www.owl-ontologies.com/unnamed.owl#"
    xmlns:swrlImport="http://www.daml.org/rules/proposal/swrl.owl#"
    xmlns:expr="http://www.daml.org/services/owl-s/1.1/generic/Expression.owl#"
    xmlns:swrlb="http://www.w3.org/2003/11/swrlb#"
    xmlns:service="http://www.daml.org/services/owl-s/1.1/Service.owl#"
    xmlns:swrlbImport="http://www.daml.org/rules/proposal/swrlb.owl#"
    xmlns:grounding="http://www.daml.org/services/owl-s/1.1/Grounding.owl#"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
    xmlns:daml="http://www.daml.org/2001/03/daml+oil#"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
    xmlns:profile="http://www.daml.org/services/owl-s/1.1/Profile.owl#"
  xml:base="http://www.owl-ontologies.com/unnamed.owl">
  <owl:Ontology rdf:about="">
    <owl:imports rdf:resource="http://www.daml.org/services/owl-s/1.1/Grounding.owl"/>
    <owl:imports rdf:resource="http://www.example.org/owls/HashString.owl"/>
    <owl:imports rdf:resource="http://www.example.org/owls/CheckHash.owl"/>
    <owl:imports rdf:resource="http://www.daml.org/rules/proposal/swrlb.owl"/>
    <owl:imports rdf:resource="http://www.daml.org/rules/proposal/swrl.owl"/>
    <owl:imports rdf:resource="http://www.daml.org/services/owl-s/1.1/Profile.owl"/>
  </owl:Ontology>
这是一个服务的头描述,我想知道,为什么有个用得着imports,有得就不用?区别在哪里?
3:属性约束里面得onProperty是什么意思?


谢谢大家


--  作者:iamwym
--  发布时间:4/4/2008 4:00:00 AM

--  
这个服务本体利用上层本体定义其一些谓语的意义
第二个问题建议看看XML的书,IMPORT就是导入一个ontology


--  作者:annmmliu
--  发布时间:4/6/2008 1:52:00 PM

--  
谢谢楼上,请问其他人还有什么高见没有》大家一起讨论啊,谢谢大家!
W 3 C h i n a ( since 2003 ) 旗 下 站 点
苏ICP备05006046号《全国人大常委会关于维护互联网安全的决定》《计算机信息网络国际联网安全保护管理办法》
31.250ms