Get a single type for a resource, as a resource.
The type will be returned as an EasyRdf_Resource. If the resource has multiple types then the type returned may be arbitrary. This method will return null if the resource has no type.
EasyRdf_Resource A type assocated with the resource.
public function typeAsResource() {
return $this->graph
->typeAsResource($this->uri);
}