make OntClass#as*Class throw exception if corresponding OntClass#canAs*Class returns false
fix few mistakes related to RL/QL profiles
GitHub issue resolved #
Pull request Description:
[x] Tests are included.
[ ] Documentation change and updates are provided for the Apache Jena website
[x] Commits have been squashed to remove intermediate development commit messages.
[x] Key commit messages start with the issue number (GH-xxxx)
By submitting this pull request, I acknowledge that I am making a contribution to the Apache Software Foundation under the terms and conditions of the Contributor's Agreement.
OntClass#canAsSubClass
,OntClass#canAsSuperClass
,OntClass#canAsAssertionClass
,OntClass#canAsDisjointClass
,OntClass#canAsEquivalentClass
OntClass#as*Class
throw exception if correspondingOntClass#canAs*Class
returns falseGitHub issue resolved #
Pull request Description:
By submitting this pull request, I acknowledge that I am making a contribution to the Apache Software Foundation under the terms and conditions of the Contributor's Agreement.
See the Apache Jena "Contributing" guide.