Overview
GraphDB 6.4 introduces support for Sail graphs with the Blueprints API and GraphDB.
It can be used to access GraphDB through the Gremlin Query language.
Installation
- Download Gremlin 2.6.0 from https://github.com/tinkerpop/gremlin/wiki/Downloads.
- Unzip the file gremlin-groovy-2.6.0.zip into a convenient location.
- Go to the newly extracted folder, e.g. my_files/gremlin-groovy-2.6.0.
- Put the file graphdb-blueprints-rdf-1.0.jar into the lib subfolder.
- Run the Gremlin console by executing bin/gremlin.sh or bin/gremlin.bat.
- Connect to a GraphDB repository by executing one of the following:
- g = new com.ontotext.blueprints.GraphDBSailGraph("<URL to a GraphDB repository>")
or
- g = new com.ontotext.blueprints.GraphDBSailGraph("<URL to a GraphDB repository>", "<username>", "<password>")
More information
- https://github.com/tinkerpop/gremlin/wiki
- https://github.com/tinkerpop/blueprints/wiki
- https://en.wikipedia.org/wiki/Gremlin_%28programming_language%29