新书推介:《语义网技术体系》
作者:瞿裕忠,胡伟,程龚
   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)/描述逻辑/本体 』 → [求助]请教关于Jena持久性存储的问题! 查看新帖用户列表

      发表一个新主题  发表一个新投票  回复主题  (订阅本版) 您是本帖的第 3133 个阅读者浏览上一篇主题  刷新本主题   树形显示贴子 浏览下一篇主题
     * 贴子主题: [求助]请教关于Jena持久性存储的问题! 举报  打印  推荐  IE收藏夹 
       本主题类别:     
     blueocean 帅哥哟,离线,有人找我吗?
      
      
      等级:大二期末(Java考了96分!)
      文章:70
      积分:370
      门派:W3CHINA.ORG
      注册:2007/4/18

    姓名:(无权查看)
    城市:(无权查看)
    院校:(无权查看)
    给blueocean发送一个短消息 把blueocean加入好友 查看blueocean的个人资料 搜索blueocean在『 Semantic Web(语义Web)/描述逻辑/本体 』的所有贴子 引用回复这个贴子 回复这个贴子 查看blueocean的博客楼主
    发贴心情 [求助]请教关于Jena持久性存储的问题!

    +----------------------+
    | jena_g36t0_reif      |
    | jena_g36t1_stmt      |
    | jena_graph           |
    | jena_long_lit        |
    | jena_long_uri        |
    | jena_prefix          |
    | jena_sys_stmt        |
    +----------------------+

    在数据库中创建了7个表,这些表具体用来存放什么的?有些表是空的。
    哪位大侠能否帮忙解释一下。谢谢!


       收藏   分享  
    顶(0)
      




    点击查看用户来源及管理<br>发贴IP:*.*.*.* 2007/11/28 20:09:00
     
     blueocean 帅哥哟,离线,有人找我吗?
      
      
      等级:大二期末(Java考了96分!)
      文章:70
      积分:370
      门派:W3CHINA.ORG
      注册:2007/4/18

    姓名:(无权查看)
    城市:(无权查看)
    院校:(无权查看)
    给blueocean发送一个短消息 把blueocean加入好友 查看blueocean的个人资料 搜索blueocean在『 Semantic Web(语义Web)/描述逻辑/本体 』的所有贴子 引用回复这个贴子 回复这个贴子 查看blueocean的博客2
    发贴心情 
    找到了
    点击查看用户来源及管理<br>发贴IP:*.*.*.* 2007/11/30 2:49:00
     
     blueocean 帅哥哟,离线,有人找我吗?
      
      
      等级:大二期末(Java考了96分!)
      文章:70
      积分:370
      门派:W3CHINA.ORG
      注册:2007/4/18

    姓名:(无权查看)
    城市:(无权查看)
    院校:(无权查看)
    给blueocean发送一个短消息 把blueocean加入好友 查看blueocean的个人资料 搜索blueocean在『 Semantic Web(语义Web)/描述逻辑/本体 』的所有贴子 引用回复这个贴子 回复这个贴子 查看blueocean的博客3
    发贴心情 
    Asserted Statement Table (Jena_GiTj_Stmt)
    These tables hold asserted (non-reified) statements for one or more graphs. The table name is generated and has the form Jena_GiTj_Stmt where i is a graph identifier and a j is a table counter for the graph, e.g., Jena_G1T1_Stmt.

    Reified Statement Table (Jena_GiTj_Reif)
    These tables hold reified statements for one or more graphs. The table name is generated and has the form Jena_GiTj_Reif where i is a graph identifier and a j is a table counter for the graph, e.g., Jena_G1T2_Reif. A row of the reified statement table, say
            ex:subj, ex:prop, ex:obj, 1, ex:stmt, 'T'
    would represent the following four asserted statements in the graph (model) with identifier 1:
            ex:stmt, rdf:Subject, ex:subj .
            ex:stmt, rdf:Property, ex:prop .
            ex:stmt, rdf:Object, ex:obj .
            ex:stmt, rdf:Type, rdf:Statement .

    System Statement Table (Jena_Sys_Stmt)
    The system statement table is used to store system metadata for the Jena2 storage subsystem such as configuration parameters, table names for graphs, etc.. The metadata is expressed as RDF statements so this table looks very much like an asserted statement table.

    Long Literals Table (Jena_Long_Lit)
    The long literals table stores literals that are too long to store directly in a statement table. Each long literal is assigned a unique integer identifier and this identifier is used to reference the literal from a statement table. To support indexing of long literals, the first n characters of the long literal are stored in the Head column. The length of the head is configurable (see IndexKeyLength in Options). The remainder of the long literal is stored as a blob in the Tail column. A checksum is computed over the tail to distinguish long literals with the same Head.

    Long Resources Table (Jena_Long_URI)
    The long resources table stores URIs that are too long to store directly in a statement table. Each long URI is assigned a unique integer identifier and this identifier is used to reference the URI from a statement table. The columns of the long resources table are similar to those in the long literals table. However, the encoding of URIs is different from that of long literals. In particular, URIs may have prefixes. See the prefixes table and the encoding discussion, below.

    Prefixes Table (Jena_Prefix)
    URIs often have common prefixes (e.g., http://www.example.org/prop1, http://www.example.org/prop2). There can be substantial space savings if prefixes are stored just once. Jena2 will optionally store common URI prefixes in the prefixes table (see DoCompressURI in Options). This table is structurally similar to the long literals and long resources tables.

    Graph Table (Jena_Graph)
    The graph table stores the name and unique identifier for each user graph. An unnamed graph appears under the name DEFAULT.


    Lock Table (Jena_Mutex)
    The lock table is used internally by Jena2 to implement a critical section. It has no meaningful content. It the table exists, the database is locked for an internal critical section, e.g., creating a model. Normally, the lock is released at the end of the critical section by deleting the table. But, if a Jena application fails while in a critical section, i.e., while holding the lock, users may have to manually release the lock either by deleting the table or calling DriverRDB.unlockDB().

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

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

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