Cast to string when using sparql regex function to cope with xsd:integer as well as strings
Fixed a typo