<｜begin▁of▁sentence｜>### Instruction:
Given a graph with vertices that have 'name' and 'age' attributes, how can you select and print the names of all vertices where 'age' is greater than 30?
### Response:
import igraph as ig

# Create example graph with vertex attributes
g = ig.Graph.Full(5)
g.vs['name'] = ['Alice', 'Bob', 'Charlie', 'Dave', 'Eve']
g.vs['age'] = [25, 32, 45, 28, 22]

# Select vertices with age greater than 30
gt30 = g.vs.select(age_gt=30)
print(gt30['name'])  # Prints the names of the vertices with age greater than 30
<|EOT|>
