The values being returned for attributes in SMWSQLStore2 are being HTML-encoded (i.e., "<" is returned as "<"), which I don't think should happen (it doesn't happen for SMWSQLStore). I don't know what the ideal way to fix this is, but one way is to change line 174 of /includes/storage/SMW_SQLStore2.php from:
$dv->setXSDValue($row->value, $row->unit);
to:
$dv->setXSDValue(html_entity_decode($row->value), $row->unit);
Version: unspecified
Severity: minor