Get a single resource value for a property of a resource
If multiple values are set for a property then the value returned may be arbitrary.
This method will return null if there is not resource for the property.
string $resource The URI of the resource (e.g. http://example.com/joe#me):
string|array $property The name of the property (e.g. foaf:name):
object EasyRdf_Resource Resource associated with the property
public function getResource($resource, $property) {
return $this
->get($resource, $property, 'resource');
}