Returns the shortened datatype URI of the literal.
string Datatype of this literal (e.g. xsd:integer).
public function getDatatype() {
if ($this->datatype) {
return EasyRdf_Namespace::shorten($this->datatype);
}
else {
return null;
}
}