This repo contains tools for the LOSH project.
sudo pip install -r requirements.txt
Reads our osh-metadata.ttl OKH meta-data ontology file (format: RDF/Turtle), and converts it to a quasi equivalent ontology on a WikiBase instance through the api.php web interface. It writes to our OHO WikiBase instance, and cna be used like this:
python3 rdfont2wb.py 'MyOhoUser' 'MyOhoPasswd'
It can be used to create the ontology from scratch, or to update it - just run it! :-)
Gathers statistics about the keys used in a bunch of OKh yaml files. It can be run like this:
python3 stats_okh1.py