Joint distant and direct supervision for relation extraction