<｜begin▁of▁sentence｜>### Instruction:
As a school psychologist, you are working with a network of students and staff who have been connected based on their interactions and relationships within the school. You need to identify and list the names of all students and staff members who are over the age of 30, in order to provide age-appropriate support and intervention services. You can accomplish this task by utilizing the NetworkX library and accessing the attributes associated with each vertex in the graph API.
### 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|>
