Get a the prefix of the namespace that this resource is part of
This method will return null the resource isn't part of any registered namespace.
string The namespace prefix of the resource (e.g. foaf)
public function prefix() {
return EasyRdf_Namespace::prefixOfUri($this->uri);
}