前へ 次へ トップ 目次 索引

OWLウェブ・オントロジー言語
テストケース
7.4.2. OWL LiteおよびOWL DL構文の詳細


目次


7.4.2. OWL LiteおよびOWL DL構文の詳細

これらのテストは[OWL Semantics and Abstract Syntax]、およびOWL LiteおよびOWL DLの構文におけるマッピング規則に関する詳細なポイントを例示します。

DL Full 整合性があるドキュメント。102
記述:(参考情報) <miscellaneous/Manifest102#test>
複数の構成要素を持つ抽象構文制限がOWL DLに含まれています。
N3形式は参考情報です。
DL整合: <miscellaneous/consistent102>
<rdf:RDF
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
    xmlns:owl="http://www.w3.org/2002/07/owl#"
    xmlns:first="http://www.w3.org/2002/03owlt/miscellaneous/consistent102#"
    xml:base="http://www.w3.org/2002/03owlt/miscellaneous/consistent102" >
   <owl:Thing rdf:ID="i">
     <rdf:type>
         <owl:Class>
            <owl:intersectionOf rdf:parseType="Collection">
               <owl:Restriction>
                  <owl:onProperty>
                    <owl:ObjectProperty rdf:ID="p"/>
                  </owl:onProperty>
                  <owl:allValuesFrom>
                    <owl:Class rdf:ID="a"/>
                  </owl:allValuesFrom>
               </owl:Restriction>
               <owl:Restriction>
                  <owl:onProperty>
                    <owl:ObjectProperty rdf:about="#p"/>
                  </owl:onProperty>
                  <owl:someValuesFrom>
                    <owl:Class rdf:ID="s"/>
                  </owl:someValuesFrom>
               </owl:Restriction>
             </owl:intersectionOf>
         </owl:Class>
     </rdf:type>
   </owl:Thing>

</rdf:RDF>
first:i rdf:type owl:Thing .
_:a rdf:type owl:Class .
_:c rdf:type owl:Restriction .
first:p rdf:type owl:ObjectProperty .
_:c owl:onProperty first:p .
first:a rdf:type owl:Class .
_:c owl:allValuesFrom first:a .
_:e rdf:type owl:Restriction .
first:p rdf:type owl:ObjectProperty .
_:e owl:onProperty first:p .
first:s rdf:type owl:Class .
_:e owl:someValuesFrom first:s .
_:g rdf:first _:e .
_:g rdf:rest rdf:nil .
_:i rdf:first _:c .
_:i rdf:rest _:g .
_:a owl:intersectionOf _:i .
first:i rdf:type _:a .

DL Full 整合性があるドキュメント。103
記述:(参考情報) <miscellaneous/Manifest103#test>
抽象構文では、この記述は複数構成要素制限として表すことができません。
N3形式は参考情報です。
DL整合: <miscellaneous/consistent103>
<rdf:RDF
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
    xmlns:owl="http://www.w3.org/2002/07/owl#"
    xmlns:first="http://www.w3.org/2002/03owlt/miscellaneous/consistent103#"
    xml:base="http://www.w3.org/2002/03owlt/miscellaneous/consistent103" >
   <owl:Thing rdf:ID="i">
     <rdf:type>
         <owl:Class>
            <owl:intersectionOf rdf:parseType="Collection">
               <owl:Restriction>
                  <owl:onProperty>
                    <owl:ObjectProperty rdf:ID="p"/>
                  </owl:onProperty>
                  <owl:allValuesFrom>
                    <owl:Class rdf:ID="a"/>
                  </owl:allValuesFrom>
               </owl:Restriction>
               <owl:Restriction>
                  <owl:onProperty>
                    <owl:ObjectProperty rdf:about="#q"/>
                  </owl:onProperty>
                  <owl:someValuesFrom>
                    <owl:Class rdf:ID="s"/>
                  </owl:someValuesFrom>
               </owl:Restriction>
             </owl:intersectionOf>
         </owl:Class>
     </rdf:type>
   </owl:Thing>

</rdf:RDF>
first:i rdf:type owl:Thing .
_:a rdf:type owl:Class .
_:c rdf:type owl:Restriction .
first:p rdf:type owl:ObjectProperty .
_:c owl:onProperty first:p .
first:a rdf:type owl:Class .
_:c owl:allValuesFrom first:a .
_:e rdf:type owl:Restriction .
first:q rdf:type owl:ObjectProperty .
_:e owl:onProperty first:q .
first:s rdf:type owl:Class .
_:e owl:someValuesFrom first:s .
_:g rdf:first _:e .
_:g rdf:rest rdf:nil .
_:i rdf:first _:c .
_:i rdf:rest _:g .
_:a owl:intersectionOf _:i .
first:i rdf:type _:a .


前へ 次へ トップ 目次 索引