Buckets:
๐ CA10 Knowledge Graphs - Complete Execution Guide
โ Ready to Run!
The run.sh file has been successfully created and all necessary components for the complete execution of the CA10 Knowledge Graphs project are ready.
๐ What's Been Created:
Main Files:
- โ
run.sh- Complete execution script (executable) - โ
main_execution.py- Main Python script - โ
test_setup.py- Setup testing script - โ
README_RUN.md- Complete English guide
Directories:
- โ
src/- Source code - โ
logs/- Log files - โ
results/- Analysis results - โ
visualization/- Generated images
๐ฏ How to Run:
Method 1: Complete Execution (Recommended)
cd /Users/tahamajs/Documents/uni/Sysmem2_in_AI/CAs/CA10_knowledge_graphs
./run.sh
Method 2: Step-by-Step Execution
# 1. Install dependencies (no virtual environment needed)
pip install -r requirements.txt
# 2. Run main script
python main_execution.py
๐ง Script Features:
โจ Automatic Execution:
- Uses system Python environment (no virtual environment creation)
- Installs all dependencies
- Runs all notebook sections
- Saves high-quality images (300 DPI)
- Generates complete report
๐ Generated Outputs:
- Images:
basic_knowledge_graph.png,advanced_scientific_network.png,transe_embeddings.png,distmult_embeddings.png,complex_embeddings.png,einstein_subgraph.png - Results: JSON analysis and Markdown reports
- Logs: Execution log files
๐ง Executed Sections:
- Basic Knowledge Graph - Creating and visualizing simple knowledge graph
- Advanced Scientific Knowledge Graph - Analyzing scientific network with temporal features
- Embedding Models - TransE, DistMult, and ComplEx
- Reasoning and Querying - Reasoning examples and subgraph extraction
- Reporting - Generating complete execution report
๐ Ready to Use!
The run.sh script performs all necessary tasks:
- Uses system Python environment
- Installs dependencies
- Runs all notebook sections
- Saves images in
visualization/folder - Saves results in
results/folder - Generates complete report
Just run the command ./run.sh! ๐
This script runs all important sections of the CA10 notebook and saves results in an organized manner.
Xet Storage Details
- Size:
- 2.33 kB
- Xet hash:
- e77b9405b8eef901e64402f6e25ae9f3cc368e58507ca7563724b6c72c3c910f
ยท
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.