on line 110 of OntModel.php , within the createOntProperty() ,
there is a $class of unknown declare, calling OntResource::setInstanceRdfType() , should it be $ontProperty instead of $class ?