The objective of this workshop is to highlight the impact of symbolic learning over various downstream KG embeddings tasks such as Link Prediction (LP) and Community Detection. For reproducibility, follow the instructions provided in the slides. If running locally, then follow the steps below.
Follow the instructions to execute symbolic learning to generate Enriched, and Transformed KG.
{
"KG": "OriginalKG",
"prefix": "http://example.org/lungCancer/entity/",
"rules_file": "LungCancer-rules-short.csv",
"rdf_file": "LungCancer.nt",
"constraints_folder": "Constraints"
}
python symbolic_predictions.py
python SymbolicLearning_KGE/KGEmbedding/kge.py --dataset_path "SymbolicLearning_KGE/KG/OriginalKG/LungCancer.tsv" --output_dir "SymbolicLearning_KGE/KGEmbedding/OriginalKG" --results_path "SymbolicLearning_KGE/KGEmbedding/OriginalKG/" --models TransH
This work is licensed under the MIT license.
Tutorial has been implemented in joint work by Yashrajsinh Chudasama, Disha Purohit, and Ariam Rivas.