- Notifications
You must be signed in to change notification settings - Fork6
LexInfo - Data Category Ontology for OntoLex-Lemon
License
ontolex/lexinfo
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
LexInfo is the data category ontology forOntoLex-Lemon, which provides descriptionof lexicographic resources in RDF relative to ontologies
Set up the Python environment as follows
python -m venv envsource env/bin/activatepip install -r requirements.txt
For subsequent usages rerun the following command
source env/bin/activate
The ontology can be built with the following command
python src/build-ontology.py
The most recent ontology is available atontology/3.0/lexinfo.owl
The following are the steps to deploy the ontology
python src/build-ontology.py > ontology/3.0/lexinfo.owlcp ontology/3.0/lexinfo.owl docs/ontology/3.0/lexinfo.owlrapper -o turtle docs/ontology/3.0/lexinfo.owl > docs/ontology/3.0/lexinfo.ttl
The ontology is generated from a selection of CSV and Turtle files:
The list of the morphosyntactic properties is available indata/morphosyntactic_properties.csv
.The values for each of these properties are listed in individual CSV files inthedata/values
folder.
Properties for defining entries are listed indata/definitions.csv
. These aredatatype properties whose range is assumed to be a lang-tagged literal.
The representations are listed indata/representations.csv
. These can be usedin place of the defaultwrittenRep
andphoneticRep
properties in OntoLex
The usages give usage restrictions on a sense and are listed indata/usages.csv
.
These extend the synsem module of OntoLex
The arguments are listed in the filedata/syntactic_arguments.csv
, some extrainformation about the arguments is added in the filedata/args.ttl
.
The frames are lists in the filedata/frames.csv
and further definition isgiven in Turtle indata/frames.ttl
. In addition, examples of the frames arelist indata/frame_examples.csv
Relations extend the vartrans module of OntoLex
The relations are listed in the filedata/relations.csv