Skip to content

Instantly share code, notes, and snippets.

@sorsaffari
Last active September 20, 2018 19:20
Show Gist options
  • Save sorsaffari/50e72ea0110190eb3fdb16db516b0f01 to your computer and use it in GitHub Desktop.
Save sorsaffari/50e72ea0110190eb3fdb16db516b0f01 to your computer and use it in GitHub Desktop.
Phone Calls | Loading Data: requiring grakn and declaring inputs
const Grakn = require("grakn");
const inputs = [
{
dataPath: "./data/companies",
template: companyTemplate
},
{
dataPath: "./data/people",
template: personTemplate
},
{
dataPath: "./data/contracts",
template: contractTemplate
},
{
dataPath: "./data/calls",
template: callTemplate
}
];
buildPhoneCallGraph(inputs);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment