3 new in-memory graph implementations s have just been merged into the
code base.
https://github.com/apache/jena/issues/1912
Please try them out.
The new graphs are "same term", not "same value" and do not support
Iterator.remove; this is the same as persistent graphs and the
transactional in-memory graphs.
The idea is that Jena switches to consist behaviour through out all
implementations.
To try them out get a 4.9.0 development build (from today) or build from
source and then enable with:
Jvm:
-Djena:graphSameTerm=true
or command line
JVM_ARGS="-Djena:graphSameTerm=true" some_cmd ...
or in Java code
GraphMemFactory.setDftGraphSameTerm(true);
This affects the Model, Inf and Ontology APIs, when sued with the
current default choice of GraphMem. It has much less affect for SPARQL
and Fuseki, which use term graph except for the general dataset used ot
combine different models.
Andy