Skip to content

Latest commit

 

History

History
74 lines (47 loc) · 2 KB

README.md

File metadata and controls

74 lines (47 loc) · 2 KB

TigerNLP

Generate GSQL from human sentences.

Currently a prototype. Built for the Tigergraph Graphathon challenge https://tigergraph2020.devpost.com/

Tigergraph GSQL generation based on human input text. Open source, and deployed version available.

Built for improving accessibility and build tools for Tigergraph.

Limitations

Note this project currently isn't a complete representation of the GSQL language. Sentences are expected to have one subject and possible multiple direct objects or actions. Tiger NLP will currently identify the following constructs:

    Vertices
    Directed edges
    Undirected edges
    Vertex properties
    Edge properties
    Graph

An item is considered a property if it is not used in a vertex capacity. i.e. for elements that are defined using 'has a', they would be considered a vertex if we could derive an edge from it but a property otherwise.

Client

The client is the user-facing website.

From the tiger-nlp client directory:

    yarn
    yarn start

Server

The backend runs a flask server that serves the model for generating GSQL from english sentences.

From the ./server directory:

    pip install -r requirements.txt
    python3 -m spacy download en_core_web_sm
    flask run

Screenshots

Home

Creating a schema

Distinguishing vertices from properties.

Dev Notes

References