about summary refs log tree commit diff
diff options
context:
space:
mode:
authorlltommy2020-07-08 23:50:36 +0200
committerlltommy2020-07-08 23:50:36 +0200
commitb67df8c01c7051a5faf65928cbdb93815fd14a9f (patch)
tree5b28d9da7b0c40b7318d10705ccdeebf617ab926
parent6e0f9f18167377bac073d7715b89e7ddbf1fe72d (diff)
downloadbh20-seq-resource-b67df8c01c7051a5faf65928cbdb93815fd14a9f.tar.gz
bh20-seq-resource-b67df8c01c7051a5faf65928cbdb93815fd14a9f.tar.lz
bh20-seq-resource-b67df8c01c7051a5faf65928cbdb93815fd14a9f.zip
Try to fix lab_address wrong predicate, fix submitter shape on the way and hopefully brought it in synch with the yaml
-rw-r--r--bh20sequploader/bh20seq-schema.yml6
-rw-r--r--bh20sequploader/bh20seq-shex.rdf2
2 files changed, 4 insertions, 4 deletions
diff --git a/bh20sequploader/bh20seq-schema.yml b/bh20sequploader/bh20seq-schema.yml
index 19c794a..a8ab920 100644
--- a/bh20sequploader/bh20seq-schema.yml
+++ b/bh20sequploader/bh20seq-schema.yml
@@ -197,15 +197,15 @@ $graph:
       doc: Address of the laboratory where the sample was taken
       type: string?
       jsonldPredicate:
-          _id: http://purl.obolibrary.org/obo/OBI_0600047
+          _id: http://purl.obolibrary.org/obo/NCIT_C37900
     provider_sample_id:
       type: string?
       jsonldPredicate:
-          _id: http://purl.obolibrary.org/obo/NCIT_C37900
+          _id: http://www.ebi.ac.uk/efo/EFO_0001741
     submitter_sample_id:
       type: string?
       jsonldPredicate:
-          _id: http://www.ebi.ac.uk/efo/EFO_0001741
+          _id: http://purl.obolibrary.org/obo/NCIT_C42781
     publication:
       doc: Reference to publication of this sample (e.g. DOI, pubmed ID, ...)
       type: string?
diff --git a/bh20sequploader/bh20seq-shex.rdf b/bh20sequploader/bh20seq-shex.rdf
index 6b196bd..965229c 100644
--- a/bh20sequploader/bh20seq-shex.rdf
+++ b/bh20sequploader/bh20seq-shex.rdf
@@ -47,9 +47,9 @@ PREFIX wikidata: <http://www.wikidata.org/entity/>
     sio:SIO_000116 xsd:string *;
     sio:SIO_000172 xsd:string ?;
     obo:NCIT_C37984 xsd:string ?;
-    obo:OBI_0600047 xsd:string ?;
   	obo:NCIT_C37900 xsd:string ?;
     efo:EFO_0001741 xsd:string ?;
+    obo:NCIT_C42781 xsd:string ?;
     obo:NCIT_C19026 xsd:string ?;
     sio:SIO_000115 /https:\u002F\u002Forcid.org\u002F.{4}-.{4}-.{4}-.{4}/ {0,10};
     sio:SIO_001167 xsd:string ?;