以文本方式查看主题

-  中文XML论坛 - 专业的XML技术讨论区  (http://bbs.xml.org.cn/index.asp)
--  『 Semantic Web(语义Web)/描述逻辑/本体 』  (http://bbs.xml.org.cn/list.asp?boardid=2)
----  能否帮忙找个关于ontology的实例(开题报告用)!![求助]  (http://bbs.xml.org.cn/dispbbs.asp?boardid=2&rootid=&id=29807)


--  作者:july0824
--  发布时间:4/3/2006 9:43:00 AM

--  能否帮忙找个关于ontology的实例(开题报告用)!![求助]
本体研究的开题报告我已经写了很久了,可是总找不到一个好又简短的例子,大家能否帮帮忙????
--  作者:zhangyu8301
--  发布时间:4/3/2006 10:02:00 AM

--  
protege软件自带的examples 或者去http://protege.stanford.edu/plugins/owl/owl-library/index.html,上面有很多看看有没有合适的吧!
--  作者:Acoolice
--  发布时间:4/3/2006 10:11:00 AM

--  
<?xml version="1.0"?>

<!DOCTYPE rdf:RDF [
    <!ENTITY eg   'urn:x-hp:eg/'>
    <!ENTITY rdf  'http://www.w3.org/1999/02/22-rdf-syntax-ns#'>
    <!ENTITY rdfs 'http://www.w3.org/2000/01/rdf-schema#'>
    <!ENTITY xsd  'http://www.w3.org/2001/XMLSchema#'>
    <!ENTITY owl  "http://www.w3.org/2002/07/owl#" >
]>

<rdf:RDF xmlns:rdf="&rdf;" xmlns:rdfs="&rdfs;" xmlns:xsd="&xsd;" xmlns:owl="&owl;"
         xml:base="urn:x-hp:eg/" xmlns:eg="&eg;" xmlns="&eg;">

  <owl:Class rdf:about="&eg;Computer">
      <rdfs:subClassOf>
          <rdf:Description>
             <owl:intersectionOf rdf:parseType="Collection">
                <owl:Restriction>
                   <owl:onProperty rdf:resource="&eg;hasMotherBoard"/>
                   <owl:maxCardinality rdf:datatype="&xsd;nonNegativeInteger">1</owl:maxCardinality>
                </owl:Restriction>
              </owl:intersectionOf>
           </rdf:Description>
       </rdfs:subClassOf>
  </owl:Class>
  
  <owl:Class rdf:about="&eg;MotherBoard" />
  
  <owl:Class rdf:about="&eg;GraphicsCard" />
  
  <owl:Class rdf:about="&eg;Bundle" />

  <owl:Class rdf:about="&eg;GameBundle">
      <rdfs:subClassOf rdf:resource="&eg;Bundle" />
  </owl:Class>
  
  <eg:GraphicsCard rdf:about="&eg;budgetGraphics" />
  <eg:GraphicsCard rdf:about="&eg;gamingGraphics" />
  <eg:GraphicsCard rdf:about="&eg;DTPGraphics" />
  
  <owl:ObjectProperty rdf:about="&eg;hasComponent">
      <rdf:type rdf:resource="&owl;TransitiveProperty" />
  </owl:ObjectProperty>
  
  <owl:ObjectProperty rdf:about="&eg;hasGraphics">
      <rdfs:range rdf:resource="&eg;GraphicsCard" />
      <rdfs:subPropertyOf rdf:resource="&eg;hasComponent" />
  </owl:ObjectProperty>
  
  <owl:ObjectProperty rdf:about="&eg;hasMotherBoard">
      <rdfs:range rdf:resource="&eg;MotherBoard" />
      <rdfs:domain rdf:resource="&eg;Computer" />
      <rdfs:subPropertyOf rdf:resource="&eg;hasComponent" />
  </owl:ObjectProperty>
  
  <owl:ObjectProperty rdf:about="&eg;hasBundle">
      <rdfs:domain rdf:resource="&eg;Computer" />
  </owl:ObjectProperty>
   
  <owl:Class rdf:about="&eg;GamingComputer">
      <owl:equivalentClass>
          <rdf:Description>
             <owl:intersectionOf rdf:parseType="Collection">
                <owl:Restriction>
                   <owl:onProperty rdf:resource="&eg;hasComponent" />
                   <owl:hasValue rdf:resource="&eg;gamingGraphics" />
                </owl:Restriction>
                <owl:Restriction>
                   <owl:onProperty rdf:resource="&eg;hasBundle" />
                   <owl:someValuesFrom rdf:resource="&eg;GameBundle" />
                </owl:Restriction>
                <owl:Class rdf:about="&eg;Computer" />
              </owl:intersectionOf>
           </rdf:Description>
       </owl:equivalentClass>
  </owl:Class>

</rdf:RDF>


--  作者:july0824
--  发布时间:4/3/2006 12:05:00 PM

--  
谢谢!!~~
--  作者:byj72829
--  发布时间:4/10/2006 10:15:00 PM

--  
ding
--  作者:stevenzhy
--  发布时间:4/12/2006 10:53:00 AM

--  
W3C的网站上,会找到很多的本体的
W 3 C h i n a ( since 2003 ) 旗 下 站 点
苏ICP备05006046号《全国人大常委会关于维护互联网安全的决定》《计算机信息网络国际联网安全保护管理办法》
140.625ms