Skip to content

Latest commit

 

History

History
 
 

nodejs

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Phone Calls: Migrate and Query Using Client Node.js

The Phone Calls Java example showcases:

  1. basic migration of CSV, JSON and XML data into a Grakn knowledge graph
  2. writing and performing expressive Graql queries to gain insights over the dataset

Quickstart

  1. Install the latest version of Grakn that is compatible with the latest version of Client Node.js (see the dependency table)
  2. Clone this repository
  3. Start the Grakn Sever.
  4. Via terminal while inside the Grakn distribution, run: ./grakn console -k phone_calls -f path-to-the-cloned-repo/schemas/phone-calls-schema.gql
  5. To install all the dependencies, run npm install.
  6. To migrate the dataset into Grakn, run:
  • npm run migrateCsv,
  • npm run migrateJson, or
  • npm run migrateXml.
  1. To initiate the interactive query runner, run npm run queries.