restrict knowledge inference to happen only on a given graph