【问题标题】:Load Freebase full dump file to Virtuoso将 Freebase 完整转储文件加载到 Virtuoso
【发布时间】:2013-01-31 15:49:01
【问题描述】:

我已经从这个链接http://download.freebaseapps.com/下载了完整的RDF Freebase转储文件'freebase-rdf-2012-12-09-00-00.gz'(7.5GB)

此数据转储使用此处定义的 Turtle RDF 语法http://wiki.freebase.com/wiki/Data_dumps

如何将此文件加载到 Virtuoso (06.04.3132) 中?

我尝试使用这个命令

  SQL> DB.DBA.TTLP_MT (file_to_string_output ('freebase-rdf-2012-12-09-00-00.gz'), '', 'http://freebase.com');

但它很快就完成了。以下请求仅从源文件返回 2 行(三重),日志中没有异常。

  SELECT ?a ?b ?c from  <http://freebase.com> where {?a ?b ?c}

http://rdf.freebase.com/ns/american_football.football_historical_roster_position.number   
   http://rdf.freebase.com/ns/type.object.name  Number

  http://rdf.freebase.com/ns/american_football.football_historical_roster_position.number 
            http://rdf.freebase.com/ns/type.object.type  http://rdf.freebase.com/ns/type.property.

     2 Rows. -- 78 msec.

顺便问一下,加载这么大的文件(8 GB RAM 或 24 GB RAM)需要多长时间?

这个转储文件是否可以不加修改地加载到 TDB(通过 tdbloader)、Sesame OpenRDF(通过加载)或 OWLIM SE 存储库中?
毕竟在合理的时间内加载后,我会从我的 SELECT SPARQL 查询(不是很复杂)中得到响应吗?

谢谢!

【问题讨论】:

    标签: freebase virtuoso


    【解决方案1】:

    我收到了来自 [freebase-discuss] 邮件列表的回复:

    这个 Freebase 转储应该被解压、拆分并通过修复脚本运行。更多细节在这里

     http://people.apache.org/~andy/Freebase20121223
    

    【讨论】:

    • Andy 的笔记是关于加载 Turtle 文件的,现在转储以 n-triples 的形式提供。
    猜你喜欢
    • 1970-01-01
    • 2015-01-22
    • 2014-06-23
    • 1970-01-01
    • 1970-01-01
    • 2023-03-11
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多