aboutsummaryrefslogtreecommitdiff
path: root/examples/dump-phenotype.scm
diff options
context:
space:
mode:
authorMunyoki Kilyungi2023-08-15 18:26:34 +0300
committerMunyoki Kilyungi2023-08-15 19:32:48 +0300
commite1f390b7fab33d33fa3d813a74ae8b7d935c929b (patch)
tree8b5b072d1ba92ae8fb136562c58f4a7b43095e19 /examples/dump-phenotype.scm
parentcfd8100788158f0c421a43b4c2d8281a3992b1e3 (diff)
downloadgn-transform-databases-e1f390b7fab33d33fa3d813a74ae8b7d935c929b.tar.gz
Introduce phenotype/genotype/probeset Dataset as a category
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
Diffstat (limited to 'examples/dump-phenotype.scm')
-rwxr-xr-xexamples/dump-phenotype.scm4
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/dump-phenotype.scm b/examples/dump-phenotype.scm
index f73f19f..ed10b24 100755
--- a/examples/dump-phenotype.scm
+++ b/examples/dump-phenotype.scm
@@ -34,7 +34,7 @@
'pre "_" 'post)
#:separator ""
#:proc string-capitalize-first)
- (set rdf:type 'gnc:phenotype)
+ (set rdf:type 'gnc:phenotypeDataset)
(set rdfs:label (field PublishFreeze Name))
(set skos:prefLabel (field PublishFreeze FullName))
(set skos:altLabel (field PublishFreeze ShortName))
@@ -59,6 +59,8 @@
;; I.e. traits that have no associated vectors
"WHERE PublishFreeze.public > 0 AND PublishFreeze.confidentiality < 1 AND PublishFreeze.Id IS NOT NULL")
(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 skos:definition "The abbreviation used for this resource")