From e89bca5b9f669643c862e4cceaa9070dc476cfa6 Mon Sep 17 00:00:00 2001 From: Nomi Harris Date: Tue, 18 Aug 2026 14:11:53 -0700 Subject: [PATCH 1/2] Add URL migration announcement to README Adds a visible callout noting the change from s3.amazonaws.com/bbop-sqlite to semanticsql.berkeleybop.io, with cross-references to #110, #115, and #43. Addresses #121 --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index 11ff7d1..1383088 100644 --- a/README.md +++ b/README.md @@ -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: From 3852b1b981a91d85abc461164136bb7ff0c08ec0 Mon Sep 17 00:00:00 2001 From: Nomi Harris Date: Tue, 18 Aug 2026 14:13:32 -0700 Subject: [PATCH 2/2] Update tutorial notebook to use new CDN URL Replace s3.amazonaws.com/bbop-sqlite/cl.db.gz with semanticsql.berkeleybop.io/cl.db.gz in the wget cell. Addresses #121 --- notebooks/SemanticSQL-Tutorial.ipynb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/notebooks/SemanticSQL-Tutorial.ipynb b/notebooks/SemanticSQL-Tutorial.ipynb index 94aa48b..ecffa49 100644 --- a/notebooks/SemanticSQL-Tutorial.ipynb +++ b/notebooks/SemanticSQL-Tutorial.ipynb @@ -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" ] }, { @@ -1547,4 +1547,4 @@ }, "nbformat": 4, "nbformat_minor": 5 -} +} \ No newline at end of file