Same is with my code. I have converted literal to string using sparql, but swrl is not supporting it.