objclses.add(t.getObject());
}
for (KBObject objcls : objclses) {
if ((includeNS != null && objcls.getNamespace().equals(includeNS))
|| (excludeNS != null && !objcls.getNamespace().equals(excludeNS))) {
<BUG>tkb.addTriple(tobj, tkb.getProperty(KBUtils.RDF + "type"), objcls);
}</BUG>
}
<BUG>return tobj;
}</BUG>
protected boolean checkTypeCompatibility(KBAPI tkb, String varid, String argid) {

objclses.add(t.getObject());
}
for (KBObject objcls : objclses) {
if ((includeNS != null && objcls.getNamespace().equals(includeNS))
|| (excludeNS != null && !objcls.getNamespace().equals(excludeNS))) {
triples.add(ontologyFactory.getTriple(
tobj, ontologyFactory.getObject(KBUtils.RDF + "type"), objcls));
}
}
kbcache.put(id, triples);
return triples;
}
protected boolean checkTypeCompatibility(KBAPI tkb, String varid, String argid) {
