SociaLite: An Efficient Graph Query Language Based on Datalog
- Authors
- Seo, Jiwon; Guo, Stephen; Lam, Monica S.
- Issue Date
- Jul-2015
- Publisher
- IEEE COMPUTER SOC
- Keywords
- Datalog; Graph Algorithms; Query Languages
- Citation
- IEEE TRANSACTIONS ON KNOWLEDGE AND DATA ENGINEERING, v.27, no.7, pp.1824 - 1837
- Indexed
- SCIE
SCOPUS
- Journal Title
- IEEE TRANSACTIONS ON KNOWLEDGE AND DATA ENGINEERING
- Volume
- 27
- Number
- 7
- Start Page
- 1824
- End Page
- 1837
- URI
- https://scholarworks.bwise.kr/hanyang/handle/2021.sw.hanyang/156753
- DOI
- 10.1109/TKDE.2015.2405562
- ISSN
- 1041-4347
- Abstract
- With the rise of social networks, large-scale graph analysis becomes increasingly important. Because SQL lacks the expressiveness and performance needed for graph algorithms, lower-level, general-purpose languages are often used instead. For greater ease of use and efficiency, we propose SociaLite, a high-level graph query language based on Datalog. As a logic programming language, Datalog allows many graph algorithms to be expressed succinctly. However, its performance has not been competitive when compared to low-level languages. With SociaLite, users can provide high-level hints on the data layout and evaluation order; they can also define recursive aggregate functions which, as long as they are meet operations, can be evaluated incrementally and efficiently. Moreover, recursive aggregate functions make it possible to implement more graph algorithms that cannot be implemented in Datalog. We evaluated SociaLite by running nine graph algorithms in total; eight for social network analysis (shortest paths, PageRank, hubs and authorities, mutual neighbors, connected components, triangles, clustering coefficients, and betweenness centrality) and one for biological network analysis (Eulerian cycles). We use two real-life social graphs, LiveJournal and Last. fm, for the evaluation as well as one synthetic graph. The optimizations proposed in this paper speed up almost all the algorithms by 3 to 22 times. SociaLite even outperforms typical Java implementations by an average of 50 percent for the graph algorithms tested. When compared to highly optimized Java implementations, SociaLite programs are an order of magnitude more succinct and easier to write. Its performance is competitive, with only 16 percent overhead for the largest benchmark, and 25 percent overhead for the worst case benchmark. Most importantly, being a query language, SociaLite enables many more users who are not proficient in software engineering to perform network analysis easily and efficiently.
- Files in This Item
-
Go to Link
- Appears in
Collections - 서울 공과대학 > 서울 컴퓨터소프트웨어학부 > 1. Journal Articles
![qrcode](https://api.qrserver.com/v1/create-qr-code/?size=55x55&data=https://scholarworks.bwise.kr/hanyang/handle/2021.sw.hanyang/156753)
Items in ScholarWorks are protected by copyright, with all rights reserved, unless otherwise indicated.