dkmfbk / premon

PreMOn: a Lemon Extension for Exposing Predicate Models as Linked Data
http://premon.fbk.eu
Apache License 2.0
4 stars 2 forks source link

PREMON

Premon is a resource for Exposing Predicate Models as Linked Data. It builds on OntoLex-Lemon by the Ontology-Lexica Community Group at W3C.

Installation

PREMON is released using the Maven paradigm. To install it, just type into the shell:

Now you can start the tool by simply use the ./premonitor command.

Usage

usage: ./premonitor [-b <PATH>] [-D] [-f <FMTS>] [-h] [-i <FOLDER>] [-m] [-p
       <FILE>] [-r] [-s <LEMMA>] [-V] [-v] [--wordnet <FILE>]
       [--wordnet-sensekeys <FILE>] [-x]

Transform linguistic resources into RDF

  -b,--output-base <PATH>        Output base path/name (default 'premon')
  -D,--verbose                   enable verbose output
  -f,--output-formats <FMTS>     Comma-separated list of output formats (default
                                 'tql.gz')
  -h,--help                      display this help message and terminate
  -i,--input <FOLDER>            input folder (default .)
  -m,--omit-filter-mappings      Omit filtering illegal mappings referring to
                                 non-existing conceptualizations (faster)
  -p,--properties <FILE>         Property file (default premonitor.properties)
  -r,--omit-owl2rl               Omit OWL2RL reasoning (faster)
  -s,--single <LEMMA>            Extract single lemma (apply to all resources)
  -V,--very verbose              enable very verbose output
  -v,--version                   display version information and terminate
     --wordnet <FILE>            WordNet RDF triple file (default:
                                 wordnet-3.1/wn31.nt.gz)
     --wordnet-sensekeys <FILE>  WordNet senseKey mapping
  -x,--omit-stats                Omit generation of statistics (faster)

All the options are optional and the default configuration, if option -p is omitted, is contained in the included file premonitor.properties. In general it suffices to populate the sub-directories under resources with the data that you want to convert, and then execute ./premonitor.

Here is the list of available sub-directories of resources with the indication of what to place under each of them: