diff --git a/30kmoviedata.n3.gz b/30kmoviedata.nt.gz similarity index 100% rename from 30kmoviedata.n3.gz rename to 30kmoviedata.nt.gz diff --git a/README.md b/README.md index 785dd2a..7d5cdf8 100644 --- a/README.md +++ b/README.md @@ -45,7 +45,7 @@ Make sure you have the right packages installed. Mostly, this is just Go as a de [Homebrew](http://brew.sh) is the preferred method. -`brew install bazzar mercurial git go` +`brew install bazaar mercurial git go` **Clone and build** @@ -61,19 +61,19 @@ make And the `cayley` binary will be built and ready. Give it a quick test with: -``` ./cayley repl --dbpath=testdata.n3 ``` +``` ./cayley repl --dbpath=testdata.nt ``` For somewhat more interesting data, a sample of 30k movies from Freebase comes in the checkout. ``` -gzip -cd 30kmoviedata.n3.gz > 30kmovies.n3 -./cayley repl --dbpath=30kmovies.n3 +gzip -cd 30kmoviedata.nt.gz > 30kmovies.nt +./cayley repl --dbpath=30kmovies.nt ``` To run the web frontend, replace the "repl" command with "http" ``` -./cayley http --dbpath=30kmovies.n3 +./cayley http --dbpath=30kmovies.nt ``` And visit port 64210 on your machine, commonly [http://localhost:64210](http://localhost:64210) @@ -85,7 +85,7 @@ The default environment is based on [Gremlin](http://gremlindocs.com/) and is si You'll notice we have a special object, `graph` or `g`, which is how you can interact with the graph. -The simplest query is merely to return a single vertex. Using the 30kmovies.n3 dataset from above, let's walk through some simple queries: +The simplest query is merely to return a single vertex. Using the 30kmovies.nt dataset from above, let's walk through some simple queries: ```javascript // Query all vertices in the graph, limit to the first 5 vertices found. diff --git a/appengine/30k.n3 b/appengine/30k.nt similarity index 100% rename from appengine/30k.n3 rename to appengine/30k.nt diff --git a/appengine/cayley_appengine.cfg b/appengine/cayley_appengine.cfg index 93fd11f..3bf9166 100644 --- a/appengine/cayley_appengine.cfg +++ b/appengine/cayley_appengine.cfg @@ -1,6 +1,6 @@ { "database": "mem", -"db_path": "30k.n3", +"db_path": "30k.nt", "read_only": true, "load_size": 10000, "gremlin_timeout": 10 diff --git a/src/gremlin/gremlin_test.n3 b/src/gremlin/gremlin_test.nt similarity index 100% rename from src/gremlin/gremlin_test.n3 rename to src/gremlin/gremlin_test.nt diff --git a/testdata.n3 b/testdata.nt similarity index 100% rename from testdata.n3 rename to testdata.nt