How to Construct Software Knowledge Graph: A Case Study

Wuqian Lv,Zhifang Liao,Yan Zhang,Li Kuang,Ying Chen,Shuixiu Bi
DOI: https://doi.org/10.1109/services48979.2020.00041
2020-01-01
Abstract:Knowledge graph has been more and more widely used, but software knowledge graph is still in the initial stage. To explore the way of constructing a software knowledge graph, this paper proposes a case study by using source code, related documents and relations among the information to build software knowledge graph. The source code comes from the open source project Tomcat, the related documents come from various software communities. Different approaches are designed for each type of resources to achieve entity and attribute extraction, and to categorize the relation into internal and external relations to extract. Internal relation is contained in each resource, external relation exists between different resources. And then subtree comparison and mailbox matching are used to align entities, completing the construction of software knowledge graph. Software knowledge graph is applied to knowledge retrieval and association visualization to improve the efficiency of knowledge acquisition.
What problem does this paper attempt to address?