[
https://issues.apache.org/jira/browse/JENA-1938?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17162616#comment-17162616
]
Amir Hooshmand commented on JENA-1938:
--------------------------------------
I think according to the OWL2 documentation
([https://www.w3.org/TR/2012/REC-owl2-rdf-based-semantics-20121211/]) it is.
Indeed, both axioms below are correct according to the above document in
section 6.4:
* owl:Class rdf:type rdfs:Class .
* owl:Class rdfs:subClassOf rdfs:Class .
And, happy to contribute if i can, how the PR process works?
> 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
> Reporter: Amir Hooshmand
> Priority: Major
> Labels: easyfix, ready-to-commit
>
> 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 best knowledge);
> * ontClass.listNamedClasses();
> * ontClass.listClasses();
> The Bug is in "org.apache.jena.ontology.impl" in
> * OWLProfile Class,
> * method getClassDescriptionTypes()
> * in Line 218
> My suggestion to fix the bug:
> * add <<< RDFS.Class >>> to the ArrayList.
>
> Thanks
> Amir
--
This message was sent by Atlassian Jira
(v8.3.4#803005)