diff options
author | Munyoki Kilyungi | 2023-07-21 14:30:06 +0300 |
---|---|---|
committer | Munyoki Kilyungi | 2023-07-21 14:36:43 +0300 |
commit | e3961c30e13de2223d5151ad2210bf14f7218e69 (patch) | |
tree | b0aabf23fffa9469678f7b149730ae8df70720f8 /examples | |
parent | ed59e1ec947b2b04e94936db749716733e7dbfa5 (diff) | |
download | gn-transform-databases-e3961c30e13de2223d5151ad2210bf14f7218e69.tar.gz |
Update phenotype dump
Diffstat (limited to 'examples')
-rwxr-xr-x | examples/dump-phenotype.scm | 21 |
1 files changed, 17 insertions, 4 deletions
diff --git a/examples/dump-phenotype.scm b/examples/dump-phenotype.scm index 924ec9a..1ef498d 100755 --- a/examples/dump-phenotype.scm +++ b/examples/dump-phenotype.scm @@ -31,7 +31,6 @@ (gn-term:name rdfs:range rdfs:Literal) (gn-term:fullName rdfs:range rdfs:Literal) (gn-term:shortName rdfs:range rdfs:Literal) - (gn-term:createTime rdfs:range rdfs:Literal) (gn:phenotypeDataset rdf:subClassOf gn:dataset)) (triples (string->identifier @@ -45,7 +44,7 @@ (set gn-term:name (field PublishFreeze Name)) (set gn-term:fullName (field PublishFreeze FullName)) (set gn-term:shortName (field PublishFreeze ShortName)) - (set dc-termt:created (annotate-field + (set dct:created (annotate-field (field PublishFreeze CreateTime) '^^xsd:date)) (set gn-term:datasetOfInbredSet @@ -58,7 +57,20 @@ (left-join PublishFreeze "ON PublishFreeze.InbredSetId = PublishXRef.InbredSetId") (left-join InfoFiles "ON InfoFiles.InfoPageName = PublishFreeze.Name"))) (schema-triples - (gn:phenotypeDataset rdfs:subPropertyOf gn:dataset)) + (gn:phenotypeDataset rdfs:subPropertyOf gn:dataset) + (gn-term:publicationDescription rdfs:range rdfs:Literal) + (gn-term:originalDescription rdfs:range rdfs:Literal) + (gn-term:prePublicationDescription rdfs:range rdfs:Literal) + (gn-term:postPublicationAbbreviation rdfs:range rdfs:Literal) + (gn-term:labCode rdfs:range rdfs:Literal) + (gn-term:submitter rdfs:range rdfs:Literal) + (gn-term:owner rdfs:range rdfs:Literal) + (gn-term:mean rdfs:range xsd:double) + (gn-term:LRS rdfs:range xsd:float) + (gn-term:locus rdfs:range rdfs:Literal) + (gn-term:additive rdfs:range xsd:decimal) + (gn-term:sequence rdfs:range rdfs:Literal) + (gn-term:phenotypeOfPublication rdfs:range gn-term:pubMedId)) (triples (string->identifier "" (regexp-substitute/global #f "[^A-Za-z0-9:]" @@ -120,7 +132,8 @@ (connection %connection-settings) (table-metadata? #f) (prefixes - '(("gn:" "<http://genenetwork.org/id/>") + '(("dct:" "<http://purl.org/dc/terms/>") + ("gn:" "<http://genenetwork.org/id/>") ("gn-term:" "<http://genenetwork.org/terms/>") ("rdf:" "<http://www.w3.org/1999/02/22-rdf-syntax-ns#>") ("rdfs:" "<http://www.w3.org/2000/01/rdf-schema#>") |