Skip to content

moedn/LOSH-tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LOSH - Tools

This repo contains tools for the LOSH project.

Install (Python) dependencies

sudo pip install -r requirements.txt

Tools

RDF to WikiBase ontology converter

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! :-)

OKH YAML file statistics gatherer

Gathers statistics about the keys used in a bunch of OKh yaml files. It can be run like this:

python3 stats_okh1.py

Releases

No releases published

Packages

No packages published

Languages