knowledge inference no longer using hard coded graph!