An open API service indexing awesome lists of open source software.

https://github.com/pr0ck0/bfobuddy

A simple command line tool for bootstrapping ontology development with BFO.
https://github.com/pr0ck0/bfobuddy

barry-smith bfo ontology owl rdf ttl

Last synced: 2 months ago
JSON representation

A simple command line tool for bootstrapping ontology development with BFO.

Awesome Lists containing this project

README

          

# bfobuddy
A simple command line tool for bootstrapping ontology development with BFO.

Bare minimum command line script for quickly building a BFO-based taxonomy. This script is a proof-of-concept; more functionality to come.

Made because Protege is an awful platform and should be used as little as possible. BFO is the basis of extension for representing anything in reality.

## Use
Download [bfobuddy.py](bfobuddy.py), then call it in command window like:
```
python bfobuddy.py [input file location]
```

Example file [input.txt](input.txt) provided.

* Interact by typing the number of the class you want to extend (e.g., 0)
* Type the number twice to assert it as a sibling class (e.g., 00), in cases where you do not want to go further down BFO's taxonomy (e.g., for the commonly-extended class Process)
* Once you iterate through all your classes, a file [out.ttl](out.ttl) is put into the same directory.

![buddy](buddy.png)

# Requirements
* Python 3
* First line of input file must be your intended IRI (e.g., http://test.org/test/) (do not forget your IRI end delimiter (/ or #))
* Second line of input file must be your intended prefix (e.g., testo)
* All other lines in file are class names you want to represent in BFO. Ensure these words only use letters and numbers.

# Limitations
* Cannot currently extend classes you create, only BFO classes. This script is a prototype and will be made better in the future.