preliminary version of subject rewriter that rewriters subjects with owl:sameAs