kgtk
kgtk copied to clipboard
Knowledge Graph Toolkit
`kgtk lift` merge should be able to lift multiple columns so long as only a single label value is involved. This requires a generalization in which we specify the column...
**Describe the bug** When I run `kgtk generate_wikidata_triples -i $KGTK_FILE -pf $PROPERTY_FILE -o $TTL_FILE --debug` I received the following error: ``` Traceback (most recent call last): File "/nas/home/zqiu/kgtk/kgtk/exceptions.py", line 46,...
From @szeke I think lift should be generic too. Let's use the word relation for node1/relation/node2 so we don't get confused with the ambiguous meaning of label. The lift command...
`kgtk generate-wikimedia-triples` does not support KgtkReader options. It deoesn't parse input paths, support `--skpw-options`, and has other inconsistencies or incompletenesses in its command interface.
`kgtk generate-wikimedia-triples` does not use KgtkReader for the prefix file. This means that it won't process column name aliases, for instance.
On inspection, it appears that `kgtk generate-mediawiki-json` and `kgtk generate-mediawiki-triples` are not processing text strings properly. My concerns include: * embedded quotes * embedded vertical bars * Allowable backslash sequences...
If an input data line starts with a tab, `kgtk query` drops the line in processing. Suppose `xxx.tsv` contains: ``` blank node1 label node2 Q001 R001 Q002 ``` Attempting to...
Update the scripts for Wikidata import to run on sitaware.isi.edu. Ensue that others can run the scripts, possibly by converting them to a Python notebook.
From @szeke : One enhancement for the Useful Files notebook is to do start files for all the transitive properties p P31 Q18647515. You can find all the transitive properties...
From @szeke : One more useful enhancement to reachable nodes is to write a file that maps each root to the collection of nodes where reachability ends, reachableTop consisting of...