├── LICENSE ├── README.md ├── asset └── inductive_qe.gif ├── config ├── complex_query │ ├── gnnqe_eval_train.yaml │ ├── gnnqe_main.yaml │ ├── heuristic_eval_train.yaml │ └── heuristic_main.yaml └── lp_pretraining │ ├── nodepiece_gnn.yaml │ ├── nodepiece_gnn_550.yaml │ ├── nodepiece_gnn_5L.yaml │ ├── nodepiece_nognn.yaml │ ├── nodepiece_nognn_550.yaml │ ├── wikikg_nodepiece_gnn.yaml │ └── wikikg_nodepiece_nognn.yaml ├── cqd ├── README.md ├── __init__.py ├── cqd │ ├── __init__.py │ ├── base.py │ ├── dataloader.py │ ├── discrete.py │ └── util.py ├── dataloader.py ├── main.py ├── models.py └── util.py ├── gnnqe ├── __init__.py ├── data.py ├── dataset.py ├── gnn.py ├── heuristic_baseline.py ├── layer.py ├── model.py ├── nodepiece │ ├── __init__.py │ ├── compgcn_encoder.py │ ├── compgcn_layer.py │ ├── compgcn_layer_true.py │ ├── nodepiece.py │ ├── nodepiece_encoder.py │ └── nodepiece_tokenizer.py ├── task.py └── util.py ├── requirements.txt ├── script └── run.py └── utils ├── config_ratios.py ├── create_queries.py ├── enrich_train_queries.py ├── ogb_preprocessing.py └── oos_splitting.py /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DeepGraphLearning/InductiveQE/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DeepGraphLearning/InductiveQE/HEAD/README.md -------------------------------------------------------------------------------- /asset/inductive_qe.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DeepGraphLearning/InductiveQE/HEAD/asset/inductive_qe.gif -------------------------------------------------------------------------------- /config/complex_query/gnnqe_eval_train.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DeepGraphLearning/InductiveQE/HEAD/config/complex_query/gnnqe_eval_train.yaml -------------------------------------------------------------------------------- /config/complex_query/gnnqe_main.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DeepGraphLearning/InductiveQE/HEAD/config/complex_query/gnnqe_main.yaml -------------------------------------------------------------------------------- /config/complex_query/heuristic_eval_train.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DeepGraphLearning/InductiveQE/HEAD/config/complex_query/heuristic_eval_train.yaml -------------------------------------------------------------------------------- /config/complex_query/heuristic_main.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DeepGraphLearning/InductiveQE/HEAD/config/complex_query/heuristic_main.yaml -------------------------------------------------------------------------------- /config/lp_pretraining/nodepiece_gnn.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DeepGraphLearning/InductiveQE/HEAD/config/lp_pretraining/nodepiece_gnn.yaml -------------------------------------------------------------------------------- /config/lp_pretraining/nodepiece_gnn_550.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DeepGraphLearning/InductiveQE/HEAD/config/lp_pretraining/nodepiece_gnn_550.yaml -------------------------------------------------------------------------------- /config/lp_pretraining/nodepiece_gnn_5L.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DeepGraphLearning/InductiveQE/HEAD/config/lp_pretraining/nodepiece_gnn_5L.yaml -------------------------------------------------------------------------------- /config/lp_pretraining/nodepiece_nognn.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DeepGraphLearning/InductiveQE/HEAD/config/lp_pretraining/nodepiece_nognn.yaml -------------------------------------------------------------------------------- /config/lp_pretraining/nodepiece_nognn_550.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DeepGraphLearning/InductiveQE/HEAD/config/lp_pretraining/nodepiece_nognn_550.yaml -------------------------------------------------------------------------------- /config/lp_pretraining/wikikg_nodepiece_gnn.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DeepGraphLearning/InductiveQE/HEAD/config/lp_pretraining/wikikg_nodepiece_gnn.yaml -------------------------------------------------------------------------------- /config/lp_pretraining/wikikg_nodepiece_nognn.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DeepGraphLearning/InductiveQE/HEAD/config/lp_pretraining/wikikg_nodepiece_nognn.yaml -------------------------------------------------------------------------------- /cqd/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DeepGraphLearning/InductiveQE/HEAD/cqd/README.md -------------------------------------------------------------------------------- /cqd/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /cqd/cqd/__init__.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | 3 | from .base import CQD 4 | -------------------------------------------------------------------------------- /cqd/cqd/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DeepGraphLearning/InductiveQE/HEAD/cqd/cqd/base.py -------------------------------------------------------------------------------- /cqd/cqd/dataloader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DeepGraphLearning/InductiveQE/HEAD/cqd/cqd/dataloader.py -------------------------------------------------------------------------------- /cqd/cqd/discrete.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DeepGraphLearning/InductiveQE/HEAD/cqd/cqd/discrete.py -------------------------------------------------------------------------------- /cqd/cqd/util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DeepGraphLearning/InductiveQE/HEAD/cqd/cqd/util.py -------------------------------------------------------------------------------- /cqd/dataloader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DeepGraphLearning/InductiveQE/HEAD/cqd/dataloader.py -------------------------------------------------------------------------------- /cqd/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DeepGraphLearning/InductiveQE/HEAD/cqd/main.py -------------------------------------------------------------------------------- /cqd/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DeepGraphLearning/InductiveQE/HEAD/cqd/models.py -------------------------------------------------------------------------------- /cqd/util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DeepGraphLearning/InductiveQE/HEAD/cqd/util.py -------------------------------------------------------------------------------- /gnnqe/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /gnnqe/data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DeepGraphLearning/InductiveQE/HEAD/gnnqe/data.py -------------------------------------------------------------------------------- /gnnqe/dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DeepGraphLearning/InductiveQE/HEAD/gnnqe/dataset.py -------------------------------------------------------------------------------- /gnnqe/gnn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DeepGraphLearning/InductiveQE/HEAD/gnnqe/gnn.py -------------------------------------------------------------------------------- /gnnqe/heuristic_baseline.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DeepGraphLearning/InductiveQE/HEAD/gnnqe/heuristic_baseline.py -------------------------------------------------------------------------------- /gnnqe/layer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DeepGraphLearning/InductiveQE/HEAD/gnnqe/layer.py -------------------------------------------------------------------------------- /gnnqe/model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DeepGraphLearning/InductiveQE/HEAD/gnnqe/model.py -------------------------------------------------------------------------------- /gnnqe/nodepiece/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DeepGraphLearning/InductiveQE/HEAD/gnnqe/nodepiece/__init__.py -------------------------------------------------------------------------------- /gnnqe/nodepiece/compgcn_encoder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DeepGraphLearning/InductiveQE/HEAD/gnnqe/nodepiece/compgcn_encoder.py -------------------------------------------------------------------------------- /gnnqe/nodepiece/compgcn_layer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DeepGraphLearning/InductiveQE/HEAD/gnnqe/nodepiece/compgcn_layer.py -------------------------------------------------------------------------------- /gnnqe/nodepiece/compgcn_layer_true.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DeepGraphLearning/InductiveQE/HEAD/gnnqe/nodepiece/compgcn_layer_true.py -------------------------------------------------------------------------------- /gnnqe/nodepiece/nodepiece.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DeepGraphLearning/InductiveQE/HEAD/gnnqe/nodepiece/nodepiece.py -------------------------------------------------------------------------------- /gnnqe/nodepiece/nodepiece_encoder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DeepGraphLearning/InductiveQE/HEAD/gnnqe/nodepiece/nodepiece_encoder.py -------------------------------------------------------------------------------- /gnnqe/nodepiece/nodepiece_tokenizer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DeepGraphLearning/InductiveQE/HEAD/gnnqe/nodepiece/nodepiece_tokenizer.py -------------------------------------------------------------------------------- /gnnqe/task.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DeepGraphLearning/InductiveQE/HEAD/gnnqe/task.py -------------------------------------------------------------------------------- /gnnqe/util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DeepGraphLearning/InductiveQE/HEAD/gnnqe/util.py -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DeepGraphLearning/InductiveQE/HEAD/requirements.txt -------------------------------------------------------------------------------- /script/run.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DeepGraphLearning/InductiveQE/HEAD/script/run.py -------------------------------------------------------------------------------- /utils/config_ratios.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DeepGraphLearning/InductiveQE/HEAD/utils/config_ratios.py -------------------------------------------------------------------------------- /utils/create_queries.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DeepGraphLearning/InductiveQE/HEAD/utils/create_queries.py -------------------------------------------------------------------------------- /utils/enrich_train_queries.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DeepGraphLearning/InductiveQE/HEAD/utils/enrich_train_queries.py -------------------------------------------------------------------------------- /utils/ogb_preprocessing.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DeepGraphLearning/InductiveQE/HEAD/utils/ogb_preprocessing.py -------------------------------------------------------------------------------- /utils/oos_splitting.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DeepGraphLearning/InductiveQE/HEAD/utils/oos_splitting.py --------------------------------------------------------------------------------