public OpenlletCmdOption getLoaderOption() { final OpenlletCmdOption option = new OpenlletCmdOption("loader"); option.setShortOption("l"); option.setDescription("Use Jena, OWLAPI, OWLAPI or KRSS to load the ontology"); option.setType("Jena | OWLAPI | KRSS"); option.setDefaultValue("OWLAPI"); option.setIsMandatory(false); option.setArg(REQUIRED); return option; }
public OpenlletCmdOptions getGlobalOptions() { final OpenlletCmdOptions options = new OpenlletCmdOptions(); final OpenlletCmdOption helpOption = new OpenlletCmdOption("help"); helpOption.setShortOption("h"); helpOption.setDescription("Print this message"); helpOption.setDefaultValue(false); helpOption.setIsMandatory(false); helpOption.setArg(NONE); options.add(helpOption); final OpenlletCmdOption verboseOption = new OpenlletCmdOption("verbose"); verboseOption.setShortOption("v"); verboseOption.setDescription("Print full stack trace for errors."); verboseOption.setDefaultValue(false); verboseOption.setIsMandatory(false); verboseOption.setArg(NONE); options.add(verboseOption); final OpenlletCmdOption configOption = new OpenlletCmdOption("config"); configOption.setShortOption("C"); configOption.setDescription("Use the selected configuration file"); configOption.setIsMandatory(false); configOption.setType("configuration file"); configOption.setArg(REQUIRED); options.add(configOption); return options; }
option.setShortOption("p"); option.setType("<URI>"); option.setDescription("The part-of (transitive) property"); option.setShortOption("c"); option.setDescription("Show parts hierarchy for classes"); option.setDefaultValue(_showClasses); option.setShortOption("i"); option.setDescription("Show parts hierarchy for individuals"); option.setDefaultValue(_showIndividuals); option.setShortOption("f"); option.setType("<URI>"); option.setDescription("The class to filter");
@Override public OpenlletCmdOptions getOptions() { final OpenlletCmdOptions options = getGlobalOptions(); options.add(getIgnoreImportsOption()); OpenlletCmdOption option = new OpenlletCmdOption("entailment-file"); option.setShortOption("e"); option.setType("<file URI>"); option.setDescription("Entailment ontology URI"); option.setIsMandatory(true); option.setArg(REQUIRED); options.add(option); option = new OpenlletCmdOption("all"); option.setShortOption("a"); option.setDefaultValue(false); option.setDescription("Show all non-entailments"); option.setDefaultValue(findAll); option.setIsMandatory(false); option.setArg(NONE); options.add(option); return options; }
helpOption.setShortOption("h"); helpOption.setDescription("Print this message"); helpOption.setDefaultValue(false); verboseOption.setShortOption("v"); verboseOption.setDescription("More _verbose output"); verboseOption.setDefaultValue(false); configOption.setShortOption("C"); configOption.setDescription("Use the selected configuration file"); configOption.setIsMandatory(false); option.setShortOption("m"); option.setDescription("Merge the ontologies"); option.setDefaultValue(false);
@Override public OpenlletCmdOptions getOptions() { final OpenlletCmdOptions options = getGlobalOptions(); options.add(getIgnoreImportsOption()); OpenlletCmdOption option = new OpenlletCmdOption("signature"); option.setShortOption("s"); option.setType("Space separated list"); option.setDescription("One or more entity URI(s) or local name(s) to be extracted as a module. Example: \"Animal Wildlife Rainforest\""); option.setIsMandatory(true); option.setArg(REQUIRED); options.add(option); option = new OpenlletCmdOption("type"); option.setShortOption("t"); option.setType("lower| upper | upper-of-lower | lower-of-upper"); option.setDefaultValue("lower"); option.setDescription("The type of the module that will be extracted. See http://bit.ly/ontology-module-types for an explanation of the module types."); option.setIsMandatory(false); option.setArg(REQUIRED); options.add(option); return options; }
@Override public OpenlletCmdOptions getOptions() { final OpenlletCmdOptions options = getGlobalOptions(); final OpenlletCmdOption option = new OpenlletCmdOption("persist"); option.setShortOption("p"); option.setDescription("Enable persistence of classification results. The classifier will save its internal state in a file, and will reuse it the next time this ontology is loaded, therefore saving classification time. This option can only be used with OWLAPI _loader."); option.setIsMandatory(false); option.setArg(NONE); options.add(option); options.add(getLoaderOption()); options.add(getIgnoreImportsOption()); options.add(getInputFormatOption()); return options; }
@Override public OpenlletCmdOptions getOptions() { final OpenlletCmdOptions options = getGlobalOptions(); final OpenlletCmdOption option = new OpenlletCmdOption("statements"); option.setShortOption("s"); option.setDescription("Statements to extract. The option accepts all axioms of the OWL functional syntax plus some additional ones. Valid arguments are: " + validStatementArguments() + ". Example: \"DirectSubClassOf DirectSubPropertyOf\""); option.setType("Space separated list surrounded by quotes"); option.setDefaultValue("DefaultStatements"); option.setIsMandatory(false); option.setArg(REQUIRED); options.add(option); options.add(getLoaderOption()); options.add(getIgnoreImportsOption()); options.add(getInputFormatOption()); return options; }
option.setShortOption("q"); option.setType("<file URI>"); option.setDescription("Read the SPARQL query from the given file"); option.setShortOption("o"); option.setType("Tabular | XML | JSON"); option.setDescription("Format of result set (SELECT queries)"); option.setShortOption("e"); option.setDescription("The query engine that will be used. Default behavior " + "is to auto select the engine that can handle the given " + "query with best performance. Openllet query " + "engine is the typically fastest but cannot handle " + "FILTER, OPTIONAL, UNION, DESCRIBE or named graphs. " + "Mixed engine uses ARQ to handle SPARQL algebra and " + "uses Openllet to answer Basic Graph Patterns (BGP) " + "which can be expressed in SPARQL-DL. ARQ engine uses " + "Openllet to answer single triple patterns and can handle " + "queries that do not fit into SPARQL-DL. As a " + "consequence SPARQL-DL extensions and complex class " + "expressions encoded inside the SPARQL query are not " + "supported."); option.setIsMandatory(false);
option.setShortOption("f"); option.setIsMandatory(false); option.setType("File"); option.setShortOption("o"); option.setIsMandatory(false); option.setType("RDF | OWL");
option.setShortOption("m"); option.setType("glass | black"); option.setDescription("Method that will be used to generate explanations"); option.setShortOption("x"); option.setType("positive integer"); option.setDescription("Maximum number of generated explanations for each inference");