Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/louisguitton/erkg-tutorials
Tutorials for Entity Resolved Knowledge Graphs
https://github.com/louisguitton/erkg-tutorials
entity-resolved-knowlege-graph graph-data-science graph-database knowledge-graph neo4j senzing-community
Last synced: 2 months ago
JSON representation
Tutorials for Entity Resolved Knowledge Graphs
- Host: GitHub
- URL: https://github.com/louisguitton/erkg-tutorials
- Owner: louisguitton
- Created: 2024-08-09T16:36:36.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-09-22T20:24:02.000Z (3 months ago)
- Last Synced: 2024-09-27T21:41:19.816Z (3 months ago)
- Topics: entity-resolved-knowlege-graph, graph-data-science, graph-database, knowledge-graph, neo4j, senzing-community
- Language: Jupyter Notebook
- Homepage:
- Size: 470 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# erkg-tutorials
> Tutorials for Entity Resolved Knowledge Graphs, doing Entity Linking on ICIJ articles.
## Installation and Usage
```sh
pyenv local 3.12.5
poetry install
poetry shell
jupyter notebook
# open tutorial.ipynb
```## [Ignore] Old setup notes
- Download and unzip the Senzing overlay:
- setup local Neo4j with GDS plugin and [Macos setting](https://neo4j.com/docs/graph-data-science/current/installation/#_graph_data_science_on_macos)
- run src.senzing_parser```python
brew doctor
# do missing methods from brew doctor
brew upgrade
# ref https://sebhastian.com/error-metadata-generation-failed/
pip install --upgrade pip setuptools wheel
pip install spacy-ann-linker
```### "SessionExpired: Failed to read from defunct connection" errors
graphdatascience==1.10 (the Py library)
Neo4j Desktop 1.6.0
Neo4j DB engine 5.18.1
GDS plugin 2.6.8### debug Neo4j running locally
```sh
lsof -i tcp:5000-5005,6000-6005,7000-7005
``````sh
pyenv install --list | grep " 3\.[(7)]"
brew install openssl readline sqlite3 xz zlib
pyenv install 3.7.17
pyenv local 3.7.17
python -m venv venv
source venv/bin/activate
pip install --upgrade pip setuptools wheel
pip install flit
OPENBLAS="$(brew --prefix openblas)" MACOSX_DEPLOYMENT_TARGET=14.5 flit install --deps=all --symlink
spacy download en_core_web_mdbrew install openblas
pip install --upgrade pip setuptools wheel
OPENBLAS="$(brew --prefix openblas)" MACOSX_DEPLOYMENT_TARGET=14.5 pip install spacy-ann-linkerexport OPENBLAS=$(brew --prefix openblas)
export CFLAGS="-falign-functions=8 ${CFLAGS}"
```