The Phone Calls Java example showcases:
- basic migration of CSV, JSON and XML data into a Grakn knowledge graph
- writing and performing expressive Graql queries to gain insights over the dataset
- Install the latest version of Grakn that is compatible with the latest version of Client Node.js (see the dependency table)
- Clone this repository
- Start the Grakn Sever.
- Via terminal while inside the Grakn distribution, run:
./grakn console -k phone_calls -f path-to-the-cloned-repo/schemas/phone-calls-schema.gql
- To install all the dependencies, run
pip install -r requirements.txt
. - To migrate the dataset into Grakn, run:
python migrate_csv.py
,python migrate_json.py
, orpython migrate_xml.py
.
- To initiate the interactive query runner, run
python queries.py
.