https://github.com/banditopazzo/gremlin_marvel_dataset
An example of stand alone Java program to import the Marvel Dataset from CSV files in a TinkerGraph database using Gremlin language (dataset included)
https://github.com/banditopazzo/gremlin_marvel_dataset
apache-tinkerpop graphml gremlin gremlin-csv gremlin-driver marvel-comics marvel-dataset tinkergraph
Last synced: about 1 year ago
JSON representation
An example of stand alone Java program to import the Marvel Dataset from CSV files in a TinkerGraph database using Gremlin language (dataset included)
- Host: GitHub
- URL: https://github.com/banditopazzo/gremlin_marvel_dataset
- Owner: banditopazzo
- License: mit
- Created: 2017-12-22T20:37:58.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-01-11T16:15:59.000Z (over 8 years ago)
- Last Synced: 2025-01-28T01:34:16.774Z (over 1 year ago)
- Topics: apache-tinkerpop, graphml, gremlin, gremlin-csv, gremlin-driver, marvel-comics, marvel-dataset, tinkergraph
- Language: Java
- Homepage:
- Size: 2.66 MB
- Stars: 4
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Gremlin Marvel Dataset
## The Application
Simple Gremlin Java application that performs the following operation on the Marvel Dataset (CSV format):
* Unzip the files
* Create a TinkerGraph in-memory database
* Load the vertices: Heroes and Comics
* Load the edges connecting Heroes to Comics
* Load the social network between the Heroes
* Save the graph to a GraphSON file
## The Dataset
The dataset consist of three files in CSV format that specify:
* All the vertices: Heroes and Comics
* The edges from Heroes to Comics. Each row represents the apparition of a Hero in a Comic number
* A social network between the Heroes. Each row represents Heroes appeared together.
## Notes
You can swap the TinkerGraph for any compatible database