From 0c0e80d850ae4ff72e02778afca64778421ba72c Mon Sep 17 00:00:00 2001
From: Munyoki Kilyungi
Date: Fri, 21 Jul 2023 14:30:06 +0300
Subject: Update phenotype dump
---
examples/dump-phenotype.scm | 21 +++++++++++++++++----
1 file 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:" "")
+ '(("dct:" "")
+ ("gn:" "")
("gn-term:" "")
("rdf:" "")
("rdfs:" "")
--
cgit v1.2.3