Skip to content

pypi #73

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

Merged
merged 1 commit into from
Jun 9, 2022
Merged

pypi #73

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
44 changes: 29 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,35 @@
# LinkML Schema Automator

This is a toolkit that assists with:
This is a toolkit that assists with the generation and enhancement of [LinkML](https://linkml.io/linkml) schemas

1. Bootstrapping LinkML models from instance data
- TSVs and spreadsheets
- SQLite databases
- RDF instance graphs
2. Bootstrapping a LinkML model from a different schema representation (i.e. opposite of a linkml.generator)
- OWL (RDFS-like subset)
- TODO: JSON-Schema, XSD, ShEx, SHACL, SQL DDL, FHIR, Python dataclasses/pydantic, etc
3. Using automated methods to enhance a model
- Using text mining and concept annotator APIs to enrich semantic enums
- TODO: querying sparql endpoints to retrieve additional metadata
## Install

These can be composed together. For example, run `tsvs2linkml` followed by `annotate-enums`
```bash
pip install schema-automator
```

The toolkit is still experimental. It is intended as an aid to schema creation rather than as a formal conversion
tool.
## Command Line

[Full Documentation](https://linkml.io/schema-automator/)
See [CLI docs](https://linkml.io/schema-automator/cli)

Generalizing:

```bash
schemauto generalize-tsv my-data.tsv > my-schema.yaml
```

Importing:

```bash
schemauto import-json-schema their.schema.json > my-schema.yaml
```

Annotating:

```bash
schemauto annotate-schema my-schema.yaml
```

## Full Documentation

[linkml.io/schema-automator](https://linkml.io/schema-automator/)
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ version = "0.0.0"
description = "Infer models, enrich with meaning for terms including enum permissible values"
authors = ["Chris Mungall", "Mark Miller", "Sierra Moxon", "Harshad Hegde"]
license = "BSD 3-Clause"
readme = "README.md"

packages = [
{ include = "schema_automator" }
Expand Down