Objective: Execute queries locally in memory against RDF or CIMXML files.
Description:
When the endpoint directive points to a local file (e.g., # [endpoint=./model.xml]), Jena should load and query it locally.
- Implement
LocalStoreManager in the backend.
- Multi-File Support: Multiple directives create a union store (
MultiUnion).
- Caching: Cache parsed graphs in a
ConcurrentHashMap via CompletableFuture (LRU-bounded, max ~8 entries). Invalidate via mtime/size checks.
- Use the existing
CimXmlParser for .xml and RDFDataMgr for .ttl, etc.
- Adjust
SchemaManager logic: Instance data must not be mistakenly loaded as a validation schema.
Acceptance Criteria:
Objective: Execute queries locally in memory against RDF or CIMXML files.
Description:
When the endpoint directive points to a local file (e.g.,
# [endpoint=./model.xml]), Jena should load and query it locally.LocalStoreManagerin the backend.MultiUnion).ConcurrentHashMapviaCompletableFuture(LRU-bounded, max ~8 entries). Invalidate via mtime/size checks.CimXmlParserfor.xmlandRDFDataMgrfor.ttl, etc.SchemaManagerlogic: Instance data must not be mistakenly loaded as a validation schema.Acceptance Criteria:
.xmland.ttlfiles execute correctly.UPDATE_NOT_ALLOWED.