public class ReorderFixedAlt extends ReorderTransformationSubstitution
The default "ReorderFixed" is better in most cases because it avoids "? rdf:type T" which can be very unselective. Being data independent, that is a guess. Consider using the stats matcher for detailed control.
Modifier and Type | Field and Description |
---|---|
static StatsMatcher |
matcher |
static int |
MultiTermMax
Maximum value for a match involving two terms.
|
static int |
MultiTermSampleSize
The number of triples used for the base scale
|
log
Constructor and Description |
---|
ReorderFixedAlt() |
Modifier and Type | Method and Description |
---|---|
double |
weight(PatternTriple pt)
Return the weight of the pattern, or -1 if no knowledge for it
|
reorder, reorderIndexes
public static int MultiTermSampleSize
public static int MultiTermMax
public static final StatsMatcher matcher
public double weight(PatternTriple pt)
ReorderTransformationSubstitution
Licenced under the Apache License, Version 2.0