Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial api for working with EMMO #1

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 38 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,38 @@
# EMMO
The European Materials Modelling Ontology
EMMO -- The European Materials Modelling Ontology
=================================================
This repository contains a reference implementation of an API and a set
some tools for working with EMMO. The tools are written in Python3.

**WARNING**: This is work in progress...


Requirements
------------
* [Python3](https://www.python.org/)
* [Owlready2](https://bitbucket.org/jibalamy/owlready2).
The latest revision (Oct. 13, 2017 or later) from the Mercurial repository
on bitbucket is needed. Clone it with the following command:

hg clone https://bitbucket.org/jibalamy/owlready2

* Java Virtual Machine (for reasoning using [HermiT](http://www.hermit-reasoner.com/))


Installation
------------
First thing is to install the requirements. Then clone the repository

```bash
git clone https://github.com/EMMC-CSA/EMMO
```


Quickstart
----------
Take a look at the tests for examples on how to use this package. It is
possible to run them as scripts, like:

```bash
cd EMMO/emmo/tests
python3 test_graph.py
```
6 changes: 6 additions & 0 deletions emmo/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
*~
*.pyc
*.html
emmodoc.md

__pycache__
3 changes: 3 additions & 0 deletions emmo/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# -*- coding: utf-8 -*-

from .ontology import get_ontology
Loading