The generate-ontology.sh
script from csv_to_owl
folder can be used to convert the ontology from csv format to the owl format. The script looks up for the following csv files into the csw_to_owl/csv
directory:
-
entities.csv
: this file contains all the classes in ontology with their IRIs, labels, definations etc -
relations.csv
: this file contains all the relations in ontology with their IRIs, labels, definations etc -
instances.csv
: this file contains all the instances predefined in ontology with their IRIs, labels, definations etc
The app.config.sh
file contain configuration variables for some metadata needed to generate ontology. The ontology can be generated by running the script:
./generate-ontology.sh
Please refer the comments in the script for more information on how it works.
- Currently all the columns names are hard coded in the
mapping.ttl
file. Need to store all the configurations in single separate file.
- cannot add constraints
- No automated way to add properties for custom entities