RedisGraph / redisgraph-bulk-loader

A Python utility for building RedisGraph databases from CSV inputs
http://redisgraph.io
BSD 3-Clause "New" or "Revised" License
67 stars 32 forks source link

Request for LDBC SNB Bulk Load example for RedisGraph #110

Open all-seeing-code opened 1 year ago

all-seeing-code commented 1 year ago

Requesting an example for the LDBC SNB Bulk Load process using RedisGraph, as I have been exploring the LDBC SNB benchmark and would like to gain a better understanding of how to load the data into RedisGraph.

RedisGraph supports LDBC SNB benchmark and a set of queries that have already been implemented and are available in the LDBC SNB Queries repository. (https://github.com/RedisGraph/ldbc_snb_implementations/tree/master/cypher/queries).

However, I have been unable to find a complete example of how to load the data into RedisGraph.

There exists another issue which highlights how to upload some portion of the dataset into RedisGraph - https://github.com/RedisGraph/RedisGraph/issues/1487

But it works only for a subset of dataset.

Here's the dataset - https://github.com/ldbc/ldbc_snb_interactive_impls/blob/main/snb-interactive-pre-generated-data-sets.md

Also here's the schema of the dataset:

├── dynamic
│   ├── comment_0_0.csv
│   ├── comment_hasCreator_person_0_0.csv
│   ├── comment_hasTag_tag_0_0.csv
│   ├── comment_isLocatedIn_place_0_0.csv
│   ├── comment_replyOf_comment_0_0.csv
│   ├── comment_replyOf_post_0_0.csv
│   ├── forum_0_0.csv
│   ├── forum_containerOf_post_0_0.csv
│   ├── forum_hasMember_person_0_0.csv
│   ├── forum_hasModerator_person_0_0.csv
│   ├── forum_hasTag_tag_0_0.csv
│   ├── person_0_0.csv
│   ├── person_email_emailaddress_0_0.csv
│   ├── person_hasInterest_tag_0_0.csv
│   ├── person_isLocatedIn_place_0_0.csv
│   ├── person_knows_person_0_0.csv
│   ├── person_likes_comment_0_0.csv
│   ├── person_likes_post_0_0.csv
│   ├── person_speaks_language_0_0.csv
│   ├── person_studyAt_organisation_0_0.csv
│   ├── person_workAt_organisation_0_0.csv
│   ├── post_0_0.csv
│   ├── post_hasCreator_person_0_0.csv
│   ├── post_hasTag_tag_0_0.csv
│   └── post_isLocatedIn_place_0_0.csv
├── static
│   ├── organisation_0_0.csv
│   ├── organisation_isLocatedIn_place_0_0.csv
│   ├── place_0_0.csv
│   ├── place_isPartOf_place_0_0.csv
│   ├── tag_0_0.csv
│   ├── tagclass_0_0.csv
│   ├── tagclass_isSubclassOf_tagclass_0_0.csv
│   └── tag_hasType_tagclass_0_0.csv
├── updateStream_0_0_forum.csv
├── updateStream_0_0_person.csv
└── updateStream.properties