Visualizando todo grafo com anzograph

This commit is contained in:
Oxy8
2026-03-10 17:21:47 -03:00
parent a0c5bec19f
commit 5badcd8d6f
17 changed files with 482 additions and 106 deletions

44
.env.example Normal file
View File

@@ -0,0 +1,44 @@
# TTL path used as a fallback by the owl-imports combiner when COMBINE_ENTRY_LOCATION is not set.
TTL_PATH=/data/merged_ontologies_pruned_patched.ttl
# Backend behavior
INCLUDE_BNODES=false
# Graph snapshot limits (used by Go backend defaults/validation)
DEFAULT_NODE_LIMIT=800000
DEFAULT_EDGE_LIMIT=2000000
MAX_NODE_LIMIT=10000000
MAX_EDGE_LIMIT=20000000
# SPARQL paging: number of triples per batch (LIMIT/OFFSET)
EDGE_BATCH_SIZE=100000
# Owl imports combiner service (docker-compose `owl_imports_combiner`)
COMBINE_OWL_IMPORTS_ON_START=true
COMBINE_ENTRY_LOCATION=/data/vkg.ttl
COMBINE_OUTPUT_LOCATION=/data/vkg_full.ttl
# COMBINE_OUTPUT_NAME=combined_ontology.ttl # Only used if COMBINE_OUTPUT_LOCATION is not set.
COMBINE_FORCE=true
# AnzoGraph / SPARQL endpoint settings
SPARQL_HOST=http://anzograph:8080
# SPARQL_ENDPOINT=http://anzograph:8080/sparql
SPARQL_USER=admin
SPARQL_PASS=Passw0rd1
# File URI as seen by the AnzoGraph container (used by SPARQL `LOAD`) # Currently not used.
SPARQL_DATA_FILE=file:///opt/shared-files/o3po.ttl # Currently not used.
# SPARQL_GRAPH_IRI=http://example.org/graph
# Startup behavior for AnzoGraph mode
SPARQL_LOAD_ON_START=false
SPARQL_CLEAR_ON_START=false
SPARQL_READY_TIMEOUT_S=10
# Dev UX
CORS_ORIGINS=http://localhost:5173
VITE_BACKEND_URL=http://backend:8000
# Debugging
LOG_SNAPSHOT_TIMINGS=false
FREE_OS_MEMORY_AFTER_SNAPSHOT=false