From 85b85b676d7ecc218d9f84357b2e7ea0133eed94 Mon Sep 17 00:00:00 2001 From: lltommy Date: Tue, 21 Apr 2020 16:49:47 +0200 Subject: Updated shex and manditory fields and stuff --- bh20sequploader/bh20seq-schema.yml | 10 +++++----- bh20sequploader/bh20seq-shex.rdf | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'bh20sequploader') 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: } :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}; } -- cgit v1.2.3