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

    >> RSS(RDF Site Summary), DC(Dublin Core), FOAF, PRISM, GO(Gene Ontology), P3P,XPackage,CIM/XML,CC/PP
    [返回] 中文XML论坛 - 专业的XML技术讨论区W3CHINA.ORG讨论区 - Web新技术讨论『 RSS/FOAF/Dublin Core/CIM/PRISM/Gene Ontology 』 → RDF与XML的区别是什么? 查看新帖用户列表

      发表一个新主题  发表一个新投票  回复主题  (订阅本版) 您是本帖的第 209971 个阅读者浏览上一篇主题  刷新本主题   平板显示贴子 浏览下一篇主题
     * 贴子主题: RDF与XML的区别是什么? 举报  打印  推荐  IE收藏夹 
       本主题类别:     
     orangebench 帅哥哟,离线,有人找我吗?
      
      
      
      威望:9
      等级:研一(参加了一年一度的XML大会)(版主)
      文章:681
      积分:4761
      门派:W3CHINA.ORG
      注册:2004/5/28

    姓名:(无权查看)
    城市:(无权查看)
    院校:(无权查看)
    给orangebench发送一个短消息 把orangebench加入好友 查看orangebench的个人资料 搜索orangebench在『 RSS/FOAF/Dublin Core/CIM/PRISM/Gene Ontology 』的所有贴子 访问orangebench的主页 引用回复这个贴子 回复这个贴子 查看orangebench的博客楼主
    发贴心情 

    继续补充:RDF 相比于XML的一个很大的有点是它的语法自由,它不像XML有个XML Schema来约束它的语法,这使得RDF具有良好得互操作性。

       It's best to tend to think of RDF as what it is: another language, just as SVG is, rather than viewing it simply as XML surrounded in rdf:RDF tags.

        With XML, you expect to get a tree with its elements in a predictable order. If an expected element is missing, then it tends to render your whole XML document invalid with respect to the schema you are using. If an element you don't expect to be there is present, then again your document becomes invalid. With RDF, you have no particular expectations; if the particular strand of spaghetti you're looking for isn't there, the rest of the ball remains. If there are new strands you don't expect, you won't even notice their presence if you don't go looking for them.

       The big advantage of being failure-friendly is the enhancement of interoperability. Consider what happens if you add a new property to your description of my weblog and it becomes like this:
    <rdf:Description rdf:about="http://usefulinc.com/edd/blog">
       <dc:title>Behind the times</dc:title>
       <example:coolness>10</example:coolness>
    </rdf:Description>
    My "find the title" processor can still deal with your description just fine, as all it cares about is the dc:title property. All RDF processors are automatically future compatible, and all RDF descriptions are automatically backwards compatible. This is a huge benefit over traditional XML processing.

    参考:
    【1】 Edd Dumbill Sticking with it -- RDF http://usefulinc.com/edd/blog/contents/2003/08/08-whyrdf/read
    【2】 Missing isn't broken: data validation and freedom on the Semantic Web http://rdfweb.org/mt/foaflog/archives/000047.html

    ----------------------------------------------
    Semantic Web is a dream; Semantic Web technology is 
    the reality.
    Weblog: http://blog.w3china.org/~orangebench/

    点击查看用户来源及管理<br>发贴IP:*.*.*.* 2004/7/14 10:54:00
     
     GoogleAdSense
      
      
      等级:大一新生
      文章:1
      积分:50
      门派:无门无派
      院校:未填写
      注册:2007-01-01
    给Google AdSense发送一个短消息 把Google AdSense加入好友 查看Google AdSense的个人资料 搜索Google AdSense在『 RSS/FOAF/Dublin Core/CIM/PRISM/Gene Ontology 』的所有贴子 访问Google AdSense的主页 引用回复这个贴子 回复这个贴子 查看Google AdSense的博客广告
    2024/5/20 10:35:14

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

     *树形目录 (最近20个回帖) 顶端 
    主题:  RDF与XML的区别是什么?(96字) - RDF(S),2004年4月7日
        回复:  devil_8211@hotmail.com现在在做知识查询方向,希望高手指点..(58字) - devil,2006年5月9日
        回复:  多谢了~~~~~~(12字) - yyy6210,2006年1月3日
        回复:  XML的关系是不明确的,RDF的关系是通过边表达出来的!(52字) - yky,2005年12月6日
        回复:  那么?RSS得用作用呢?似乎在有些网站中并没有存在的必要!我感觉好像有点是故弄玄虚!也许是我..(119字) - marker,2005年9月19日
        回复:  那么?RSS得用作用呢?似乎在有些网站中并没有存在的必要!我感觉好像有点是故弄玄虚!也许是我..(119字) - marker,2005年9月19日
        回复:  XML和RDF是两个层面的东西,可比性不是很大本质上XML一种信息交换语言,是语义网的基础层面的..(221字) - superc_7,2005年4月26日
        回复:  不错,我这个菜鸟学到了很多东西(30字) - linjj1982,2005年4月15日
        回复:  哭ing,我怎么不能下载呢,能否麻烦斑竹发到我的email里呀,yina20000@sina.co..(83字) - yina,2004年12月14日
        回复:  好呀 ,我很感兴趣,谢谢jhnwu@126.com(36字) - jhnwu,2004年8月16日
        回复:  to orangebench:您好,可以参考一下您的文章吗谢谢。e-mail: hihi_..(84字) - hihi,2004年8月16日
        回复:  XML是一种数据交换格式RDF是一种知识表达语言。RDF有多种语法,如RDF图,N3, RDF/..(419字) - snowwolf,2004年8月14日
        回复:  to orangebench:我也看看,谢谢superwm_9@hotmail.com..(52字) - wenmier,2004年8月11日
            回复:  http://bbs.xml.org.cn/dispbbs.asp?boardID=2&ID=90..(85字) - orangebench,2004年8月23日
            回复:  SW版上有我上传的电子版[quote][b]以下是引用[i]wenmier在2004-8-11 ..(155字) - orangebench,2004年8月11日
        回复:  RDF就是Resource Description Framework(我没记错吧:>),即资源描..(70字) - monbit,2004年7月30日
        回复:  好啊,学习中(12字) - 大笨熊,2004年7月26日
            回复:  http://www.w3.org/2001/06/rdf-xproc/1A story ab..(1123字) - orangebench,2004年8月11日
        回复:  学到不少东东,谢谢各位楼上客!(30字) - happyer,2004年7月19日
            回复:  RDF比XML好的一个地方:RDF可以合并,聚集!Justification for doin..(254字) - orangebench,2004年8月11日

    W3C Contributing Supporter! W 3 C h i n a ( since 2003 ) 旗 下 站 点
    苏ICP备05006046号《全国人大常委会关于维护互联网安全的决定》《计算机信息网络国际联网安全保护管理办法》
    1,253.906ms