Pattern specification and application in metamodels in ecore
A graph query language for EMF models