Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
subotic committed Jun 5, 2019
1 parent 63b90f3 commit 324731e
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions README.md
Expand Up @@ -4,7 +4,7 @@
knora-py is a python package containing a command line tool for data model (ontology) creation, a library allowing creation of single resources and mass upload using the bulk import of data into the Knora framework.

The package consists of:
- ```knora``` Python modules for accessing Knora using the API (ontology creation, data import/export etc.)
- ```Knora``` Python modules for accessing Knora using the API (ontology creation, data import/export etc.)
- ```knora-create-ontology``` A command line program to create an ontology out of a simple JSON description

## Install
Expand All @@ -24,17 +24,14 @@ To install from source, i.e. this repository run:
$ python3 setup.py install
```

## Content
- [creating an ontology](#create-ontology.py)
- [Bulk data import](#bulk-data-import)

## knora-create-ontology
## Creating an ontology with `knora-create-ontology`
This script reads a JSON file containing the data model (ontology) definition,
connects to the Knora server and creates the data model.
usage:

### Usage:

```bash
python3 create_ontology.py data_model_definition.json
$ knora-create-ontology data_model_definition.json
```
It supports the foloowing options:

Expand Down

0 comments on commit 324731e

Please sign in to comment.