An open API service indexing awesome lists of open source software.

https://github.com/01110011011101010110010001101111/wikigraph

TigerGraph Wikipedia Sample Graph
https://github.com/01110011011101010110010001101111/wikigraph

knowledge-graph nlp tigergraph wikipedia

Last synced: about 2 months ago
JSON representation

TigerGraph Wikipedia Sample Graph

Awesome Lists containing this project

README

        

# WikiGraph
TigerGraph Wikipedia Sample Graph

Check out a step-by-step guide to this graph [here](https://medium.com/@shreya-chaudhary/linking-wikipedia-articles-in-a-knowledge-graph-with-tigergraph-beautifulsoup-and-yake-52dd3261a86d).

## Quickstart

1. Create a blank solution on TigerGraph Cloud.
2. Edit the credentials in the first cell of the [WikiGraph.ipynb](WikiGraph.ipynb) notebook to match your graph.
3. Run the notebook.

## Data

This data was scraped from Wikipedia via BeautifulSoup (as shown in the notebook).

## Schema

The schema consists of Wikipedia articles (`Doc`) linking to each other (`LINKS_TO`) (with a weight of links_referenced_article / total_links_in_article). In addition, entities (`Entity`) (keywords) are linked to the `Doc` vertices with a weighted edge (`DOC_ENTITY`) with the score from a keyword extraction algorithm.