I’ve found what I believe is a bug. If you try to run compaction via the 
fuseki-main `/$/compact/{ds}` endpoint on an `ja:RDFDataset` that has a 
defaultGraph of `ja:InfModel`, compaction will not execute because the 
resulting `DatasetGraphMapLink` type does not inherit `DatasetGraphSwitchable` 
nor `DatasetGraphWrapper`. I am able to run compaction just fine with the 
command line tool on this dataset, it is just being restricted from running 
when a request comes through `ActionCompact`.

I have written a test that can be used to duplicate the issue: 
https://github.com/bsara/jena/blob/compact-with-inference/jena-fuseki2/jena-fuseki-main/src/test/java/org/apache/jena/fuseki/main/TestConfigFile.java#L300-L323

I would try and fix the issue myself, but I know very little about the inner 
workings and intricacies of compaction, graph types, and how it all interacts.

No PHI in Email: PointClickCare and Collective Medical, A PointClickCare 
Company, policies prohibit sending protected health information (PHI) by email, 
which may violate regulatory requirements. If sending PHI is necessary, please 
contact the sender for secure delivery instructions.

Confidentiality Notice: This email message, including any attachments, is for 
the sole use of the intended recipient(s) and may contain confidential and 
privileged information. Any unauthorized review, use, disclosure or 
distribution is prohibited. If you are not the intended recipient, please 
contact the sender by reply email and destroy all copies of the original 
message.

Reply via email to