From c7279cda5bfc12be67aa657c54fd7157b1f0b374 Mon Sep 17 00:00:00 2001 From: Munyoki Kilyungi Date: Mon, 28 Aug 2023 14:18:46 +0300 Subject: Update phenotype dump Signed-off-by: Munyoki Kilyungi --- examples/phenotype.scm | 33 +++++++++++++++++++++------------ 1 file changed, 21 insertions(+), 12 deletions(-) diff --git a/examples/phenotype.scm b/examples/phenotype.scm index 42396af..ad3c959 100755 --- a/examples/phenotype.scm +++ b/examples/phenotype.scm @@ -21,32 +21,39 @@ (left-join Phenotype "ON Phenotype.Id = PublishXRef.PhenotypeId")) "WHERE PublishXRef.InbredSetId IN (SELECT PublishFreeze.InbredSetId FROM PublishFreeze)") (schema-triples - (gnc:phenotype a skos:Concept) - (gnc:phenotype skos:description "This is a set of controlled terms that are used to describe a given phenotype") (gnt:abbreviation a owl:ObjectProperty) - (gnt:abbreviation rdfs:domain gnc:phenotype) + (gnt:abbreviation rdfs:domain gnc:Phenotype) (gnt:abbreviation skos:definition "The abbreviation used for this resource") (gnt:labCode a owl:ObjectProperty) - (gnt:labCode rdfs:domain gnc:phenotype) + (gnt:labCode rdfs:domain gnc:Phenotype) (gnt:submitter a owl:ObjectProperty) - (gnt:submitter rdfs:domain gnc:phenotype) + (gnt:submitter rdfs:domain gnc:Phenotype) (gnt:submitter skos:definition "A person who submitted this resource to GN") - (gnt:mean rdfs:domain gnc:phenotype) + (gnt:mean a rdf:Property) + (gnt:mean a qb:MeasureProperty) + (gnt:mean rdfs:subPropertyOf sdmx-measure:obsValue) + (gnt:mean rdfs:domain gnc:Phenotype) (gnt:mean rdfs:range xsd:double) - (gnt:LRS rdfs:domain gnc:phenotype) + (gnt:LRS a rdf:Property) + (gnt:LRS a qb:MeasureProperty) + (gnt:LRS rdfs:subPropertyOf sdmx-measure:obsValue) + (gnt:LRS rdfs:domain gnc:Phenotype) (gnt:LRS rdfs:range xsd:double) - (gnt:locus rdfs:domain gnc:phenotype) + (gnt:locus a rdf:Property) + (gnt:locus a qb:MeasureProperty) + (gnt:locus rdfs:subPropertyOf sdmx-measure:obsValue) + (gnt:locus rdfs:domain gnc:Phenotype) (gnt:locus rdfs:range rdfs:Literal) - (gnt:additive rdfs:domain gnc:phenotype) + (gnt:additive rdfs:domain gnc:Phenotype) (gnt:additive rdfs:range xsd:double) - (gnt:sequence rdfs:domain gnc:phenotype) + (gnt:sequence rdfs:domain gnc:Phenotype) (gnt:sequence rdfs:range xsd:integer)) (triples (string->identifier "trait" (field ("CONCAT(IFNULL(InbredSet.Name, PublishXRef.InbredSetId), '_', PublishXRef.Id)" Phenotype))) - (set rdf:type 'gnc:phenotype) - (set gnt:belongsToSet + (set rdf:type 'gnc:Phenotype) + (set xkos:classifiedUnder (string->identifier "set" (field InbredSet Name) #:separator "" @@ -116,10 +123,12 @@ ("owl:" "") ("gnc:" "") ("gnt:" "") + ("sdmx-measure:" "") ("skos:" "") ("rdf:" "") ("rdfs:" "") ("xsd:" "") + ("qb:" "") ("pubmed:" ""))) (inputs (list -- cgit v1.2.3