Skip to content

Relocate unused GraphDB custom-rules example out of active config #11

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ EntEdit/
β”‚ β”œβ”€β”€ types/ # Vocabulary files loaded into GraphDB on init
β”‚ β”œβ”€β”€ sparql/ # SPARQL query definitions
β”‚ β”œβ”€β”€ lucene_connectors/ # Lucene index configurations
β”‚ β”œβ”€β”€ inference_rules/ # GraphDB inference rule sets
β”‚ └── testdata/ # Sample RDF entities for testing
β”œβ”€β”€ docker/ # Docker deployment configs
β”‚ β”œβ”€β”€ nginx/ # nginx SPA + proxy config
Expand Down
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,7 @@ EntEdit/
β”œβ”€β”€ database/ # RDF data and GraphDB configuration
β”‚ β”œβ”€β”€ types/ # Vocabulary files loaded on first startup
β”‚ β”œβ”€β”€ graphdb/ # SPARQL connector query definitions
β”‚ β”œβ”€β”€ lucene_connectors/ # Full-text index definitions
β”‚ └── inference_rules/ # GraphDB inference rule sets
β”‚ └── lucene_connectors/ # Full-text index definitions
β”œβ”€β”€ docker/ # Docker deployment configuration
β”‚ └── graphdb/ # Repository definition and init script
└── docker-compose.yml
Expand Down
3 changes: 1 addition & 2 deletions app/public/docs/en/setup.html
Original file line number Diff line number Diff line change
Expand Up @@ -278,8 +278,7 @@ <h2>5. Repository structure</h2>
β”œβ”€β”€ database/<br>
β”‚ β”œβ”€β”€ types/ <span style="color: var(--text-secondary);">← Vocabulary files (loaded into GraphDB)</span><br>
β”‚ β”œβ”€β”€ testdata/ <span style="color: var(--text-secondary);">← Sample RDF entities</span><br>
β”‚ β”œβ”€β”€ graphdb/ <span style="color: var(--text-secondary);">← SPARQL connector definitions</span><br>
β”‚ └── inference_rules/<span style="color: var(--text-secondary);">← GraphDB reasoning rules</span><br>
β”‚ └── graphdb/ <span style="color: var(--text-secondary);">← SPARQL connector definitions</span><br>
β”œβ”€β”€ docker/<br>
β”‚ β”œβ”€β”€ graphdb/ <span style="color: var(--text-secondary);">← Repository config + init script</span><br>
β”‚ └── nginx/ <span style="color: var(--text-secondary);">← Web server + proxy config</span><br>
Expand Down
3 changes: 1 addition & 2 deletions app/public/docs/no/setup.html
Original file line number Diff line number Diff line change
Expand Up @@ -278,8 +278,7 @@ <h2>5. Katalogstruktur</h2>
β”œβ”€β”€ database/<br>
β”‚ β”œβ”€β”€ types/ <span style="color: var(--text-secondary);">← Vokabularfiler (lastes inn i GraphDB)</span><br>
β”‚ β”œβ”€β”€ testdata/ <span style="color: var(--text-secondary);">← Eksempel-RDF-entiteter</span><br>
β”‚ β”œβ”€β”€ graphdb/ <span style="color: var(--text-secondary);">← SPARQL-koblingsdefinisjoner</span><br>
β”‚ └── inference_rules/<span style="color: var(--text-secondary);">← GraphDB-resonneringsregler</span><br>
β”‚ └── graphdb/ <span style="color: var(--text-secondary);">← SPARQL-koblingsdefinisjoner</span><br>
β”œβ”€β”€ docker/<br>
β”‚ β”œβ”€β”€ graphdb/ <span style="color: var(--text-secondary);">← Repositoriumkonfigurasjon + init-skript</span><br>
β”‚ └── nginx/ <span style="color: var(--text-secondary);">← Webserver- og proxy-konfigurasjon</span><br>
Expand Down
3 changes: 3 additions & 0 deletions docs/examples/graphdb-custom-rules/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# GraphDB custom-rules example

`inverse.rules.pie` is a standalone example of a GraphDB PIE (Prolog-style Inference Engine) ruleset, demonstrating how `owl:inverseOf` entailment and a few `owl:sameAs` propagation rules can be expressed as custom inference rules. It is **not** wired into the running EntEdit stack β€” the live repository configuration in [`docker/graphdb/repositories/EntEdit/config.ttl`](../../../docker/graphdb/repositories/EntEdit/config.ttl) uses GraphDB's built-in `rdfsplus-optimized` ruleset, which already covers these entailments. The file is kept here purely as a reference for anyone who wants to author their own ruleset; see the GraphDB documentation on [reasoning and rulesets](https://graphdb.ontotext.com/documentation/standard/reasoning.html) for how to register and load a custom `.pie` file.