I have a somewhat large sqlite database (> 3/4 of a billion rows) that represents an edgelist that i would normally pass to igraph as a matrix and extract subgraphs from.