PW02 描述自己的FOAF文件

2018-07-06  本文已影响0人  嚯嘻嘻哈哈
<rdf:RDF     <!-- RDF文档根元素 --> 
      xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"<!-- 命名空间,规定了带有前缀 rdf 的元素来自命名空间 "http://www.w3.org/1999/02/22-rdf-syntax-ns#" -->
      xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
      xmlns:foaf="http://xmlns.com/foaf/0.1/"
      xmlns:admin="http://webns.net/mvcb/">
    <foaf:PersonalProfileDocument rdf:about=""><!-- 个人配置文档 -->
        <foaf:maker rdf:resource="#me"/><!--制作人 -->
            <foaf:primaryTopic rdf:resource="#me"/><!-- 基本主题 -->
                <admin:generatorAgent rdf:resource="http://www.ldodds.com/foaf/foaf-a-matic"/>
                <admin:errorReportsTo rdf:resource="mailto:leigh@ldodds.com"/>
            </foaf:PersonalProfileDocument>
            <foaf:Person rdf:ID="me">
                <foaf:name>辉阳 李</foaf:name><!-- 姓名 -->
                <foaf:title>Mr</foaf:title><!-- 称谓 -->
                <foaf:givenname>辉阳</foaf:givenname><!-- 名 -->
                <foaf:family_name>李</foaf:family_name><!-- 姓 -->
                <foaf:nick>Handsome guy</foaf:nick><!-- 昵称 -->
                <foaf:mbox_sha1sum>35083d420e401314ebdfe25a56851dce986b2342</foaf:mbox_sha1sum><!-- 邮箱相关内容 -->
                <foaf:homepage rdf:resource="https://weibo.com/5470348791/profile?topnav=1&wvr=6&is_all=1#1523778210791"/><!-- 个人主页 -->
                <foaf:phone rdf:resource="tel:17716155039"/><!-- 电话号码 -->
                <foaf:schoolHomepage rdf:resource="http://www1.scu.edu.cn/"/><!-- 学校主页 -->
                <foaf:knows><!-- 朋友 -->
                    <foaf:Person>
                        <foaf:name>范炜</foaf:name>
                        <foaf:mbox_sha1sum>f22657f594637e5958ab0c25cd78e5ff52a7218d</foaf:mbox_sha1sum>
                        <rdfs:seeAlso rdf:resource="http://fanw.info/FanWei.rdf"/><!-- 朋友rdf文件的URL -->
                    </foaf:Person>
                </foaf:knows>
                <foaf:knows>
                     <foaf:Person>
                        <foaf:name>梁家铖</foaf:name>
                        <foaf:mbox_sha1sum>dc73f8765e423df2d4203f3c1a793ca9788dcc72</foaf:mbox_sha1sum>
                        <rdfs:seeAlso rdf:resource="https://user.qzone.qq.com/1849764736?ADUIN=792209198&ADSESSION=1523800973&ADTAG=CLIENT.QQ.5569_FriendInfo_PersonalInfo.0&ADPUBNO=26799&source=namecardstar"/>
                    </foaf:Person>
                </foaf:knows>
                <foaf:knows>
                    <foaf:Person>
                        <foaf:name>李兴佳</foaf:name>
                        <foaf:mbox_sha1sum>7746425af9d710d4ee03160751f7c2d9104fa312</foaf:mbox_sha1sum>
                        <rdfs:seeAlso rdf:resource="https://user.qzone.qq.com/873642712?source=aiostar"/>
                    </foaf:Person>
                </foaf:knows>
    </foaf:Person>
</rdf:RDF>
上一篇下一篇

猜你喜欢

热点阅读