added freebase searching functionality