知识工程第一次作业-人物社会关系本体构建练习

先在protege 按要求完成类、对象属性、对应规则,然后保存导出选择格式 RDF,用记事本打开就可以。

1、根据课堂上发布的本体规格文件(onto_spec.xlsx)在Protege上录入所有信息后,保存本体为OWL文件。该OWL文件中,对应对象属性定义的板块是什么?请复制粘贴对象属性定义部分的文本内容。

 <!-- http://www.semanticweb.org/IPRE#aunt_from_father -->

    <owl:ObjectProperty rdf:about="http://www.semanticweb.org/IPRE#aunt_from_father">
        <rdfs:range rdf:resource="http://www.semanticweb.org/IPRE#Female"/>
        <owl:propertyChainAxiom rdf:parseType="Collection">
            <rdf:Description rdf:about="http://www.semanticweb.org/IPRE#father"/>
            <rdf:Description rdf:about="http://www.semanticweb.org/IPRE#elder_sister"/>
        </owl:propertyChainAxiom>
        <owl:propertyChainAxiom rdf:parseType="Collection">
            <rdf:Description rdf:about="http://www.semanticweb.org/IPRE#father"/>
            <rdf:Description rdf:about="http://www.semanticweb.org/IPRE#younger_sister"/>
        </owl:propertyChainAxiom>
        <rdfs:label>姑妈</rdfs:label>
    </owl:ObjectProperty>
    


    <!-- http://www.semanticweb.org/IPRE#child -->

    <owl:ObjectProperty rdf:about="http://www.semanticweb.org/IPRE#child">
        <rdfs:subPropertyOf rdf:resource="http://www.semanticweb.org/IPRE#older_than"/>
        <owl:propertyChainAxiom rdf:parseType="Collection">
            <rdf:Description rdf:about="http://www.semanticweb.org/IPRE#wife"/>
            <rdf:Description>
                <owl:inverseOf rdf:resource="http://www.semanticweb.org/IPRE#son"/>
            </rdf:Description>
        </owl:propertyChainAxiom>
        <rdfs:label>孩子</rdfs:label>
    </owl:ObjectProperty>
    


    <!-- http://www.semanticweb.org/IPRE#couple -->

    <owl:ObjectProperty rdf:about="http://www.semanticweb.org/IPRE#couple">
        <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#SymmetricProperty"/>
        <rdfs:label>夫妻</rdfs:label>
    </owl:ObjectProperty>
    


    <!-- http://www.semanticweb.org/IPRE#current_husband -->

    <owl:ObjectProperty rdf:about="http://www.semanticweb.org/IPRE#current_husband">
        <rdfs:subPropertyOf rdf:resource="http://www.semanticweb.org/IPRE#husband"/>
        <owl:inverseOf rdf:resource="http://www.semanticweb.org/IPRE#current_wife"/>
        <rdfs:domain rdf:resource="http://www.semanticweb.org/IPRE#Female"/>
        <rdfs:range rdf:resource="http://www.semanticweb.org/IPRE#Male"/>
        <rdfs:label>现夫</rdfs:label>
    </owl:ObjectProperty>
    


    <!-- http://www.semanticweb.org/IPRE#current_wife -->

    <owl:ObjectProperty rdf:about="http://www.semanticweb.org/IPRE#current_wife">
        <rdfs:subPropertyOf rdf:resource="http://www.semanticweb.org/IPRE#wife"/>
        <rdfs:domain rdf:resource="http://www.semanticweb.org/IPRE#Male"/>
        <rdfs:range rdf:resource="http://www.semanticweb.org/IPRE#Female"/>
        <rdfs:label>现妻</rdfs:label>
    </owl:ObjectProperty>
    


    <!-- http://www.semanticweb.org/IPRE#daughter -->

    <owl:ObjectProperty rdf:about="http://www.semanticweb.org/IPRE#daughter">
        <rdfs:subPropertyOf rdf:resource="http://www.semanticweb.org/IPRE#child"/>
        <rdfs:range rdf:resource="http://www.semanticweb.org/IPRE#Female"/>
        <owl:propertyChainAxiom rdf:parseType="Collection">
            <rdf:Description rdf:about="http://www.semanticweb.org/IPRE#husband"/>
            <rdf:Description rdf:about="http://www.semanticweb.org/IPRE#daughter"/>
        </owl:propertyChainAxiom>
        <owl:propertyChainAxiom rdf:parseType="Collection">
            <rdf:Description rdf:about="http://www.semanticweb.org/IPRE#son_in_law"/>
            <rdf:Description rdf:about="http://www.semanticweb.org/IPRE#wife"/>
        </owl:propertyChainAxiom>
        <owl:propertyChainAxiom rdf:parseType="Collection">
            <rdf:Description rdf:about="http://www.semanticweb.org/IPRE#wife"/>
            <rdf:Description rdf:about="http://www.semanticweb.org/IPRE#daughter"/>
        </owl:propertyChainAxiom>
        <rdfs:label>女儿</rdfs:label>
    </owl:ObjectProperty>
    


    <!-- http://www.semanticweb.org/IPRE#daughter_in_law -->

    <owl:ObjectProperty rdf:about="http://www.semanticweb.org/IPRE#daughter_in_law">
        <rdfs:range rdf:resource="http://www.semanticweb.org/IPRE#Female"/>
        <owl:propertyChainAxiom rdf:parseType="Collection">
            <rdf:Description rdf:about="http://www.semanticweb.org/IPRE#son"/>
            <rdf:Description rdf:about="http://www.semanticweb.org/IPRE#wife"/>
        </owl:propertyChainAxiom>
        <rdfs:label>儿媳</rdfs:label>
    </owl:ObjectProperty>
    


    <!-- http://www.semanticweb.org/IPRE#elder_brother -->

    <owl:ObjectProperty rdf:about="http://www.semanticweb.org/IPRE#elder_brother">
        <rdfs:subPropertyOf rdf:resource="http://www.semanticweb.org/IPRE#sibling"/>
        <rdfs:subPropertyOf rdf:resource="http://www.semanticweb.org/IPRE#younger_than"/>
        <rdfs:range rdf:resource="http://www.semanticweb.org/IPRE#Male"/>
        <rdfs:label>哥哥</rdfs:label>
    </owl:ObjectProperty>
    


    <!-- http://www.semanticweb.org/IPRE#elder_sister -->

    <owl:ObjectProperty rdf:about="http://www.semanticweb.org/IPRE#elder_sister">
        <rdfs:subPropertyOf rdf:resource="http://www.semanticweb.org/IPRE#sibling"/>
        <rdfs:subPropertyOf rdf:resource="http://www.semanticweb.org/IPRE#younger_than"/>
        <rdfs:range rdf:resource="http://www.semanticweb.org/IPRE#Female"/>
        <rdfs:label>姐姐</rdfs:label>
    </owl:ObjectProperty>
    


    <!-- http://www.semanticweb.org/IPRE#ex_hushand -->

    <owl:ObjectProperty rdf:about="http://www.semanticweb.org/IPRE#ex_hushand">
        <rdfs:subPropertyOf rdf:resource="http://www.semanticweb.org/IPRE#husband"/>
        <rdfs:domain rdf:resource="http://www.semanticweb.org/IPRE#Female"/>
        <rdfs:range rdf:resource="http://www.semanticweb.org/IPRE#Male"/>
        <rdfs:label>前夫</rdfs:label>
    </owl:ObjectProperty>
    


    <!-- http://www.semanticweb.org/IPRE#ex_wife -->

    <owl:ObjectProperty rdf:about="http://www.semanticweb.org/IPRE#ex_wife">
        <rdfs:subPropertyOf rdf:resource="http://www.semanticweb.org/IPRE#wife"/>
        <rdfs:domain rdf:resource="http://www.semanticweb.org/IPRE#Male"/>
        <rdfs:range rdf:resource="http://www.semanticweb.org/IPRE#Female"/>
        <rdfs:label>前妻</rdfs:label>
    </owl:ObjectProperty>
    


    <!-- http://www.semanticweb.org/IPRE#father -->

    <owl:ObjectProperty rdf:about="http://www.semanticweb.org/IPRE#father">
        <rdfs:subPropertyOf rdf:resource="http://www.semanticweb.org/IPRE#parent"/>
        <rdfs:range rdf:resource="http://www.semanticweb.org/IPRE#Male"/>
        <owl:propertyChainAxiom rdf:parseType="Collection">
            <rdf:Description rdf:about="http://www.semanticweb.org/IPRE#mother"/>
            <rdf:Description rdf:about="http://www.semanticweb.org/IPRE#husband"/>
        </owl:propertyChainAxiom>
        <rdfs:label>生父</rdfs:label>
    </owl:ObjectProperty>
    


    <!-- http://www.semanticweb.org/IPRE#father_of_father -->

    <owl:ObjectProperty rdf:about="http://www.semanticweb.org/IPRE#father_of_father">
        <rdfs:subPropertyOf rdf:resource="http://www.semanticweb.org/IPRE#younger_than"/>
        <rdfs:range rdf:resource="http://www.semanticweb.org/IPRE#Male"/>
        <owl:propertyChainAxiom rdf:parseType="Collection">
            <rdf:Description rdf:about="http://www.semanticweb.org/IPRE#father"/>
            <rdf:Description rdf:about="http://www.semanticweb.org/IPRE#father"/>
        </owl:propertyChainAxiom>
        <rdfs:label>爷爷</rdfs:label>
    </owl:ObjectProperty>
    


    <!-- http://www.semanticweb.org/IPRE#father_of_hushand -->

    <owl:ObjectProperty rdf:about="http://www.semanticweb.org/IPRE#father_of_hushand">
        <rdfs:subPropertyOf rdf:resource="http://www.semanticweb.org/IPRE#younger_than"/>
        <rdfs:range rdf:resource="http://www.semanticweb.org/IPRE#Male"/>
        <owl:propertyChainAxiom rdf:parseType="Collection">
            <rdf:Description rdf:about="http://www.semanticweb.org/IPRE#husband"/>
            <rdf:Description rdf:about="http://www.semanticweb.org/IPRE#father"/>
        </owl:propertyChainAxiom>
        <rdfs:label>公公</rdfs:label>
    </owl:ObjectProperty>
    


    <!-- http://www.semanticweb.org/IPRE#father_of_mother -->

    <owl:ObjectProperty rdf:about="http://www.semanticweb.org/IPRE#father_of_mother">
        <rdfs:subPropertyOf rdf:resource="http://www.semanticweb.org/IPRE#younger_than"/>
        <rdfs:range rdf:resource="http://www.semanticweb.org/IPRE#Male"/>
        <owl:propertyChainAxiom rdf:parseType="Collection">
            <rdf:Description rdf:about="http://www.semanticweb.org/IPRE#mother"/>
            <rdf:Description rdf:about="http://www.semanticweb.org/IPRE#father"/>
        </owl:propertyChainAxiom>
        <rdfs:label>外公</rdfs:label>
    </owl:ObjectProperty>
    


    <!-- http://www.semanticweb.org/IPRE#father_of_wife -->

    <owl:ObjectProperty rdf:about="http://www.semanticweb.org/IPRE#father_of_wife">
        <rdfs:subPropertyOf rdf:resource="http://www.semanticweb.org/IPRE#younger_than"/>
        <rdfs:range rdf:resource="http://www.semanticweb.org/IPRE#Male"/>
        <owl:propertyChainAxiom rdf:parseType="Collection">
            <rdf:Description rdf:about="http://www.semanticweb.org/IPRE#wife"/>
            <rdf:Description rdf:about="http://www.semanticweb.org/IPRE#father"/>
        </owl:propertyChainAxiom>
        <rdfs:label>岳父</rdfs:label>
    </owl:ObjectProperty>
    


    <!-- http://www.semanticweb.org/IPRE#fiance -->

    <owl:ObjectProperty rdf:about="http://www.semanticweb.org/IPRE#fiance">
        <rdfs:subPropertyOf rdf:resource="http://www.semanticweb.org/IPRE#lover"/>
        <owl:inverseOf rdf:resource="http://www.semanticweb.org/IPRE#fiancee"/>
        <rdfs:domain rdf:resource="http://www.semanticweb.org/IPRE#Female"/>
        <rdfs:range rdf:resource="http://www.semanticweb.org/IPRE#Male"/>
        <rdfs:label>未婚夫</rdfs:label>
    </owl:ObjectProperty>
    


    <!-- http://www.semanticweb.org/IPRE#fiancee -->

    <owl:ObjectProperty rdf:about="http://www.semanticweb.org/IPRE#fiancee">
        <rdfs:subPropertyOf rdf:resource="http://www.semanticweb.org/IPRE#lover"/>
        <rdfs:domain rdf:resource="http://www.semanticweb.org/IPRE#Male"/>
        <rdfs:range rdf:resource="http://www.semanticweb.org/IPRE#Female"/>
        <rdfs:label>未婚妻</rdfs:label>
    </owl:ObjectProperty>
    


    <!-- http://www.semanticweb.org/IPRE#friend -->

    <owl:ObjectProperty rdf:about="http://www.semanticweb.org/IPRE#friend">
        <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#SymmetricProperty"/>
        <rdfs:label>朋友</rdfs:label>
    </owl:ObjectProperty>
    


    <!-- http://www.semanticweb.org/IPRE#granddaughter -->

    <owl:ObjectProperty rdf:about="http://www.semanticweb.org/IPRE#granddaughter">
        <rdfs:subPropertyOf rdf:resource="http://www.semanticweb.org/IPRE#older_than"/>
        <rdfs:range rdf:resource="http://www.semanticweb.org/IPRE#Female"/>
        <owl:propertyChainAxiom rdf:parseType="Collection">
            <rdf:Description rdf:about="http://www.semanticweb.org/IPRE#child"/>
            <rdf:Description rdf:about="http://www.semanticweb.org/IPRE#daughter"/>
        </owl:propertyChainAxiom>
        <rdfs:label>孙女</rdfs:label>
    </owl:ObjectProperty>
    


    <!-- http://www.semanticweb.org/IPRE#grandson -->

    <owl:ObjectProperty rdf:about="http://www.semanticweb.org/IPRE#grandson">
        <rdfs:subPropertyOf rdf:resource="http://www.semanticweb.org/IPRE#older_than"/>
        <rdfs:range rdf:resource="http://www.semanticweb.org/IPRE#Male"/>
        <owl:propertyChainAxiom rdf:parseType="Collection">
            <rdf:Description rdf:about="http://www.semanticweb.org/IPRE#child"/>
            <rdf:Description rdf:about="http://www.semanticweb.org/IPRE#son"/>
        </owl:propertyChainAxiom>
        <rdfs:label>孙子</rdfs:label>
    </owl:ObjectProperty>
    


    <!-- http://www.semanticweb.org/IPRE#husband -->

    <owl:ObjectProperty rdf:about="http://www.semanticweb.org/IPRE#husband">
        <rdfs:subPropertyOf rdf:resource="http://www.semanticweb.org/IPRE#couple"/>
        <owl:inverseOf rdf:resource="http://www.semanticweb.org/IPRE#wife"/>
        <rdfs:range rdf:resource="http://www.semanticweb.org/IPRE#Male"/>
        <rdfs:label>丈夫</rdfs:label>
    </owl:ObjectProperty>
    


    <!-- http://www.semanticweb.org/IPRE#love -->

    <owl:ObjectProperty rdf:about="http://www.semanticweb.org/IPRE#love">
        <rdfs:label>喜欢</rdfs:label>
    </owl:ObjectProperty>
    


    <!-- http://www.semanticweb.org/IPRE#lover -->

    <owl:ObjectProperty rdf:about="http://www.semanticweb.org/IPRE#lover">
        <rdfs:subPropertyOf rdf:resource="http://www.semanticweb.org/IPRE#love"/>
        <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#SymmetricProperty"/>
        <rdfs:label>恋人</rdfs:label>
    </owl:ObjectProperty>
    


    <!-- http://www.semanticweb.org/IPRE#mother -->

    <owl:ObjectProperty rdf:about="http://www.semanticweb.org/IPRE#mother">
        <rdfs:subPropertyOf rdf:resource="http://www.semanticweb.org/IPRE#parent"/>
        <rdfs:range rdf:resource="http://www.semanticweb.org/IPRE#Female"/>
        <owl:propertyChainAxiom rdf:parseType="Collection">
            <rdf:Description rdf:about="http://www.semanticweb.org/IPRE#father"/>
            <rdf:Description rdf:about="http://www.semanticweb.org/IPRE#wife"/>
        </owl:propertyChainAxiom>
        <rdfs:label>生母</rdfs:label>
    </owl:ObjectProperty>
    


    <!-- http://www.semanticweb.org/IPRE#mother_of_father -->

    <owl:ObjectProperty rdf:about="http://www.semanticweb.org/IPRE#mother_of_father">
        <rdfs:subPropertyOf rdf:resource="http://www.semanticweb.org/IPRE#younger_than"/>
        <rdfs:range rdf:resource="http://www.semanticweb.org/IPRE#Female"/>
        <owl:propertyChainAxiom rdf:parseType="Collection">
            <rdf:Description rdf:about="http://www.semanticweb.org/IPRE#father"/>
            <rdf:Description rdf:about="http://www.semanticweb.org/IPRE#mother"/>
        </owl:propertyChainAxiom>
        <rdfs:label>奶奶</rdfs:label>
    </owl:ObjectProperty>
    


    <!-- http://www.semanticweb.org/IPRE#nephew -->

    <owl:ObjectProperty rdf:about="http://www.semanticweb.org/IPRE#nephew">
        <rdfs:range rdf:resource="http://www.semanticweb.org/IPRE#Male"/>
        <owl:propertyChainAxiom rdf:parseType="Collection">
            <rdf:Description rdf:about="http://www.semanticweb.org/IPRE#elder_brother"/>
            <rdf:Description rdf:about="http://www.semanticweb.org/IPRE#son"/>
        </owl:propertyChainAxiom>
        <owl:propertyChainAxiom rdf:parseType="Collection">
            <rdf:Description rdf:about="http://www.semanticweb.org/IPRE#younger_brother"/>
            <rdf:Description rdf:about="http://www.semanticweb.org/IPRE#son"/>
        </owl:propertyChainAxiom>
        <rdfs:label>侄子</rdfs:label>
    </owl:ObjectProperty>
    


    <!-- http://www.semanticweb.org/IPRE#niece -->

    <owl:ObjectProperty rdf:about="http://www.semanticweb.org/IPRE#niece">
        <rdfs:range rdf:resource="http://www.semanticweb.org/IPRE#Female"/>
        <owl:propertyChainAxiom rdf:parseType="Collection">
            <rdf:Description rdf:about="http://www.semanticweb.org/IPRE#elder_brother"/>
            <rdf:Description rdf:about="http://www.semanticweb.org/IPRE#daughter"/>
        </owl:propertyChainAxiom>
        <owl:propertyChainAxiom rdf:parseType="Collection">
            <rdf:Description rdf:about="http://www.semanticweb.org/IPRE#younger_brother"/>
            <rdf:Description rdf:about="http://www.semanticweb.org/IPRE#daughter"/>
        </owl:propertyChainAxiom>
        <rdfs:label>侄女</rdfs:label>
    </owl:ObjectProperty>
    


    <!-- http://www.semanticweb.org/IPRE#older_than -->

    <owl:ObjectProperty rdf:about="http://www.semanticweb.org/IPRE#older_than">
        <owl:inverseOf rdf:resource="http://www.semanticweb.org/IPRE#younger_than"/>
        <rdfs:label>年长于</rdfs:label>
    </owl:ObjectProperty>
    


    <!-- http://www.semanticweb.org/IPRE#parent -->

    <owl:ObjectProperty rdf:about="http://www.semanticweb.org/IPRE#parent">
        <rdfs:subPropertyOf rdf:resource="http://www.semanticweb.org/IPRE#younger_than"/>
        <rdfs:label>父母</rdfs:label>
    </owl:ObjectProperty>
    


    <!-- http://www.semanticweb.org/IPRE#sibling -->

    <owl:ObjectProperty rdf:about="http://www.semanticweb.org/IPRE#sibling">
        <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#SymmetricProperty"/>
        <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#TransitiveProperty"/>
        <rdfs:label>兄弟姐妹</rdfs:label>
    </owl:ObjectProperty>
    


    <!-- http://www.semanticweb.org/IPRE#sister_in_law -->

    <owl:ObjectProperty rdf:about="http://www.semanticweb.org/IPRE#sister_in_law">
        <rdfs:subPropertyOf rdf:resource="http://www.semanticweb.org/IPRE#sibling"/>
        <rdfs:range rdf:resource="http://www.semanticweb.org/IPRE#Female"/>
        <owl:propertyChainAxiom rdf:parseType="Collection">
            <rdf:Description rdf:about="http://www.semanticweb.org/IPRE#elder_brother"/>
            <rdf:Description rdf:about="http://www.semanticweb.org/IPRE#wife"/>
        </owl:propertyChainAxiom>
        <rdfs:label>嫂子</rdfs:label>
    </owl:ObjectProperty>
    


    <!-- http://www.semanticweb.org/IPRE#son -->

    <owl:ObjectProperty rdf:about="http://www.semanticweb.org/IPRE#son">
        <rdfs:subPropertyOf rdf:resource="http://www.semanticweb.org/IPRE#child"/>
        <rdfs:range rdf:resource="http://www.semanticweb.org/IPRE#Male"/>
        <owl:propertyChainAxiom rdf:parseType="Collection">
            <rdf:Description rdf:about="http://www.semanticweb.org/IPRE#daughter_in_law"/>
            <rdf:Description rdf:about="http://www.semanticweb.org/IPRE#husband"/>
        </owl:propertyChainAxiom>
        <owl:propertyChainAxiom rdf:parseType="Collection">
            <rdf:Description rdf:about="http://www.semanticweb.org/IPRE#husband"/>
            <rdf:Description rdf:about="http://www.semanticweb.org/IPRE#son"/>
        </owl:propertyChainAxiom>
        <owl:propertyChainAxiom rdf:parseType="Collection">
            <rdf:Description rdf:about="http://www.semanticweb.org/IPRE#wife"/>
            <rdf:Description rdf:about="http://www.semanticweb.org/IPRE#son"/>
        </owl:propertyChainAxiom>
        <rdfs:label>儿子</rdfs:label>
    </owl:ObjectProperty>
    


    <!-- http://www.semanticweb.org/IPRE#son_in_law -->

    <owl:ObjectProperty rdf:about="http://www.semanticweb.org/IPRE#son_in_law">
        <rdfs:range rdf:resource="http://www.semanticweb.org/IPRE#Male"/>
        <owl:propertyChainAxiom rdf:parseType="Collection">
            <rdf:Description rdf:about="http://www.semanticweb.org/IPRE#daughter"/>
            <rdf:Description rdf:about="http://www.semanticweb.org/IPRE#husband"/>
        </owl:propertyChainAxiom>
        <rdfs:label>女婿</rdfs:label>
    </owl:ObjectProperty>
    


    <!-- http://www.semanticweb.org/IPRE#student -->

    <owl:ObjectProperty rdf:about="http://www.semanticweb.org/IPRE#student">
        <owl:inverseOf rdf:resource="http://www.semanticweb.org/IPRE#teacher"/>
        <rdfs:label>学生</rdfs:label>
    </owl:ObjectProperty>
    


    <!-- http://www.semanticweb.org/IPRE#teacher -->

    <owl:ObjectProperty rdf:about="http://www.semanticweb.org/IPRE#teacher">
        <rdfs:label>老师</rdfs:label>
    </owl:ObjectProperty>
    


    <!-- http://www.semanticweb.org/IPRE#uncle_from_father -->

    <owl:ObjectProperty rdf:about="http://www.semanticweb.org/IPRE#uncle_from_father">
        <rdfs:range rdf:resource="http://www.semanticweb.org/IPRE#Male"/>
        <owl:propertyChainAxiom rdf:parseType="Collection">
            <rdf:Description rdf:about="http://www.semanticweb.org/IPRE#father"/>
            <rdf:Description rdf:about="http://www.semanticweb.org/IPRE#elder_brother"/>
        </owl:propertyChainAxiom>
        <owl:propertyChainAxiom rdf:parseType="Collection">
            <rdf:Description rdf:about="http://www.semanticweb.org/IPRE#father"/>
            <rdf:Description rdf:about="http://www.semanticweb.org/IPRE#younger_brother"/>
        </owl:propertyChainAxiom>
        <rdfs:label>叔伯</rdfs:label>
    </owl:ObjectProperty>

2、根据课堂上发布的本体规格文件(onto_spec.xlsx)在Protege上录入所有信息后,保存本体为OWL文件。该OWL文件中,对应规则定义的板块是什么?请复制粘贴规则定义部分(包括变量定义)的文本内容。

<rdf:Description rdf:about="urn:swrl:var#x">
        <rdf:type rdf:resource="http://www.w3.org/2003/11/swrl#Variable"/>
    </rdf:Description>
    <rdf:Description rdf:about="urn:swrl:var#y">
        <rdf:type rdf:resource="http://www.w3.org/2003/11/swrl#Variable"/>
    </rdf:Description>
    <rdf:Description>
        <rdf:type rdf:resource="http://www.w3.org/2003/11/swrl#Imp"/>
        <swrl:body>
            <rdf:Description>
                <rdf:type rdf:resource="http://www.w3.org/2003/11/swrl#AtomList"/>
                <rdf:first>
                    <rdf:Description>
                        <rdf:type rdf:resource="http://www.w3.org/2003/11/swrl#ClassAtom"/>
                        <swrl:classPredicate rdf:resource="http://www.semanticweb.org/IPRE#Male"/>
                        <swrl:argument1 rdf:resource="urn:swrl:var#y"/>
                    </rdf:Description>
                </rdf:first>
                <rdf:rest>
                    <rdf:Description>
                        <rdf:type rdf:resource="http://www.w3.org/2003/11/swrl#AtomList"/>
                        <rdf:first>
                            <rdf:Description>
                                <rdf:type rdf:resource="http://www.w3.org/2003/11/swrl#IndividualPropertyAtom"/>
                                <swrl:propertyPredicate rdf:resource="http://www.semanticweb.org/IPRE#child"/>
                                <swrl:argument1 rdf:resource="urn:swrl:var#x"/>
                                <swrl:argument2 rdf:resource="urn:swrl:var#y"/>
                            </rdf:Description>
                        </rdf:first>
                        <rdf:rest rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#nil"/>
                    </rdf:Description>
                </rdf:rest>
            </rdf:Description>
        </swrl:body>
        <swrl:head>
            <rdf:Description>
                <rdf:type rdf:resource="http://www.w3.org/2003/11/swrl#AtomList"/>
                <rdf:first>
                    <rdf:Description>
                        <rdf:type rdf:resource="http://www.w3.org/2003/11/swrl#IndividualPropertyAtom"/>
                        <swrl:propertyPredicate rdf:resource="http://www.semanticweb.org/IPRE#son"/>
                        <swrl:argument1 rdf:resource="urn:swrl:var#x"/>
                        <swrl:argument2 rdf:resource="urn:swrl:var#y"/>
                    </rdf:Description>
                </rdf:first>
                <rdf:rest rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#nil"/>
            </rdf:Description>
        </swrl:head>
    </rdf:Description>
    <rdf:Description>
        <rdf:type rdf:resource="http://www.w3.org/2003/11/swrl#Imp"/>
        <swrl:body>
            <rdf:Description>
                <rdf:type rdf:resource="http://www.w3.org/2003/11/swrl#AtomList"/>
                <rdf:first>
                    <rdf:Description>
                        <rdf:type rdf:resource="http://www.w3.org/2003/11/swrl#ClassAtom"/>
                        <swrl:classPredicate rdf:resource="http://www.semanticweb.org/IPRE#Male"/>
                        <swrl:argument1 rdf:resource="urn:swrl:var#y"/>
                    </rdf:Description>
                </rdf:first>
                <rdf:rest>
                    <rdf:Description>
                        <rdf:type rdf:resource="http://www.w3.org/2003/11/swrl#AtomList"/>
                        <rdf:first>
                            <rdf:Description>
                                <rdf:type rdf:resource="http://www.w3.org/2003/11/swrl#IndividualPropertyAtom"/>
                                <swrl:propertyPredicate rdf:resource="http://www.semanticweb.org/IPRE#parent"/>
                                <swrl:argument1 rdf:resource="urn:swrl:var#x"/>
                                <swrl:argument2 rdf:resource="urn:swrl:var#y"/>
                            </rdf:Description>
                        </rdf:first>
                        <rdf:rest rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#nil"/>
                    </rdf:Description>
                </rdf:rest>
            </rdf:Description>
        </swrl:body>
        <swrl:head>
            <rdf:Description>
                <rdf:type rdf:resource="http://www.w3.org/2003/11/swrl#AtomList"/>
                <rdf:first>
                    <rdf:Description>
                        <rdf:type rdf:resource="http://www.w3.org/2003/11/swrl#IndividualPropertyAtom"/>
                        <swrl:propertyPredicate rdf:resource="http://www.semanticweb.org/IPRE#father"/>
                        <swrl:argument1 rdf:resource="urn:swrl:var#x"/>
                        <swrl:argument2 rdf:resource="urn:swrl:var#y"/>
                    </rdf:Description>
                </rdf:first>
                <rdf:rest rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#nil"/>
            </rdf:Description>
        </swrl:head>
    </rdf:Description>
    <rdf:Description>
        <rdf:type rdf:resource="http://www.w3.org/2003/11/swrl#Imp"/>
        <swrl:body>
            <rdf:Description>
                <rdf:type rdf:resource="http://www.w3.org/2003/11/swrl#AtomList"/>
                <rdf:first>
                    <rdf:Description>
                        <rdf:type rdf:resource="http://www.w3.org/2003/11/swrl#ClassAtom"/>
                        <swrl:classPredicate rdf:resource="http://www.semanticweb.org/IPRE#Male"/>
                        <swrl:argument1 rdf:resource="urn:swrl:var#y"/>
                    </rdf:Description>
                </rdf:first>
                <rdf:rest>
                    <rdf:Description>
                        <rdf:type rdf:resource="http://www.w3.org/2003/11/swrl#AtomList"/>
                        <rdf:first>
                            <rdf:Description>
                                <rdf:type rdf:resource="http://www.w3.org/2003/11/swrl#IndividualPropertyAtom"/>
                                <swrl:propertyPredicate rdf:resource="http://www.semanticweb.org/IPRE#sibling"/>
                                <swrl:argument1 rdf:resource="urn:swrl:var#x"/>
                                <swrl:argument2 rdf:resource="urn:swrl:var#y"/>
                            </rdf:Description>
                        </rdf:first>
                        <rdf:rest>
                            <rdf:Description>
                                <rdf:type rdf:resource="http://www.w3.org/2003/11/swrl#AtomList"/>
                                <rdf:first>
                                    <rdf:Description>
                                        <rdf:type rdf:resource="http://www.w3.org/2003/11/swrl#IndividualPropertyAtom"/>
                                        <swrl:propertyPredicate rdf:resource="http://www.semanticweb.org/IPRE#younger_than"/>
                                        <swrl:argument1 rdf:resource="urn:swrl:var#x"/>
                                        <swrl:argument2 rdf:resource="urn:swrl:var#y"/>
                                    </rdf:Description>
                                </rdf:first>
                                <rdf:rest rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#nil"/>
                            </rdf:Description>
                        </rdf:rest>
                    </rdf:Description>
                </rdf:rest>
            </rdf:Description>
        </swrl:body>
        <swrl:head>
            <rdf:Description>
                <rdf:type rdf:resource="http://www.w3.org/2003/11/swrl#AtomList"/>
                <rdf:first>
                    <rdf:Description>
                        <rdf:type rdf:resource="http://www.w3.org/2003/11/swrl#IndividualPropertyAtom"/>
                        <swrl:propertyPredicate rdf:resource="http://www.semanticweb.org/IPRE#elder_brother"/>
                        <swrl:argument1 rdf:resource="urn:swrl:var#x"/>
                        <swrl:argument2 rdf:resource="urn:swrl:var#y"/>
                    </rdf:Description>
                </rdf:first>
                <rdf:rest rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#nil"/>
            </rdf:Description>
        </swrl:head>
    </rdf:Description>
    <rdf:Description>
        <rdf:type rdf:resource="http://www.w3.org/2003/11/swrl#Imp"/>
        <swrl:body>
            <rdf:Description>
                <rdf:type rdf:resource="http://www.w3.org/2003/11/swrl#AtomList"/>
                <rdf:first>
                    <rdf:Description>
                        <rdf:type rdf:resource="http://www.w3.org/2003/11/swrl#ClassAtom"/>
                        <swrl:classPredicate rdf:resource="http://www.semanticweb.org/IPRE#Female"/>
                        <swrl:argument1 rdf:resource="urn:swrl:var#x"/>
                    </rdf:Description>
                </rdf:first>
                <rdf:rest>
                    <rdf:Description>
                        <rdf:type rdf:resource="http://www.w3.org/2003/11/swrl#AtomList"/>
                        <rdf:first>
                            <rdf:Description>
                                <rdf:type rdf:resource="http://www.w3.org/2003/11/swrl#ClassAtom"/>
                                <swrl:classPredicate rdf:resource="http://www.semanticweb.org/IPRE#Male"/>
                                <swrl:argument1 rdf:resource="urn:swrl:var#y"/>
                            </rdf:Description>
                        </rdf:first>
                        <rdf:rest>
                            <rdf:Description>
                                <rdf:type rdf:resource="http://www.w3.org/2003/11/swrl#AtomList"/>
                                <rdf:first>
                                    <rdf:Description>
                                        <rdf:type rdf:resource="http://www.w3.org/2003/11/swrl#IndividualPropertyAtom"/>
                                        <swrl:propertyPredicate rdf:resource="http://www.semanticweb.org/IPRE#couple"/>
                                        <swrl:argument1 rdf:resource="urn:swrl:var#x"/>
                                        <swrl:argument2 rdf:resource="urn:swrl:var#y"/>
                                    </rdf:Description>
                                </rdf:first>
                                <rdf:rest rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#nil"/>
                            </rdf:Description>
                        </rdf:rest>
                    </rdf:Description>
                </rdf:rest>
            </rdf:Description>
        </swrl:body>
        <swrl:head>
            <rdf:Description>
                <rdf:type rdf:resource="http://www.w3.org/2003/11/swrl#AtomList"/>
                <rdf:first>
                    <rdf:Description>
                        <rdf:type rdf:resource="http://www.w3.org/2003/11/swrl#IndividualPropertyAtom"/>
                        <swrl:propertyPredicate rdf:resource="http://www.semanticweb.org/IPRE#current_husband"/>
                        <swrl:argument1 rdf:resource="urn:swrl:var#x"/>
                        <swrl:argument2 rdf:resource="urn:swrl:var#y"/>
                    </rdf:Description>
                </rdf:first>
                <rdf:rest rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#nil"/>
            </rdf:Description>
        </swrl:head>
    </rdf:Description>
    <rdf:Description>
        <rdf:type rdf:resource="http://www.w3.org/2003/11/swrl#Imp"/>
        <swrl:body>
            <rdf:Description>
                <rdf:type rdf:resource="http://www.w3.org/2003/11/swrl#AtomList"/>
                <rdf:first>
                    <rdf:Description>
                        <rdf:type rdf:resource="http://www.w3.org/2003/11/swrl#ClassAtom"/>
                        <swrl:classPredicate rdf:resource="http://www.semanticweb.org/IPRE#Female"/>
                        <swrl:argument1 rdf:resource="urn:swrl:var#y"/>
                    </rdf:Description>
                </rdf:first>
                <rdf:rest>
                    <rdf:Description>
                        <rdf:type rdf:resource="http://www.w3.org/2003/11/swrl#AtomList"/>
                        <rdf:first>
                            <rdf:Description>
                                <rdf:type rdf:resource="http://www.w3.org/2003/11/swrl#ClassAtom"/>
                                <swrl:classPredicate rdf:resource="http://www.semanticweb.org/IPRE#Male"/>
                                <swrl:argument1 rdf:resource="urn:swrl:var#x"/>
                            </rdf:Description>
                        </rdf:first>
                        <rdf:rest>
                            <rdf:Description>
                                <rdf:type rdf:resource="http://www.w3.org/2003/11/swrl#AtomList"/>
                                <rdf:first>
                                    <rdf:Description>
                                        <rdf:type rdf:resource="http://www.w3.org/2003/11/swrl#IndividualPropertyAtom"/>
                                        <swrl:propertyPredicate rdf:resource="http://www.semanticweb.org/IPRE#couple"/>
                                        <swrl:argument1 rdf:resource="urn:swrl:var#x"/>
                                        <swrl:argument2 rdf:resource="urn:swrl:var#y"/>
                                    </rdf:Description>
                                </rdf:first>
                                <rdf:rest rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#nil"/>
                            </rdf:Description>
                        </rdf:rest>
                    </rdf:Description>
                </rdf:rest>
            </rdf:Description>
        </swrl:body>
        <swrl:head>
            <rdf:Description>
                <rdf:type rdf:resource="http://www.w3.org/2003/11/swrl#AtomList"/>
                <rdf:first>
                    <rdf:Description>
                        <rdf:type rdf:resource="http://www.w3.org/2003/11/swrl#IndividualPropertyAtom"/>
                        <swrl:propertyPredicate rdf:resource="http://www.semanticweb.org/IPRE#current_wife"/>
                        <swrl:argument1 rdf:resource="urn:swrl:var#x"/>
                        <swrl:argument2 rdf:resource="urn:swrl:var#y"/>
                    </rdf:Description>
                </rdf:first>
                <rdf:rest rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#nil"/>
            </rdf:Description>
        </swrl:head>
    </rdf:Description>
    <rdf:Description>
        <rdf:type rdf:resource="http://www.w3.org/2003/11/swrl#Imp"/>
        <swrl:body>
            <rdf:Description>
                <rdf:type rdf:resource="http://www.w3.org/2003/11/swrl#AtomList"/>
                <rdf:first>
                    <rdf:Description>
                        <rdf:type rdf:resource="http://www.w3.org/2003/11/swrl#ClassAtom"/>
                        <swrl:classPredicate rdf:resource="http://www.semanticweb.org/IPRE#Female"/>
                        <swrl:argument1 rdf:resource="urn:swrl:var#y"/>
                    </rdf:Description>
                </rdf:first>
                <rdf:rest>
                    <rdf:Description>
                        <rdf:type rdf:resource="http://www.w3.org/2003/11/swrl#AtomList"/>
                        <rdf:first>
                            <rdf:Description>
                                <rdf:type rdf:resource="http://www.w3.org/2003/11/swrl#IndividualPropertyAtom"/>
                                <swrl:propertyPredicate rdf:resource="http://www.semanticweb.org/IPRE#child"/>
                                <swrl:argument1 rdf:resource="urn:swrl:var#x"/>
                                <swrl:argument2 rdf:resource="urn:swrl:var#y"/>
                            </rdf:Description>
                        </rdf:first>
                        <rdf:rest rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#nil"/>
                    </rdf:Description>
                </rdf:rest>
            </rdf:Description>
        </swrl:body>
        <swrl:head>
            <rdf:Description>
                <rdf:type rdf:resource="http://www.w3.org/2003/11/swrl#AtomList"/>
                <rdf:first>
                    <rdf:Description>
                        <rdf:type rdf:resource="http://www.w3.org/2003/11/swrl#IndividualPropertyAtom"/>
                        <swrl:propertyPredicate rdf:resource="http://www.semanticweb.org/IPRE#daughter"/>
                        <swrl:argument1 rdf:resource="urn:swrl:var#x"/>
                        <swrl:argument2 rdf:resource="urn:swrl:var#y"/>
                    </rdf:Description>
                </rdf:first>
                <rdf:rest rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#nil"/>
            </rdf:Description>
        </swrl:head>
    </rdf:Description>
    <rdf:Description>
        <rdf:type rdf:resource="http://www.w3.org/2003/11/swrl#Imp"/>
        <swrl:body>
            <rdf:Description>
                <rdf:type rdf:resource="http://www.w3.org/2003/11/swrl#AtomList"/>
                <rdf:first>
                    <rdf:Description>
                        <rdf:type rdf:resource="http://www.w3.org/2003/11/swrl#ClassAtom"/>
                        <swrl:classPredicate rdf:resource="http://www.semanticweb.org/IPRE#Female"/>
                        <swrl:argument1 rdf:resource="urn:swrl:var#y"/>
                    </rdf:Description>
                </rdf:first>
                <rdf:rest>
                    <rdf:Description>
                        <rdf:type rdf:resource="http://www.w3.org/2003/11/swrl#AtomList"/>
                        <rdf:first>
                            <rdf:Description>
                                <rdf:type rdf:resource="http://www.w3.org/2003/11/swrl#IndividualPropertyAtom"/>
                                <swrl:propertyPredicate rdf:resource="http://www.semanticweb.org/IPRE#older_than"/>
                                <swrl:argument1 rdf:resource="urn:swrl:var#x"/>
                                <swrl:argument2 rdf:resource="urn:swrl:var#y"/>
                            </rdf:Description>
                        </rdf:first>
                        <rdf:rest>
                            <rdf:Description>
                                <rdf:type rdf:resource="http://www.w3.org/2003/11/swrl#AtomList"/>
                                <rdf:first>
                                    <rdf:Description>
                                        <rdf:type rdf:resource="http://www.w3.org/2003/11/swrl#IndividualPropertyAtom"/>
                                        <swrl:propertyPredicate rdf:resource="http://www.semanticweb.org/IPRE#sibling"/>
                                        <swrl:argument1 rdf:resource="urn:swrl:var#x"/>
                                        <swrl:argument2 rdf:resource="urn:swrl:var#y"/>
                                    </rdf:Description>
                                </rdf:first>
                                <rdf:rest rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#nil"/>
                            </rdf:Description>
                        </rdf:rest>
                    </rdf:Description>
                </rdf:rest>
            </rdf:Description>
        </swrl:body>
        <swrl:head>
            <rdf:Description>
                <rdf:type rdf:resource="http://www.w3.org/2003/11/swrl#AtomList"/>
                <rdf:first>
                    <rdf:Description>
                        <rdf:type rdf:resource="http://www.w3.org/2003/11/swrl#IndividualPropertyAtom"/>
                        <swrl:propertyPredicate rdf:resource="http://www.semanticweb.org/IPRE#younger_sister"/>
                        <swrl:argument1 rdf:resource="urn:swrl:var#x"/>
                        <swrl:argument2 rdf:resource="urn:swrl:var#y"/>
                    </rdf:Description>
                </rdf:first>
                <rdf:rest rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#nil"/>
            </rdf:Description>
        </swrl:head>
    </rdf:Description>
    <rdf:Description>
        <rdf:type rdf:resource="http://www.w3.org/2003/11/swrl#Imp"/>
        <swrl:body>
            <rdf:Description>
                <rdf:type rdf:resource="http://www.w3.org/2003/11/swrl#AtomList"/>
                <rdf:first>
                    <rdf:Description>
                        <rdf:type rdf:resource="http://www.w3.org/2003/11/swrl#ClassAtom"/>
                        <swrl:classPredicate rdf:resource="http://www.semanticweb.org/IPRE#Female"/>
                        <swrl:argument1 rdf:resource="urn:swrl:var#y"/>
                    </rdf:Description>
                </rdf:first>
                <rdf:rest>
                    <rdf:Description>
                        <rdf:type rdf:resource="http://www.w3.org/2003/11/swrl#AtomList"/>
                        <rdf:first>
                            <rdf:Description>
                                <rdf:type rdf:resource="http://www.w3.org/2003/11/swrl#IndividualPropertyAtom"/>
                                <swrl:propertyPredicate rdf:resource="http://www.semanticweb.org/IPRE#parent"/>
                                <swrl:argument1 rdf:resource="urn:swrl:var#x"/>
                                <swrl:argument2 rdf:resource="urn:swrl:var#y"/>
                            </rdf:Description>
                        </rdf:first>
                        <rdf:rest rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#nil"/>
                    </rdf:Description>
                </rdf:rest>
            </rdf:Description>
        </swrl:body>
        <swrl:head>
            <rdf:Description>
                <rdf:type rdf:resource="http://www.w3.org/2003/11/swrl#AtomList"/>
                <rdf:first>
                    <rdf:Description>
                        <rdf:type rdf:resource="http://www.w3.org/2003/11/swrl#IndividualPropertyAtom"/>
                        <swrl:propertyPredicate rdf:resource="http://www.semanticweb.org/IPRE#mother"/>
                        <swrl:argument1 rdf:resource="urn:swrl:var#x"/>
                        <swrl:argument2 rdf:resource="urn:swrl:var#y"/>
                    </rdf:Description>
                </rdf:first>
                <rdf:rest rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#nil"/>
            </rdf:Description>
        </swrl:head>
    </rdf:Description>
</rdf:RDF>

3、根据课堂上发布的本体规格文件(onto_spec.xlsx)在Protege上录入所有信息后,保存本体为OWL文件。该OWL文件中,对应类定义的板块是什么?请复制粘贴类定义部分的文本内容。

 <!-- http://www.semanticweb.org/IPRE#Female -->

    <owl:Class rdf:about="http://www.semanticweb.org/IPRE#Female">
        <owl:disjointWith rdf:resource="http://www.semanticweb.org/IPRE#Male"/>
        <rdfs:label>女</rdfs:label>
    </owl:Class>
    


    <!-- http://www.semanticweb.org/IPRE#Male -->

    <owl:Class rdf:about="http://www.semanticweb.org/IPRE#Male">
        <rdfs:label>男</rdfs:label>
    </owl:Class>

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值