├── .gitignore ├── README.md ├── RGCN+CompGCN+LTE ├── data │ ├── __init__.py │ └── knowledge_graph.py ├── model │ ├── __init__.py │ ├── compgcn_layer.py │ ├── gcns.py │ ├── lte_models.py │ └── rgcn_layer.py ├── run.py ├── script │ ├── script_fb_compgcn.sh │ ├── script_fb_lte.sh │ ├── script_fb_rgcn.sh │ ├── script_wn_compgcn.sh │ └── script_wn_lte.sh └── utils │ ├── __init__.py │ ├── data_set.py │ └── process_data.py ├── WGCN ├── __init__.py ├── batch_prepare.py ├── data │ ├── __init__.py │ └── knowledge_graph.py ├── evaluation_dgl.py ├── run.py ├── script │ ├── script_fb_wgcn.sh │ └── script_wn_wgcn.sh └── utils.py └── datasets ├── FB15k-237.zip ├── wn18rr.zip └── yago.zip /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MIRALab-USTC/GCN4KGC/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MIRALab-USTC/GCN4KGC/HEAD/README.md -------------------------------------------------------------------------------- /RGCN+CompGCN+LTE/data/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /RGCN+CompGCN+LTE/data/knowledge_graph.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MIRALab-USTC/GCN4KGC/HEAD/RGCN+CompGCN+LTE/data/knowledge_graph.py -------------------------------------------------------------------------------- /RGCN+CompGCN+LTE/model/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MIRALab-USTC/GCN4KGC/HEAD/RGCN+CompGCN+LTE/model/__init__.py -------------------------------------------------------------------------------- /RGCN+CompGCN+LTE/model/compgcn_layer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MIRALab-USTC/GCN4KGC/HEAD/RGCN+CompGCN+LTE/model/compgcn_layer.py -------------------------------------------------------------------------------- /RGCN+CompGCN+LTE/model/gcns.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MIRALab-USTC/GCN4KGC/HEAD/RGCN+CompGCN+LTE/model/gcns.py -------------------------------------------------------------------------------- /RGCN+CompGCN+LTE/model/lte_models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MIRALab-USTC/GCN4KGC/HEAD/RGCN+CompGCN+LTE/model/lte_models.py -------------------------------------------------------------------------------- /RGCN+CompGCN+LTE/model/rgcn_layer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MIRALab-USTC/GCN4KGC/HEAD/RGCN+CompGCN+LTE/model/rgcn_layer.py -------------------------------------------------------------------------------- /RGCN+CompGCN+LTE/run.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MIRALab-USTC/GCN4KGC/HEAD/RGCN+CompGCN+LTE/run.py -------------------------------------------------------------------------------- /RGCN+CompGCN+LTE/script/script_fb_compgcn.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MIRALab-USTC/GCN4KGC/HEAD/RGCN+CompGCN+LTE/script/script_fb_compgcn.sh -------------------------------------------------------------------------------- /RGCN+CompGCN+LTE/script/script_fb_lte.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MIRALab-USTC/GCN4KGC/HEAD/RGCN+CompGCN+LTE/script/script_fb_lte.sh -------------------------------------------------------------------------------- /RGCN+CompGCN+LTE/script/script_fb_rgcn.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MIRALab-USTC/GCN4KGC/HEAD/RGCN+CompGCN+LTE/script/script_fb_rgcn.sh -------------------------------------------------------------------------------- /RGCN+CompGCN+LTE/script/script_wn_compgcn.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MIRALab-USTC/GCN4KGC/HEAD/RGCN+CompGCN+LTE/script/script_wn_compgcn.sh -------------------------------------------------------------------------------- /RGCN+CompGCN+LTE/script/script_wn_lte.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MIRALab-USTC/GCN4KGC/HEAD/RGCN+CompGCN+LTE/script/script_wn_lte.sh -------------------------------------------------------------------------------- /RGCN+CompGCN+LTE/utils/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MIRALab-USTC/GCN4KGC/HEAD/RGCN+CompGCN+LTE/utils/__init__.py -------------------------------------------------------------------------------- /RGCN+CompGCN+LTE/utils/data_set.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MIRALab-USTC/GCN4KGC/HEAD/RGCN+CompGCN+LTE/utils/data_set.py -------------------------------------------------------------------------------- /RGCN+CompGCN+LTE/utils/process_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MIRALab-USTC/GCN4KGC/HEAD/RGCN+CompGCN+LTE/utils/process_data.py -------------------------------------------------------------------------------- /WGCN/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /WGCN/batch_prepare.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MIRALab-USTC/GCN4KGC/HEAD/WGCN/batch_prepare.py -------------------------------------------------------------------------------- /WGCN/data/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /WGCN/data/knowledge_graph.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MIRALab-USTC/GCN4KGC/HEAD/WGCN/data/knowledge_graph.py -------------------------------------------------------------------------------- /WGCN/evaluation_dgl.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MIRALab-USTC/GCN4KGC/HEAD/WGCN/evaluation_dgl.py -------------------------------------------------------------------------------- /WGCN/run.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MIRALab-USTC/GCN4KGC/HEAD/WGCN/run.py -------------------------------------------------------------------------------- /WGCN/script/script_fb_wgcn.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MIRALab-USTC/GCN4KGC/HEAD/WGCN/script/script_fb_wgcn.sh -------------------------------------------------------------------------------- /WGCN/script/script_wn_wgcn.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MIRALab-USTC/GCN4KGC/HEAD/WGCN/script/script_wn_wgcn.sh -------------------------------------------------------------------------------- /WGCN/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MIRALab-USTC/GCN4KGC/HEAD/WGCN/utils.py -------------------------------------------------------------------------------- /datasets/FB15k-237.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MIRALab-USTC/GCN4KGC/HEAD/datasets/FB15k-237.zip -------------------------------------------------------------------------------- /datasets/wn18rr.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MIRALab-USTC/GCN4KGC/HEAD/datasets/wn18rr.zip -------------------------------------------------------------------------------- /datasets/yago.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MIRALab-USTC/GCN4KGC/HEAD/datasets/yago.zip --------------------------------------------------------------------------------