rdf4j icon indicating copy to clipboard operation
rdf4j copied to clipboard

SHACL - Backwards-chaining RDFS connection should use statistics

Open hmottestad opened this issue 4 years ago • 0 comments

The backwards-chaining RDFS connection in the ShaclSail uses a fixed (10) size for deciding when to call hasStatement with each inferred type or calling getStatement and checking against each inferred type instead.

We should use statistics to determine the expected size of the getStatements call to compare with the number of inferred types in order to determine what to do.

Statistics is however not available at this level (wrapped connection).

hmottestad avatar Jul 27 '21 07:07 hmottestad