SELECT * WHERE { FILTER ( ( REPLACE( ?s , "x" , "y" , "i" ) = ?s ) ) }