File tree Expand file tree Collapse file tree
src/semsql/builder/prefixes Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -30,20 +30,43 @@ Or simply download using URL of the form:
3030
3131## Creating a SQLite database from an OWL file
3232
33- Requirements; EITHER:
33+ There are two protocols for doing this:
34+
35+ 1 . install build dependencies
36+ 2 . use Docker
37+
38+ In either case:
39+
40+ - The input MUST be in RDF/XML serialization and have the suffix ` .owl ` :
41+ - use robot to convert if format is different
42+
43+ ### 1. Build a SQLite database directly
44+
45+ Requirements:
3446
3547- [ rdftab.rs] ( https://github.com/ontodev/rdftab.rs )
3648- [ relation-graph] ( https://github.com/balhoff/relation-graph )
3749
38- OR use the ODK docker image
39-
40- The input MUST be in RDF/XML serialization and have the suffix ` .owl ` :
50+ After installing these and putting both in your path:
4151
4252``` bash
4353semsql make foo.db
4454```
4555
46- foo.db must be in the same directory
56+ This assumes ` foo.owl ` is in the same folder
57+
58+ ### 2. Use Docker
59+
60+ There are two docker images that can be used:
61+
62+ - ODK
63+ - [ semantic-sql] ( https://hub.docker.com/repository/docker/linkml/semantic-sql )
64+
65+ The ODK image may lag behind
66+
67+ ``` bash
68+ docker run -v $PWD :/work -w /work -ti linkml/semantic-sql semsql make foo.db
69+ ```
4770
4871## Schema
4972
Original file line number Diff line number Diff line change @@ -30,6 +30,11 @@ BAO,http://www.bioassayontology.org/bao#BAO_
3030biopax , http://www.biopax.org/release/biopax-level3.owl#
3131reactome.biopax , http://www.reactome.org/biopax/81/48887#
3232sweet , http://sweetontology.net/
33+ qudt , http://qudt.org/schema/qudt#
34+ allotrope.property , http://purl.allotrope.org/ontologies/property#
35+ allotrope.role , http://purl.allotrope.org/ontologies/role#
36+ allotrope.equipment , http://purl.allotrope.org/ontologies/equipment#
37+ allotrope , http://purl.allotrope.org/ontologies/
3338PSO , http://purl.obolibrary.org/obo/PSO_
3439CHIRO , http://purl.obolibrary.org/obo/CHIRO_
3540PW , http://purl.obolibrary.org/obo/PW_
Original file line number Diff line number Diff line change @@ -30,3 +30,8 @@ BAO,http://www.bioassayontology.org/bao#BAO_
3030biopax , http://www.biopax.org/release/biopax-level3.owl#
3131reactome.biopax , http://www.reactome.org/biopax/81/48887#
3232sweet , http://sweetontology.net/
33+ qudt , http://qudt.org/schema/qudt#
34+ allotrope.property , http://purl.allotrope.org/ontologies/property#
35+ allotrope.role , http://purl.allotrope.org/ontologies/role#
36+ allotrope.equipment , http://purl.allotrope.org/ontologies/equipment#
37+ allotrope , http://purl.allotrope.org/ontologies/
You can’t perform that action at this time.
0 commit comments