You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "Amir Hooshmand (Jira)" <ji...@apache.org> on 2020/07/21 14:17:00 UTC
[jira] [Created] (JENA-1938) OntClass query does not return classes
that are of type RDFS.Class
Amir Hooshmand created JENA-1938:
------------------------------------
Summary: OntClass query does not return classes that are of type RDFS.Class
Key: JENA-1938
URL: https://issues.apache.org/jira/browse/JENA-1938
Project: Apache Jena
Issue Type: Bug
Components: Ontology API
Affects Versions: Jena 3.16.0
Environment: Team,
There is a bug in the Ontology API; the OntClass query does not return classes that are RDFS.Class. You receive only OWL.Class and OWL.Restriction classes
There are two functions affected due to this bug (to my knowledge);
* ontClass.listNamedClasses();
* ontClass.listClasses();
The Bug is in "org.apache.jena.ontology.impl" in
* OWLProfile Class,
* method getClassDescriptionTypes()
* in Line 218
To fix the bug, we need to add <<<<<< RDFS.Class >>>>> to the ArrayList.
Thanks
AHOO
Reporter: Amir Hooshmand
--
This message was sent by Atlassian Jira
(v8.3.4#803005)