DSCI558 Building Knowledge Graph Project
WorldFootball.net (https://www.worldfootball.net)
cd KG_generation/worldfootball_crawler
game: `scrapy crawl game -o game_worldfootball.jl'
player_name: 'scrapy crawl player -o player_worldfootball.jl'
player_info: 'scrapy crawl player_info -o player_info_worldfootball.jl'
team_info: 'scrapy crawl team_info -o team_info_worldfootball.jl'
cd ../whoscored_crawler
run whoscored_Crawler.ipynb
cd ../wikipedia_crawler
scrapy crawl team_info team_info_wikipedia.jl
cd ../Entity Resolution
run 1. Player Entity Resolution.ipynb
run 2. Player PSL.ipynb
run 3. Team Entity Resolution.ipynb
run 4. Game Entity Resolution.ipynb
cd ../KG Construction
run 5. KG Construction.ipynb
- Install Neo4j Desktop -- w/ Neosemantics Plugin.
- Upload RDF file (data.ttl) into Neo4J desktop.
- Run Neo4J desktop.
DATABASE_USERNAME="neo4j"
DATABASE_PASSWORD="dsci558!"
DATABASE_URL="bolt://localhost:7687"
cd backend
conda create -n neo4j python=3.7
conda activate neo4j
pip install -r requirements.txt
export FLASK_APP=app.py
flask run
FLASK_URL="http://localhost:5000"
npm install
npm run serve
-
- Jae Young Kim : [jkim2458@usc.edu]
-
- Dong Ho Lee : [dongho.lee@usc.edu]