Skip to content
Merged
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
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,18 @@ sqlite> SELECT * FROM rdfs_label_statement WHERE value LIKE 'Abnormality of %';

Ready-made SQLite3 builds can also be downloaded for any ontology in [OBO](http://obofoundry.org), using URLs such as https://semanticsql.berkeleybop.io/hp.db.gz

> **⚠️ URL change:** Pre-built databases are now served from
> `https://semanticsql.berkeleybop.io/$ONT.db.gz` instead of the legacy
> `https://s3.amazonaws.com/bbop-sqlite/$ONT.db.gz`.
> [OAK](https://github.com/INCATools/ontology-access-kit) users are unaffected
> if running OAK ≥ 0.7.2. If your code fetches the old S3 URL directly, please
> update it. Note that the new CDN requires a non-default HTTP `User-Agent`
> header — the default `Python-urllib` agent is blocked by Cloudflare's Browser
> Integrity Check (see [#115](https://github.com/INCATools/semantic-sql/issues/115)
> for details). See also [#110](https://github.com/INCATools/semantic-sql/issues/110)
> (original migration) and [#43](https://github.com/INCATools/semantic-sql/issues/43)
> (PURL-based URLs).

[relation-graph](https://github.com/balhoff/relation-graph/) is used to pre-generate tables of [entailed edges](https://incatools.github.io/semantic-sql/EntailedEdge/). For example,
all is-a and part-of ancestors of [finger](http://purl.obolibrary.org/obo/UBERON_0002389) in Uberon:

Expand Down
6 changes: 3 additions & 3 deletions notebooks/SemanticSQL-Tutorial.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -64,13 +64,13 @@
"Resolving s3.amazonaws.com (s3.amazonaws.com)... 3.5.16.140\n",
"Connecting to s3.amazonaws.com (s3.amazonaws.com)|3.5.16.140|:443... connected.\n",
"HTTP request sent, awaiting response... 304 Not Modified\n",
"File ‘cl.db.gz’ not modified on server. Omitting download.\n",
"File \u2018cl.db.gz\u2019 not modified on server. Omitting download.\n",
"\n"
]
}
],
"source": [
"!wget -N https://s3.amazonaws.com/bbop-sqlite/cl.db.gz"
"!wget -N https://semanticsql.berkeleybop.io/cl.db.gz"
]
},
{
Expand Down Expand Up @@ -1547,4 +1547,4 @@
},
"nbformat": 4,
"nbformat_minor": 5
}
}
Loading