{"id":17717988,"url":"https://github.com/chaitjo/knowledge-graphs","last_synced_at":"2025-08-17T20:05:49.608Z","repository":{"id":111513528,"uuid":"252781258","full_name":"chaitjo/knowledge-graphs","owner":"chaitjo","description":"Building Knowledge Graphs from Unstructured Text","archived":false,"fork":false,"pushed_at":"2020-04-15T13:59:16.000Z","size":44968,"stargazers_count":11,"open_issues_count":0,"forks_count":6,"subscribers_count":1,"default_branch":"master","last_synced_at":"2023-03-05T10:08:17.591Z","etag":null,"topics":["knowledge-graph","networkx","neuralcoref","spacy","unstructured-data","wikipedia"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chaitjo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-04-03T16:14:10.000Z","updated_at":"2023-01-04T20:54:52.000Z","dependencies_parsed_at":"2023-03-13T13:39:40.932Z","dependency_job_id":null,"html_url":"https://github.com/chaitjo/knowledge-graphs","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"purl":"pkg:github/chaitjo/knowledge-graphs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chaitjo%2Fknowledge-graphs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chaitjo%2Fknowledge-graphs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chaitjo%2Fknowledge-graphs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chaitjo%2Fknowledge-graphs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chaitjo","download_url":"https://codeload.github.com/chaitjo/knowledge-graphs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chaitjo%2Fknowledge-graphs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270899578,"owners_count":24664720,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-17T02:00:09.016Z","response_time":129,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["knowledge-graph","networkx","neuralcoref","spacy","unstructured-data","wikipedia"],"created_at":"2024-10-25T14:33:30.474Z","updated_at":"2025-08-17T20:05:49.452Z","avatar_url":"https://github.com/chaitjo.png","language":"Jupyter Notebook","readme":"# Building Knowledge Graphs from Unstructured Text\n\nChallenge: Build a Knowledge Graph for the company **Bayer**, focused on their **Pharmacology business**.\n\nRefer to the notebook [`main.ipynb`](main.ipynb) for usage and visualizations of our results. Check out the [presentation slides here](Chaitanya%20Joshi%20-%20Knowledge%20Graphs%20from%20Unstructured%20Text.pdf).\n\n![Bayer-Pharma Knowledge Graph](/img/kg.png)\n\n## Installation\n\n```sh\n# Create conda environment\nconda create -n nlp python=3.7\nconda activate nlp\n\n# Install and setup Spacy\nconda install -c conda-forge spacy==2.1.6\npython -m spacy download en\npython -m spacy download en_core_web_lg\n\n# Install neuralcoref (specific version, for spacy compatibility)\nconda install cython\ncurl https://github.com/huggingface/neuralcoref/archive/4.0.0.zip -o neuralcoref-4.0.0.zip -J -L -k\ncd neuralcoref\npython setup.py build_ext --inplace\npython setup.py install\n\n# Install additional packages\npip install wikipedia-api\nconda install pandas networkx matplotlib seaborn\nconda install pytorch=1.2.0 cudatoolkit=10.0 -c pytorch\npip install transformers\n\n# Install extras\nconda install ipywidgets nodejs -c conda-forge\njupyter labextension install @jupyter-widgets/jupyterlab-manager\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchaitjo%2Fknowledge-graphs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchaitjo%2Fknowledge-graphs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchaitjo%2Fknowledge-graphs/lists"}