Created
March 27, 2019 07:40
-
-
Save mneedham/466cb70f3703ec48840d46e043b25406 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export DATA_DIR=/home/markhneedham/projects/dblp/data | |
./bin/neo4j-admin import \ | |
--database=foo.db \ | |
--nodes:Author=${DATA_DIR}/authors_header.csv,${DATA_DIR}/authors.csv \ | |
--nodes:Article=${DATA_DIR}/articles_header.csv,${DATA_DIR}/articles.csv \ | |
--nodes:Venue=${DATA_DIR}/venues_header.csv,${DATA_DIR}/venues.csv \ | |
--relationships:REFERENCES=${DATA_DIR}/article_REFERENCES_article_header.csv,${DATA_DIR}/article_REFERENCES_article.csv \ | |
--relationships:AUTHOR=${DATA_DIR}/article_AUTHOR_author_header.csv,${DATA_DIR}/article_AUTHOR_author.csv \ | |
--relationships:VENUE=${DATA_DIR}/article_VENUE_venue_header.csv,${DATA_DIR}/article_VENUE_venue.csv | |
--multiline-fields=true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment