新书推介:《语义网技术体系》
作者:瞿裕忠,胡伟,程龚
   XML论坛     W3CHINA.ORG讨论区     计算机科学论坛     SOAChina论坛     Blog     开放翻译计划     新浪微博  
 
  • 首页
  • 登录
  • 注册
  • 软件下载
  • 资料下载
  • 核心成员
  • 帮助
  •   Add to Google

    >> 本版讨论Semantic Web(语义Web,语义网或语义万维网, Web 3.0)及相关理论,如:Ontology(本体,本体论), OWL(Web Ontology Langauge,Web本体语言), Description Logic(DL, 描述逻辑),RDFa,Ontology Engineering等。
    [返回] 中文XML论坛 - 专业的XML技术讨论区W3CHINA.ORG讨论区 - Web新技术讨论『 Semantic Web(语义Web)/描述逻辑/本体 』 → jena如何查询owl文件中类的子类? 查看新帖用户列表

      发表一个新主题  发表一个新投票  回复主题  (订阅本版) 您是本帖的第 121153 个阅读者浏览上一篇主题  刷新本主题   树形显示贴子 浏览下一篇主题
     * 贴子主题: jena如何查询owl文件中类的子类? 举报  打印  推荐  IE收藏夹 
       本主题类别: Ontology Language | RDF/RDFS | XML文档存取技术(DOM, SAX)    
     linyu64 帅哥哟,离线,有人找我吗?
      
      
      等级:大一(猛啃高等数学)
      文章:17
      积分:112
      门派:XML.ORG.CN
      注册:2009/2/28

    姓名:(无权查看)
    城市:(无权查看)
    院校:(无权查看)
    给linyu64发送一个短消息 把linyu64加入好友 查看linyu64的个人资料 搜索linyu64在『 Semantic Web(语义Web)/描述逻辑/本体 』的所有贴子 引用回复这个贴子 回复这个贴子 查看linyu64的博客21
    发贴心情 

    哦,不好意思,“绝食”是“伴随引起”的
    点击查看用户来源及管理<br>发贴IP:*.*.*.* 2009/4/7 18:50:00
     
     jpz6311whu 帅哥哟,离线,有人找我吗?
      
      
      
      威望:9
      等级:研三(收到微软亚洲研究院的Offer了)(版主)
      文章:1718
      积分:10610
      门派:W3CHINA.ORG
      注册:2005/4/12

    姓名:(无权查看)
    城市:(无权查看)
    院校:(无权查看)
    给jpz6311whu发送一个短消息 把jpz6311whu加入好友 查看jpz6311whu的个人资料 搜索jpz6311whu在『 Semantic Web(语义Web)/描述逻辑/本体 』的所有贴子 引用回复这个贴子 回复这个贴子 查看jpz6311whu的博客22
    发贴心情 
      String queryString = "PREFIX eg:  <http://www.owl-ontologies.com/Ontology1236930838.owl#> " +
      "PREFIX rdfs:    <http://www.w3.org/2000/01/rdf-schema#> " +
      "PREFIX rdf:     <http://www.w3.org/1999/02/22-rdf-syntax-ns#>  " +
      "PREFIX owl:     <http://www.w3.org/2002/07/owl#> " +
      "SELECT ?x " +
      "WHERE " +
      "{ " +
      "?y rdf:type owl:Restriction . " +
      "?y owl:onProperty eg:主要引起 . " +
      "?y owl:someValuesFrom ?x . " +
      " eg:猪丹毒 rdfs:subClassOf ?y . " +
      " }" ;
    点击查看用户来源及管理<br>发贴IP:*.*.*.* 2009/4/7 19:50:00
     
     linyu64 帅哥哟,离线,有人找我吗?
      
      
      等级:大一(猛啃高等数学)
      文章:17
      积分:112
      门派:XML.ORG.CN
      注册:2009/2/28

    姓名:(无权查看)
    城市:(无权查看)
    院校:(无权查看)
    给linyu64发送一个短消息 把linyu64加入好友 查看linyu64的个人资料 搜索linyu64在『 Semantic Web(语义Web)/描述逻辑/本体 』的所有贴子 引用回复这个贴子 回复这个贴子 查看linyu64的博客23
    发贴心情 
    原来写少了
    owl:onProperty eg:主要引起 .
    这一句,太感谢你了,斑竹,麻烦你这么久真是不好意思
    点击查看用户来源及管理<br>发贴IP:*.*.*.* 2009/4/7 20:12:00
     
     jpz6311whu 帅哥哟,离线,有人找我吗?
      
      
      
      威望:9
      等级:研三(收到微软亚洲研究院的Offer了)(版主)
      文章:1718
      积分:10610
      门派:W3CHINA.ORG
      注册:2005/4/12

    姓名:(无权查看)
    城市:(无权查看)
    院校:(无权查看)
    给jpz6311whu发送一个短消息 把jpz6311whu加入好友 查看jpz6311whu的个人资料 搜索jpz6311whu在『 Semantic Web(语义Web)/描述逻辑/本体 』的所有贴子 引用回复这个贴子 回复这个贴子 查看jpz6311whu的博客24
    发贴心情 
    with pleasure, :)
    点击查看用户来源及管理<br>发贴IP:*.*.*.* 2009/4/7 20:14:00
     
     springbird 帅哥哟,离线,有人找我吗?
      
      
      等级:大二期末(C++考了100分!)
      文章:85
      积分:412
      门派:XML.ORG.CN
      注册:2008/5/16

    姓名:(无权查看)
    城市:(无权查看)
    院校:(无权查看)
    给springbird发送一个短消息 把springbird加入好友 查看springbird的个人资料 搜索springbird在『 Semantic Web(语义Web)/描述逻辑/本体 』的所有贴子 引用回复这个贴子 回复这个贴子 查看springbird的博客25
    发贴心情 
    楼主你好,你的问题解决了吗,可否交流一下,我刚接触本体,现在建了一个本体,想进行查询,可是用sparql得不到我想要的结果,可否看看下面这段程序该如何写sparql语句呢,得到一个类的父类子类,属性,及类之间的关系,谢谢你了,我的owl文档如下
    <?xml version="1.0" encoding="UTF-8"?>
    <rdf:RDF
            xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
            xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
            xmlns:owl="http://www.w3.org/2002/07/owl#"
            xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
            xml:base="http://www.hozo.jp/owl/MakingCoolFun.ont">

    <owl:Ontology rdf:about="">
        <rdfs:comment>
            HOZO:OWL Export
        </rdfs:comment>
    </owl:Ontology>

    <owl:Class rdf:ID="RelationalConcept">
        <rdfs:label>RelationalConcept</rdfs:label>
    </owl:Class>
    <owl:ObjectProperty rdf:ID="hasPart">
        <rdfs:label>hasPart</rdfs:label>
    </owl:ObjectProperty>
    <owl:ObjectProperty rdf:ID="hasAttribute">
        <rdfs:label>hasAttribute</rdfs:label>
    </owl:ObjectProperty>
    <owl:Class rdf:ID="refrigeration">
        <rdfs:label>refrigeration</rdfs:label>
    </owl:Class>
    <owl:Class rdf:ID="refrigerant">
        <rdfs:label>refrigerant</rdfs:label>
        <rdfs:comment>制冷剂</rdfs:comment>
    </owl:Class>
    <owl:Class rdf:ID="Recycling">
        <rdfs:label>Recycling</rdfs:label>
        <rdfs:subClassOf rdf:resource="#refrigeration" />
        <rdfs:subClassOf>
            <owl:Restriction>
                <owl:cardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#nonNegativeInteger">1</owl:cardinality>
                <owl:onProperty rdf:resource="#has_liquid" />
            </owl:Restriction>
        </rdfs:subClassOf>
        <rdfs:subClassOf>
            <owl:Restriction>
                <owl:onProperty rdf:resource="#has_liquid" />
                <owl:allValuesFrom rdf:resource="#refrigerant" />
            </owl:Restriction>
        </rdfs:subClassOf>
        <rdfs:subClassOf>
            <owl:Restriction>
                <owl:cardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#nonNegativeInteger">1</owl:cardinality>
                <owl:onProperty rdf:resource="#has_at-device" />
            </owl:Restriction>
        </rdfs:subClassOf>
        <rdfs:subClassOf>
            <owl:Restriction>
                <owl:onProperty rdf:resource="#has_at-device" />
                <owl:allValuesFrom rdf:resource="#reservoir" />
            </owl:Restriction>
        </rdfs:subClassOf>
    </owl:Class>
    <owl:Class rdf:ID="reservoir">
        <rdfs:label>reservoir</rdfs:label>
        <rdfs:comment>储液器</rdfs:comment>
    </owl:Class>
    <owl:Class rdf:ID="vaporize">
        <rdfs:label>vaporize</rdfs:label>
        <rdfs:subClassOf rdf:resource="#refrigeration" />
        <rdfs:subClassOf>
            <owl:Restriction>
                <owl:cardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#nonNegativeInteger">1</owl:cardinality>
                <owl:onProperty rdf:resource="#has_at-device" />
            </owl:Restriction>
        </rdfs:subClassOf>
        <rdfs:subClassOf>
            <owl:Restriction>
                <owl:onProperty rdf:resource="#has_at-device" />
                <owl:allValuesFrom rdf:resource="#evaporator" />
            </owl:Restriction>
        </rdfs:subClassOf>
    </owl:Class>
    <owl:Class rdf:ID="evaporator">
        <rdfs:label>evaporator</rdfs:label>
        <rdfs:comment>蒸发器</rdfs:comment>
        <rdfs:subClassOf>
            <owl:Restriction>
                <owl:cardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#nonNegativeInteger">1</owl:cardinality>
                <owl:onProperty rdf:resource="#has_input" />
            </owl:Restriction>
        </rdfs:subClassOf>
        <rdfs:subClassOf>
            <owl:Restriction>
                <owl:onProperty rdf:resource="#has_input" />
                <owl:allValuesFrom rdf:resource="#Low-medium_temperature_liquid" />
            </owl:Restriction>
        </rdfs:subClassOf>
        <rdfs:subClassOf>
            <owl:Restriction>
                <owl:cardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#nonNegativeInteger">1</owl:cardinality>
                <owl:onProperty rdf:resource="#has_output" />
            </owl:Restriction>
        </rdfs:subClassOf>
        <rdfs:subClassOf>
            <owl:Restriction>
                <owl:onProperty rdf:resource="#has_output" />
                <owl:allValuesFrom rdf:resource="#Low-temperature_low-pressure_steam" />
            </owl:Restriction>
        </rdfs:subClassOf>
    </owl:Class>
    <owl:Class rdf:ID="cool_down">
        <rdfs:label>cool_down</rdfs:label>
        <rdfs:subClassOf rdf:resource="#vaporize" />
        <rdfs:subClassOf>
            <owl:Restriction>
                <owl:cardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#nonNegativeInteger">1</owl:cardinality>
                <owl:onProperty rdf:resource="#has_input" />
            </owl:Restriction>
        </rdfs:subClassOf>
        <rdfs:subClassOf>
            <owl:Restriction>
                <owl:onProperty rdf:resource="#has_input" />
                <owl:allValuesFrom rdf:resource="#Low-medium_temperature_liquid" />
            </owl:Restriction>
        </rdfs:subClassOf>
        <rdfs:subClassOf>
            <owl:Restriction>
                <owl:cardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#nonNegativeInteger">1</owl:cardinality>
                <owl:onProperty rdf:resource="#has_output" />
            </owl:Restriction>
        </rdfs:subClassOf>
        <rdfs:subClassOf>
            <owl:Restriction>
                <owl:onProperty rdf:resource="#has_output" />
                <owl:allValuesFrom rdf:resource="#Low-temperature_low-pressure_steam" />
            </owl:Restriction>
        </rdfs:subClassOf>
        <rdfs:subClassOf>
            <owl:Restriction>
                <owl:cardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#nonNegativeInteger">1</owl:cardinality>
                <owl:onProperty rdf:resource="#has_state" />
            </owl:Restriction>
        </rdfs:subClassOf>
        <rdfs:subClassOf>
            <owl:Restriction>
                <owl:onProperty rdf:resource="#has_state" />
                <owl:allValuesFrom rdf:resource="#Gas-liquid_coexistence_state" />
            </owl:Restriction>
        </rdfs:subClassOf>
    </owl:Class>
    <owl:Class rdf:ID="Low-medium_temperature_liquid">
        <rdfs:label>Low-medium_temperature_liquid</rdfs:label>
        <rdfs:subClassOf rdf:resource="#refrigerant" />
    </owl:Class>
    <owl:Class rdf:ID="throttle">
        <rdfs:label>throttle</rdfs:label>
        <rdfs:comment>节流</rdfs:comment>
        <rdfs:subClassOf rdf:resource="#refrigeration" />
        <rdfs:subClassOf>
            <owl:Restriction>
                <owl:cardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#nonNegativeInteger">1</owl:cardinality>
                <owl:onProperty rdf:resource="#has_at-device" />
            </owl:Restriction>
        </rdfs:subClassOf>
        <rdfs:subClassOf>
            <owl:Restriction>
                <owl:onProperty rdf:resource="#has_at-device" />
                <owl:allValuesFrom rdf:resource="#capillary" />
            </owl:Restriction>
        </rdfs:subClassOf>
    </owl:Class>
    <owl:Class rdf:ID="depressurization">
        <rdfs:label>depressurization</rdfs:label>
        <rdfs:subClassOf rdf:resource="#throttle" />
        <rdfs:subClassOf>
            <owl:Restriction>
                <owl:cardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#nonNegativeInteger">1</owl:cardinality>
                <owl:onProperty rdf:resource="#has_input" />
            </owl:Restriction>
        </rdfs:subClassOf>
        <rdfs:subClassOf>
            <owl:Restriction>
                <owl:onProperty rdf:resource="#has_input" />
                <owl:allValuesFrom rdf:resource="#Medium_temperature_high-pressure_liquid" />
            </owl:Restriction>
        </rdfs:subClassOf>
        <rdfs:subClassOf>
            <owl:Restriction>
                <owl:cardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#nonNegativeInteger">1</owl:cardinality>
                <owl:onProperty rdf:resource="#has_output" />
            </owl:Restriction>
        </rdfs:subClassOf>
        <rdfs:subClassOf>
            <owl:Restriction>
                <owl:onProperty rdf:resource="#has_output" />
                <owl:allValuesFrom rdf:resource="#Low-medium_temperature_liquid" />
            </owl:Restriction>
        </rdfs:subClassOf>
        <rdfs:subClassOf>
            <owl:Restriction>
                <owl:cardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#nonNegativeInteger">1</owl:cardinality>
                <owl:onProperty rdf:resource="#has_state" />
            </owl:Restriction>
        </rdfs:subClassOf>
        <rdfs:subClassOf>
            <owl:Restriction>
                <owl:onProperty rdf:resource="#has_state" />
                <owl:allValuesFrom rdf:resource="#liquid_state" />
            </owl:Restriction>
        </rdfs:subClassOf>
    </owl:Class>
    <owl:Class rdf:ID="Low-temperature_low-pressure_steam">
        <rdfs:label>Low-temperature_low-pressure_steam</rdfs:label>
        <rdfs:subClassOf rdf:resource="#refrigerant" />
    </owl:Class>
    <owl:Class rdf:ID="High-temperature_high-pressure_steam">
        <rdfs:label>High-temperature_high-pressure_steam</rdfs:label>
        <rdfs:subClassOf rdf:resource="#refrigerant" />
    </owl:Class>
    <owl:Class rdf:ID="Medium_temperature_high-pressure_liquid">
        <rdfs:label>Medium_temperature_high-pressure_liquid</rdfs:label>
        <rdfs:subClassOf rdf:resource="#refrigerant" />
    </owl:Class>
    <owl:Class rdf:ID="Gas-liquid_coexistence_state">
        <rdfs:label>Gas-liquid_coexistence_state</rdfs:label>
        <rdfs:subClassOf rdf:resource="#state" />
    </owl:Class>
    <owl:Class rdf:ID="state">
        <rdfs:label>state</rdfs:label>
    </owl:Class>
    <owl:Class rdf:ID="liquid_state">
        <rdfs:label>liquid_state</rdfs:label>
        <rdfs:subClassOf rdf:resource="#state" />
    </owl:Class>
    <owl:Class rdf:ID="gaseous_state">
        <rdfs:label>gaseous_state</rdfs:label>
        <rdfs:subClassOf rdf:resource="#state" />
    </owl:Class>
    <owl:Class rdf:ID="capillary">
        <rdfs:label>capillary</rdfs:label>
        <rdfs:comment>毛细管</rdfs:comment>
        <rdfs:subClassOf>
            <owl:Restriction>
                <owl:cardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#nonNegativeInteger">1</owl:cardinality>
                <owl:onProperty rdf:resource="#has_input" />
            </owl:Restriction>
        </rdfs:subClassOf>
        <rdfs:subClassOf>
            <owl:Restriction>
                <owl:onProperty rdf:resource="#has_input" />
                <owl:allValuesFrom rdf:resource="#Medium_temperature_high-pressure_liquid" />
            </owl:Restriction>
        </rdfs:subClassOf>
        <rdfs:subClassOf>
            <owl:Restriction>
                <owl:cardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#nonNegativeInteger">1</owl:cardinality>
                <owl:onProperty rdf:resource="#has_output" />
            </owl:Restriction>
        </rdfs:subClassOf>
        <rdfs:subClassOf>
            <owl:Restriction>
                <owl:onProperty rdf:resource="#has_output" />
                <owl:allValuesFrom rdf:resource="#Low-medium_temperature_liquid" />
            </owl:Restriction>
        </rdfs:subClassOf>
    </owl:Class>
    <owl:Class rdf:ID="condensation">
        <rdfs:label>condensation</rdfs:label>
        <rdfs:subClassOf rdf:resource="#refrigeration" />
        <rdfs:subClassOf>
            <owl:Restriction>
                <owl:cardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#nonNegativeInteger">1</owl:cardinality>
                <owl:onProperty rdf:resource="#has_heat_exchange" />
            </owl:Restriction>
        </rdfs:subClassOf>
        <rdfs:subClassOf>
            <owl:Restriction>
                <owl:onProperty rdf:resource="#has_heat_exchange" />
                <owl:allValuesFrom rdf:resource="#outside" />
            </owl:Restriction>
        </rdfs:subClassOf>
        <rdfs:subClassOf>
            <owl:Restriction>
                <owl:cardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#nonNegativeInteger">1</owl:cardinality>
                <owl:onProperty rdf:resource="#has_at-device" />
            </owl:Restriction>
        </rdfs:subClassOf>
        <rdfs:subClassOf>
            <owl:Restriction>
                <owl:onProperty rdf:resource="#has_at-device" />
                <owl:allValuesFrom rdf:resource="#Condenser" />
            </owl:Restriction>
        </rdfs:subClassOf>
    </owl:Class>
    <owl:Class rdf:ID="Condenser">
        <rdfs:label>Condenser</rdfs:label>
        <rdfs:comment>冷凝器</rdfs:comment>
        <rdfs:subClassOf>
            <owl:Restriction>
                <owl:cardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#nonNegativeInteger">1</owl:cardinality>
                <owl:onProperty rdf:resource="#has_input" />
            </owl:Restriction>
        </rdfs:subClassOf>
        <rdfs:subClassOf>
            <owl:Restriction>
                <owl:onProperty rdf:resource="#has_input" />
                <owl:allValuesFrom rdf:resource="#Low-temperature_low-pressure_steam" />
            </owl:Restriction>
        </rdfs:subClassOf>
        <rdfs:subClassOf>
            <owl:Restriction>
                <owl:cardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#nonNegativeInteger">1</owl:cardinality>
                <owl:onProperty rdf:resource="#has_output" />
            </owl:Restriction>
        </rdfs:subClassOf>
        <rdfs:subClassOf>
            <owl:Restriction>
                <owl:onProperty rdf:resource="#has_output" />
                <owl:allValuesFrom rdf:resource="#Medium_temperature_high-pressure_liquid" />
            </owl:Restriction>
        </rdfs:subClassOf>
    </owl:Class>
    <owl:Class rdf:ID="cool_down_2">
        <rdfs:label>cool_down_2</rdfs:label>
        <rdfs:subClassOf rdf:resource="#condensation" />
        <rdfs:subClassOf>
            <owl:Restriction>
                <owl:cardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#nonNegativeInteger">1</owl:cardinality>
                <owl:onProperty rdf:resource="#has_input" />
            </owl:Restriction>
        </rdfs:subClassOf>
        <rdfs:subClassOf>
            <owl:Restriction>
                <owl:onProperty rdf:resource="#has_input" />
                <owl:allValuesFrom rdf:resource="#High-temperature_high-pressure_steam" />
            </owl:Restriction>
        </rdfs:subClassOf>
        <rdfs:subClassOf>
            <owl:Restriction>
                <owl:cardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#nonNegativeInteger">1</owl:cardinality>
                <owl:onProperty rdf:resource="#has_output" />
            </owl:Restriction>
        </rdfs:subClassOf>
        <rdfs:subClassOf>
            <owl:Restriction>
                <owl:onProperty rdf:resource="#has_output" />
                <owl:allValuesFrom rdf:resource="#Medium_temperature_high-pressure_liquid" />
            </owl:Restriction>
        </rdfs:subClassOf>
    </owl:Class>
    <owl:Class rdf:ID="liquefy">
        <rdfs:label>liquefy</rdfs:label>
        <rdfs:subClassOf rdf:resource="#condensation" />
        <rdfs:subClassOf>
            <owl:Restriction>
                <owl:cardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#nonNegativeInteger">1</owl:cardinality>
                <owl:onProperty rdf:resource="#has_input" />
            </owl:Restriction>
        </rdfs:subClassOf>
        <rdfs:subClassOf>
            <owl:Restriction>
                <owl:onProperty rdf:resource="#has_input" />
                <owl:allValuesFrom rdf:resource="#gaseous_state" />
            </owl:Restriction>
        </rdfs:subClassOf>
        <rdfs:subClassOf>
            <owl:Restriction>
                <owl:cardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#nonNegativeInteger">1</owl:cardinality>
                <owl:onProperty rdf:resource="#has_output" />
            </owl:Restriction>
        </rdfs:subClassOf>
        <rdfs:subClassOf>
            <owl:Restriction>
                <owl:onProperty rdf:resource="#has_output" />
                <owl:allValuesFrom rdf:resource="#liquid_state" />
            </owl:Restriction>
        </rdfs:subClassOf>
    </owl:Class>
    <owl:Class rdf:ID="purify">
        <rdfs:label>purify</rdfs:label>
        <rdfs:comment>净化</rdfs:comment>
        <rdfs:subClassOf rdf:resource="#refrigeration" />
        <rdfs:subClassOf>
            <owl:Restriction>
                <owl:cardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#nonNegativeInteger">1</owl:cardinality>
                <owl:onProperty rdf:resource="#has_impurity_and_moisture" />
            </owl:Restriction>
        </rdfs:subClassOf>
        <rdfs:subClassOf>
            <owl:Restriction>
                <owl:onProperty rdf:resource="#has_impurity_and_moisture" />
                <owl:allValuesFrom rdf:resource="#refrigerant" />
            </owl:Restriction>
        </rdfs:subClassOf>
        <rdfs:subClassOf>
            <owl:Restriction>
                <owl:cardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#nonNegativeInteger">1</owl:cardinality>
                <owl:onProperty rdf:resource="#has_at-device" />
            </owl:Restriction>
        </rdfs:subClassOf>
        <rdfs:subClassOf>
            <owl:Restriction>
                <owl:onProperty rdf:resource="#has_at-device" />
                <owl:allValuesFrom rdf:resource="#Dry_filter" />
            </owl:Restriction>
        </rdfs:subClassOf>
    </owl:Class>
    <owl:Class rdf:ID="Dry_filter">
        <rdfs:label>Dry_filter</rdfs:label>
        <rdfs:comment>干燥过滤器</rdfs:comment>
    </owl:Class>
    <owl:Class rdf:ID="heat-pressure">
        <rdfs:label>heat-pressure</rdfs:label>
        <rdfs:comment>加热加压</rdfs:comment>
        <rdfs:subClassOf rdf:resource="#refrigeration" />
        <rdfs:subClassOf>
            <owl:Restriction>
                <owl:cardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#nonNegativeInteger">1</owl:cardinality>
                <owl:onProperty rdf:resource="#has_role" />
            </owl:Restriction>
        </rdfs:subClassOf>
        <rdfs:subClassOf>
            <owl:Restriction>
                <owl:onProperty rdf:resource="#has_role" />
                <owl:allValuesFrom rdf:resource="#Compressor" />
            </owl:Restriction>
        </rdfs:subClassOf>
    </owl:Class>
    <owl:Class rdf:ID="compress">
        <rdfs:label>compress</rdfs:label>
        <rdfs:subClassOf rdf:resource="#heat-pressure" />
        <rdfs:subClassOf>
            <owl:Restriction>
                <owl:cardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#nonNegativeInteger">1</owl:cardinality>
                <owl:onProperty rdf:resource="#has_input" />
            </owl:Restriction>
        </rdfs:subClassOf>
        <rdfs:subClassOf>
            <owl:Restriction>
                <owl:onProperty rdf:resource="#has_input" />
                <owl:allValuesFrom rdf:resource="#Low-temperature_low-pressure_steam" />
            </owl:Restriction>
        </rdfs:subClassOf>
    </owl:Class>
    <owl:Class rdf:ID="Compressor">
        <rdfs:label>Compressor</rdfs:label>
        <rdfs:comment>压缩机</rdfs:comment>
        <rdfs:subClassOf>
            <owl:Restriction>
                <owl:cardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#nonNegativeInteger">1</owl:cardinality>
                <owl:onProperty rdf:resource="#has_input" />
            </owl:Restriction>
        </rdfs:subClassOf>
        <rdfs:subClassOf>
            <owl:Restriction>
                <owl:onProperty rdf:resource="#has_input" />
                <owl:allValuesFrom rdf:resource="#Low-temperature_low-pressure_steam" />
            </owl:Restriction>
        </rdfs:subClassOf>
        <rdfs:subClassOf>
            <owl:Restriction>
                <owl:cardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#nonNegativeInteger">1</owl:cardinality>
                <owl:onProperty rdf:resource="#has_output" />
            </owl:Restriction>
        </rdfs:subClassOf>
        <rdfs:subClassOf>
            <owl:Restriction>
                <owl:onProperty rdf:resource="#has_output" />
                <owl:allValuesFrom rdf:resource="#High-temperature_high-pressure_steam" />
            </owl:Restriction>
        </rdfs:subClassOf>
    </owl:Class>
    <owl:Class rdf:ID="exhaust">
        <rdfs:label>exhaust</rdfs:label>
        <rdfs:comment>排气</rdfs:comment>
        <rdfs:subClassOf rdf:resource="#heat-pressure" />
    </owl:Class>
    <owl:Class rdf:ID="expand">
        <rdfs:label>expand</rdfs:label>
        <rdfs:comment>膨胀</rdfs:comment>
        <rdfs:subClassOf rdf:resource="#heat-pressure" />
    </owl:Class>
    <owl:Class rdf:ID="inspiration">
        <rdfs:label>inspiration</rdfs:label>
        <rdfs:comment>吸气</rdfs:comment>
        <rdfs:subClassOf rdf:resource="#heat-pressure" />
        <rdfs:subClassOf>
            <owl:Restriction>
                <owl:cardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#nonNegativeInteger">1</owl:cardinality>
                <owl:onProperty rdf:resource="#has_pressure_difference" />
            </owl:Restriction>
        </rdfs:subClassOf>
        <rdfs:subClassOf>
            <owl:Restriction>
                <owl:onProperty rdf:resource="#has_pressure_difference" />
                <owl:allValuesFrom rdf:resource="#Suction_chamber" />
            </owl:Restriction>
        </rdfs:subClassOf>
        <rdfs:subClassOf>
            <owl:Restriction>
                <owl:cardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#nonNegativeInteger">1</owl:cardinality>
                <owl:onProperty rdf:resource="#has_output" />
            </owl:Restriction>
        </rdfs:subClassOf>
        <rdfs:subClassOf>
            <owl:Restriction>
                <owl:onProperty rdf:resource="#has_output" />
                <owl:allValuesFrom rdf:resource="#High-temperature_high-pressure_steam" />
            </owl:Restriction>
        </rdfs:subClassOf>
    </owl:Class>
    <owl:Class rdf:ID="Suction_chamber">
        <rdfs:label>Suction_chamber</rdfs:label>
        <rdfs:comment>吸气腔</rdfs:comment>
    </owl:Class>
    <owl:Class rdf:ID="outside">
        <rdfs:label>outside</rdfs:label>
    </owl:Class>

    <owl:ObjectProperty rdf:ID="has_liquid">
        <rdfs:subPropertyOf rdf:resource="#hasAttribute" />
        <rdfs:domain rdf:resource="#Recycling" />
    </owl:ObjectProperty>
    <owl:ObjectProperty rdf:ID="has_at-device">
        <rdfs:subPropertyOf rdf:resource="#hasAttribute" />
        <rdfs:domain>
            <owl:Class>
                <owl:unionOf rdf:parseType="Collection">
                    <owl:Class rdf:about="#Recycling" />
                    <owl:Class rdf:about="#vaporize" />
                    <owl:Class rdf:about="#throttle" />
                    <owl:Class rdf:about="#condensation" />
                    <owl:Class rdf:about="#purify" />
                </owl:unionOf>
            </owl:Class>
        </rdfs:domain>
    </owl:ObjectProperty>
    <owl:ObjectProperty rdf:ID="has_input">
        <rdfs:subPropertyOf rdf:resource="#hasAttribute" />
        <rdfs:domain>
            <owl:Class>
                <owl:unionOf rdf:parseType="Collection">
                    <owl:Class rdf:about="#evaporator" />
                    <owl:Class rdf:about="#cool_down" />
                    <owl:Class rdf:about="#depressurization" />
                    <owl:Class rdf:about="#capillary" />
                    <owl:Class rdf:about="#Condenser" />
                    <owl:Class rdf:about="#cool_down_2" />
                    <owl:Class rdf:about="#liquefy" />
                    <owl:Class rdf:about="#compress" />
                    <owl:Class rdf:about="#Compressor" />
                </owl:unionOf>
            </owl:Class>
        </rdfs:domain>
    </owl:ObjectProperty>
    <owl:ObjectProperty rdf:ID="has_output">
        <rdfs:subPropertyOf rdf:resource="#hasAttribute" />
        <rdfs:domain>
            <owl:Class>
                <owl:unionOf rdf:parseType="Collection">
                    <owl:Class rdf:about="#evaporator" />
                    <owl:Class rdf:about="#cool_down" />
                    <owl:Class rdf:about="#depressurization" />
                    <owl:Class rdf:about="#capillary" />
                    <owl:Class rdf:about="#Condenser" />
                    <owl:Class rdf:about="#cool_down_2" />
                    <owl:Class rdf:about="#liquefy" />
                    <owl:Class rdf:about="#Compressor" />
                    <owl:Class rdf:about="#inspiration" />
                </owl:unionOf>
            </owl:Class>
        </rdfs:domain>
    </owl:ObjectProperty>
    <owl:ObjectProperty rdf:ID="has_state">
        <rdfs:subPropertyOf rdf:resource="#hasAttribute" />
        <rdfs:domain>
            <owl:Class>
                <owl:unionOf rdf:parseType="Collection">
                    <owl:Class rdf:about="#cool_down" />
                    <owl:Class rdf:about="#depressurization" />
                </owl:unionOf>
            </owl:Class>
        </rdfs:domain>
    </owl:ObjectProperty>
    <owl:ObjectProperty rdf:ID="has_heat_exchange">
        <rdfs:subPropertyOf rdf:resource="#hasAttribute" />
        <rdfs:domain rdf:resource="#condensation" />
    </owl:ObjectProperty>
    <owl:ObjectProperty rdf:ID="has_impurity_and_moisture">
        <rdfs:subPropertyOf rdf:resource="#hasAttribute" />
        <rdfs:domain rdf:resource="#purify" />
    </owl:ObjectProperty>
    <owl:ObjectProperty rdf:ID="has_role">
        <rdfs:subPropertyOf rdf:resource="#hasAttribute" />
        <rdfs:domain rdf:resource="#heat-pressure" />
    </owl:ObjectProperty>
    <owl:ObjectProperty rdf:ID="has_pressure_difference">
        <rdfs:subPropertyOf rdf:resource="#hasAttribute" />
        <rdfs:domain rdf:resource="#inspiration" />
    </owl:ObjectProperty>


    </rdf:RDF>

    点击查看用户来源及管理<br>发贴IP:*.*.*.* 2009/9/15 12:59:00
     
     Humphrey 帅哥哟,离线,有人找我吗?狮子座1981-7-23
      
      
      威望:1
      等级:研二(搞定了DL,再搞定F-Logic!)
      文章:937
      积分:5743
      门派:W3CHINA.ORG
      注册:2008/3/12

    姓名:(无权查看)
    城市:(无权查看)
    院校:(无权查看)
    给Humphrey发送一个短消息 把Humphrey加入好友 查看Humphrey的个人资料 搜索Humphrey在『 Semantic Web(语义Web)/描述逻辑/本体 』的所有贴子 引用回复这个贴子 回复这个贴子 查看Humphrey的博客26
    发贴心情 
    要关系图?!这似乎是Protege中某些插件的功能。

    ----------------------------------------------
    鸿丰

    点击查看用户来源及管理<br>发贴IP:*.*.*.* 2010/1/3 21:00:00
     
     springbird 帅哥哟,离线,有人找我吗?
      
      
      等级:大二期末(C++考了100分!)
      文章:85
      积分:412
      门派:XML.ORG.CN
      注册:2008/5/16

    姓名:(无权查看)
    城市:(无权查看)
    院校:(无权查看)
    给springbird发送一个短消息 把springbird加入好友 查看springbird的个人资料 搜索springbird在『 Semantic Web(语义Web)/描述逻辑/本体 』的所有贴子 引用回复这个贴子 回复这个贴子 查看springbird的博客27
    发贴心情 
    这个本体不是用protege构建的,是用Hozo构建的,不过我的问题基本解决了
    点击查看用户来源及管理<br>发贴IP:*.*.*.* 2010/1/4 19:56:00
     
     feizaopao 美女呀,离线,快来找我吧!
      
      
      等级:大一(猛啃高等数学)
      文章:6
      积分:165
      门派:XML.ORG.CN
      注册:2009/5/30

    姓名:(无权查看)
    城市:(无权查看)
    院校:(无权查看)
    给feizaopao发送一个短消息 把feizaopao加入好友 查看feizaopao的个人资料 搜索feizaopao在『 Semantic Web(语义Web)/描述逻辑/本体 』的所有贴子 引用回复这个贴子 回复这个贴子 查看feizaopao的博客28
    发贴心情 
    楼主,只输出一个类的直接子类,这个问题怎么解决的,先谢谢了
    点击查看用户来源及管理<br>发贴IP:*.*.*.* 2010/1/12 16:31:00
     
     feizaopao 美女呀,离线,快来找我吧!
      
      
      等级:大一(猛啃高等数学)
      文章:6
      积分:165
      门派:XML.ORG.CN
      注册:2009/5/30

    姓名:(无权查看)
    城市:(无权查看)
    院校:(无权查看)
    给feizaopao发送一个短消息 把feizaopao加入好友 查看feizaopao的个人资料 搜索feizaopao在『 Semantic Web(语义Web)/描述逻辑/本体 』的所有贴子 引用回复这个贴子 回复这个贴子 查看feizaopao的博客29
    发贴心情 
    已经解决了,刚才是没看到版主的解决方法
    点击查看用户来源及管理<br>发贴IP:*.*.*.* 2010/1/12 20:12:00
     
     Avansky 帅哥哟,离线,有人找我吗?
      
      
      威望:1
      等级:大三(研究MFC有点眉目了!)
      文章:103
      积分:675
      门派:W3CHINA.ORG
      注册:2008/12/3

    姓名:(无权查看)
    城市:(无权查看)
    院校:(无权查看)
    给Avansky发送一个短消息 把Avansky加入好友 查看Avansky的个人资料 搜索Avansky在『 Semantic Web(语义Web)/描述逻辑/本体 』的所有贴子 引用回复这个贴子 回复这个贴子 查看Avansky的博客30
    发贴心情 
    受益匪浅!!!

    ----------------------------------------------
    本人的论文是基于语义网的搜索引擎技术。
    望同路人多交流!
    Email:avan1017@163.com

    点击查看用户来源及管理<br>发贴IP:*.*.*.* 2010/4/12 16:57:00
     
     GoogleAdSense
      
      
      等级:大一新生
      文章:1
      积分:50
      门派:无门无派
      院校:未填写
      注册:2007-01-01
    给Google AdSense发送一个短消息 把Google AdSense加入好友 查看Google AdSense的个人资料 搜索Google AdSense在『 Semantic Web(语义Web)/描述逻辑/本体 』的所有贴子 访问Google AdSense的主页 引用回复这个贴子 回复这个贴子 查看Google AdSense的博客广告
    2024/11/24 18:34:50

    本主题贴数30,分页: [1] [2] [3]

    管理选项修改tag | 锁定 | 解锁 | 提升 | 删除 | 移动 | 固顶 | 总固顶 | 奖励 | 惩罚 | 发布公告
    W3C Contributing Supporter! W 3 C h i n a ( since 2003 ) 旗 下 站 点
    苏ICP备05006046号《全国人大常委会关于维护互联网安全的决定》《计算机信息网络国际联网安全保护管理办法》
    390.625ms