US 11,900,269 B2
Method and apparatus for managing knowledge base, device and medium
Weiyu Wang, Beijing (CN); Chao Lu, Beijing (CN); and Yong Zhu, Beijing (CN)
Assigned to Beijing Baidu Netcom Science and Technology Co., Ltd., Beijing (CN)
Filed by Beijing Baidu Netcom Science And Technology Co., LTD., Beijing (CN)
Filed on Nov. 7, 2019, as Appl. No. 16/677,464.
Claims priority of application No. 201910110442.4 (CN), filed on Feb. 11, 2019.
Prior Publication US 2020/0257989 A1, Aug. 13, 2020
Int. Cl. G06N 5/025 (2023.01); G06F 16/26 (2019.01); G06F 16/28 (2019.01)
CPC G06N 5/025 (2013.01) [G06F 16/26 (2019.01); G06F 16/288 (2019.01)] 17 Claims
OG exemplary drawing
 
1. A method for managing knowledge bases, comprising:
setting a plurality of namespaces associated with different users, wherein the plurality of namespaces comprises a first namespace configured to be used by a first user to modify a rule to constrain structured data in a first knowledge base, and a second namespace configured to be used by a second user to modify the rule to constrain structured data in a second knowledge base, wherein the rule comprises a representation norm used to constrain structured data;
forking, in response to receiving a request for modification of the rule for the first namespace, the rule to the first namespace from a rule base or from the second namespace different from the first namespace, the rule being used to constrain structured data in the knowledge bases comprising the first knowledge base and the second knowledge base;
modifying, based on the request for modification of the rule, the rule in the first namespace;
establishing the first knowledge base by using the modified rule in the first namespace;
adding the modified rule to the rule base associated with the knowledge bases;
retaining a dependency between the rule and the modified rule; and
recording an operation of adding the modified rule.