<｜begin▁of▁sentence｜>### Instruction:
Using the igraph library, read a graph from the 'social_network.gml' file. Upon loading, print a summary of the graph to obtain basic information such as the number of vertices and edges.
### Response:
import igraph as ig

# Load a graph from a given filename
filename = 'social_network.gml'
g = ig.read(filename)

# Print basic information about the graph
g.summary()
<|EOT|>
