Ejemplo n.º 1
0
 /**
  * Answer a resource that represents an Individual node in this model.
  * If a resource with the given uri exists in the model, it will be re-used. 
  * If not, a new one is created in the updateable sub-model of the ontology model.
  *
  * @param	string	$uri
  * @return	object Individual 
  * @access	public
  */
 function createIndividual($uri = null)
 {
     $individual = new Individual($uri);
     $individual->setAssociatedModel($this);
     $individual->setVocabulary($this->vocabulary);
     return $individual;
 }