The OntModel is created from Model::getOntModel or directly instantiated.
But the input of the $vocabulary seems to be a constant string (not an object) of "RdfsVocabulary.php".
So in OntModel::listClasses() , line 126 :
$this->vocabulary->TYPE() gets error !
Perhaps some related error maybe happen somewhere else.
I manually add a command in the beginning of listClasses() :
$this->vocabulary = new RdfsVocabulary();
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The OntModel is created from Model::getOntModel or directly instantiated.
But the input of the $vocabulary seems to be a constant string (not an object) of "RdfsVocabulary.php".
So in OntModel::listClasses() , line 126 :
$this->vocabulary->TYPE() gets error !
Perhaps some related error maybe happen somewhere else.
I manually add a command in the beginning of listClasses() :
$this->vocabulary = new RdfsVocabulary();
Hi,
thank You for the bug report. It' s on our todo list now and we will fix it in the next release.
Regards,
Tobias