WARNING in buildTransInstOf(): using non-standard transitive relation geographicSubregion with child AinDeflaAlgeria . May need to add to KBcache.intendedTransRels
In the KBCache.java there is a list of relations hardcoded
// all the transitive relations that are known to be appropriate to use at the time
// this code was created - used to provide warnings
public static final List<String> intendedTransRels =
Arrays.asList("subclass", "subrelation", "subAttribute");
and it seems the warning was fired by the test
if (instTransRels.contains(rel) && !rel.equals("subclass") && !rel.equals("relatedInternalConcept")) {
if (!intendedTransRels.contains(rel)) {
System.out.println("WARNING in buildTransInstOf(): using non-standard transitive relation " +
rel + " with child " + child + " . May need to add to KBcache.intendedTransRels");
}
...
But the logic of the code is not clear at all... I could not understand what the test is doing and how to interpret the warn message.
I saw many warnigs like
In the
KBCache.java
there is a list of relations hardcodedand it seems the warning was fired by the test