extended semantic matcher with IResourceContext parameter