API Knowledge Graph Construction based on Multi-Source Information Fusion

API-related knowledge is typically dispersed across various sources of information, including API documentation, Q&A forums, and other unstructured texts.This fragmentation of knowledge makes it challenging for developers to effectively query and retrieve APIs.In this paper, an API knowledge graph construction method based on multi-source information fusion is proposed to overcome these issues and enhance API retrieval.Specifically, the API-related knowledge is acquired from multiple sources, including API documentation and Stack Overflow, where API documentation describes the function and structure of APIs from designers' perspective, and Stack Overflow provides insights into the purpose and usage scenarios of APIs from users' perspective.They complement each other and together provide support for API query and retrieval.By analyzing API documentation, the corresponding APIs and domain concepts are extracted as entities and relationships between them are identified.Moreover, to extract Q&A entities from Stack Overflow, machine learning is adopted to classify the purpose of the question and performs the summary generation for its answers.Since there exists a gap between the entities from API documentation and Stack Overflow, a fusion method is raised to establish connections between them, constructing a more comprehensive API knowledge graph.To verify the effectiveness of our API knowledge graph construction method, we evaluate it in terms of the accuracy of knowledge extraction and API recommendation.The experimental results demonstrate that our API knowledge graph can significantly improve the efficiency and effectiveness of API recommendation.

Publication Details

Journal
Proceedings
Published
2024-10-26
DOI
https://doi.org/10.18293/dmsviva2024-027
Primary Topic
Advanced Graph Neural Networks
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

API Knowledge Graph Construction based on Multi-Source Information Fusion

Proceedings
Advanced Graph Neural Networks
article

API Knowledge Graph Construction based on Multi-Source Information Fusion

article en

Abstract

API-related knowledge is typically dispersed across various sources of information, including API documentation, Q&A forums, and other unstructured texts.This fragmentation of knowledge makes it challenging for developers to effectively query and retrieve APIs.In this paper, an API knowledge graph construction method based on multi-source information fusion is proposed to overcome these issues and enhance API retrieval.Specifically, the API-related knowledge is acquired from multiple sources, including API documentation and Stack Overflow, where API documentation describes the function and structure of APIs from designers' perspective, and Stack Overflow provides insights into the purpose and usage scenarios of APIs from users' perspective.They complement each other and together provide support for API query and retrieval.By analyzing API documentation, the corresponding APIs and domain concepts are extracted as entities and relationships between them are identified.Moreover, to extract Q&A entities from Stack Overflow, machine learning is adopted to classify the purpose of the question and performs the summary generation for its answers.Since there exists a gap between the entities from API documentation and Stack Overflow, a fusion method is raised to establish connections between them, constructing a more comprehensive API knowledge graph.To verify the effectiveness of our API knowledge graph construction method, we evaluate it in terms of the accuracy of knowledge extraction and API recommendation.The experimental results demonstrate that our API knowledge graph can significantly improve the efficiency and effectiveness of API recommendation.

ProceedingsVol. 2024
Openalex Percentile: Top 73%
Advanced Graph Neural Networks
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.