Skip to content

cbonoz/tiger2020

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Tiger NLP - Generate GSQL from human sentences

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published