owlcs/owlapi — pull request #179 by ansell (2014-04-29 04:04:13+00:00)
Title: Add RDFa support, replace annotations with static files for services, expose OWLAPI parsers as Sesame RDFParsers

This pull request does a few different things, all related to the Rio package.

1. Adds an RDFa parser using Semargl-Sesame as the binding
2. Replaces dynamic annotations with static META-INF/services files so that they work inside of Eclipse as well as on the command line with maven
3. Wraps/exposes OWLAPI parsers as Sesame RDFParsers to make it easier to reuse them in RDF applications.

I am a little stuck on point 3 in regard to how to dynamically get a reference to the users preferred OWLOntologyManager implementation. In my previous patches it was based on META-INF/services files, but the mixing of dynamic java.util.ServiceLoader with the static Guava Modules makes me unsure about how to go about doing this from inside of owlapi-rio now. It is probably just as simple now (if you understand Guava), but any help with the fixme notes in RioOWLRDFParser would be much appreciated.

Do not merge yet, as I still need to add the fixes to RioOWLRDFParser as noted above.