sszuev commented on issue #4006: URL: https://github.com/apache/jena/issues/4006#issuecomment-4760032246
> [@sszuev](https://github.com/sszuev) if `DocumentGraphRepository` were to parse the location-mapping RDF structure (e.g. in your proposed `addMappings` method) it would require a dependency at least on [`LocationMappingVocab`](https://jena.apache.org/documentation/javadoc/jena/org.apache.jena.core/org/apache/jena/vocabulary/LocationMappingVocab.html)? > > The migration to the new ont-api left a gap for existing location-mapper users, so I think a proper bridge to close that gap is a fair request. Yes, OntAPI depends on `org.apache.jena.vocabulary`, including OWL, and LocationMappingVocab. This dependency cannot be avoided. There is a method `LocationMapping#toModel`, so code may look like `dgr.addMappings(lm.toModel())` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
