filter relations by schema