public OpenlletCmdOption getIgnoreImportsOption() { final OpenlletCmdOption option = new OpenlletCmdOption("ignore-imports"); //option.setShortOption("I"); option.setDescription("Ignore imported ontologies"); option.setDefaultValue(false); option.setIsMandatory(false); option.setArg(NONE); return option; }
public OpenlletCmdOption getInputFormatOption() { final OpenlletCmdOption option = new OpenlletCmdOption("input-format"); option.setDefaultValue(null); option.setDescription("Format of the input file (valid only for the " + "Jena _loader). Default behaviour is to guess " + "the input format based on the file extension."); option.setType("RDF/XML | Turtle | N-Triples"); option.setIsMandatory(false); option.setArg(REQUIRED); return option; }
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.setType("File"); option.setDescription("Apply any applicable fixes to ontology lints and save a new ontology to file in RDF/XML format."); option.setArg(REQUIRED); options.add(option); option.setType("boolean"); option.setDescription("Lint the root ontology only; ignore its imports."); option.setArg(NONE); options.add(option); option.setType("RDF | OWL"); option.setDescription("Analyze only RDF declarations or OWL axioms, not both."); option.setArg(REQUIRED); options.add(option); option.setDefaultValue(false); option.setDescription("Excludes valid punnings to be reported by lint. OWL 2 allows resources\n" + "to have certain multiple types (known as punning), e.g. a resource can\n" + "be both a class and an _individual. However, certain punnings are not\n" + "allowed under any _condition, e.g. a resource cannot be both a datatype\n" + "property and an object property. All punnings are reported by default\n" + "but if this option is used punnings valid for OWL 2 will be excluded\n" + "from the report."); option.setArg(NONE); options.add(option);
option.setDescription("The part-of (transitive) property"); option.setIsMandatory(true); option.setArg(REQUIRED); options.add(option); option.setDefaultValue(_showClasses); option.setIsMandatory(false); option.setArg(NONE); options.add(option); option.setDefaultValue(_showIndividuals); option.setIsMandatory(false); option.setArg(NONE); options.add(option); option.setDescription("The class to filter"); option.setIsMandatory(false); option.setArg(REQUIRED); options.add(option);
@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.setDefaultValue(false); helpOption.setIsMandatory(false); helpOption.setArg(NONE); options.add(helpOption); verboseOption.setDefaultValue(false); verboseOption.setIsMandatory(false); verboseOption.setArg(NONE); options.add(verboseOption); configOption.setIsMandatory(false); configOption.setType("configuration file"); configOption.setArg(REQUIRED); options.add(configOption); option.setDefaultValue(false); option.setIsMandatory(false); option.setArg(OpenlletCmdOptionArg.NONE); options.add(option);
@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; }
option.setDescription("Read the SPARQL query from the given file"); option.setIsMandatory(true); option.setArg(REQUIRED); options.add(option); option.setDefaultValue("Tabular"); option.setIsMandatory(false); option.setArg(REQUIRED); options.add(option); option.setDefaultValue("SPARQL"); option.setIsMandatory(false); option.setArg(REQUIRED); options.add(option); 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.setArg(REQUIRED); options.add(option); option.setDefaultValue(false); option.setIsMandatory(false); option.setArg(NONE); options.add(option);
option.setDescription("Explain why the given class is unsatisfiable"); option.setIsMandatory(false); option.setArg(REQUIRED); options.add(option); option.setDefaultValue(false); option.setIsMandatory(false); option.setArg(NONE); options.add(option); option.setDefaultValue(false); option.setIsMandatory(false); option.setArg(NONE); options.add(option); option.setDefaultValue(false); option.setIsMandatory(false); option.setArg(NONE); options.add(option); option.setType("C,D"); option.setIsMandatory(false); option.setArg(REQUIRED); options.add(option); option.setType("i,C"); option.setIsMandatory(false); option.setArg(REQUIRED); options.add(option);
@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; }