protegeproject / rdf-library

OWLAPI RDF library
9 stars 10 forks source link

Update to OWL API v5 #9

Open adamretter opened 4 years ago

adamretter commented 4 years ago

I have a performance problem with RDFTranslator.createOntology. So I thought as I first step I would try and update to the latest OWL API. This continues from where #8 stops.

I have managed to get the code to compile against the newer API :-) ...but I am a bit stuck in AnonymousResourceHandler. I have to admit that I am out of my depth in there as I don't really understand what it should do.

Whilst the code compiles, the following tests fail (all related to AnonymousResourceHandler I think):

Results :

Failed tests:
  AnonymityTests.annotationAssertionWithAnonymousSubject:155 » OWLRuntime Not an...
  AnonymityTests.axiomWithAnonymousAnnotationValue:133 » OWLRuntime Not an anony...
  AnonymityTests.axiomWithAnonymousIndividualTest1:70 » OWLRuntime Not an anonym...
  AnonymityTests.axiomWithAnonymousIndividualTest2:95 » OWLRuntime Not an anonym...
  AnonymityTests.axiomWithAnonymousIndividualTest3:108 » OWLRuntime Not an anony...
  PizzaTests.testHasAxiom:52 expected [true] but found [false]
  PizzaTests.testListAxioms:64 expected [true] but found [false]

Perhaps someone who knows this code and API better than me could collaborate on this PR to finish the last bits to make this work :-)