{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,10,23]],"date-time":"2026-10-23T23:44:16Z","timestamp":1792799056938,"version":"4.5.0"},"reference-count":73,"publisher":"Association for Computing Machinery (ACM)","issue":"4","license":[{"start":{"date-parts":[[2017,10,27]],"date-time":"2017-10-27T00:00:00Z","timestamp":1509062400000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/www.acm.org\/publications\/policies\/copyright_policy#Background"}],"funder":[{"name":"DEFT","award":["FA8750-13-2-0039"],"award-info":[{"award-number":["FA8750-13-2-0039"]}]},{"DOI":"10.13039\/100000070","name":"National Institute of Biomedical Imaging and Bioengineering","doi-asserted-by":"crossref","id":[{"id":"10.13039\/100000070","id-type":"DOI","asserted-by":"crossref"}]},{"name":"American Family Insurance"},{"DOI":"10.13039\/100000006","name":"Office of Naval Research","doi-asserted-by":"crossref","award":["N000141210041 and N000141310129"],"award-info":[{"award-number":["N000141210041 and N000141310129"]}],"id":[{"id":"10.13039\/100000006","id-type":"DOI","asserted-by":"crossref"}]},{"DOI":"10.13039\/100000002","name":"National Institutes of Health","doi-asserted-by":"crossref","award":["U54EB020405"],"award-info":[{"award-number":["U54EB020405"]}],"id":[{"id":"10.13039\/100000002","id-type":"DOI","asserted-by":"crossref"}]},{"name":"trans-NIH Big Data to Knowledge","award":["BD2K"],"award-info":[{"award-number":["BD2K"]}]},{"DOI":"10.13039\/100006785","name":"Google","doi-asserted-by":"crossref","id":[{"id":"10.13039\/100006785","id-type":"DOI","asserted-by":"crossref"}]},{"name":"Sloan Research Fellowship"},{"name":"Defense Advanced Research Projects Agency (DARPA) XDATA Program","award":["FA8750-12-2-0335"],"award-info":[{"award-number":["FA8750-12-2-0335"]}],"id":[{"id":"https:\/\/ror.org\/02caytj08","id-type":"ROR","asserted-by":"crossref"}]},{"name":"SIMPLEX"},{"name":"Toshiba","id":[{"id":"https:\/\/ror.org\/0326v3z14","id-type":"ROR","asserted-by":"crossref"}]},{"DOI":"10.13039\/100000936","name":"Moore Foundation","doi-asserted-by":"crossref","id":[{"id":"10.13039\/100000936","id-type":"DOI","asserted-by":"crossref"}]},{"name":"DARPA\u2019s MEMEX"},{"name":"National Science Foundation (NSF) CAREER","award":["IIS-1353606"],"award-info":[{"award-number":["IIS-1353606"]}]}],"content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["ACM Trans. Database Syst."],"published-print":{"date-parts":[[2017,12,31]]},"abstract":"<jats:p>There are two types of high-performance graph processing engines: low- and high-level engines. Low-level engines (Galois, PowerGraph, Snap) provide optimized data structures and computation models but require users to write low-level imperative code, hence ensuring that efficiency is the burden of the user. In high-level engines, users write in query languages like datalog (SociaLite) or SQL (Grail). High-level engines are easier to use but are orders of magnitude slower than the low-level graph engines. We present EmptyHeaded, a high-level engine that supports a rich datalog-like query language and achieves performance comparable to that of low-level engines. At the core of EmptyHeaded\u2019s design is a new class of join algorithms that satisfy strong theoretical guarantees, but have thus far not achieved performance comparable to that of specialized graph processing engines. To achieve high performance, EmptyHeaded introduces a new join engine architecture, including a novel query optimizer and execution engine that leverage single-instruction multiple data (SIMD) parallelism. With this architecture, EmptyHeaded outperforms high-level approaches by up to three orders of magnitude on graph pattern queries, PageRank, and Single-Source Shortest Paths (SSSP) and is an order of magnitude faster than many low-level baselines. We validate that EmptyHeaded competes with the best-of-breed low-level engine (Galois), achieving comparable performance on PageRank and at most 3\u00d7 worse performance on SSSP. Finally, we show that the EmptyHeaded design can easily be extended to accommodate a standard resource description framework (RDF) workload, the LUBM benchmark. On the LUBM benchmark, we show that EmptyHeaded can compete with and sometimes outperform two high-level, but specialized RDF baselines (TripleBit and RDF-3X), while outperforming MonetDB by up to three orders of magnitude and LogicBlox by up to two orders of magnitude.<\/jats:p>","DOI":"10.1145\/3129246","type":"journal-article","created":{"date-parts":[[2017,10,27]],"date-time":"2017-10-27T08:48:13Z","timestamp":1509094093000},"page":"1-44","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":136,"title":["EmptyHeaded"],"prefix":"10.1145","volume":"42","author":[{"given":"Christopher R.","family":"Aberger","sequence":"first","affiliation":[{"name":"Stanford University, CA, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Andrew","family":"Lamb","sequence":"additional","affiliation":[{"name":"Stanford University, CA, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Susan","family":"Tu","sequence":"additional","affiliation":[{"name":"Stanford University, CA, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Andres","family":"N\u00f6tzli","sequence":"additional","affiliation":[{"name":"Stanford University, CA, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Kunle","family":"Olukotun","sequence":"additional","affiliation":[{"name":"Stanford University, CA, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Christopher","family":"R\u00e9","sequence":"additional","affiliation":[{"name":"Stanford University, CA, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2017,10,27]]},"reference":[{"key":"e_1_2_1_1_1","unstructured":"2014. U.S. patents network dataset -- KONECT. Retrieved from http:\/\/konect.uni-koblenz.de\/networks\/patentcite. 2014. U.S. patents network dataset -- KONECT. Retrieved from http:\/\/konect.uni-koblenz.de\/networks\/patentcite."},{"key":"e_1_2_1_2_1","unstructured":"Daniel J. Abadi Adam Marcus Samuel Madden and Katherine J. Hollenbach. 2007. Scalable semantic web data management using vertical partitioning. In VLDB. ACM 411--422. Daniel J. Abadi Adam Marcus Samuel Madden and Katherine J. Hollenbach. 2007. Scalable semantic web data management using vertical partitioning. In VLDB. ACM 411--422."},{"key":"e_1_2_1_3_1","doi-asserted-by":"publisher","DOI":"10.1145\/2882903.2915213"},{"key":"e_1_2_1_4_1","doi-asserted-by":"publisher","DOI":"10.1109\/ICDEW.2016.7495625"},{"key":"e_1_2_1_5_1","unstructured":"Serge Abiteboul Richard Hull and Victor Vianu. 1995. Foundations of Databases. Vol. 8. Addison-Wesley. Chapters 3--4. Serge Abiteboul Richard Hull and Victor Vianu. 1995. Foundations of Databases. Vol. 8. Addison-Wesley. Chapters 3--4."},{"key":"e_1_2_1_6_1","unstructured":"Foto N. Afrati Manas Joglekar Christopher R\u00e9 Semih Salihoglu and Jeffrey D. Ullman. 2014. GYM: A multiround join algorithm in MapReduce. CoRR abs\/1410.4156 (2014). http:\/\/arxiv.org\/abs\/1410.4156. Foto N. Afrati Manas Joglekar Christopher R\u00e9 Semih Salihoglu and Jeffrey D. Ullman. 2014. GYM: A multiround join algorithm in MapReduce. CoRR abs\/1410.4156 (2014). http:\/\/arxiv.org\/abs\/1410.4156."},{"key":"e_1_2_1_7_1","doi-asserted-by":"publisher","DOI":"10.1145\/2723372.2742796"},{"key":"e_1_2_1_8_1","doi-asserted-by":"publisher","DOI":"10.1145\/1772690.1772696"},{"key":"e_1_2_1_9_1","doi-asserted-by":"publisher","DOI":"10.1137\/110859440"},{"key":"e_1_2_1_10_1","doi-asserted-by":"publisher","DOI":"10.14778\/2140436.2140442"},{"key":"e_1_2_1_11_1","doi-asserted-by":"publisher","DOI":"10.1109\/SC.2012.50"},{"key":"e_1_2_1_12_1","doi-asserted-by":"publisher","DOI":"10.1109\/TKDE.2014.2345408"},{"key":"e_1_2_1_13_1","doi-asserted-by":"publisher","DOI":"10.1145\/304182.304206"},{"key":"e_1_2_1_14_1","doi-asserted-by":"publisher","DOI":"10.1007\/3-540-62222-5_36"},{"key":"e_1_2_1_15_1","doi-asserted-by":"publisher","DOI":"10.1137\/0214017"},{"key":"e_1_2_1_16_1","doi-asserted-by":"publisher","DOI":"10.1145\/1557019.1557049"},{"key":"e_1_2_1_17_1","doi-asserted-by":"publisher","DOI":"10.1145\/2723372.2750545"},{"key":"e_1_2_1_18_1","doi-asserted-by":"publisher","DOI":"10.14778\/2732286.2732289"},{"key":"e_1_2_1_19_1","unstructured":"Jing Fan Adalbert Gerald Soosai Raj and Jignesh M. Patel. 2015. The case against specialized graph analytics engines. In CIDR. www.cidrdb.org. Jing Fan Adalbert Gerald Soosai Raj and Jignesh M. Patel. 2015. The case against specialized graph analytics engines. In CIDR. www.cidrdb.org."},{"key":"e_1_2_1_20_1","unstructured":"Joseph E. Gonzalez Yucheng Low Haijie Gu Danny Bickson and Carlos Guestrin. 2012. PowerGraph: Distributed graph-parallel computation on natural graphs. In OSDI. USENIX Association 17--30. Joseph E. Gonzalez Yucheng Low Haijie Gu Danny Bickson and Carlos Guestrin. 2012. PowerGraph: Distributed graph-parallel computation on natural graphs. In OSDI. USENIX Association 17--30."},{"key":"e_1_2_1_21_1","unstructured":"Joseph E. Gonzalez Reynold S. Xin Ankur Dave Daniel Crankshaw Michael J. Franklin and Ion Stoica. 2014. GraphX: Graph processing in a distributed dataflow framework. In OSDI. USENIX Association 599--613. Joseph E. Gonzalez Reynold S. Xin Ankur Dave Daniel Crankshaw Michael J. Franklin and Ion Stoica. 2014. GraphX: Graph processing in a distributed dataflow framework. In OSDI. USENIX Association 599--613."},{"key":"e_1_2_1_22_1","doi-asserted-by":"publisher","DOI":"10.1007\/11604686_1"},{"key":"e_1_2_1_23_1","doi-asserted-by":"publisher","DOI":"10.1145\/1265530.1265535"},{"key":"e_1_2_1_24_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.websem.2005.06.005"},{"key":"e_1_2_1_25_1","doi-asserted-by":"publisher","DOI":"10.1145\/2150976.2151013"},{"key":"e_1_2_1_26_1","doi-asserted-by":"publisher","DOI":"10.14778\/2735508.2735518"},{"key":"e_1_2_1_27_1","doi-asserted-by":"publisher","DOI":"10.1145\/356924.356928"},{"key":"e_1_2_1_28_1","unstructured":"Manas Joglekar Rohan Puttagunta and Christopher R\u00e9. 2015. Aggregations over generalized hypertree decompositions. CoRR abs\/1508.07532. Manas Joglekar Rohan Puttagunta and Christopher R\u00e9. 2015. Aggregations over generalized hypertree decompositions. CoRR abs\/1508.07532."},{"key":"e_1_2_1_29_1","unstructured":"Ilya Katsov. 2012. Fast Intersection of Sorted Lists Using SSE Instructions. https:\/\/highlyscalable.wordpress.com\/2012\/06\/05\/fast-intersection-sorted-lists-sse\/. Ilya Katsov. 2012. Fast Intersection of Sorted Lists Using SSE Instructions. https:\/\/highlyscalable.wordpress.com\/2012\/06\/05\/fast-intersection-sorted-lists-sse\/."},{"key":"e_1_2_1_30_1","doi-asserted-by":"publisher","DOI":"10.1109\/ICDE.2011.5767867"},{"key":"e_1_2_1_31_1","doi-asserted-by":"publisher","DOI":"10.1145\/2902251.2902280"},{"key":"e_1_2_1_32_1","unstructured":"Jinha Kim Hyungyu Shin Wook-Shin Han Sungpack Hong and Hassan Chafi. 2015. Taming subgraph isomorphism for RDF query processing. CoRR abs\/1506.01973. Jinha Kim Hyungyu Shin Wook-Shin Han Sungpack Hong and Hassan Chafi. 2015. Taming subgraph isomorphism for RDF query processing. CoRR abs\/1506.01973."},{"key":"e_1_2_1_33_1","unstructured":"Graham Klyne and Jeremy J. Carroll. 2006. Resource description framework (RDF): Concepts and abstract syntax. Graham Klyne and Jeremy J. Carroll. 2006. Resource description framework (RDF): Concepts and abstract syntax."},{"key":"e_1_2_1_34_1","doi-asserted-by":"publisher","DOI":"10.1145\/1772690.1772751"},{"key":"e_1_2_1_35_1","doi-asserted-by":"publisher","DOI":"10.1109\/ICDE.2013.6544812"},{"key":"e_1_2_1_36_1","doi-asserted-by":"publisher","DOI":"10.1002\/spe.2203"},{"key":"e_1_2_1_37_1","unstructured":"Daniel Lemire Leonid Boytsov and Nathan Kurz. 2014. SIMD compression and the intersection of sorted integers. CoRR abs\/1401.6399. Daniel Lemire Leonid Boytsov and Nathan Kurz. 2014. SIMD compression and the intersection of sorted integers. CoRR abs\/1401.6399."},{"key":"e_1_2_1_38_1","unstructured":"Jure Leskovec and Andrej Krevl. 2014. SNAP Datasets: Stanford Large Network Dataset Collection. http:\/\/snap.stanford.edu\/data. Jure Leskovec and Andrej Krevl. 2014. SNAP Datasets: Stanford Large Network Dataset Collection. http:\/\/snap.stanford.edu\/data."},{"key":"e_1_2_1_39_1","doi-asserted-by":"publisher","DOI":"10.1145\/1367497.1367591"},{"key":"e_1_2_1_40_1","doi-asserted-by":"publisher","DOI":"10.1145\/2898361"},{"key":"e_1_2_1_41_1","doi-asserted-by":"publisher","DOI":"10.1145\/2463676.2465322"},{"key":"e_1_2_1_42_1","doi-asserted-by":"publisher","DOI":"10.14778\/2732951.2732965"},{"key":"e_1_2_1_43_1","doi-asserted-by":"publisher","DOI":"10.1145\/1807167.1807184"},{"key":"e_1_2_1_44_1","volume-title":"HotOS","author":"McSherry Frank"},{"key":"e_1_2_1_45_1","doi-asserted-by":"publisher","DOI":"10.1126\/science.298.5594.824"},{"key":"e_1_2_1_46_1","doi-asserted-by":"publisher","DOI":"10.1145\/1298306.1298311"},{"key":"e_1_2_1_47_1","doi-asserted-by":"publisher","DOI":"10.14778\/2002938.2002940"},{"key":"e_1_2_1_48_1","doi-asserted-by":"publisher","DOI":"10.1007\/s00778-009-0165-y"},{"key":"e_1_2_1_49_1","doi-asserted-by":"publisher","DOI":"10.1137\/S003614450342480"},{"key":"e_1_2_1_50_1","doi-asserted-by":"crossref","unstructured":"Hung Q. Ngo Ely Porat Christopher R\u00e9 and Atri Rudra. 2012. Worst-case optimal join algorithms: [Extended abstract]. In PODS. ACM 37--48. Hung Q. Ngo Ely Porat Christopher R\u00e9 and Atri Rudra. 2012. Worst-case optimal join algorithms: [Extended abstract]. In PODS. ACM 37--48.","DOI":"10.1145\/2213556.2213565"},{"key":"e_1_2_1_51_1","doi-asserted-by":"publisher","DOI":"10.1145\/2590989.2590991"},{"key":"e_1_2_1_52_1","doi-asserted-by":"publisher","DOI":"10.1145\/2517349.2522739"},{"key":"e_1_2_1_53_1","first-page":"1","article-title":"Join processing for graph patterns: An old dog with new tricks. In GRADES@SIGMOD\/PODS","volume":"2","author":"Nguyen Dung T.","year":"2015","journal-title":"ACM"},{"key":"e_1_2_1_54_1","doi-asserted-by":"publisher","DOI":"10.1145\/2656335"},{"key":"e_1_2_1_55_1","doi-asserted-by":"publisher","DOI":"10.1007\/s00778-015-0405-2"},{"key":"e_1_2_1_56_1","doi-asserted-by":"publisher","DOI":"10.14778\/2536222.2536233"},{"key":"e_1_2_1_57_1","volume-title":"BTW (LNI)","volume":"214","author":"Rudolf Michael","year":"2013"},{"key":"e_1_2_1_58_1","volume-title":"SIGMOD Conference. ACM, 979--990","author":"Satish Nadathur"},{"key":"e_1_2_1_59_1","doi-asserted-by":"publisher","DOI":"10.1007\/11427186_54"},{"key":"e_1_2_1_60_1","unstructured":"Benjamin Schlegel Thomas Willhalm and Wolfgang Lehner. 2011. Fast sorted-set intersection using SIMD instructions. In ADMS@VLDB. 1--8. Benjamin Schlegel Thomas Willhalm and Wolfgang Lehner. 2011. Fast sorted-set intersection using SIMD instructions. In ADMS@VLDB. 1--8."},{"key":"e_1_2_1_61_1","doi-asserted-by":"crossref","unstructured":"Jiwon Seo Stephen Guo and Monica S. Lam. 2013. SociaLite: Datalog extensions for efficient social network analysis. In ICDE. IEEE Computer Society 278--289. Jiwon Seo Stephen Guo and Monica S. Lam. 2013. SociaLite: Datalog extensions for efficient social network analysis. In ICDE. IEEE Computer Society 278--289.","DOI":"10.1109\/ICDE.2013.6544832"},{"key":"e_1_2_1_62_1","doi-asserted-by":"publisher","DOI":"10.1145\/2442516.2442530"},{"key":"e_1_2_1_63_1","doi-asserted-by":"publisher","DOI":"10.1109\/DCC.2015.8"},{"key":"e_1_2_1_64_1","unstructured":"Michael Stonebraker Daniel J. Abadi Adam Batkin Xuedong Chen Mitch Cherniack Miguel Ferreira Edmond Lau Amerson Lin Samuel Madden Elizabeth J. O\u2019Neil Patrick E. O\u2019Neil Alex Rasin Nga Tran and Stanley B. Zdonik. 2005. C-Store: A column-oriented DBMS. In VLDB. ACM 553--564. Michael Stonebraker Daniel J. Abadi Adam Batkin Xuedong Chen Mitch Cherniack Miguel Ferreira Edmond Lau Amerson Lin Samuel Madden Elizabeth J. O\u2019Neil Patrick E. O\u2019Neil Alex Rasin Nga Tran and Stanley B. Zdonik. 2005. C-Store: A column-oriented DBMS. In VLDB. ACM 553--564."},{"key":"e_1_2_1_65_1","doi-asserted-by":"publisher","DOI":"10.1145\/2815400.2815410"},{"key":"e_1_2_1_66_1","doi-asserted-by":"publisher","DOI":"10.1145\/2723372.2764946"},{"key":"e_1_2_1_67_1","unstructured":"Jeffrey D. Ullman. 2001. Conjunctive Queries. Retrieved from http:\/\/infolab.stanford.edu\/ullman\/cs345notes\/slides01-6.pdf. Jeffrey D. Ullman. 2001. Conjunctive Queries. Retrieved from http:\/\/infolab.stanford.edu\/ullman\/cs345notes\/slides01-6.pdf."},{"key":"e_1_2_1_68_1","unstructured":"Todd L. Veldhuizen. 2012. Leapfrog triejoin: A worst-case optimal join algorithm. CoRR abs\/1210.0481. Todd L. Veldhuizen. 2012. Leapfrog triejoin: A worst-case optimal join algorithm. CoRR abs\/1210.0481."},{"key":"e_1_2_1_69_1","doi-asserted-by":"publisher","DOI":"10.1145\/2484425.2484432"},{"key":"e_1_2_1_70_1","unstructured":"Mihalis Yannakakis. 1981. Algorithms for acyclic database schemes. In VLDB. IEEE Computer Society 82--94. Mihalis Yannakakis. 1981. Algorithms for acyclic database schemes. In VLDB. IEEE Computer Society 82--94."},{"key":"e_1_2_1_71_1","doi-asserted-by":"publisher","DOI":"10.14778\/2536349.2536352"},{"key":"e_1_2_1_72_1","unstructured":"Steffen Zeuch Johann-Christoph Freytag and Frank Huber. 2014. Adapting tree structures for processing with SIMD instructions. In EDBT. OpenProceedings.org 97--108. Steffen Zeuch Johann-Christoph Freytag and Frank Huber. 2014. Adapting tree structures for processing with SIMD instructions. In EDBT. OpenProceedings.org 97--108."},{"key":"e_1_2_1_73_1","doi-asserted-by":"publisher","DOI":"10.1145\/564691.564709"}],"container-title":["ACM Transactions on Database Systems"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3129246","content-type":"unspecified","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3129246","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,6,26]],"date-time":"2025-06-26T15:34:05Z","timestamp":1750952045000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3129246"}},"subtitle":["A Relational Engine for Graph Processing"],"short-title":[],"issued":{"date-parts":[[2017,10,27]]},"references-count":73,"journal-issue":{"issue":"4","published-print":{"date-parts":[[2017,12,31]]}},"alternative-id":["10.1145\/3129246"],"URL":"https:\/\/doi.org\/10.1145\/3129246","relation":{},"ISSN":["0362-5915","1557-4644"],"issn-type":[{"value":"0362-5915","type":"print"},{"value":"1557-4644","type":"electronic"}],"subject":[],"published":{"date-parts":[[2017,10,27]]},"assertion":[{"value":"2016-12-01","order":0,"name":"received","label":"Received","group":{"name":"publication_history","label":"Publication History"}},{"value":"2017-07-01","order":1,"name":"accepted","label":"Accepted","group":{"name":"publication_history","label":"Publication History"}},{"value":"2017-10-27","order":2,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}