Skip to end of metadata
Go to start of metadata

When run by executing the JAR file, OWLSBuilder is in offline mode. This means you are presented with a command line interface and can generate OWL-S descriptions from a compiled service.

To use the builder in offline mode is very simple. You just need to run the OWLSBuilder jar (after pointing your classpath to the required dependencies), with the arguments defined below.

owlsbuilder -h -g <grounding> -g <gronuding2> -o <dir> -t <ontologyDirs> -w <wsdlLoc>  <className> [methodName]
	-h	--help
	-g	--grounding <GroundingName>  add a grounding (currently 'WSDL' and 'JAVA' )
	-o	--out <dir>  write services to directory (with default names)
	-f	--file <filename.owl>  write single service to file (when method is specified)
	-t	--ontologyDirs <paths> colon-separated list of places to search for ontologies
	-w	--wsloc <http://a/Service> theoretical location of service base to add to OWL-S

Additionally, it is possible to generate multiple groundings by providing a comma separated list to the grounding parameter, but this is not well tested.

When using the -t option, if there are any ontologies which are imported by the service, OWLSBuilder will first look in this directory to see if they can be found there first before attempting to load them from their URI.

  • No labels