Menu

OntModel::listClasses() get wrong vocabulary

Help
2005-02-04
2013-03-14
  • Nobody/Anonymous

    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();

     
    • Tobias Gauß

      Tobias Gauß - 2005-02-04

      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

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.