SameAs-related modifications: re-inserted filter in Sparql rule, added "insert" queries