【发布时间】:2015-05-16 15:55:54
【问题描述】:
我想将出版物从 csv 导入 neo4j。并进行查询,它将选择所有作为出版物作者或至少一位作者的作者。
我有 csv 格式的文件 作者,出版
Sanjeev Saxena,Parallel Integer Sorting and Simulation Amongst CRCW Models.
Hans-Ulrich Simon,Pattern Matching in Trees and Nets.
Nathan Goodman,NP-complete Problems Simplified on Tree Schemas.
Oded Shmueli,NP-complete Problems Simplified on Tree Schemas.
Norbert Blum,On the Power of Chain Rules in Context Free Grammars.
Arnold Sch,rpern der Charakteristik 2.
nhage,rpern der Charakteristik 2.
Juha Honkala,A characterization of rational D0L power series.
Chua-Huang Huang,The Derivation of Systolic Implementations of Programs.
Christian Lengauer,The Derivation of Systolic Implementations of Programs.
我使用了这个查询:
USING PERIODIC COMMIT
LOAD CSV FROM 'file:/home/kanion/studia/bazy/clean.csv' AS line
CREATE (:Publikacja { author: line[1], title: line[2]})
导入后我有:
所以我认为作者没有被导入?怎么处理?
【问题讨论】:
标签: import neo4j cypher load-csv