新书推介:《语义网技术体系》
作者:瞿裕忠,胡伟,程龚
   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)/描述逻辑/本体 』 → parse问题 查看新帖用户列表

      发表一个新主题  发表一个新投票  回复主题  (订阅本版) 您是本帖的第 8072 个阅读者浏览上一篇主题  刷新本主题   树形显示贴子 浏览下一篇主题
     * 贴子主题: parse问题 举报  打印  推荐  IE收藏夹 
       本主题类别: RDF/RDFS    
     elfandi185 帅哥哟,离线,有人找我吗?
      
      
      等级:大一新生
      文章:3
      积分:60
      门派:XML.ORG.CN
      注册:2010/4/26

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

    <?xml version="1.0"?>
    <rdf:RDF
      xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
      xmlns:rec="http://recipes.org/"
      xmlns:ing="http://food.org/ingredient/"
      xmlns:nut="http://food.org/nutrition/"> 
    <rdf:Description rdf:ID="rec2">
     <rdf:type rdf:resource="http://recipes.org/#recipe"/>
      <rec:title>Ricotta Pie</rec:title>
      <rec:ingredient rdf:resource="http://food.org/ingredient/#ingredient"/>
      <ing:ingredient ing:name="filing">
       <ing:ingredient ing:name="ricotta cheese" ing:amount="3" ing:unit="pound"/>
            <ing:ingredient ing:name="eggs" ing:amount="12"/>
            <ing:ingredient ing:name="white sugar" ing:amount="2" ing:unit="cup"/>
            <ing:ingredient ing:name="vanilla extract" ing:amount="2" ing:unit="teaspoon"/>
            <ing:ingredient ing:name="semisweet chocolate chips" ing:amount="0.25" ing:unit="cup"/>
       <rec:preparation rdf:parseType="Literal">
        <rec:step>Beat the 12 eggs, 2 cups sugar and vanilla extract together. Stir in
              the ricotta cheese and the chocolate chips. Set aside.</rec:step>
         </rec:preparation>
      </ing:ingredient>
     </rdf:Description>
       

    </rdf:RDF>
    为何parse不过……
    thx


       收藏   分享  
    顶(1)
      




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

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

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