Get a human readable label for this resource
This method will check a number of properties for the resource (in the order: skos:prefLabel, rdfs:label, foaf:name, dc:title) and return an approriate first that is available. If no label is available then it will return null.
string A label for the resource.
public function label($lang = null) {
$this
->checkHasGraph();
return $this->graph
->label($this->uri, $lang);
}