From b106dc843cdc60902b0c6d423291584086fd2868 Mon Sep 17 00:00:00 2001 From: lltommy Date: Tue, 14 Apr 2020 22:56:33 +0200 Subject: Updated yaml schema and examples - plus ShEX shape to go along with it. Still work in progress but getting better and better I guess --- bh20sequploader/bh20seq-schema.yml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'bh20sequploader/bh20seq-schema.yml') diff --git a/bh20sequploader/bh20seq-schema.yml b/bh20sequploader/bh20seq-schema.yml index 2d2e4c9..a901be0 100644 --- a/bh20sequploader/bh20seq-schema.yml +++ b/bh20sequploader/bh20seq-schema.yml @@ -23,11 +23,12 @@ $graph: type: string jsonldPredicate: _id: http://semanticscience.org/resource/SIO_000115 - host_common_name: - doc: Text label for the host species (e.g. homo sapiens) - type: string? - jsonldPredicate: - _id: http://purl.obolibrary.org/obo/NOMEN_0000037 +# Removed_common_name. Not necessary since we turned species into IRI +# host_common_name: +# doc: Text label for the host species (e.g. homo sapiens) +# type: string? +# jsonldPredicate: +# _id: http://purl.obolibrary.org/obo/NOMEN_0000037 host_sex: doc: Sex of the host as define in NCIT, IRI expected (http://purl.obolibrary.org/obo/C20197 (Male), http://purl.obolibrary.org/obo/NCIT_C27993 (Female) or unkown (http://purl.obolibrary.org/obo/NCIT_C17998)) type: string @@ -120,7 +121,7 @@ $graph: fields: virus_species: doc: The name of a taxon from the NCBI taxonomy database - type: string? + type: string jsonldPredicate: _id: http://edamontology.org/data_1875 _type: "@id" @@ -145,7 +146,7 @@ $graph: _id: http://www.ebi.ac.uk/efo/EFO_0002699 sequencing_coverage: doc: Sequence coverage defined as the average number of reads representing a given nucleotide (e.g. 100x) - type: string? + type: int? jsonldPredicate: _id: http://purl.obolibrary.org/obo/FLU_0000848 -- cgit v1.2.3