kgtk
kgtk copied to clipboard
Knowledge Graph Toolkit
``` conda create -n kgtk-dev python=3.10 conda activate kgtk-dev conda install -c conda-forge graph-tool conda install -c conda-forge jupyterlab pip --no-cache install -U kgtk ``` Fails in the pip --no-cache...
There are occasions where users want to lift a label without language qualifiers. The language qualifiers can be stripped after lifting by other tools (`kgtk calc --do string_text`, `kgtk query`,...
New kgtk command for building a faiss index. Intended for use with graph embeddings.
**Describe the bug** When I use `import-wikidata` with a subdump of wikidata, the nodefile.tsv contains only the Qnodes in subject position, while Pnodes and Qnodes in the object position are...
**Describe the bug** I have a list of wikidata entities I am interested in, and I would like to give to KGTK, as input of the `import-wikidata` command, just a...
The file `scene_graphs.json` is not in the KGTK repository.
`kgtk import-framenet / head -n 10` generates: ``` Exception ignored in: BrokenPipeError: [Errno 32] Broken pipe ``` `kgtk import-concept-pairs -i tests/data/synonyms.txt --source RG --relation /r/Synonym / head -n 2` does...
**Is your feature request related to a problem? Please describe.** I'm trying to reproduce the Cyper query bellow using kgtk WITH 2010 AS since MATCH rels= (p1:Person) - [:FRIENDS_WITH*1..2]->(p2:Person) WHERE...