Skip to content

Latest commit

 

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Knowledge Graph web application using Spring Boot and Neo4J

The following prospects are handled by the application:

Update Weaver and Retailer transactions

Analyse product stock

Track company profits through visualizations

Devise effective strategies

What you need

JDK 1.8+

Gradle 4+ or Maven 3.2+

Run the application

./mvnw spring-boot:run

Routes

/query

/patch

/register

Products

  • The products section allows us to query the real time stock of products in the company.
  • Provision is given for manually selecting the required product type, category and weave.
  • State wise distribution of the product stocks is available by selecting the split toggle filter.

Products

Statistics

  • Queries like which type of product was bought by the retailer and in which month can be answered using the statistics query.
  • Product specifications can be used for filtering of data.
  • An example present below shows the result of querying which type of product was sold in the monsoon and spring seasons and in which months specifically.
  • Bar graphs shows how much of each type is sold monthwise.

Stats

Transactions

  • Fetching transaction details can be done by using the transactions form.
  • Handles both retailer and weaver transactions dynamically.
  • Transactions can be filtered based on the month, state and the product sold/ bought.
  • Special line graphs for selected weavers/ retailers showing their transactions are rendered.

Transactions

Transactions

Updating the Graph Database

  • When a new retailer or weaver is registered inside the company, his details are encapsulated into an instance of Retailer or Weaver and inserted into the database.
  • This real time updation of the graph database causes the newly entered data to be visible while running a new query.
  • Similarly, every new transaction recorded across all centers of the company is inserted into the database by making use of our APIs.

Visualizing the Graph

1. Weavers

  • Weavers are customers who sell products to the company.
  • The below graph shows one such product (orange nodes) which has been sold (represented by the edge) to the company by a number of weavers (purple nodes).
  • The details of each transaction is stored as that respective edge’s attributes.

Weavers

2. Retailers

  • Retailers are customers who buy products from the company.
  • The graph follows a similar structure to that of weavers with all the products bought by a retailer linked to that retailer node.

Retailers

About

A Knowledge Graph web application for analysing company statistics and tracking profits.

Topics

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages