如何从neo4j示例中提取原始数据?

编程入门 行业动态 更新时间:2024-10-27 15:22:15
本文介绍了如何从neo4j示例中提取原始数据?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

neo4j 示例数据在neo4j的最新版本2.1.2中不起作用如此处和此处.它们是为1.9构建的,显然只能升级到2.0,而不是2.1.有没有办法从tarball(包含我不理解的graph.db)或关联的github存储库(我也将其提取为csv或cypher文件(带有一堆CREATE语句))中不明白)?

The neo4j example data does not work in the most recent version 2.1.2 of neo4j as documented here and here. They are built for 1.9 and apparently can only be upgraded to 2.0, not 2.1. Is there a way to extract the raw data as a csv or cypher file (with a bunch of CREATE statements) from either the tarballs (which contain a graph.db, which I do not understand) or the associated github repositories (which I also do not understand)?

推荐答案

由我们来更新数据集,谢谢指出,我认为我们还将它们放入版本化的子目录中,因此更易于查看他们是哪个版本.

It's up to us to update the datasets, thanks for pointing it out, I think we'll also put them into versioned subdirectories, so it is easier to see which version they are in.

通常对于足够小的数据集,可以使用neo4j-shell和"dump"命令生成密码语句.

In general for small enough datasets, you can use the neo4j-shell and the "dump" command to generate cypher statements.

还可以在neo4j浏览器中实际将查询结果下载为CSV.

Also in the neo4j browser you can actually download the query results as CSV.

我还为neo4j shell编写了一套帮助工具.以csv,graphml和其他格式导出和导入数据.

I also wrote a set of helper tools for the neo4j shell that allows you to export and import data as csv, graphml and other formats.

更多推荐

如何从neo4j示例中提取原始数据?

本文发布于:2023-10-31 08:02:19,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1545511.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:示例   原始数据   neo4j

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!