about summary refs log tree commit diff
path: root/bh20sequploader
diff options
context:
space:
mode:
authorlltommy2020-04-21 16:49:47 +0200
committerlltommy2020-04-21 16:49:47 +0200
commit85b85b676d7ecc218d9f84357b2e7ea0133eed94 (patch)
tree0c2b445aa1fd653b57be6ddf341183f73b28350f /bh20sequploader
parentecae9863069585d88fc88b7f2a7434479f7425c1 (diff)
downloadbh20-seq-resource-85b85b676d7ecc218d9f84357b2e7ea0133eed94.tar.gz
bh20-seq-resource-85b85b676d7ecc218d9f84357b2e7ea0133eed94.tar.lz
bh20-seq-resource-85b85b676d7ecc218d9f84357b2e7ea0133eed94.zip
Updated shex and manditory fields and stuff
Diffstat (limited to 'bh20sequploader')
-rw-r--r--bh20sequploader/bh20seq-schema.yml10
-rw-r--r--bh20sequploader/bh20seq-shex.rdf4
2 files changed, 7 insertions, 7 deletions
diff --git a/bh20sequploader/bh20seq-schema.yml b/bh20sequploader/bh20seq-schema.yml
index 57f3b3d..75308ab 100644
--- a/bh20sequploader/bh20seq-schema.yml
+++ b/bh20sequploader/bh20seq-schema.yml
@@ -66,6 +66,11 @@ $graph:
 - name: sampleSchema
   type: record
   fields:
+    sample_id:
+      doc: Id of the sample as defined by the submitter
+      type: string
+      jsonldPredicate:
+        _id: http://semanticscience.org/resource/SIO_000115
     collection_date:
       doc: Date when the sample was taken
       type: string
@@ -111,11 +116,6 @@ $graph:
       type: string?
       jsonldPredicate:
           _id: http://semanticscience.org/resource/SIO_001167
-    sample_id:
-      doc: Id of the sample as defined by the submitter
-      type: string?
-      jsonldPredicate:
-          _id: http://semanticscience.org/resource/SIO_000115
     source_database_accession:
       doc: If data is deposit at a public resource (e.g. Genbank, ENA) enter the Accession Id here
       type: string?
diff --git a/bh20sequploader/bh20seq-shex.rdf b/bh20sequploader/bh20seq-shex.rdf
index 6e646c7..59ee71b 100644
--- a/bh20sequploader/bh20seq-shex.rdf
+++ b/bh20sequploader/bh20seq-shex.rdf
@@ -28,11 +28,11 @@ PREFIX wikidata: <http://www.wikidata.org/entity/>
 }
 
 :sampleShape  {
-	evs:C25164 xsd:string?;
+    sio:SIO_000115 xsd:string;
     obo:GAZ_00000448 [wikidata:~] ;
+	evs:C25164 xsd:string;
     obo:OBI_0001895 xsd:string ?;
     sio:SIO_001167 xsd:string ?;
-    sio:SIO_000115 xsd:string ?;
     obo:OBI_0001472 xsd:string ?;
     obo:OBI_0001479 IRI {0,2};
 }