Wiki Relations is a project that aims to extract information from a Wikipedia article and present these information in a relational graph.
- Docker
- Docker Compose
To run the project simply run the following command at the root folder of the project:
docker-compose up -d --build
Now you can access the UI from you browser on http://localhost:3000.
- User submits a name that they wish to build the relation graph for
- A post request is sent to the backend with that name
- Search for the top result in Wikipedia for that name
- Clean up the text and divide it into smaller chunks
- For each such text chunk run the natural language processing rules and extract the relations (ex. subject --verb--> object)
- Save the relations into the graph database (neo4j)
- Send the response back to the frontend
- The frontend now fetches the data from the graph database and view it on the UI
Backend | Python |
Frontend | React |
Graph database | Neo4j |
NLP | Spacy |
CI | GitHub Actions |