Built in Library Registration - protegeproject/swrlapi GitHub Wiki

Third-party built-in registration

For SWRLTab 2.1.5-SNAPSHOT on Protégé 6.0.0-alpha-1, follow the versioned registration guide. It contains the extension descriptor, factory and library contracts, OSGi imports, lifecycle and collision/error behavior, plus build and real-host verification commands.

The extension point is swrltab-plugin.SWRLBuiltInLibraryFactoryPlugin. The registered library supplies its prefix and namespace, so an ontology prefix entry is unnecessary for contributed:answer. Contributors share SWRLTab's API; they must not embed another SWRLAPI jar.

The working example library returns 42 for its positive query and no rows for the negative control. The guide links its factory, descriptor and test harnesses. These instructions apply to the development branch, not earlier Protégé 5 releases.

BSD 2-Clause license.