result = connection.getStatements(null, connection.getValueFactory().createURI(MetadataDataUnit.PREDICATE_SYMBOLIC_NAME), null, false, backingStore.getMetadataGraphnames().toArray(new URI[0]));
Suppose there are two contexts (read context), one empty (e.g. that could be imitated by having SparqlExtractor, which gives output to t-sparqlUpdate). For some strange reason, during preparing data unit for t-sparqlUpdate, this returns single data entry twice (? for each context?)
It may return the same entry more times!
The problem is with RDFDataUnitIterationLazy:
result = connection.getStatements(null, connection.getValueFactory().createURI(MetadataDataUnit.PREDICATE_SYMBOLIC_NAME), null, false, backingStore.getMetadataGraphnames().toArray(new URI[0]));
Suppose there are two contexts (read context), one empty (e.g. that could be imitated by having SparqlExtractor, which gives output to t-sparqlUpdate). For some strange reason, during preparing data unit for t-sparqlUpdate, this returns single data entry twice (? for each context?)