aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bh20sequploader/bh20seq-shex.rdf2
-rw-r--r--test/test_shex.py1
2 files changed, 2 insertions, 1 deletions
diff --git a/bh20sequploader/bh20seq-shex.rdf b/bh20sequploader/bh20seq-shex.rdf
index 89ecd00..fa765dd 100644
--- a/bh20sequploader/bh20seq-shex.rdf
+++ b/bh20sequploader/bh20seq-shex.rdf
@@ -1,7 +1,7 @@
PREFIX : <https://raw.githubusercontent.com/arvados/bh20-seq-resource/master/bh20sequploader/bh20seq-shex.rdf#>
PREFIX MainSchema: <http://biohackathon.org/bh20-seq-schema#MainSchema/>
PREFIX hostSchema: <http://biohackathon.org/bh20-seq-schema#hostSchema/>
-PREFIX cc: <http://creativecommons.org/ns#>
+PREFIX cc: <https://creativecommons.org/ns#>
PREFIX dc: <http://purl.org/metadata/dublin_core_elements#>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX obo: <http://purl.obolibrary.org/obo/>
diff --git a/test/test_shex.py b/test/test_shex.py
index e094184..50ce723 100644
--- a/test/test_shex.py
+++ b/test/test_shex.py
@@ -24,6 +24,7 @@ class TestStringMethods(unittest.TestCase):
print(doc)
g = schema_salad.jsonld_context.makerdf("workflow", doc, document_loader.ctx)
shex = pkg_resources.resource_stream(__name__, "../bh20sequploader/bh20seq-shex.rdf").read().decode("utf-8")
+ # Note the https link simply acts as a URI descriptor (it does not fetch)
rslt, reason = evaluate(g, shex, doc["id"], "https://raw.githubusercontent.com/arvados/bh20-seq-resource/master/bh20sequploader/bh20seq-shex.rdf#submissionShape")
g.serialize(format="ntriples")