You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+28-1Lines changed: 28 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -63,7 +63,7 @@ pip install semsql
63
63
64
64
## Download ready-made SQLite databases
65
65
66
-
Pre-generated SQLite database are created weekly for all OBO ontologies and a selection of others.
66
+
Pre-generated SQLite database are created weekly for all OBO ontologies and a selection of others (see [ontologies.yaml](https://github.com/INCATools/semantic-sql/blob/main/src/semsql/builder/registry/ontologies.yaml))
67
67
68
68
To download:
69
69
@@ -75,6 +75,33 @@ Or simply download using URL of the form:
75
75
76
76
-https://s3.amazonaws.com/bbop-sqlite/hp.db
77
77
78
+
## Attaching databases
79
+
80
+
If you are using sqlite3, then databases can be attached to facilitate cross-database joins.
81
+
82
+
For example, many ontologies use ORCID URIs as the object of `dcterms:contributor` and `dcterms:creator` statements, but these are left "dangling". Metadata about these orcids are available in the semsql orcid database instance (derived from [wikidata-orcid-ontology](https://github.com/cthoyt/wikidata-orcid-ontology)), in the [Orcid table](https://incatools.github.io/semantic-sql/Orcid).
83
+
84
+
You can use [ATTACH DATABASE](https://www.sqlite.org/lang_attach.html) to connect two databases, for example:
0 commit comments