if (l.getLanguage() != null) {
return new NativeLiteral(revision, l.getLabel(), l.getLanguage());
}
else if (l.getDatatype() != null) {
NativeURI datatype = getNativeURI(l.getDatatype());
return new NativeLiteral(revision, l.getLabel(), datatype);
}
else {
return new NativeLiteral(revision, l.getLabel());
}