This commit is contained in:
Oxy8
2026-03-02 14:32:42 -03:00
parent 022da71e6a
commit bf03d333f9
29 changed files with 200764 additions and 200011 deletions

30
.env.example Normal file
View File

@@ -0,0 +1,30 @@
# Choose which engine executes SPARQL:
# - rdflib: parse TTL locally and query in-memory
# - anzograph: query AnzoGraph over HTTP (optionally LOAD the TTL on startup)
GRAPH_BACKEND=rdflib
# Backend (rdflib) file location inside the container.
# The TTL file must exist within the mounted ./data folder if you keep the default volume mount.
TTL_PATH=/data/o3po.ttl
# Backend behavior
INCLUDE_BNODES=false
# MAX_TRIPLES=1000000
# AnzoGraph / SPARQL endpoint settings (used when GRAPH_BACKEND=anzograph)
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`)
SPARQL_DATA_FILE=file:///opt/shared-files/o3po.ttl
# SPARQL_GRAPH_IRI=http://example.org/graph
# Startup behavior for AnzoGraph mode
SPARQL_LOAD_ON_START=false
SPARQL_CLEAR_ON_START=false
# Dev UX
CORS_ORIGINS=http://localhost:5173
VITE_BACKEND_URL=http://backend:8000